/* Fantasie Achse – Elegant Classic CSS Theme with Flexbox Only */
/* 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, menu, 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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
  vertical-align: baseline;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F6EEDA;
  color: #263147;
  font-family: 'Open Sans', Georgia, Times, 'Times New Roman', serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #A55037;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #263147;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin-left: 2em;
  margin-bottom: 1.6em;
}
li {
  margin-bottom: 0.5em;
}

/* TYPOGRAPHY */
h1 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
h2 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #263147;
}
h3 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: #A55037;
}
h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  color: #263147;
}
p, .subheadline {
  font-size: 1.08rem;
  color: #263147;
  margin-bottom: 1.2em;
}
.subheadline {
  font-size: 1.18rem;
  font-style: italic;
  color: #49546c;
}
strong {
  font-weight: bold;
  color: #263147;
}
blockquote {
  border-left: 3px solid #A55037;
  padding-left: 20px;
  color: #263147;
  font-style: italic;
  margin: 20px 0;
}
.author {
  display: block;
  margin-top: 8px;
  font-size: 1em;
  color: #A55037;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
}

/* LAYOUT CLASSES */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px 0 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(38,49,71,0.08), 0 1.5px 4px rgba(165,80,55,0.06);
  padding: 28px 24px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(38,49,71,0.16), 0 4px 14px rgba(165,80,55,0.11);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 12px rgba(38,49,71,0.07);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 470px;
  border-left: 5px solid #A55037;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px rgba(38,49,71,0.13);
  border-left: 5px solid #263147;
}
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px 22px 22px;
  box-shadow: 0 2px 11px rgba(38,49,71,0.08);
  min-width: 220px;
  max-width: 315px;
  flex: 1 1 250px;
  transition: box-shadow 0.2s, border-color 0.2s;
  border: 1px solid #eee;
}
.feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  filter: grayscale(10%);
}
.feature:hover {
  box-shadow: 0 6px 20px rgba(38,49,71,0.14);
  border: 1px solid #A55037;
}
.text-section {
  padding: 0;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 240px;
}

/* HERO SECTION */
.hero {
  background: #fff;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 36px rgba(38,49,71,0.08);
  padding: 60px 0 50px 0;
  margin-bottom: 60px;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 260px;
}
.hero .content-wrapper {
  gap: 18px;
}
.hero h1 {
  color: #A55037;
  font-size: 2.8rem;
  margin-bottom: 10px;
}
.hero .subheadline {
  font-size: 1.18rem;
  color: #263147;
}

