/* ======================================================================
   Flicker Reserves – Scandinavian Clean Design Style
   Modern Responsive CSS (Flexbox-only)
   ====================================================================== */
/* 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, main, menu, nav, output,
ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #263238;
  background: #F5F3EE;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture {max-width: 100%; display: block;}
a { color: #B38867; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #263238; text-decoration: underline; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  color: #263238;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {font-size: 2.4rem; margin-bottom: 20px;}
h2 {font-size: 2rem; margin-bottom: 18px;}
h3 {font-size: 1.5rem; margin-bottom: 14px;}
h4, h5, h6 {font-size: 1.1rem; margin-bottom: 10px;}
p, ul, ol { color: #263238; margin-bottom: 16px; }
ul, ol { margin-left: 22px; }
.subheadline, .cta-subtext {
  color: #5f6367;
  font-size: 1.18rem;
  margin-bottom: 26px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
}
strong { font-weight: bold; }

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.cta-section {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 32px 0 rgba(38,50,56,0.04);
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(38,50,56,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px 18px;
}
.logo img {
  height: 43px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: #263238;
  padding: 7px 0;
  border-radius: 2px;
  transition: background 0.14s, color 0.16s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #B38867;
  background: #F5F3EE;
}
.cta-primary {
  padding: 12px 30px;
  border-radius: 32px;
  background: #B38867;
  color: #fff;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  box-shadow: 0 2px 8px rgba(179,136,103,0.08);
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
  outline: none;
  display: inline-block;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: #263238;
  color: #fff;
  transform: translateY(-1px) scale(1.03);
}

/* ======================== */
/* MOBILE NAVIGATION */
/* ======================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #263238;
  cursor: pointer;
  margin-left: auto;
  z-index: 1199;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38,50,56,0.90);
  z-index: 1200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.78,0,.29,1), opacity 0.32s;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 22px 6px 0;
  background: none;
  color: #FFF;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #B38867;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 24px 38px;
  margin-top: 16px;
}
.mobile-nav a {
  font-size: 1.15rem;
  color: #FFF;
  background: none;
  padding: 12px 0;
  border-radius: 3px;
  font-weight: 500;
  transition: background 0.12s, color 0.15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #B38867;
  color: #fff;
}

/* ============ RESPONSIVE NAVIGATION ============= */
@media (max-width: 1020px) {
  .header-bar {
    gap: 12px;
  }
  .main-nav {
    gap: 15px;
  }
}
@media (max-width: 900px) {
  .main-nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============ HERO & FLEX PATTERNS ============= */
.hero {
  background: #F5F3EE;
  padding: 56px 0 40px 0;
  display: flex;
  align-items: center;
}
.hero .container { max-width: 900px; }
.hero .content-wrapper {
  align-items: flex-start;
  padding: 0 0;
  gap: 12px;
}
.hero h1 { font-size: 2.5rem; font-weight: 700; color: #263238; }
.hero .subheadline {font-size: 1.25rem; color: #5F6367; margin-bottom: 20px;}
.hero .cta-primary {margin-top: 18px;}

/* ==== FEATURES FLEX GRID (CARDS) ==== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.features-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(38,50,56,0.05);
  padding: 26px 21px 17px 21px;
  min-width: 220px;
  max-width: 310px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.features-grid > div:hover {
  box-shadow: 0 5px 42px 0 rgba(179,136,103,0.12);
  transform: translateY(-5px) scale(1.02);
}
.features-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 7px;
}
.features-grid h3 {
  font-size: 1.18rem;
  color: #263238;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  margin-bottom: 8px;
}
.features-grid p { font-size: 1rem; }

/* ======= FLEX PATTERNS REQUIRED ========= */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(38,50,56,0.07);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  flex: 1 1 220px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  background: #fff;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 1px 12px 0 rgba(38,50,56,0.08);
  flex: 1 1 220px;
  min-width: 230px;
  max-width: 420px;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(179,136,103,0.16);
  transform: translateY(-3px) scale(1.01);
}
.testimonial-text {
  color: #263238;
  font-size: 1.08rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 5px;
}
.testimonial-meta {
  color: #B38867;
  font-size: 0.98rem;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-stars {
  color: #FFD600;
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  margin-bottom: 0;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* Service / Leistungen list */
.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}
.services-list li {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(38,50,56,0.05);
  padding: 18px 22px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 220px;
}
.service-title {
  font-family: 'Merriweather', serif;
  font-size: 1.18rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  color: #263238;
}
.service-price {
  font-size: 1.02rem;
  color: #B38867;
  font-weight: 700;
  margin-left: 8px;
}
.service-desc { font-size: 1.04rem; color: #5F6367; }

/* Event list style */
.event-list ul {
  list-style: disc inside;
  margin-bottom: 8px;
}
.event-list li {
  font-size: 1.06rem;
  margin-bottom: 6px;
  color: #263238;
}
.event-highlights {
  background: #F5F3EE;
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 8px;
}
.registration-info {
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Text section style */
.text-section {
  background: #fff;
  border-radius: 12px;
  padding: 26px 23px;
  box-shadow: 0 0px 13px 0 rgba(38,50,56,0.05);
}
.text-section ol li, .text-section ul li {
  margin-bottom: 8px;
  color: #263238;
  font-size: 1.01rem;
}

/* ============= FOOTER ============ */
footer {
  background: #fff;
  box-shadow: 0 -2px 20px 0 rgba(38,50,56,0.04);
  padding-top: 28px;
  padding-bottom: 28px;
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 18px;
}
.footer-logo img {
  width: 58px;
  height: auto;
  display: block;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #263238;
  font-size: 1.01rem;
  transition: color 0.16s, text-decoration 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B38867;
  text-decoration: underline;
}
.footer-contact {
  color: #5F6367;
  font-size: 0.97rem;
  margin-top: 2px;
}
.footer-contact a { color: #B38867; text-decoration: underline; }
.footer-contact a:hover { color: #263238; }

/* ===================== BUTTONS & INTERACTIONS ===================== */
button, .cta-primary {
  outline: none;
  transition: background 0.14s, color 0.14s, border-color 0.14s, box-shadow 0.14s, transform 0.16s;
}
button:focus, .cta-primary:focus {
  box-shadow: 0 0 0 3px rgba(38,50,56,0.13);
}
/* ============= RESPONSIVE STYLES ============= */
@media (max-width: 900px) {
  .footer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 8px;
  }
  .features-grid, .testimonials-grid {
    gap: 18px;
  }
  .section, .cta-section {
    padding: 34px 8px;
  }
  .container {
    padding: 0 7px;
  }
}
@media (max-width: 750px) {
  .content-wrapper {
    gap: 14px;
  }
  .hero {
    padding: 32px 0 22px 0;
  }
  .features-grid, .testimonials-grid {
    flex-direction: column;
    gap: 15px;
  }
  .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .section, .cta-section {
    padding: 26px 4px;
    margin-bottom: 36px;
  }
  .card, .testimonial-card, .features-grid > div, .services-list li {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .hero h1 {font-size: 1.6rem;}
  .hero .subheadline, h2 {font-size: 1.13rem;}
  .footer-logo img {width: 48px;}
  .footer-nav {font-size: 0.97rem;}
  .footer-contact {font-size: 0.93rem;}
}
@media (max-width: 500px) {
  .section, .cta-section { padding: 18px 0; }
  .hero { padding: 18px 0; }
}
/* Text-image section: flex-direction column on mobile */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: stretch; gap: 16px; }
}

/* =============================================================
        COOKIE CONSENT BANNER & MODAL
============================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 20px 0 rgba(38,50,56,0.08);
  border-top: 1px solid #efede9;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 24px;
  padding: 18px 22px;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.4s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  font-size: 1.02rem;
  color: #263238;
  flex: 1 1 auto;
  margin-right: 12px;
}
.cookie-banner__actions {
  display: flex;
  gap: 15px;
}
.cookie-btn {
  padding: 9px 22px;
  border-radius: 24px;
  border: none;
  font-size: 1.01rem;
  font-weight: 600;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  cursor: pointer;
  background: #F5F3EE;
  color: #263238;
  box-shadow: 0 2px 7px rgba(38,50,56,0.03);
  transition: background 0.14s, color 0.14s;
}
.cookie-btn.accept {
  background: #B38867;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #263238;
}
.cookie-btn.reject {
  background: #efede9;
  color: #263238;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #B38867;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #B38867;
  text-decoration: underline;
  padding: 9px 10px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus { color: #263238; }
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 12px 7px;
  }
  .cookie-banner__text {
    margin-right: 0;
  }
  .cookie-banner__actions { justify-content: flex-start; }
}

/* Cookie Preferences Modal */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(38,50,56,0.48);
  z-index: 1510;
  align-items: center;
  justify-content: center;
  transition: opacity .24s;
}
.cookie-modal.show {
  display: flex;
}
.cookie-modal__window {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 48px rgba(38,50,56,0.12);
  padding: 36px 26px 26px 26px;
  min-width: 320px;
  max-width: 94vw;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  animation: appearIn .22s cubic-bezier(.47,.16,.57,.8);
}
@keyframes appearIn {
  0% { opacity: 0; transform: scale(0.97) translateY(35px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal__close {
  position: absolute;
  right: 22px; top: 14px;
  background: none;
  border: none;
  font-size: 1.45rem;
  color: #B38867;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #263238;
}
.cookie-modal__title {
  font-family: 'Merriweather', serif;
  font-size: 1.21rem;
  color: #263238;
  font-weight: 700;
  margin-bottom: 6px;
}
.cookie-modal__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}
.cookie-modal__item label {
  font-size: 1.01rem;
  color: #263238;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.cookie-modal__toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #efede9;
  border-radius: 20px;
  position: relative;
  outline: none;
  border: none;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal__toggle:checked {
  background: #B38867;
}
.cookie-modal__toggle::before {
  content: '';
  display: block;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 1.5px; left: 2px;
  transition: left 0.15s;
  box-shadow: 0 1.5px 4px 0 rgba(38,50,56,0.07);
}
.cookie-modal__toggle:checked::before {
  left: 17px;
}
.cookie-modal__item .cookie-modal__toggle[disabled] {
  opacity: 0.63;
  cursor: default;
}
.cookie-modal__save {
  margin-top: 19px;
  align-self: flex-end;
  padding: 10px 26px;
  border-radius: 22px;
  background: #B38867;
  color: #fff;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.12s;
}
.cookie-modal__save:hover, .cookie-modal__save:focus {
  background: #263238;
}

/* ========= MICRO-INTERACTIONS ========= */
.features-grid > div, .card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.12s;
}
.features-grid > div:active,
.testimonial-card:active,
.card:active {
  transform: scale(0.98);
}
button:active, .cta-primary:active {
  transform: scale(0.98);
}

/* === Accessibility (Focus visible) === */
a:focus-visible, button:focus-visible, .cta-primary:focus-visible {
  outline: 2px solid #B38867;
  outline-offset: 2px;
}

/* === Miscellaneous === */
::-webkit-scrollbar { width:10px; background:#F5F3EE; }
::-webkit-scrollbar-thumb { background: #efede9; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #B38867; }

/* Utility classes */
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-40 { margin-top: 40px !important; }
.text-center { text-align: center; }

/* Ensure no content overlapping */
.section, .card-container, .testimonials-grid, .features-grid, .footer-bar {
  margin-bottom: 20px;
}

/* Font Import (for web, if not already via HTML) */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
