/* === 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #FAF5E6;
  color: #264147;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.66;
  letter-spacing: 0.01em;
  font-size: 1rem;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none;
}
a {
  color: #224159;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B55B2C;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  color: #224159;
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.15;
  text-shadow: 1px 1px 0 #EFE0A1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  text-shadow: 1px 1px 0 #EFE0A1;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
p, blockquote, dl, ul {
  margin-bottom: 16px;
}
blockquote {
  font-family: 'Merriweather', Georgia, serif;
  font-style: italic;
  border-left: 4px solid #B55B2C;
  background: #FFF9EC;
  padding: 20px 24px;
  margin-bottom: 12px;
  color: #493f37;
  box-shadow: 2px 3px 8px 0 rgba(190, 170, 90, 0.11);
  border-radius: 10px 25px 10px 10px;
  position: relative;
}
blockquote:before {
  content: '\201C';
  color: #B55B2C;
  font-size: 2rem;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: bold;
  position: absolute;
  left: 12px;
  top: 14px;
}
blockquote cite, blockquote footer {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #7CA9B7;
  margin-top: 6px;
  font-style: normal;
  font-size: 1em;
  display: block;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* === RETRO COLOR PALETTE === */
:root {
  --retro-navy: #224159;
  --retro-teal: #7CA9B7;
  --retro-cream: #FAF5E6;
  --retro-mustard: #EFE0A1;
  --retro-coral: #B55B2C;
  --retro-grey: #ECEBE5;
  --retro-shadow: rgba(190, 170, 90, 0.10);
  --accent: #F1F1F2;
}

/* === HEADER / NAVIGATION === */
header {
  background: var(--retro-mustard);
  border-bottom: 6px double #E6C47A;
  padding: 0 0 0 0;
  width: 100%;
  position: relative;
  z-index: 90;
}
header > a img {
  height: 60px;
  padding: 16px 0 12px 0;
  display: block;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0 8px 0;
}
nav a {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  color: #224159;
  background: none;
  padding: 4px 10px;
  border-radius: 7px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
nav a:not(.cta-primary):hover, nav a:not(.cta-primary):focus {
  background: #EFE0A1;
  border-color: #B55B2C;
  color: #B55B2C;
}
nav a.cta-primary {
  background: #B55B2C;
  color: white;
  font-weight: 700;
  font-family: 'Merriweather', Georgia, serif;
  padding: 8px 22px;
  border-radius: 26px;
  border: 2px solid #B55B2C;
  box-shadow: 1px 2px 0 #efe0a1, 2px 3px 10px var(--retro-shadow);
  text-shadow: 1px 1px 0 #AE8760;
  margin-left: 10px;
  transition: filter 0.15s, box-shadow 0.20s, background 0.2s, color 0.2s;
}
nav a.cta-primary:hover, nav a.cta-primary:focus {
  filter: brightness(1.1);
  background: #224159;
  color: #EFE0A1;
  border-color: #224159;
  box-shadow: 2px 4px 18px var(--retro-shadow);
}

/* Hamburger menu toggle button */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: #B55B2C;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  margin: 0 8px 0 12px;
  border-radius: 6px;
  transition: background 0.18s;
  z-index: 101;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #FAF2CF;
  color: #224159;
}

/* Desktop nav layout */
@media (max-width: 1020px) {
  nav {
    gap: 12px;
    font-size: 0.97rem;
    flex-wrap: wrap;
  }
  header > a img { height: 48px; }
}
@media (max-width: 850px) {
  nav {
    gap: 8px;
    font-size: 0.97rem;
    flex-wrap: wrap;
  }
}

/* Hide desktop nav, show burger on mobile */
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 769px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(234,210,134,0.97);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.77,.2,0.05,1.0);
  box-shadow: 0 2px 12px 0 rgba(60,40,10,0.18);
  z-index: 1200;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2em;
  color: #B55B2C;
  cursor: pointer;
  padding: 18px 28px 0 0;
  align-self: flex-end;
  z-index: 1;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #224159;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  margin-top: 40px;
  padding-left: 32px;
  font-size: 1.3rem;
}
.mobile-nav a {
  color: #224159;
  background: none;
  padding: 8px 6px 8px 0;
  font-family: 'Merriweather', Georgia, serif;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.11s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #B55B2C;
  background: #EFE0A1;
}

