/* ===========================
   CSS RESET & NORMALIZE START
   =========================== */
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F8FAFB;
  color: #25325B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #FA7E4A;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E9A647;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input[type="button"], input[type="submit"] {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px;
  border-bottom: 1px solid #E2E8F0;
  text-align: left;
}
iframe {
  border: none;
}
blockquote {
  margin: 24px 0;
  padding: 24px;
  background: #F1F4FD;
  border-radius: 16px;
  font-style: italic;
  color: #366178;
  font-size: 1.2em;
}

/* =====================
   BRAND COLOR VARIABLES
   ===================== */
:root {
  --primary: #183153;
  --secondary: #F39237;
  --accent: #E2E8F0;
  --pastel-pink: #F9C6D1;
  --pastel-blue: #CAE7F6;
  --pastel-orange: #FFE3D1;
  --pastel-lilac: #E7E9FB;
  --pastel-green: #CFF6E4;
  --card-bg: #FDFBFF;
  --cta-gradient: linear-gradient(90deg, #F9C6D1 0%, #CAE7F6 100%);
  --shadow: 0 4px 16px rgba(24,49,83,0.06), 0 1.5px 6px rgba(243,146,55,0.08);
  --radius: 18px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}


/* ======================
   TYPOGRAPHY & HEADINGS
   ====================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 18px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}

@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.4rem; }
  p   { font-size: 1.08rem; }
}

/* ================
   LAYOUT CONTAINER
   ================ */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  padding: 0;
  width: 100%;
}

/* =======================
   HEADER & NAVIGATION BAR
   ======================= */
header {
  background: var(--pastel-blue);
  box-shadow: 0 2px 8px rgba(24,49,83,0.06);
  border-bottom: 1.5px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 1200;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--pastel-pink);
  color: #D07B61;
}
.cta-btn {
  padding: 12px 28px;
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  border-radius: var(--radius);
  box-shadow: 0 1.5px 7px rgba(243,146,55,0.08);
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
  outline: none;
  border: none;
  display: inline-block;
  margin-left: 8px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #FEAF6A;
  box-shadow: 0 7px 24px rgba(243,146,55,0.13);
  transform: translateY(-2px) scale(1.04);
}

/* =======================
   MOBILE NAVIGATION MENU
   ======================= */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pastel-pink);
  color: var(--primary);
  font-size: 2.3em;
  padding: 4px 12px;
  border-radius: 10px;
  border: none;
  box-shadow: var(--shadow);
  margin-left: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:hover,.mobile-menu-toggle:focus {
  background: var(--pastel-lilac);
  color: #9F73A5;
  box-shadow: 0 0 0 2px #E2E8F0;
}
@media (min-width: 990px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background: var(--card-bg);
  box-shadow: 0 2px 50px rgba(24,49,83, 0.16);
  padding: 0 26px 26px 26px;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.38,.11,.89,.6);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.4rem;
  color: var(--primary);
  background: var(--pastel-pink);
  border-radius: 10px;
  width: 46px; height: 46px;
  margin: 26px 0 26px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: var(--shadow);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-lilac);
  color: #9F73A5;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.18em;
  padding: 16px 0 2px 0;
  color: var(--primary);
  font-family: var(--font-display);
  text-align: left;
  border-bottom: 1px dashed var(--accent);
  border-radius: 0;
  transition: color 0.17s, background 0.18s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: #D07B61;
  background: var(--pastel-blue);
}

