/* ============================================================
   CSS RESET & BASE - Modern 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #101526; /* fallback solid, see below for section backgrounds */
  color: #E1E6FA;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #FFB600;
  text-decoration: none;
  transition: color .2s cubic-bezier(0.6, 0.2, 0.3, 1);
}
a:hover, a:focus {
  color: #fff;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 20px;
}
strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* ============================================================
   TYPOGRAPHY - Futuristic/Modern Brand Style
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  letter-spacing: 0.5px;
  font-weight: 700;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.075rem;
  margin-bottom: 6px;
}
p {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #E1E6FA;
}
ul, ol {
  margin-top: 0;
  margin-bottom: 20px;
  color: #E1E6FA;
  font-size: 1rem;
}
blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #fff;
  margin: 0 0 10px 0;
  border-left: 4px solid #FFB600;
  padding-left: 14px;
  letter-spacing: 0.18px;
}

/* ============================================================
   LAYOUT - Flexbox Only, Spacing & Container
   ============================================================ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #19223c;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(18,26,54,0.25);
}

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

.text-section {
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Card Container Layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 380px;
  background: #19223c;
  border-radius: 16px;
  box-shadow: 0 6px 28px rgba(27,40,69,0.13);
  transition: box-shadow .25s, border-color .2s;
  padding: 30px 24px;
  border: 2px solid transparent;
}
.card:hover {
  box-shadow: 0 12px 32px rgba(255,182,0,0.12), 0 2px 6px #1b28459a;
  border-color: #FFB600;
  z-index: 2;
}

/* Flex Section for Text-Image */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Features Layout Pattern */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 210px;
  min-width: 210px;
  background: #212f50;
  border-radius: 15px;
  box-shadow: 0 4px 18px rgba(50,60,120,0.10);
  padding: 30px 22px 26px 22px;
  margin-bottom: 20px;
  border-left: 3px solid #FFB600;
  transition: box-shadow .22s, border-color .2s;
}
.feature-item img {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 0 6px #FFB600af) brightness(1.24);
}
.feature-item:hover {
  box-shadow: 0 10px 38px 0 #ffb6002e, 0 2px 12px #1b28457a;
  border-color: #fff;
}

/* Testimonial Card Pattern */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #1B2845;
  border-radius: 15px;
  box-shadow: 0 2px 16px rgba(27,40,69,0.10);
  margin-bottom: 20px;
  flex: 1 1 320px;
  min-width:270px;
  max-width: 510px;
  border-left: 4px solid #FFB600;
}
.testimonial-card blockquote {
  color: #1B2845;
  font-style: italic;
  font-size: 1.05rem;
  border: none;
  padding-left: 0;
}
.testimonial-card span {
  font-size: 0.97rem;
  color:#666e8d;
  padding-left: 5px;
  letter-spacing: 0.12px;
}

.rating-display {
  color: #FFB600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-top: 24px;
  font-size: 1.12rem;
  letter-spacing: 0.07em;
}

/* Workshop Card Styling */
.workshop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.workshop-item {
  flex: 1 1 350px;
  min-width: 280px;
  background: #19223c;
  border-radius: 15px;
  box-shadow: 0 2px 16px rgba(27,40,69,0.14);
  padding: 28px 20px;
  margin-bottom: 20px;
  transition: box-shadow .25s, border .22s;
  border-left: 3px solid #FFB600;
}
.workshop-item:hover {
  box-shadow: 0 8px 28px #FFB60033, 0 2px 8px #1b284555;
  border-left-color: #fff;
}
.workshop-target-groups {
  margin: 28px 0 0 0;
}

/* Legal Section */
.legal {
  background: #19223c;
  border-radius: 15px;
  padding: 40px 20px 30px 20px;
  margin-bottom: 60px;
  box-shadow: 0 6px 28px rgba(27,40,69,0.13);
}

/* Visual Accent Elements */
.info-note {
  background: #fffae4;
  color: #6d5d00;
  padding: 10px 18px;
  border-left: 4px solid #FFB600;
  border-radius: 10px;
  margin: 18px 0;
  font-size: 0.97rem;
}
.visit-info ul {
  list-style-type: disc;
  margin-left: 22px;
}