/* === PAGE SPACING & LAYOUTS === */
main { width: 100%; }
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}
.text-section {
  background: #FFF9EC;
  border: 1.5px dashed #E6C47A;
  border-radius: 11px;
  box-shadow: 2px 5px 18px var(--retro-shadow);
  padding: 22px 22px 18px 22px;
  margin-bottom: 14px;
  margin-top: 2px;
}
.subheadline {
  font-size: 1.18rem;
  font-style: italic;
  color: #5B4A32;
  padding-bottom: 5px;
  font-family: 'Merriweather', Georgia, serif;
}
/* FAQ DL */
.faq-list {
  margin-top: 10px;
  margin-bottom: 0;
}
.faq-list dt {
  font-weight: bold;
  margin-bottom: 6px;
  color: #B55B2C;
  margin-top: 10px;
}
.faq-list dd {
  margin-left: 0;
  margin-bottom: 14px;
}

/* HERO/CTA BUTTON */
.cta-primary {
  display: inline-block;
  background: #B55B2C;
  color: #fff !important;
  font-size: 1.15rem;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 36px;
  padding: 14px 36px;
  margin-top: 18px;
  margin-bottom: 18px;
  text-align: center;
  box-shadow: 2px 5px 16px var(--retro-shadow);
  text-decoration: none;
  border: 2px solid #B55B2C;
  outline: none;
  transition: background 0.16s, color 0.19s, box-shadow 0.18s, transform 0.09s;
}
.cta-primary:active {
  transform: scale(0.96);
}
.cta-primary:hover, .cta-primary:focus {
  background: #224159 !important;
  border-color: #224159;
  color: #EFE0A1 !important;
  box-shadow: 2px 8px 33px var(--retro-shadow);
}

/* === FLEX LAYOUTS for feature grids, testimonials, etc. === */
.card-container,
.card-grid,
.feature-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 8px;
}
.card { margin-bottom: 20px; position: relative; }

/* Feature grid -- columns on desktop, stacked on mobile */
.feature-grid > div {
  background: #F1F1F2;
  border-radius: 16px;
  box-shadow: 2px 5px 12px var(--retro-shadow);
  border: 1.5px solid #E6C47A;
  padding: 28px 18px 20px 18px;
  min-width: 0;
  flex: 1 1 270px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  transition: box-shadow 0.18s, border-color 0.15s;
}
.feature-grid > div:hover {
  border-color: #B55B2C;
  box-shadow: 0 10px 30px 0 var(--retro-shadow);
}
.feature-grid img {
  height: 48px;
  width: 48px;
  margin-bottom: 7px;
  filter: sepia(0.3) hue-rotate(-18deg) brightness(0.95);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

/* Cards */
.card {
  background: #F1F1F2;
  border-radius: 16px;
  box-shadow: 2px 8px 24px var(--retro-shadow);
  border: 1.5px solid #E6C47A;
  padding: 28px 18px 26px 18px;
  min-width: 0;
  margin-bottom: 20px;
}

/* Testimonial Card */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F1F1F2;
  border-radius: 22px 12px 22px 22px;
  box-shadow: 2px 8px 23px var(--retro-shadow);
  border-left: 6px solid #7CA9B7;
  margin-bottom: 18px;
  width: 100%;
  position: relative;
}
.testimonial-card blockquote {
  background: transparent;
  border-left: none;
  padding: 0;
  margin: 0;
  box-shadow: none;
  border-radius: 0;
}
.testimonial-card footer {
  margin-left: 12px;
}
@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 15px;
  }
}