@media (max-width: 989px) {
  header nav { display: none; }
  .cta-btn { margin-left: 0; }
}
@media (min-width: 990px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===============================
   MAIN SECTIONS & COMMON SPACING
   =============================== */
main {
  width: 100%;
  background: transparent;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
}
section:not(.hero):not(.cta-section) {
  background: var(--card-bg);
  box-shadow: var(--shadow);
}
@media (max-width: 800px) {
  section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
}

.hero {
  background: linear-gradient(135deg, #F9C6D1 0%, #CFF6E4 100%);
  text-align: center;
  box-shadow: 0 6px 36px rgba(183,202,216,0.13);
  border-radius: 0 0 38px 38px;
  margin-bottom: 40px;
  padding: 62px 0 56px 0;
}
.hero h1 {
  font-size: 2.7rem;
  color: var(--primary);
  margin-bottom: 18px;
}
.hero p {
  color: #25325B;
  font-size: 1.2rem;
}
@media (max-width: 660px) {
  .hero h1 { font-size: 1.68rem; }
  .hero { padding: 38px 0 26px 0; }
}

.cta-section {
  background: linear-gradient(90deg, #E7E9FB 0%, #CFF6E4 90%);
  text-align: center;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}
.cta-section h2,
.cta-section p {
  margin-bottom: 22px;
}

/* ===============
   FLEXBOX GRIDS
   =============== */
.feature-grid, .team-grid, .news, .schedule-grid tbody tr, .legend, .filters, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .team-grid > div, .news > div, .card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
  min-width: 210px;
  max-width: 350px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, transform 0.18s;
}
.feature-grid > div:hover, .team-grid > div:hover, .card:hover {
  box-shadow: 0 16px 36px rgba(183,202,216,0.16);
  transform: scale(1.02);
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 28px 18px;
  transition: box-shadow 0.18s;
}
/* Responsive for flex-wrap containers */
@media (max-width: 768px) {
  .feature-grid, .team-grid, .content-grid, .card-container, .news {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .team-grid > div, .news > div {
    max-width: 100%;
  }
}

/* ===========================
   FLEX LAYOUT SECTION VARIANTS
   =========================== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 25px rgba(56,80,180,0.08);
  margin-bottom: 22px;
  border: 2px solid #CAE7F6;
}
.testimonial-card p {
  color: #183153;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card strong {
  color: #F39237;
  margin-left: 1em;
  font-size: 1em;
  font-weight: 600;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===========
   SCHEDULE TABLE
   =========== */
.schedule-grid {
  background: var(--pastel-lilac);
  border-radius: 12px;
  box-shadow: var(--shadow);
  width: 100%;
  margin-bottom: 26px;
  overflow: auto;
}
.schedule-grid th {
  background: #F9C6D1;
  color: var(--primary);
  padding: 10px 8px;
  border-radius: 9px 9px 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}
.schedule-grid td {
  background: #FFF;
  color: #183153;
  font-size: 1em;
  min-width: 86px;
}
.legend {
  gap: 20px;
}
.legend span {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 10px;
  font-size: 0.93em;
  background: #E7E9FB;
  margin-left: 2px;
}
.legend span:nth-child(2) { background: #CFF6E4; color: #217F5B; }
.legend span:nth-child(3) { background: #FFF9E3; color: #B48A13; }
.legend span:nth-child(4) { background: #F9C6D1; color: #C72626; }

.filters span {
  display: inline-block;
  margin: 4px 8px 4px 0;
  background: #E7E9FB;
  color: #25325B;
  padding: 2px 10px;
  font-size: .98em;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.filters span:hover {
  background: #FA7E4A;
  color: #fff;
}

/* ===========================
   FORMS, FAQ, CONTACT LISTINGS
   =========================== */
.faq {
  padding: 18px 16px;
  background: #E7E9FB;
  border-radius: 10px;
  margin-bottom: 22px;
  box-shadow: 0 1px 5px rgba(56,80,180,0.04);
}
.faq h3 { font-size: 1.13em; margin-bottom: 8px; color: var(--primary); }
.faq strong { color: #F39237; }

.contact-short {
  padding: 16px;
  background: #CFF6E4;
  border-radius: 10px;
  margin-bottom: 20px;
}
.contact-short ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.contact-short li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08em;
}
.contact-short img {
  width: 22px;
  height: 22px;
  margin-right: 6px;
}

/* ===============
   FOOTER STYLE
   =============== */
footer {
  background: var(--pastel-lilac);
  border-top: 2px solid #E2E8F0;
  box-shadow: 0 -2px 11px rgba(24,49,83,0.03);
  padding: 44px 0 22px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: #366178;
  font-weight: 500;
  font-size: .97em;
  padding: 3px 9px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
  background: var(--pastel-blue);
  outline: none;
}
footer p, footer a {
  font-size: 0.98em;
  color: #294B70;
}
footer img {
  height: 46px;
  width: auto;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* =============================
   BUTTONS, TAGS, MICROINTERACTIONs
   ============================= */
button, .cta-btn {
  transition: background 0.21s, box-shadow 0.21s, transform 0.14s, color 0.11s;
}
button:active, .cta-btn:active {
  transform: scale(0.98);
}

/* ====================
   MISCELLANEOUS SPACING
   ==================== */
ul li, ol li {
  margin-bottom: 10px;
}

/* ================
   COOKIE BANNER
   ================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  padding: 18px 24px;
  background: #FFF7ED;
  box-shadow: 0 -6px 22px rgba(24,49,83,0.07);
  border-radius: 18px 18px 0 0;
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.98em;
  transition: transform 0.38s cubic-bezier(.38,.11,.89,.6), opacity 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 11px 18px;
  font-family: var(--font-display);
  border-radius: 13px;
  font-size: 1.08em;
  font-weight: 600;
  border: none;
  margin-top: 0;
  white-space: nowrap;
  box-shadow: 0 1.5px 6px rgba(243,146,55,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.13s, transform 0.14s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.accept:hover { background: #FEAF6A; }
.cookie-btn.reject {
  background: #F9C6D1;
  color: #C72626;
}
.cookie-btn.reject:hover { background: #FFAEC2; }
.cookie-btn.settings {
  background: var(--pastel-lilac);
  color: #25325B;
}
.cookie-btn.settings:hover { background: #E2E8F0; }

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24,49,83,0.18);
  z-index: 2999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: var(--card-bg);
  border-radius: 21px;
  box-shadow: 0 0 44px rgba(24,49,83,0.16);
  padding: 32px 18px;
  width: min(94vw, 430px);
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.29s cubic-bezier(.4,.19,.92,1), transform 0.24s cubic-bezier(.41,.11,.73,1);
}
.cookie-modal.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.19em;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1em;
  color: #25325B;
}
.cookie-toggle {
  appearance: none;
  width: 42px; height: 24px;
  background: #CAE7F6;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.21s;
}
.cookie-toggle:checked {
  background: #F39237;
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  top: 3px; left: 4px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1.5px 4px rgba(24,49,83,0.10);
  transition: left 0.18s, background 0.14s;
}
.cookie-toggle:checked:before {
  left: 20px;
  background: #FFF9E3;
}
.cookie-modal .cookie-btn {
  width: 100%;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 18px;
  font-size: 1.5rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal-close:hover {
  color: #F39237;
}
.cookie-category.essential label {
  color: #25325B;
  font-weight: 600;
}
.cookie-category.essential .cookie-toggle {
  opacity: .6;
  cursor: not-allowed;
}

/* ================
   SCROLLBAR STYLE
   ================ */
::-webkit-scrollbar {
  width: 12px;
  background: #F8FAFB;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb {
  background: #CAE7F6;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F9C6D1;
}

/* ===============
   ANIMATIONS
   =============== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero, .cta-section, section, .card, .feature-grid > div, .testimonial-card, .cta-btn {
  animation: fadeInUp 0.85s cubic-bezier(.5,.3,.8,1) both;
}

/* ======================
   SELECTION
   ====================== */
::selection {
  background: #F9C6D1;
  color: #183153;
}

/* =======
   MISC
   ======= */
hr {
  border-top: 1px solid #E2E8F0;
  margin: 30px 0;
}

/* ====== OVERRIDES FOR PAGES SUCH AS DATENSCHUTZERKLÄRUNG/NUTZUNGSBEDINGUNGEN ==== */
main > section > .container > .content-wrapper > ul {
  margin-bottom: 12px;
}

/* Extra spacing for lists with icons */
main ul li img {
  width: 21px;
  height: 21px;
  vertical-align: middle;
  margin-right: 10px;
}

/* Hide scroll on background when modal or menu open (add/remove .no-scroll to body via JS) */
body.no-scroll {
  overflow: hidden !important;
  touch-action: none;
}

/* ===================
   ACCESSIBILITY FOCUS
   =================== */
:focus-visible {
  outline: 2.5px solid #A9B7E7;
  outline-offset: 1px;
  border-radius: 6px;
}

/* ================== FONT LOADS ==================
   (Add in HTML <head>: 
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600;700&display=swap" rel="stylesheet"> 
   ) 
================================================== */
