/* --- CSS RESET & NORMALIZE --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { -webkit-text-size-adjust: 100%; }
body { line-height: 1.5; background: #fff; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { border: 0; max-width: 100%; display: block; }
table { border-collapse: collapse; border-spacing: 0; }
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  border: none;
  background: none;
}

/* --- VINTAGE RETRO BRAND COLORS & FONTS --- */
:root {
  --primary: #13294B;        /* Brand deep blue */
  --secondary: #27A3A5;      /* Brand turquoise */
  --accent: #F7F8FA;         /* Brand light accent */
  --retro-orange: #e7b963;   /* Retro gold */
  --retro-red: #d65050;      /* Retro red */
  --retro-mint: #99c5b5;     /* Retro mint green */
  --retro-brown: #72594D;    /* Retro brown */
  --retro-offwhite: #fdf6ea; /* Light vintage bg */
  --vnt-border: #b8a79d;
  --shadow: 0 2px 8px rgba(43,35,23,0.09);
  --radius: 12px;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Segoe UI', 'Arial', sans-serif;
}

@font-face {
  font-family: 'Montserrat';
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  font-weight: 400;
  src: local('Roboto Regular'), local('Roboto-Regular');
  font-display: swap;
}

html, body {
  font-family: var(--font-body);
  background: var(--retro-offwhite);
  color: var(--primary);
  font-size: 16px;
}

/* --- TYPOGRAPHY VINTAGE SCALE --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: var(--primary);
  text-shadow: 1px 1px 0 var(--retro-orange), 0 2px 0 rgba(117, 84, 41, .06);
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.16;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  font-weight: 700;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 700;
}
h4 {
  font-size: 1.125rem;
}
p, ul li, ol li, address {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
  font-family: var(--font-body);
}
strong { font-weight: 700; }
em { font-style: italic; }

/* --- BUTTONS --- */
.cta-btn, .mobile-menu .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--retro-orange);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 30px 12px 24px;
  border: 2px solid var(--vnt-border);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
  margin-top: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--retro-red);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 16px rgba(213,80,80,0.14);
  outline: none;
}
button, .btn, .cookie-consent-btn {
  font-family: var(--font-display);
  border-radius: var(--radius);
  background: var(--retro-mint);
  border: 2px solid var(--vnt-border);
  color: var(--primary);
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 600;
  margin: 4px 0;
  box-shadow: 0 1px 4px rgba(41,75,68,.07);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
button:hover, .btn:hover, .cookie-consent-btn:hover {
  background: var(--retro-orange);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(231,185,99,0.20);
}

/* --- LINKS --- */
a {
  color: var(--retro-red);
  text-decoration: underline;
  transition: color 0.12s;
}
a:hover, a:focus {
  color: var(--primary);
  background: var(--retro-orange);
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.16s, color 0.16s;
}

.nav a, .mobile-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 8px;
  margin: 0 2px;
  color: var(--primary);
  transition: color 0.17s, background 0.18s;
}
.nav a:hover, .mobile-nav a:hover {
  background: var(--retro-orange);
  color: var(--primary);
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--retro-brown);
  color: #fff;
  box-shadow: 0 2px 8px rgba(41,41,41,0.05);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 76px;
  padding: 0 18px;
}
header a img {
  height: 48px;
  max-width: 145px;
}
nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
header nav a.cta-btn {
  margin-left: 18px;
  background: var(--retro-red);
  color: #fff;
  border: 2px solid #cc9b3b;
  text-shadow: 0 2px 2px rgba(117,84,41,.12);
}
header nav a.cta-btn:hover {
  background: var(--retro-orange);
  color: var(--primary);
  border-color: var(--vnt-border);
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 20px;
  z-index: 3000;
  background: var(--retro-orange);
  color: var(--primary);
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  justify-content: center;
  align-items: center;
  border: 2px solid var(--vnt-border);
  transition: background .18s, color .18s, transform .18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--retro-red);
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: var(--retro-offwhite);
  display: flex; flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform .36s cubic-bezier(.61,.01,.53,1.26), opacity .25s;
  z-index: 3999;
  box-shadow: 0 6px 30px 0 rgba(43,35,23,.18);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu .mobile-menu-close {
  align-self: flex-end;
  background: var(--retro-red);
  color: #fff;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 16px 18px 0 0;
  box-shadow: var(--shadow);
}
.mobile-menu .mobile-menu-close:hover,
.mobile-menu .mobile-menu-close:focus {
  background: var(--retro-orange);
  color: var(--primary);
}
.mobile-menu nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 30px 0 0 32px;
}
.mobile-menu .mobile-nav a {
  font-size: 1.25rem;
  color: var(--primary);
  background: none;
  padding: 7px 2px;
  border-radius: 8px;
}
.mobile-menu .mobile-nav a:hover {
  background: var(--retro-orange);
  color: var(--primary);
}
/* Main nav adapt for mobile */
@media (max-width: 1020px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1021px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* --- MAIN CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 900px;
  padding: 0 4px;
}