/* Section Spacing */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Alignment for text-image-section */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* Responsive general */
@media (max-width: 768px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    margin-bottom: 38px;
    padding: 20px 4px 24px 4px;
  }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.33rem; }
  .cta-primary {
    font-size: 1rem;
    padding: 12px 18px;
  }
}

/* USP section styling */
.usp-section {
  margin-top: 22px;
  background: #ECEBE5;
  border-radius: 10px;
  padding: 20px 16px 10px 22px;
  box-shadow: 1px 2px 10px var(--retro-shadow);
  border-left: 7px dotted #B55B2C;
}
.usp-list li {
  position: relative;
  padding-left: 15px;
}
.usp-list li:before {
  content: '\2605'; /* vintage star glyph */
  position: absolute;
  left: 0;
  color: #E6C47A;
  font-size: 1em;
}

/* Footer */
footer {
  background: var(--retro-navy);
  color: #EFE0A1;
  padding-top: 36px;
  padding-bottom: 20px;
  margin-top: 36px;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-links,
.footer-contact,
.footer-disclaimer {
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
}
.footer-links a {
  color: #EFE0A1;
  text-decoration: underline;
  transition: color 0.18s;
  font-family: 'Merriweather', Georgia, serif;
}
.footer-links a:hover, .footer-links a:focus {
  color: #B55B2C;
}
.footer-contact a {
  color: #FAF5E6;
  text-decoration: underline;
}
.footer-disclaimer {
  font-size: 0.85em;
  color: #ECD972;
}
@media (min-width: 700px) {
  footer .content-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 36px;
    justify-content: space-between;
  }
  .footer-links, .footer-contact, .footer-disclaimer {
    margin-bottom: 0;
  }
}

/* Contact Phone on Thank You */
.cta-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.18rem;
  background: #EFE0A1;
  border-radius: 8px;
  padding: 8px 16px;
  margin: 18px 0 0 0;
  font-family: 'Merriweather', Georgia, serif;
}

/* Disclaimer Notice */
.disclaimer {
  font-size: 0.98em;
  background: #FFF9EC;
  color: #67592D;
  border-left: 5px dashed #E6C47A;
  padding: 10px 10px 10px 16px;
  border-radius: 9px;
}

/* === BUTTONS === */
button,
input[type="submit"] {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.05em;
  background: #B55B2C;
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 26px;
  box-shadow: 1px 2px 10px var(--retro-shadow);
  cursor: pointer;
  transition: background 0.18s, color 0.17s, box-shadow 0.19s, transform 0.08s;
}
button:hover,
input[type="submit"]:hover,
button:focus,
input[type="submit"]:focus {
  background: #224159;
  color: #EFE0A1;
  box-shadow: 2px 8px 24px var(--retro-shadow);
  outline: none;
  transform: translateY(-1px);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #E6C47A;
  color: #264147;
  box-shadow: 0 0 24px 0 #cab963a2;
  border-top: 5.5px double #b8974e;
  padding: 24px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2100;
  gap: 16px;
  animation: cb-in .48s cubic-bezier(0.57,0.27,0.42,1.0);
}
@media (min-width: 650px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 22px 48px 15px 48px;
  }
}
.cookie-banner p {
  margin-bottom: 8px;
  color: #224159;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 15px;
  margin-top: 9px;
}
.cookie-btn {
  background: #B55B2C;
  color: #fff;
  border: none;
  border-radius: 21px;
  padding: 10px 24px;
  font-size: 1rem;
  margin-right: 4px;
  font-family: 'Merriweather', serif;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 1px 2px 10px var(--retro-shadow);
  transition: background 0.16s, color 0.17s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #224159;
  color: #EFE0A1;
}
.cookie-btn.cookie-btn-secondary {
  background: #EFE0A1;
  color: #B55B2C;
  border: 1px solid #B55B2C;
}
.cookie-btn.cookie-btn-secondary:hover, .cookie-btn.cookie-btn-secondary:focus {
  background: #224159;
  color: #EFE0A1;
}

