/* === 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 {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #f7f4ee;
  color: #222;
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #334155;
  text-decoration: none;
  transition: color 0.23s cubic-bezier(.5,1.8,.6,.99);
}
a:hover, a:focus {
  color: #E5B348;
  text-decoration: underline;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #334155;
  line-height: 1.14;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  color: #E5B348;
  text-shadow: 2px 4px 16px rgba(229,179,72,0.08);
  font-family: 'Montserrat', cursive, sans-serif;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.32rem;
  margin-bottom: 12px;
}
.text-section h1, .text-section h2, .text-section h3 {
  color: #334155;
}
/* Unique artistic font styles for display headings */
.hero h1, .hero h2, section.hero h1 {
  font-family: 'Montserrat', fantasy, cursive, sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  letter-spacing: 0.05em;
  color: #E5B348;
  text-shadow: 1px 2px 12px rgba(51,65,85,0.13);
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.24rem;
  color: #334155;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 24px;
}
/* Body text */
p, li, td, th {
  font-size: 1rem;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
  color: #E5B348;
}

/* === Layout & Containers === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

.content-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  border-radius: 24px;
  background: #fff9ec;
  box-shadow: 0 4px 12px 0 rgba(51,65,85,.08);
  padding: 28px 22px 22px 22px;
  flex: 1 1 260px;
  min-width: 240px;
  transition: box-shadow 0.23s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.feature-grid > div:hover, .feature-grid > div:focus {
  box-shadow: 0 8px 28px -4px rgba(229,179,72,.18);
  background: #fff7e4;
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonials {
  background: #f2ecdd;
  border-top: 4px solid #E5B348;
  border-bottom: 1px solid #D9D9D6;
  padding: 46px 0 46px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 30px 22px 30px;
  margin-bottom: 26px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0px 5px 16px 0px rgba(51,65,85,.10);
  color: #2f2e2c;
  min-width: 250px;
  max-width: 600px;
}
.testimonial-card strong {
  color: #E5B348;
}
.testimonial-card span {
  color: #E5B348;
  font-size: 1.18em;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  padding-left: 8px;
}

/* === Header & Navigation === */
header {
  width: 100%;
  box-shadow: 0 8px 18px -9px rgba(51,65,85,.10);
  background: #fff;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
header a img {
  height: 50px;
  width: auto;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #334155;
  background: none;
  padding: 7px 14px;
  border-radius: 16px;
  transition: background 0.22s, color 0.22s;
}
header nav a:hover, header nav a:focus {
  background: #E5B348;
  color: #fff;
  text-decoration: none;
}
header nav a.cta-primary {
  background: #E5B348;
  color: #fff;
  padding: 8px 22px;
  border-radius: 22px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 12px 0 rgba(229,179,72,.18);
  border: none;
  transition: box-shadow 0.22s, background 0.22s;
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  background: #334155;
  color: #fff;
  box-shadow: 0 5px 22px 0 rgba(51,65,85,.13);
}

/* === Mobile Menu === */
.mobile-menu-toggle {
  display: none;
  background: #E5B348;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  padding: 6px 16px;
  border-radius: 17px;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.18s, box-shadow 0.19s;
  box-shadow: 0 2px 12px 0 rgba(229,179,72,.14);
  z-index: 103;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #334155;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #fff;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.4,1,.4,1.4);
  box-shadow: -2px 0 24px 2px rgba(51,65,85,.13);
  display: flex;
  flex-direction: column;
  padding-top: 36px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2em;
  color: #E5B348;
  position: absolute;
  top: 21px;
  right: 25px;
  cursor: pointer;
  z-index: 1220;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #334155;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  padding: 2em 1.5em 0 1.5em;
  width: 100%;
}
.mobile-nav a {
  color: #334155;
  font-size: 1.18rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  padding: 16px 14px;
  border-radius: 19px;
  transition: background 0.20s, color 0.20s;
  text-align: left;
  background: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E5B348;
  color: #fff;
}

/* Show/hide nav on mobile */
@media (max-width: 1042px) {
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1043px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === Hero Sections === */
.hero {
  background: linear-gradient(99deg, #fff9ec 40%, #D9D9D6 100%);
  box-shadow: 0 9px 28px 0 rgba(229,179,72,0.08);
  padding: 62px 0 60px 0;
  border-bottom-left-radius: 70px 36px;
  border-bottom-right-radius: 70px 36px;
  position: relative;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  max-width: 650px;
  padding: 10px 0;
  box-shadow: 0 2px 28px 0 rgba(229,179,72,0.06);
  background: rgba(255,249,236,0.89);
  border-radius: 30px;
  z-index: 2;
}
.hero .cta-primary {
  margin-top: 6px;
}

/* === Call To Action Buttons === */
.cta-primary {
  background: #E5B348;
  color: #fff;
  border: none;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  padding: 13px 32px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 20px 0 rgba(229,179,72,.18);
  cursor: pointer;
  text-decoration: none;
  outline: none;
  transition: background 0.21s, transform 0.19s, color 0.22s, box-shadow 0.21s;
  margin-top: 16px;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #334155;
  color: #fff;
  box-shadow: 0 10px 32px 0 rgba(51,65,85,.16);
  transform: translateY(-2px) scale(1.03);
}

/* === Cards === */
.card {
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(51,65,85,.12);
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.20s, transform 0.21s;
}
.card:hover, .card:focus {
  box-shadow: 0 9px 38px 0 rgba(229,179,72,0.13);
  transform: translateY(-3px) scale(1.02);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.card img {
  width: 44px;
  height: 44px;
}

/* === Comparison Table === */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff9ec;
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 34px;
  margin-top: 12px;
  box-shadow: 0 2px 13px rgba(229,179,72,0.10);
}
.comparison-table th, .comparison-table td {
  padding: 18px 14px;
  text-align: left;
  border-bottom: 1px solid #ede7d6;
}
.comparison-table th {
  background: #e5b348;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.11rem;
}
.comparison-table th:first-child, .comparison-table td:first-child {
  background: #fff7e4;
  color: #334155;
  font-weight: bold;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}

/* === Timeline/Epochen Styles === */
.timeline h3 {
  margin-top: 22px;
  color: #e5b348;
  font-size: 1.18em;
}
.timeline p {
  color: #334155;
  font-size: 1rem;
  margin-bottom: 7px;
}

/* === Footer === */
footer {
  background: #334155;
  color: #fff;
  margin-top: 60px;
  border-top-left-radius: 40px 20px;
  border-top-right-radius: 40px 20px;
}
footer .container {
  padding-top: 38px;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 16px;
}
.footer-nav nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.footer-nav nav a {
  color: #E5B348;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 5px 8px;
  border-radius: 11px;
  font-size: 1em;
  transition: background 0.14s, color 0.17s;
  background: none;
}
.footer-nav nav a:hover, .footer-nav nav a:focus {
  background: #fff;
  color: #334155;
}
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid #E5B348;
  padding-top: 18px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 19px;
}
.footer-social img {
  width: 32px;
  height: 32px;
  filter: brightness(88%) saturate(120%);
  transition: filter 0.17s;
  cursor: pointer;
}
.footer-social img:hover {
  filter: brightness(100%) saturate(180%) drop-shadow(0px 2px 5px #E5B348);
}

/* === Cookie Consent Banner and Modal === */
.cookie-banner {
  position: fixed;
  left: 0; right:0;
  bottom: 0;
  width: 100vw;
  background: #fffbe8;
  color: #334155;
  box-shadow: 0 -2px 18px -4px rgba(51,65,85,0.12);
  padding: 20px 10px 24px 10px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform 0.22s;
}
.cookie-banner p {
  font-size: 1rem;
  color: #334155;
  margin-bottom: 5px;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.cookie-btn {
  background: #E5B348;
  color: #fff;
  border: none;
  border-radius: 19px;
  padding: 8px 23px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
  cursor: pointer;
  box-shadow: 0 1px 10px 0 rgba(229,179,72,.10);
  transition: background 0.21s, color 0.22s;
  margin-top: 4px;
}
.cookie-btn.cookie-btn-reject {
  background: #334155;
  color: #fff;
}
.cookie-btn.cookie-btn-settings {
  background: #fff;
  color: #E5B348;
  border: 1px solid #E5B348;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #E5B348;
  border: 1px solid #E5B348;
}
.cookie-btn.cookie-btn-settings:hover, .cookie-btn.cookie-btn-settings:focus {
  background: #E5B348;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2100;
  background: rgba(51,65,85,0.37);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-content {
  background: #fffef6;
  border-radius: 24px;
  box-shadow: 0 10px 40px 2px rgba(51,65,85,0.19);
  padding: 44px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 320px;
  max-width: 96vw;
  align-items: flex-start;
  animation: cookie-modal-in 0.31s cubic-bezier(.4,1,.7,1.14);
}
@keyframes cookie-modal-in {
  from { transform: translateY(40px) scale(0.98); opacity: 0.73; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 36px;
  right: 42px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #E5B348;
  cursor: pointer;
  z-index: 9;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #334155;
}
.cookie-modal-content h2 {
  color: #334155;
  margin-bottom: 0.6em;
  font-size: 1.25rem;
}
.cookie-modal-content .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  padding: 10px 0;
}
.cookie-category-label {
  font-size: 1em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #E5B348;
  min-width: 180px;
}
.cookie-category-toggle {
  margin-left: auto;
  margin-right: 0;
}
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}
.switch input { display: none; }
.switch span {
  position: absolute;
  cursor: pointer;
  background: #E5B348;
  opacity: 0.77;
  border-radius: 14px;
  transition: background 0.18s;
  top: 0; left: 0; right: 0; bottom: 0;
}
.switch:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
}
.switch input:checked + span {
  background: #334155;
  opacity: 1;
}
.switch input:checked ~ :after {
  transform: translateX(22px);
}
.switch span:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
}
.switch input:checked + span:after {
  transform: translateX(22px);
}
.cookie-modal-content .cookie-essential {
  opacity: 0.67;
  pointer-events: none;
}

/* === Contact Info Section === */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 20px;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.05em;
  padding: 8px 16px;
  background: #fff9ec;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(51,65,85,.07);
}
.contact-info img {
  width: 24px;
  height: 24px;
  margin: 0;
}

/* === FAQ Section === */
.faq-section {
  background: #fff9ec;
  border-radius: 20px;
  box-shadow: 0 2px 11px rgba(229,179,72,0.08);
  padding: 28px 22px;
  margin-top: 30px;
}
.faq-section h3 {
  color: #E5B348;
  margin-bottom: 13px;
}
.faq-section ul {
  list-style-type: disc;
}
.faq-section li {
  margin-bottom: 11px;
}

/* === Responsive Design (Mobile-First) === */
@media (max-width: 1023px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .footer-nav, .footer-legal {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .feature-grid, .content-grid, .card-container, .contact-info {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.28rem; }
  .hero { padding: 32px 0 30px 0; }
  .hero .content-wrapper { padding: 7px 7px; border-radius: 17px; }
  .footer-nav { flex-direction: column; gap: 13px; }
  .footer-legal { flex-direction: column; gap: 8px; align-items: flex-start; }
  .section { margin-bottom: 35px; padding: 24px 6px; }
  .testimonial-card { padding: 20px 14px 20px 14px; }
  .feature-grid > div { min-width: 0; }
  .cookie-modal-content { padding: 18px 11px 16px 11px; }
  .comparison-table th, .comparison-table td {
    padding: 11px 6px;
    font-size: 0.94em;
  }
  .contact-info > div { font-size: 0.98em; padding: 6px 7px; }
  .footer-social img { width: 24px; height: 24px; }
}
@media (max-width: 520px) {
  .hero { border-bottom-left-radius: 40px 13px; border-bottom-right-radius: 40px 13px; }
  .footer-nav nav { flex-wrap: wrap; gap: 7px; }
}

/* === Micro-interactions === */
.cta-primary, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.21s, color 0.21s, box-shadow 0.18s, transform 0.18s;
}
.cta-primary:active, .cookie-btn:active, .mobile-menu-toggle:active {
  transform: scale(0.97);
}

.feature-grid > div, .card, .testimonial-card {
  transition: transform 0.21s, box-shadow 0.22s;
}
.feature-grid > div:hover, .card:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 10px 28px rgba(229,179,72,0.11);
}

/* === Artistic/Creative Accents === */
.section, .hero, .card, .footer-nav, .testimonial-card {
  /* Doodle/artistic accents as subtle box-shadows */
  box-shadow: 0 4px 16px 0 rgba(51,65,85,.07), 0 1.5px 6px 1.5px rgba(229,179,72,0.03);
}

/* === Utility Classes === */
.text-center { text-align: center; }
.align-center { align-items: center; justify-content: center; }
.mt-24 { margin-top: 24px !important; }
.mb-16 { margin-bottom: 16px !important; }

/* === Prevent Overlapping === */
.section, .card-container > *, .feature-grid > *, .testimonial-card, .content-grid > *, .footer-nav nav > *, .faq-section ul > * {
  margin-bottom: 20px;
}
.section:last-of-type, .footer-legal, .footer-nav nav > *:last-child { margin-bottom: 0; }

/* === Accessibility === */
:focus {
  outline: 2px dashed #E5B348;
  outline-offset: 2px;
}

/* === Hide cookie-modal by default === */
.cookie-modal { display: none; }
.cookie-modal.active { display: flex; }
/* Hide cookie-banner if dismissed (handled via JS) */
.cookie-banner.dismissed { transform: translateY(100%); }

/* === End CSS === */