/* --- SECTIONS & SPACING PATTERNS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--retro-offwhite);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  padding: 0;
  margin-bottom: 0;
  background: repeating-linear-gradient(135deg, var(--accent), var(--retro-offwhite) 24px, var(--retro-mint) 40px, var(--accent) 60px);
  border-bottom: 5px dashed var(--retro-orange);
}
.hero .content-wrapper {
  padding: 72px 4px 52px 4px;
  text-align: center;
}
.hero h1 {
  color: var(--retro-red);
  text-shadow: 3px 3px 0 var(--retro-orange), 0 4px 14px rgba(231,185,99,.08);
}
.hero p {
  color: var(--retro-brown);
  font-size: 1.2rem;
  margin-bottom: 22px;
}

.cta-banner {
  background: var(--retro-orange);
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  margin: 44px 0 60px 0;
  padding: 32px 14px;
}
.cta-banner .content-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
}
.cta-banner h3 {
  color: var(--primary);
  margin-bottom: 10px;
  text-shadow: 1px 1px 0 #fff,0 1px 8px rgba(230,170,70,.13);
}

/* --- FLEXBOX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 20px;
  flex: 1 1 290px;
  border: 1px solid var(--vnt-border);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid { flex-direction: column; }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 2px solid var(--retro-orange);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 rgba(39,163,165,.03);
  color: var(--primary);
}
.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--retro-brown);
  margin: 0 0 6px 0;
  font-style: italic;
  line-height: 1.7;
  quotes: '“' '”' '‘' '’';
}
.testimonial-card blockquote:before {
  content: open-quote;
  color: var(--retro-orange);
  font-size: 2.2em;
  vertical-align: top;
  margin-right: 5px;
  line-height: 0.7;
}
.testimonial-card strong {
  color: var(--retro-red);
  font-weight: bold;
}
.testimonial-card > div {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--retro-brown);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 26px 0 4px 0;
}
.feature-grid li {
  flex: 1 1 240px;
  background: #fffbe7;
  padding: 17px 18px 17px 18px;
  border-radius: var(--radius);
  border: 1.5px dashed var(--retro-orange);
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 1.05rem;
  margin-bottom: 0;
  box-shadow: 0 0 0.5px 0 rgba(220,190,69,0.10);
  color: var(--primary);
}
.feature-grid li img {
  flex-shrink: 0;
  width: 32px; height: 32px;
  margin: 0 8px 0 0;
  filter: drop-shadow(2px 2px 0 rgba(231,185,99,0.11));
}

@media (max-width: 900px) {
  .feature-grid { flex-direction: column; gap: 16px; }
  .feature-grid li { width: 100%; }
}

/* --- TABLES (Preis/Modelle) IN RETRO STYLE --- */
table {
  width: 100%;
  border-radius: var(--radius);
  background: #faf6ee;
  border: 1.5px solid var(--vnt-border);
  box-shadow: 0 1px 5px rgba(230,170,70,.06);
  margin: 22px 0 14px 0;
}
thead th {
  background: var(--retro-mint);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.14rem;
  padding: 14px 9px;
}
tbody td {
  padding: 12px 8px;
  font-size: 1.01rem;
  color: var(--retro-brown);
}
tbody tr {
  border-bottom: 1px dotted var(--vnt-border);
}

/* --- ADDRESS & FOOTER --- */
footer {
  background: var(--retro-brown);
  color: #fff;
  padding: 34px 0 16px 0;
  margin-top: 64px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 34px;
  flex-wrap: wrap;
  max-width: 1120px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 24px 0 0;
}
footer nav a {
  color: var(--retro-orange);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  margin-bottom: 2px;
  transition: color 0.15s;
}
footer nav a:hover { color: #fff; background: none; }
footer address {
  font-family: var(--font-body);
  font-size: 0.98rem;
  margin-top: 7px;
  line-height: 1.6;
  color: #fffddf;
}
footer img {
  margin-bottom: 11px;
  width: 56px; height: auto;
}
footer address img {
  margin: 0 6px -3px 0;
  width: 21px !important; height: 21px;
  display: inline-block;
  vertical-align: middle;
}

/* --- LISTS --- */
ul, ol { margin-left: 0; margin-bottom: 20px; }
ul li, ol li {
  position: relative;
  margin-left: 0;
  padding-left: 24px;
  margin-bottom: 10px;
}
ul li:before {
  content: '\25CF';
  color: var(--retro-red);
  position: absolute;
  left: 0;
  font-size: 1rem;
  top: 0.05em;
}
/* Remove list dots where images/feature icons are used: */
.feature-grid li:before, .feature-item:before {
  display: none;
}

/* --- FORMS --- */
input, select, textarea {
  border-radius: var(--radius);
  border: 1.5px solid var(--vnt-border);
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  background: #fcf5e7;
}
input:focus, textarea:focus {
  border-color: var(--retro-brown);
  outline: 1px solid var(--retro-orange);
}
label {
  display: block;
  margin-bottom: 5px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--primary);
}