/* CTA Button */
.cta-btn {
  padding: 13px 36px;
  background: linear-gradient(90deg, #FFB600 62%, #E1E6FA 100%);
  color: #19223C;
  border: none;
  border-radius: 36px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.11rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 18px #FFB60044;
  cursor: pointer;
  margin-top: 15px;
  margin-bottom: 13px;
  transition: box-shadow .23s, background .19s;
  outline: 0;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #FFB600 50%, #fff 100%);
  color: #2348ea;
  box-shadow: 0 2px 18px #E1E6FA88, 0 8px 24px #FFB600;
}

/* HEADER/NAVIGATION STYLES */
header {
  width: 100%;
  background: #1B2845;
  box-shadow: 0 2px 12px #1b284522, 0 1px 0 #FFB60033;
  position: sticky;
  top: 0;
  z-index: 1020;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 80px;
  padding: 0 18px;
  gap: 26px;
}
header img[alt="FrischGemalt"] {
  height: 46px;
  margin-right: 8px;
}
.main-nav {
  display: flex;
  gap: 18px;
  margin-left: 17px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #E1E6FA;
  font-size: 1.01rem;
  padding: 8px 14px;
  border-radius: 18px;
  transition: background .22s, color .16s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFB600;
  color: #1B2845;
}

/* Burger Button (Hamburger) */
.mobile-menu-toggle {
  display: none;
  background: #1B2845;
  color: #FFB600;
  font-size: 2.15rem;
  border-radius: 9px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid #2b3755;
  margin-left: auto;
  transition: background .2s, color .16s, box-shadow .19s;
  z-index: 1011;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #FFB600;
  color: #1B2845;
  box-shadow: 0 2px 12px #FFB60055;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,29,53,0.97);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100vw);
  transition: transform .38s cubic-bezier(.65, .01, .32, .99);
  box-shadow: 0 6px 30px #1b28458c;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #FFB600;
  background: none;
  font-size: 2.5rem;
  border-radius: 10px;
  margin: 23px 0 10px 32px;
  align-self: flex-start;
  width: 44px;
  height: 44px;
  line-height: 1;
  border: 2px solid #2b3755;
  box-shadow: 0 1px 12px #FFB60055;
  transition: background .2s, color .18s;
}
.mobile-menu-close:active, .mobile-menu-close:focus {
  background: #FFB600;
  color: #1B2845;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 34px 0 0 38px;
}
.mobile-nav a {
  color: #E1E6FA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.19rem;
  padding: 10px 0;
  border-bottom: 1px solid #223063;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #FFB600;
  background: none;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(105deg, #1B2845 66%, #2348ea 100%);
  border-radius: 0 0 32px 32px;
  min-height: 270px;
  padding: 48px 0 40px 0;
  box-shadow: 0 8px 32px #1b28455c;
  margin-bottom: 70px;
}
.hero h1 {
  color: #FFB600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-shadow: 0 2px 10px #222b45;
}
.hero p {
  color: #fff;
  opacity: .93;
  font-size: 1.15rem;
}

/* FOOTER */
footer {
  background: #1B2845;
  width: 100%;
  padding: 36px 0 12px 0;
  margin-top: 60px;
  box-shadow: 0 -3px 16px #1B284527, 0 -1px 0 #FFB60033;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #E1E6FA;
  font-size: 1rem;
  padding: 6px 13px;
  border-radius: 16px;
  transition: background .21s, color .18s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FFB600;
  color: #1B2845;
}
.brandline {
  color: #7c879e;
  font-size: 0.98rem;
  text-align: center;
  margin-top: 6px;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS (Mobile-first)
   ============================================================ */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .section {
    padding: 28px 9px;
  }
  .hero {
    padding: 38px 0 24px 0;
    margin-bottom: 40px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 11px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding: 0 4px;
  }
  /* Use column layouts on mobile */
  .feature-grid, .workshop-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .section {
    padding: 22px 4px;
    margin-bottom: 34px;
  }
  .content-wrapper, .text-image-section {
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .feature-item, .card, .workshop-item, .testimonial-card {
    min-width: unset;
    max-width: 100%;
    padding: 22px 8px;
  }
}
@media (max-width: 560px) {
  .container {
    padding: 0 2px;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .cta-btn {
    width: 100%;
    padding: 13px 0;
    font-size: 1rem;
  }
}

/* ============================================================
   ANIMATIONS & MICROINTERACTIONS
   ============================================================ */
.cta-btn {
  transition: box-shadow .21s, background .19s, color .19s;
}
.feature-item, .workshop-item {
  transition: box-shadow .21s, border-color .19s;
}
.card {
  transition: box-shadow .23s, border-color .2s;
}
.mobile-menu,
.cookie-banner,
.cookie-modal {
  transition: transform .38s cubic-bezier(.7, 0, .22, 1), opacity .2s;
}

/* ============================================================
   COOKIE CONSENT BANNER & MODAL
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1300;
  background: #232a47;
  color: #fff;
  padding: 22px 18px 14px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  box-shadow: 0 -2px 18px #1b28458c;
  gap: 22px;
  font-size: 1rem;
}
.cookie-banner .banner-text {
  flex: 2 2 60%;
  color: #fff;
  font-size: 1.07rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner .cookie-btn {
  padding: 9px 22px;
  border-radius: 25px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  background: #FFB600;
  color: #1B2845;
  cursor: pointer;
  margin-right: 2px;
  transition: background .14s, color .14s, box-shadow .21s;
  box-shadow: 0 1px 8px #FFB60044;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #E1E6FA;
  color: #1B2845;
  box-shadow: 0 2px 12px #E1E6FA44;
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  border: 2px solid #FFB600;
  color: #FFB600;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #FFB600;
  color: #1B2845;
}

@media (max-width: 660px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.97rem;
    gap: 8px;
  }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1600;
  background: rgba(17,22,42,0.78);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.06);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.00);
}
.cookie-modal .cookie-modal-content {
  background: #232a47;
  color: #fff;
  border-radius: 19px;
  padding: 36px 26px 30px 26px;
  min-width: 326px;
  max-width: 95vw;
  box-shadow: 0 8px 38px #1b284577;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal h2 {
  color: #FFB600;
  font-size: 1.25rem;
  margin-bottom: 11px;
}
.cookie-modal .cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-modal .cookie-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-modal .cookie-cat-label {
  flex: 1;
}
.cookie-modal .cookie-cat-toggle {
  width: 38px;
  height: 21px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #FFB600;
  appearance: none;
  outline: none;
  position: relative;
  margin-left: 10px;
  transition: background .14s;
}
.cookie-modal .cookie-cat-toggle:checked {
  background: #FFB600;
}
.cookie-modal .cookie-cat-toggle[disabled] {
  opacity: 0.7;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 2rem;
  color: #FFB600;
  background: none;
  border: none;
  border-radius: 9px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: background .18s;
}
.cookie-modal .cookie-modal-close:focus, .cookie-modal .cookie-modal-close:hover {
  background: #FFB600;
  color: #1B2845;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .cookie-btn {
  padding: 8px 18px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 600;
  background: #FFB600;
  color: #1B2845;
  border: none;
  box-shadow: 0 1px 8px #FFB60033;
  transition: background .13s, color .13s;
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: #E1E6FA;
  color: #1B2845;
}

/* ============================================================
   UTILITY CLASSES/FIXES
   ============================================================ */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-dark { color: #19223c !important; }
.text-accent { color: #FFB600 !important; }
.text-secondary { color: #E1E6FA !important; }
.bg-primary { background: #1B2845 !important; color: #E1E6FA; }
.bg-secondary { background: #E1E6FA !important; color: #1B2845; }
.bg-accent { background: #FFB600 !important; color: #1B2845; }

/* Hide visually, but keep for screen readers */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; border: 0 !important; }

/* ============================================================
   SCROLLBARS / SELECTION
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
  background: #1B2845;
}
::-webkit-scrollbar-thumb {
  background: #FFB600;
  border-radius: 8px;
}
::selection {
  background: #FFB600;
  color: #fff;
}

/* ============================================================
   FOCUS STATES / ACCESSIBILITY
   ============================================================ */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #FFB600;
  outline-offset: 2px;
}

/* ============================================================
   PRINT OVERRIDE (no backgrounds for print)
   ============================================================ */
@media print {
  header, footer, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  body, .section, .container {
    background: #fff !important;
    color: #000 !important;
  }
}