@keyframes cb-in {
  from { transform: translateY(55px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Cookie modal popup */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(61,34,0,0.34);
  z-index: 2111;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.33s;
}
.cookie-modal-inner {
  background: #FFF9EC;
  border-radius: 10px;
  max-width: 410px;
  width: 96%;
  box-shadow: 2px 16px 40px #9c876026;
  padding: 36px 24px 28px 24px;
  border: 3px solid #E6C47A;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  animation: cbm .39s cubic-bezier(0.59,0.42,0.55,1.0);
}
@keyframes cbm {
  from { transform: translateY(120px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 9px; right: 11px;
  background: none;
  border: none;
  color: #B55B2C;
  font-size: 1.35em;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.2s;color 0.19s;
}
.cookie-modal-close:hover {
  background: #fae3b0;
  color: #224159;
}
.cookie-categories {
  padding-top: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}
.cookie-category label {
  font-size: 1.03em;
  color: #224159;
}
.cookie-category input[type="checkbox"] {
  accent-color: #7CA9B7;
  width: 19px;
  height: 19px;
}

.cookie-category.essential label {
  color: #B55B2C;
  font-weight: bold;
}
.cookie-category.essential input[disabled] {
  filter: grayscale(0.8);
  opacity: 0.73;
}
.cookie-modal h2 {
  margin-bottom: 8px;
  font-size: 1.19em;
  font-family: 'Merriweather', serif;
  color: #224159;
}
.cookie-modal p {
  font-size: 1em;
  margin-bottom: 4px;
}

/* ========== RETRO DECORATIVE PATTERNS (subtle) ========== */
body {
  background-image: repeating-linear-gradient(135deg, transparent, transparent 91px, #EFE0A13a 91px, #EFE0A13a 120px);
}
section {
  border-radius: 11px;
  box-shadow: 1px 3px 20px var(--retro-shadow);
  border-top: 8px double #E6C47A;
  border-bottom: 2px solid #E6C47A;
}
@media (max-width: 768px) {
  section {
    border-top: 6px double #E6C47A;
    border-bottom: 1px solid #E6C47A;
    border-radius: 8px;
  }
}

/* ========== TYPOGRAPHY: RETRO VINTAGE FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Merriweather:wght@400;700&display=swap');
body, .body-font { font-family: 'Open Sans', Arial, Helvetica, sans-serif; }
h1, h2, h3, h4, h5, h6, .display-font { font-family: 'Merriweather', Georgia, serif; }

/* Vintage/retro badge for some headings (e.g. "Unsere Vorteile") */
.vintage-badge {
  display: inline-block;
  padding: 3px 16px;
  background: #EFE0A1;
  border-radius: 18px 6px 18px 18px / 6px 18px 18px 18px;
  border: 2px dashed #B55B2C;
  color: #B55B2C;
  font-family: 'Merriweather', serif;
  font-size: 0.96em;
  margin-bottom: 9px;
  letter-spacing: 0.06em;
}

/* === MICRO-INTERACTIONS & TRANSITIONS === */
.card, .feature-grid > div, .usp-section, .text-section {
  transition: box-shadow 0.18s, border-color 0.13s, transform 0.13s;
}
.card:hover, .feature-grid > div:hover, .usp-section:hover {
  box-shadow: 0 10px 36px 0 var(--retro-shadow);
  transform: translateY(-3px) scale(1.012);
  border-color: #B55B2C;
}

/* ========== General Spacing Utilities ========== */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }

/* ========== FORM ELEMENTS (if any - basic styling) ========== */
input, textarea, select {
  border: 1.5px solid #B55B2C;
  border-radius: 8px;
  padding: 10px 13px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  margin-bottom: 16px;
  background: #FFF9EC;
  color: #224159;
  transition: border 0.19s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #224159;
  outline: none;
}

/* === Print adjustment === */
@media print {
  header, nav, .mobile-menu, .cookie-banner, .cookie-modal, footer { display: none !important; }
  section, main, .container, .content-wrapper { box-shadow: none !important; border: none !important; }
  body { background: #fff !important; }
}