/* --- MISC/NOSTALGIC ELEMENTS & MICRO-ANIMATION --- */
section, .section {
  box-shadow: var(--shadow);
  background: var(--retro-offwhite);
  border-radius: var(--radius);
  position: relative;
}
section:after {
  content: '';
  display: block;
  position: absolute;
  left: 8px; top: -16px;
  width: 34px; height: 7px;
  background: repeating-linear-gradient(90deg, var(--retro-orange), var(--retro-orange) 6px, var(--retro-mint) 6px, var(--retro-mint) 12px);
  opacity: .22;
  border-radius: 12px;
}
/* dashed vintage underline for h2 */
h2 {
  border-bottom: 2px dashed var(--retro-orange);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 20px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: var(--retro-mint);
  border-top: 3px solid var(--retro-orange);
  box-shadow: 0 -2px 16px 0 rgba(39,163,165,.13);
  z-index: 59999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4vw 20px 5vw;
  font-family: var(--font-body);
  transition: transform .44s cubic-bezier(.44,.05,.46,1.5), opacity .22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-consent-banner p {
  color: var(--primary);
  font-size: 1rem;
  margin: 0 22px 0 0;
}
.cookie-consent-btn {
  margin: 0 6px 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 9px 20px;
  font-weight: bold;
  border-radius: 15px;
  border: 2px solid var(--vnt-border);
  background: var(--retro-orange);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(231,185,99,.07);
  transition: background 0.12s, color 0.12s;
}
.cookie-consent-btn.settings {
  background: var(--retro-mint);
  color: var(--primary);
  border-color: var(--retro-orange);
}
.cookie-consent-btn.reject {
  background: var(--retro-red);
  color: #fff;
  border-color: #d65050;
}
.cookie-consent-btn:hover, .cookie-consent-btn:focus {
  background: var(--retro-brown);
  color: #fff;
}
@media (max-width: 650px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 17px 3vw 17px 3vw;
  }
  .cookie-consent-banner p {
    margin: 0 0 4px 0;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,12,5,0.18);
  z-index: 60000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .18s;
}
.cookie-modal-overlay.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fffbe7;
  border-radius: 18px;
  padding: 38px 26px 30px 26px;
  box-shadow: 0 12px 50px rgba(231,185,99,0.28);
  width: 98vw;
  max-width: 470px;
  font-family: var(--font-body);
  color: var(--retro-brown);
  border: 2px solid var(--retro-orange);
  position: relative;
}
.cookie-modal h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 9px;
  border-bottom: none;
  text-shadow: none;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 16px; right: 18px;
  background: var(--retro-red);
  color: #fff;
  border: none;
  font-size: 1.6rem;
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; justify-content: center; align-items: center;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .cookie-close:hover {
  background: var(--retro-orange);
  color: var(--primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin: 19px 0 8px 0;
  gap: 12px;
}
.cookie-modal .cookie-switch {
  width: 40px; height: 22px;
  border-radius: 12px;
  background: var(--retro-mint);
  position: relative;
  transition: background 0.15s;
  margin-left: auto;
  flex-shrink: 0;
}
.cookie-modal .cookie-switch input[type='checkbox'] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .cookie-slider {
  position: absolute;
  left: 2px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--retro-red);
  transition: left .17s, background .17s;
}
.cookie-modal .cookie-switch input:checked + .cookie-slider {
  left: 22px;
  background: var(--retro-orange);
}
.cookie-modal .cookie-category[aria-disabled='true'] .cookie-switch {
  opacity: 0.5;
}
.cookie-modal .category-info {
  font-size: 0.99rem;
  margin-left: 2px;
  color: var(--retro-brown);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  justify-content: flex-end;
}
.cookie-modal .cookie-consent-btn {
  min-width: 95px;
}

/* --- MEDIA QUERIES (RESPONSIVE) --- */
@media (max-width: 880px) {
  .container, footer .container {
    padding: 0 8px;
    max-width: 99vw;
    flex-direction: column;
    gap: 36px;
  }
  header .container { flex-direction: column; padding: 5px 8px; min-height: unset; gap: 8px; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 17px; }
  .content-wrapper { padding: 0 2px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  .content-wrapper { padding: 0 1px; }
  .section { padding: 28px 6px; }
  .hero .content-wrapper { padding: 32px 3px 28px 3px; }
  .cta-banner { padding: 18px 4px; }
  .feature-grid { gap: 11px; }
  .card { padding: 15px 8px; }
}
@media (max-width: 500px) {
  .hero .content-wrapper { padding: 16px 1px 14px 1px; }
  .cta-banner { padding: 8px 1px; }
}

/* --- TABLE RESPONSIVE --- */
@media (max-width:650px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  thead { display: none; }
  tbody td {
    padding: 11px 5px;
    position: relative;
    text-align: left;
    border-bottom: 1px dotted var(--vnt-border);
  }
  tbody tr { margin-bottom: 22px; }
}

/* --- MICRO-ANIMATION --- */
.card, .testimonial-card, .feature-grid li, .cta-btn, .btn {
  transition: box-shadow 0.18s, transform 0.17s, background 0.23s, color 0.2s;
}
.card:hover, .feature-grid li:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 10px 32px rgba(213,80,80,0.09);
}

/* --- UTILITY --- */
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* --- PRINT --- */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal-overlay, nav, footer { display: none !important; }
  body { background: #fff; }
}
