:root {
  --green-900: #3e5663;
  --green-800: #4e6876;
  --green-700: #5d7d8c;
  --green-600: #6eb6e4;
  --green-500: #8ec8ec;
  --green-100: #dceef8;
  --green-50: #f0f7fb;
  --gold: #7abfe8;
  --gold-dark: #4f9ccc;
  --sky: #8ec8ec;
  --sky-dark: #5aa6d4;
  --ink: #3a4c56;
  --muted: #6a7d88;
  --line: #d5e0e6;
  --paper: #f7fafb;
  --white: #ffffff;
  --danger: #9b2c2c;
  --shadow: 0 6px 18px rgba(62, 86, 99, 0.10);
  --radius: 12px;
  --max: 1080px;
  --header-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Calibri, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(var(--max), calc(100% - 28px)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--green-900);
  color: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
}
.header-inner {
  display: flex; align-items: center; gap: 12px;
  min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 8px;
  color: #fff; text-decoration: none; flex: 0 0 auto;
}
.brand img { width: auto; height: 46px; background: #fff; border-radius: 8px; padding: 2px 4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; letter-spacing: .02em; }
.brand-text span { font-size: .72rem; opacity: .82; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  color: #e8f5ee; text-decoration: none;
  padding: 5px 8px; border-radius: 999px; font-size: .84rem;
}
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
.nav-cta {
  display: flex; gap: 8px; margin-left: 8px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer;
  padding: 8px 14px; border-radius: 999px;
  font-weight: 650; font-size: .88rem;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9ed2ef; color: var(--green-900); }
.btn-green { background: var(--sky-dark); color: #fff; }
.btn-green:hover { background: var(--sky); color: var(--green-900); }
.btn-outline {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45);
}
.btn-outline-dark {
  background: #fff; color: var(--green-800);
  box-shadow: inset 0 0 0 1.5px var(--green-700);
}
.btn-sm { padding: 6px 11px; font-size: .8rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.menu-toggle {
  display: none; margin-left: auto;
  background: transparent; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer;
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(120deg, rgba(62,86,99,.94), rgba(90,166,212,.62)),
    radial-gradient(circle at 80% 20%, #8ec8ec 0, transparent 45%),
    var(--green-800);
  color: #fff;
  min-height: 0;
  display: grid; align-items: end;
}
.hero-art {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 80%, rgba(228,195,90,.18), transparent 28%),
    repeating-linear-gradient(-18deg, transparent 0 18px, rgba(255,255,255,.03) 18px 19px);
  pointer-events: none;
}
.hero-inner { position: relative; padding: 26px 0 22px; }
.kicker {
  display: inline-block; letter-spacing: .12em; text-transform: uppercase;
  font-size: .68rem; font-weight: 700; color: var(--gold);
  margin-bottom: 6px;
}
.hero h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  line-height: 1.15; margin: 0 0 8px; max-width: 18ch;
}
.hero p.lead { max-width: 52ch; font-size: .98rem; opacity: .94; margin: 0 0 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Sections */
section { padding: 32px 0; }
.section-head { margin-bottom: 14px; }
.section-head h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  margin: 0 0 4px;
}
.section-head p { margin: 0; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Cards / tiles */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tile {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
}
.tile-media {
  height: 72px; display: grid; place-items: center;
  color: #fff; font-size: 1.6rem;
  background: linear-gradient(145deg, var(--green-700), var(--green-900));
}
.tile-media.gold { background: linear-gradient(145deg, #8ec8ec, #5aa6d4); }
.tile-media.teal { background: linear-gradient(145deg, #7abfe8, #4e6876); }
.tile-media.blue { background: linear-gradient(145deg, #7abfe8, #3e5663); }
.tile-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.tile-body h3 { margin: 0 0 4px; font-size: 1.02rem; }
.tile-body p { margin: 0 0 10px; color: var(--muted); flex: 1; font-size: .92rem; }
.doors .tile { text-align: center; padding: 16px 14px; }
.doors .tile-icon { font-size: 1.4rem; margin-bottom: 4px; }
.doors h3 { margin: 0 0 8px; }

/* Stats */
.stats {
  background: var(--green-900); color: #fff; padding: 18px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.stat-num {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.7rem; color: var(--gold); line-height: 1;
}
.stat-label { margin-top: 6px; opacity: .9; }

/* Dates */
.date-card { padding: 12px 14px; }
.date-badge {
  display: inline-block; background: var(--green-100); color: var(--green-800);
  font-weight: 700; font-size: .82rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px;
}

/* Partner strip */
.partner-strip {
  background: #fff; border-block: 1px solid var(--line); padding: 16px 0;
}
.logos {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.logo-pill {
  background: var(--green-50); border: 1px dashed var(--line);
  color: var(--green-800); padding: 12px 16px; border-radius: 12px;
  font-weight: 650; font-size: .9rem;
}

/* News */
.news-item { padding: 0; }
.news-item .tile-body time { color: var(--green-700); font-weight: 700; font-size: .82rem; }

/* Tables */
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
table.schedule {
  width: 100%; border-collapse: collapse; min-width: 720px;
}
table.schedule th, table.schedule td {
  text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line);
  vertical-align: top; font-size: .9rem;
}
table.schedule th { background: var(--green-800); color: #fff; font-weight: 650; }
table.schedule tr:hover td { background: var(--green-50); }
.tag {
  display: inline-block; background: var(--green-100); color: var(--green-800);
  border-radius: 999px; padding: 2px 8px; font-size: .75rem; font-weight: 700;
}

/* Forms */
.form-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 18px;
}
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 650; font-size: .92rem; }
label .req { color: var(--danger); }
input, select, textarea {
  font: inherit; padding: 11px 12px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(122,191,232,.35); border-color: var(--sky);
}
.hint { font-size: .82rem; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { margin-top: 4px; }
.form-note {
  background: var(--green-50); border-left: 4px solid var(--green-600);
  padding: 12px 14px; border-radius: 8px; margin-bottom: 18px;
}
.alert {
  padding: 12px 14px; border-radius: 10px; margin-bottom: 14px;
}
.alert-ok { background: #eef6d8; color: #3e5663; }
.alert-err { background: #fde8e8; color: #7a1f1f; }
.child-block {
  border: 1.5px dashed var(--line); border-radius: 10px; padding: 12px;
  margin-bottom: 12px; background: var(--green-50);
}
.child-block h4 { margin: 0 0 12px; }

/* Page hero small */
.page-hero {
  background: linear-gradient(120deg, var(--green-900), var(--sky-dark));
  color: #fff; padding: 20px 0 16px;
}
.page-hero h1 {
  font-family: "Source Serif 4", Georgia, serif;
  margin: 0 0 4px; font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}
.crumbs { font-size: .88rem; opacity: .8; margin-bottom: 8px; }
.crumbs a { color: #fff; }

/* Packages */
.pkg { padding: 22px; }
.pkg .price { color: var(--green-700); font-weight: 800; margin: 0 0 8px; }

/* Footer */
.site-footer {
  background: var(--green-900); color: #d7e8dc; padding: 22px 0 12px; margin-top: 8px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.site-footer h3 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
.site-footer a { color: #9ed2ef; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 14px; font-size: .82rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.hidden { display: none !important; }

@media (max-width: 900px) {
  .week-cal { grid-template-columns: 1fr !important; }
  .grid-3, .grid-4, .grid-2, .stats-grid, .footer-grid, form .row { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--green-800); padding: 12px 16px 18px;
  }
  .nav-cta { margin: 8px 0 0; }
  .menu-toggle { display: block; }
  .header-inner { position: relative; }
}

.funded-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  background: linear-gradient(120deg, #e7f4fb, #f3f7ea);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sky-dark);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0 0 14px;
  font-size: .92rem;
}
.funded-banner strong { color: var(--green-900); }
.funded-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-800);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}

.week-cal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: start;
}
.day-col {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
}
.day-col h3 {
  margin: 0;
  padding: 8px 10px;
  background: var(--green-800);
  color: #fff;
  font-size: .92rem;
}
.ag-slot {
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.ag-slot:last-child { border-bottom: 0; }
.ag-slot .when {
  font-weight: 700;
  color: var(--sky-dark);
  font-size: .82rem;
}
.ag-slot h4 { margin: 2px 0 4px; font-size: .95rem; }
.ag-slot p { margin: 0 0 4px; font-size: .8rem; color: var(--muted); }
.ag-slot .btn { margin-top: 6px; }

.partner-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.logo-slot {
  min-height: 120px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 16px;
}
.logo-slot img {
  max-height: 88px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}
.logo-slot span { color: var(--muted); font-size: .85rem; text-align: center; }
@media (max-width: 900px) {
  .partner-wall { grid-template-columns: repeat(2, 1fr) !important; }
}

.kind-kopf { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.kind-kopf h4 { margin:0; }

details.ag-info { margin: 6px 0 4px; }
details.ag-info summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
  background: var(--green-800);
  border-radius: 999px;
  padding: 4px 10px;
}
details.ag-info summary::-webkit-details-marker { display: none; }
details.ag-info summary::before { content: "i  "; font-style: italic; font-weight: 700; }
details.ag-info .ag-info-body {
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--green-50);
  border-radius: 8px;
  font-size: .82rem;
  color: var(--ink);
}
details.ag-info .ag-info-body ul { margin: 6px 0 0; padding-left: 18px; }