/* BUTTONS AND CTAS */
.cta {
  display: inline-block;
  font-family: 'Montserrat', serif;
  font-size: 1.07rem;
  font-weight: 600;
  padding: 12px 34px;
  border-radius: 26px;
  background: none;
  border: 2px solid #A55037;
  color: #A55037;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin-top: 14px;
  cursor: pointer;
  text-align: center;
  box-shadow: none;
}
.cta.primary {
  background: #A55037;
  color: #fff;
  border: 2px solid #A55037;
  box-shadow: 0 3px 12px rgba(165,80,55,0.08);
}
.cta:hover, .cta:focus {
  background: #263147;
  color: #fff;
  border-color: #263147;
  box-shadow: 0 6px 22px rgba(38,49,71,0.16);
  outline: none;
  text-decoration: none;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1.5px solid #f3ebda;
  box-shadow: 0 1.5px 12px rgba(38,49,71,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  padding-top: 14px;
  padding-bottom: 13px;
}
.logo img {
  height: 38px;
  width: auto;
  margin-right: 6px;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  color: #263147;
  font-weight: 500;
  text-decoration: none;
  padding: 3px 8px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a.active {
  color: #A55037;
  background: #f6eedaff;
}
header .cta.primary {
  margin-left: 22px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #A55037;
  cursor: pointer;
  display: none;
  z-index: 1202;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 56px 6px rgba(38,49,71,0.16);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.86,.01,0.19,1); /* slide-in */
  display: flex;
  flex-direction: column;
  padding: 32px 28px 24px 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #A55037;
  font-size: 2.2rem;
  font-weight: bold;
  align-self: flex-end;
  margin-bottom: 26px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: 'Montserrat', serif;
  color: #263147;
  padding: 8px 0;
  border-bottom: 1px solid #F6EEDA;
  border-radius: 0;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover {
  color: #A55037;
  background: #f6eedaff;
}

/* Footer */
footer {
  background: #fff;
  border-top: 1.5px solid #e6dac5;
  padding: 32px 0 20px 0;
  color: #263147;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', serif;
  font-size: 1.16rem;
  font-weight: 700;
  color: #A55037;
}
.footer-logo img {
  width: 37px;
  height: 37px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
}
.footer-nav a {
  color: #263147;
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: #A55037;
}
.footer-contact {
  font-size: 1rem;
}
.footer-contact img {
  width: 17px;
  height: 17px;
  display: inline-block;
  margin-right: 4px;
  vertical-align: text-bottom;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9000;
  background: #fff;
  color: #263147;
  box-shadow: 0 -2px 22px rgba(38,49,71,0.13);
  padding: 28px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  transition: transform 0.28s cubic-bezier(.86,.01,.19,1);
  transform: translateY(110%);
  font-size: 1.02rem;
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 5px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', serif;
  font-size: 1.01rem;
  padding: 8px 22px;
  border-radius: 22px;
  border: 2px solid #A55037;
  background: #fff;
  color: #A55037;
  cursor: pointer;
  margin: 0;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.cookie-banner .cookie-btn.primary {
  background: #A55037;
  color: #fff;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  background: #263147;
  color: #fff;
  border-color: #263147;
  outline: none;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(38,49,71,0.26);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 22px;
  padding: 32px 26px;
  min-width: 320px;
  max-width: 96vw;
  box-shadow: 0 8px 48px rgba(38,49,71,0.18);
  color: #263147;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.22rem;
  margin-bottom: 5px;
  color: #A55037;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1em;
  margin: 10px 0;
}
.cookie-modal-content .cookie-category-toggle {
  width: 36px;
  height: 19px;
  background: #F6EEDA;
  border-radius: 12px;
  position: relative;
  margin-left: 16px;
  outline: none;
  border: 1.5px solid #E3D4B0;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-content .cookie-category-toggle:checked {
  background: #A55037;
  border-color: #A55037;
}
.cookie-modal-content .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-content .cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 20px;
  background: none;
  border: none;
  color: #A55037;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* .features, .feature-item Flex Styling, for completeness */
.features, .feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SECTION & CARD SPACING ENFORCEMENT */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px 0 20px;
}
.card, .testimonial-card, .feature {
  margin-bottom: 20px;
}
.card-container, .content-grid, .features-grid, .testimonials {
  gap: 24px;
}
.content-grid, .card-container {
  flex-wrap: wrap;
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
  .container {
    max-width: 97vw;
  }
  .footer-logo {
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  .footer-contact { font-size: 0.94rem; }
  .testimonials, .features-grid {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 23px;
  }
}
@media (max-width: 768px) {
  /* Burger menu activation */
  .mobile-menu-toggle {
    display: block;
  }
  nav {
    display: none !important;
  }
  header .cta.primary {
    display: none;
  }
  .container, .footer .container {
    padding: 0 10px;
  }
  .hero {
    border-radius: 0 0 20px 20px;
    padding: 42px 0 30px 0;
  }
  .card, .feature, .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
  .content-wrapper, .text-image-section, .features-grid, .card-container, .content-grid, .testimonials {
    flex-direction: column;
    gap: 20px;
  }
  .footer-logo img {
    width: 27px;
    height: 27px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.46rem; }
  h2 { font-size: 1.15rem; }
  .hero .content-wrapper { gap: 10px; }
  .testimonial-card, .feature, .card, .cookie-modal-content {
    padding: 14px 10px;
    font-size: 0.96rem;
  }
  .footer-contact, .footer-nav {
    font-size: 0.96rem;
  }
}

/* MICRO-ANIMATIONS AND INTERACTIONS */
.card, .feature, .cta, .testimonial-card {
  transition: box-shadow 0.18s, border-color 0.18s, background 0.16s, color 0.16s;
}
.card:active, .feature:active, .cta:active {
  box-shadow: 0 2px 6px rgba(38,49,71,0.2);
}

/* :::::::::::: UTILITY / COMMON :::::::::::: */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-section ul, .text-section ol { margin-bottom: 8px; }
.text-section li { margin-bottom: 5px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.gap-20 { gap: 20px; }

/* Hide visually, accessible to screen readers */
.sr-only {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

/* Enhance clickable area for icons/buttons */
button, .mobile-menu-toggle, .mobile-menu-close,
.cookie-modal-close, .cookie-banner .cookie-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(38,49,71,0.10);
}

/* Ensures that modal is above everything and body doesn't scroll when open (handled by JS, utility) */
body.cookie-modal-open {
  overflow: hidden !important;
}

/* Accent list dots */
ul:not(.mobile-nav) li::marker {
  color: #A55037;
  font-size: 1.25rem;
}

/* Accessibility Focus Outlines */
a:focus, button:focus, .cta:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .cookie-modal-close:focus {
  outline: 2px solid #A55037;
  outline-offset: 1px;
}

/* Ensure there are no grid/columns properties anywhere. ONLY Flexbox is used. */