/* Paderbildung e.V. | main.css
   Zweck: Design-System laut Anforderungsheft Kap. 6 (Farben, Montserrat durchgängig, Komponenten)
   Stand: 16.09.2026 */

/* ---------- Schrift (lokal, SIL OFL) ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens (Kap. 6.1) ---------- */
:root {
  --petrol-dark: #14666E;
  --petrol: #1A8C99;
  --petrol-tint: #E7F2F3;
  --gruen: #6CB944;
  --gruen-dark: #4E9E52;
  --gruen-text: #2F7D33;
  --gruen-tint: #EFF7E9;
  --ink: #12252A;
  --ink-muted: #4A5C60;
  --surface: #FFFFFF;
  --bg: #F4F8F8;
  --border: #D9E5E6;
  --error: #C0392B;
  --error-tint: #FBECEA;

  --font: "Montserrat", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(18, 37, 42, 0.06);
  --shadow-lift: 0 10px 30px rgba(18, 37, 42, 0.10);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --header-h: 76px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem); /* 17 -> 18 px */
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--petrol-dark); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--petrol-dark); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 600; }

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.35rem + 2.8vw, 3rem); font-weight: 700; letter-spacing: -0.005em; }
h2 { font-size: clamp(1.625rem, 1.25rem + 1.6vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 600; line-height: 1.25; }
h4 { font-size: 1.0625rem; font-weight: 600; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--petrol-dark); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Offener Platzhalter: bewusst auffällig, damit nichts live geht */
.ph { background: #FFF1B8; color: #5A4300; padding: 0.05em 0.35em; border-radius: 4px; outline: 1px dashed #C9A227; font-weight: 500; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--bg); }
.section--tint { background: var(--petrol-tint); }
.section--tight { padding-block: clamp(40px, 6vw, 64px); }
.measure { max-width: 65ch; }
.center { text-align: center; margin-inline: auto; }

.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; }
.section-head p:not(.kicker) { color: var(--ink-muted); font-size: 1.0625em; }

/* Kicker: greift die Claim-Zeile des Logos auf (Versalien, gesperrt, Linie) */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--petrol-dark); margin: 0 0 16px;
}
.kicker::before { content: ""; width: 32px; height: 1.5px; background: currentColor; flex: none; }
.center .kicker::after, .kicker.both::after { content: ""; width: 32px; height: 1.5px; background: currentColor; flex: none; }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
}

/* ---------- Buttons (Pill) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--primary { background: var(--petrol-dark); color: #fff; }
.btn--primary:hover { background: var(--petrol); }
.btn--secondary { background: var(--surface); color: var(--petrol-dark); border-color: var(--petrol-dark); }
.btn--secondary:hover { background: var(--petrol-tint); }
.btn--accent { background: var(--gruen); color: var(--ink); }
.btn--accent:hover { background: var(--gruen-dark); }
.btn--small { min-height: 42px; padding: 9px 18px; font-size: 0.9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.logo-mark { width: 40px; height: 40px; }
.logo-word { font-weight: 700; font-size: 1.1875rem; letter-spacing: 0.06em; line-height: 1; white-space: nowrap; }
.logo-word .pader { color: var(--petrol-dark); }
.logo-word .bildung { color: var(--gruen-text); }
.logo-word small { font-size: 0.6em; font-weight: 600; letter-spacing: 0.02em; color: var(--petrol-dark); margin-left: 4px; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list a:not(.btn) {
  display: block; padding: 10px 11px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav-list a:not(.btn):hover { background: var(--petrol-tint); color: var(--petrol-dark); }
.nav-list a[aria-current="page"] { color: var(--petrol-dark); font-weight: 600; background: var(--petrol-tint); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; }

@media (max-width: 1239px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
    border: 1.5px solid var(--border); border-radius: 999px; background: var(--surface);
    font: 600 0.9375rem var(--font); color: var(--ink); cursor: pointer;
  }
  .nav-toggle svg { width: 20px; height: 20px; }
  .site-nav {
    position: fixed; inset: 0; z-index: 60; overflow-y: auto;
    padding: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 8px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 32px);
    background: var(--surface);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a:not(.btn) { font-size: 1.25rem; font-weight: 600; padding: 16px 12px; border-radius: 10px; border-bottom: 1px solid var(--border); }
  .nav-cta { margin: 24px 0 0; }
  .nav-cta .btn { width: 100%; min-height: 56px; font-size: 1.0625rem; }
  .header-inner .nav-toggle { position: relative; z-index: 70; }
  .logo { position: relative; z-index: 70; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 400px) {
  .logo-word { font-size: 1rem; }
  .logo-mark { width: 34px; height: 34px; }
  .nav-toggle .label { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -12vw; top: -10%;
  width: min(70vw, 820px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--petrol-tint), rgba(231, 242, 243, 0));
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--petrol-dark); }
.hero-lead { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); color: var(--ink-muted); max-width: 36rem; margin-bottom: 32px; }
.hero-art { max-width: 520px; margin-inline: auto; width: 100%; }
.hero--page { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 80px); }
.hero--page .hero-lead { margin-bottom: 28px; }

.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.trust svg { width: 20px; height: 20px; color: var(--gruen-text); flex: none; }

/* ---------- Karten ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px);
}
.card p { color: var(--ink-muted); margin: 0; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.card--link { transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card--link:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); border-color: #C3D7D9; }
.card h3 { margin: 0; }
.grid > *, .parcours > *, .choices > * { min-width: 0; }
.card h2, .card h3, .station h3, .choice, .feature-list span, .profile-areas span { overflow-wrap: anywhere; hyphens: manual; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--petrol-tint); color: var(--petrol-dark); flex: none;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--green { background: var(--gruen-tint); color: var(--gruen-text); }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.feature-list svg { width: 22px; height: 22px; margin-top: 3px; color: var(--gruen-text); }
.feature-list strong { display: block; }

/* ---------- Schritte (echte Reihenfolge) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--petrol-dark); color: #fff; font-weight: 700; font-size: 1.0625rem;
}
.steps li::after { content: ""; position: absolute; top: 22px; left: 56px; right: -8px; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 14px); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.125rem; margin-bottom: 6px; }
.steps p { color: var(--ink-muted); margin: 0; font-size: 0.975em; }
@media (max-width: 719px) { .steps li::after { display: none; } }

/* ---------- Zitat/Statement ---------- */
.statement { font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem); font-weight: 600; line-height: 1.4; color: var(--petrol-dark); margin: 0 0 24px; }
.source { font-size: 0.8125rem; color: var(--ink-muted); }

/* ---------- Ausbildung24-Box ---------- */
.a24 {
  display: grid; gap: 28px; align-items: center;
  background: linear-gradient(135deg, var(--petrol-dark) 0%, #17808B 55%, #2E8F57 100%);
  color: #fff; border-radius: 20px; padding: clamp(28px, 5vw, 56px);
}
@media (min-width: 860px) { .a24 { grid-template-columns: 1fr auto; } }
.a24 h2, .a24 h3 { color: #fff; margin-bottom: 12px; }
.a24 p { color: #E3F1F2; margin: 0; max-width: 40rem; }
.a24 .btn-row { margin-top: 0; }
.store-btn { background: #fff; color: var(--ink); min-width: 12rem; justify-content: flex-start; }
.store-btn:hover { background: var(--gruen-tint); }
.store-btn small { display: block; font-size: 0.6875rem; font-weight: 500; color: var(--ink-muted); line-height: 1.1; }
.store-btn span { display: block; text-align: left; }
.a24 .a24-links { display: grid; gap: 12px; }
.a24 .text-link { color: #fff; font-weight: 600; font-size: 0.9375rem; }

/* ---------- Partner ---------- */
.partners { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.partner {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center;
  padding: 20px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  text-decoration: none; color: inherit; transition: border-color .2s ease, box-shadow .2s ease;
}
a.partner:hover { border-color: #C3D7D9; box-shadow: var(--shadow); }
.partner-mono {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; background: var(--petrol-tint); color: var(--petrol-dark);
}
/* Kürzel und Icon mittig im Kästchen halten; die Textregel darunter darf sie nicht überschreiben */
.partner span.partner-mono { display: grid; font-size: 1rem; color: var(--petrol-dark); line-height: 1; }
.partner span.partner-mono svg { width: 26px; height: 26px; stroke: currentColor; }
.partner strong { display: block; line-height: 1.3; color: var(--ink); }
.partner span { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.45; display: block; }

/* ---------- CTA-Band ---------- */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); }
.cta-band p { margin: 0; color: var(--ink-muted); }

/* ---------- Methoden-Parcours (Berufsorientierung) ---------- */
.parcours { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.station {
  display: grid; grid-template-rows: auto auto 1fr; gap: 10px; height: 100%;
  padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
}
.station-top { display: flex; align-items: center; justify-content: space-between; }
.station-no { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gruen-text); }
.station h3 { font-size: 1.125rem; margin: 0; }
.station p { margin: 0; font-size: 0.9375rem; color: var(--ink-muted); line-height: 1.65; }

/* ---------- Potenzialanalyse: Ergebnisbereiche ---------- */
.profile { background: var(--surface); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lift); border: 1px solid var(--border); }
.profile-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.profile-head strong { font-size: 1.0625rem; }
.tag { display: inline-block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--gruen-tint); color: var(--gruen-text); }
.profile-areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.profile-areas li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: 10px; background: var(--bg); }
.profile-areas .icon-badge { width: 40px; height: 40px; border-radius: 10px; }
.profile-areas .icon-badge svg { width: 20px; height: 20px; }
.profile-areas strong { display: block; font-size: 0.975rem; }
.profile-areas span { display: block; font-size: 0.875rem; color: var(--ink-muted); line-height: 1.5; }

/* ---------- Level (Schülerseite) ---------- */
.body-students .hero h1 { font-size: clamp(2.125rem, 1.4rem + 3.2vw, 3.5rem); }
.levels { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.level {
  display: grid; gap: 16px 28px; align-items: start;
  padding: clamp(24px, 4vw, 36px); border-radius: 20px; background: var(--surface); border: 1px solid var(--border);
}
@media (min-width: 760px) { .level { grid-template-columns: 150px 1fr; } }
.level-badge { display: flex; flex-direction: column; gap: 4px; }
.level-badge .lv { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gruen-text); }
.level-badge .num { font-size: 3rem; font-weight: 700; line-height: 1; color: var(--petrol-dark); }
.level-bar { height: 6px; border-radius: 999px; background: var(--petrol-tint); overflow: hidden; margin-top: 8px; max-width: 120px; }
.level-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--petrol), var(--gruen)); border-radius: inherit; }
.level h3 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem); margin-bottom: 8px; }
.level p { margin: 0; color: var(--ink-muted); }

/* ---------- Tabelle ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; min-width: 40rem; }
th, td { text-align: left; padding: 14px 18px; vertical-align: top; }
th { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); background: var(--bg); border-bottom: 1px solid var(--border); }
td { border-top: 1px solid var(--border); }
tr:first-child td { border-top: 0; }
td .yes { color: var(--gruen-text); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-weight: 600; font-size: 1.0625rem; line-height: 1.4; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px;
  border-right: 2px solid var(--petrol-dark); border-bottom: 2px solid var(--petrol-dark);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 22px 20px; color: var(--ink-muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Hinweisboxen ---------- */
.note { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 16px 18px; border-radius: 10px; background: var(--petrol-tint); font-size: 0.9375rem; line-height: 1.6; }
.note svg { width: 22px; height: 22px; color: var(--petrol-dark); margin-top: 1px; }
.note p { margin: 0; }
.note--green { background: var(--gruen-tint); }
.note--green svg { color: var(--gruen-text); }

/* ---------- Kontakt-Person / Aside ---------- */
.contact-aside { display: grid; gap: 20px; align-content: start; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-lines li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.contact-lines .icon-badge { width: 44px; height: 44px; border-radius: 12px; }
.contact-lines .icon-badge svg { width: 20px; height: 20px; }
.contact-lines small { display: block; font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.3; }
.contact-lines a, .contact-lines b { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }

/* ---------- Rechtstexte ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.1875rem; margin-top: 1.6em; }
.prose address { font-style: normal; }

/* ---------- Footer ---------- */
.site-footer { background: #0F2F33; color: #C9DDDF; padding-block: clamp(56px, 7vw, 80px) calc(env(safe-area-inset-bottom, 0px) + 28px); font-size: 0.9375rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.footer-grid h2 { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #8FC1C6; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .logo-word .pader { color: #fff; }
.site-footer .logo-word .bildung { color: #8ED36A; }
.site-footer .logo-word small { color: #C9DDDF; }
.footer-about p { margin-top: 16px; max-width: 22rem; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.875rem; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer .ph { color: #5A4300; }

/* ---------- Scroll-Einblendung (nur mit JS, nie unsichtbar ohne JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Formulare ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.field { display: grid; gap: 8px; align-content: start; }
.field > label, .fieldset legend { font-weight: 600; font-size: 0.9375rem; color: var(--ink); line-height: 1.4; }
.req { color: var(--petrol-dark); margin-left: 2px; }
.hint { font-size: 0.8125rem; color: var(--ink-muted); line-height: 1.5; margin: 0; }

.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: 400 1rem/1.5 var(--font); color: var(--ink);
  background: var(--surface); border: 1.5px solid #BFD1D3; border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 140px; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2314666E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--petrol); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--petrol-dark); box-shadow: 0 0 0 4px rgba(20, 102, 110, 0.18); }
.field.has-error > .input, .field.has-error > .select, .field.has-error > .textarea { border-color: var(--error); }
.error-msg { display: none; font-size: 0.875rem; font-weight: 500; color: var(--error); line-height: 1.4; }
.has-error > .error-msg { display: block; }

.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 10px; }
.choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.choices--stack { grid-template-columns: 1fr; }
.choice {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px;
  padding: 12px 16px; border: 1.5px solid #BFD1D3; border-radius: var(--radius); cursor: pointer;
  font-size: 0.9375rem; font-weight: 500; line-height: 1.35; background: var(--surface);
  transition: border-color .15s ease, background-color .15s ease;
}
.choice:hover { border-color: var(--petrol); }
.choice input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 2px solid #8FA9AC; background: #fff; display: grid; place-items: center; cursor: pointer; }
.choice input[type="checkbox"] { border-radius: 6px; }
.choice input[type="radio"] { border-radius: 50%; }
.choice input:checked { border-color: var(--petrol-dark); background: var(--petrol-dark); }
.choice input[type="checkbox"]:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.choice input[type="radio"]:checked::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.choice input:focus-visible { outline: 3px solid var(--petrol-dark); outline-offset: 2px; }
.choice:has(input:checked) { border-color: var(--petrol-dark); background: var(--petrol-tint); }
.has-error > .choices .choice { border-color: #E3A39B; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.875rem; line-height: 1.55; color: var(--ink-muted); cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 2px solid #8FA9AC; border-radius: 6px; display: grid; place-items: center; cursor: pointer; background: #fff; }
.consent input:checked { background: var(--petrol-dark); border-color: var(--petrol-dark); }
.consent input:checked::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.consent input:focus-visible { outline: 3px solid var(--petrol-dark); outline-offset: 2px; }
.has-error > .consent input { border-color: var(--error); }

.conditional[hidden] { display: none !important; }
.conditional { padding: 16px; border-radius: var(--radius); background: var(--bg); display: grid; gap: 10px; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-footer .btn { min-width: 14rem; }
.form-footer .hint { flex: 1 1 14rem; }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }

.form-status { border-radius: var(--radius); padding: 16px 18px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { background: var(--gruen-tint); color: #1F5A22; }
.form-status.is-error { background: var(--error-tint); color: #8E2A20; }
.form-success { text-align: center; padding: clamp(24px, 5vw, 48px) 8px; display: grid; justify-items: center; gap: 12px; }
.form-success .icon-badge { width: 64px; height: 64px; border-radius: 50%; }
.form-success h3 { margin: 0; }
.form-success p { color: var(--ink-muted); margin: 0; max-width: 30rem; }

/* ---------- Druck ---------- */
@media print {
  .site-header, .site-footer, .a24, form, .btn { display: none !important; }
  body { font-size: 11pt; }
}

/* Schritte senkrecht (schmale Spalten) */
.steps--vertical { grid-template-columns: 1fr; gap: 0; }
.steps--vertical li { padding: 0 0 20px 60px; min-height: 64px; }
.steps--vertical li:last-child { padding-bottom: 0; }
.steps--vertical li::after { display: block; top: 50px; bottom: 4px; left: 21px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--border) 0 8px, transparent 8px 14px); }
.steps--vertical li:last-child::after { display: none; }
@media (max-width: 719px) { .steps--vertical li::after { display: block; } }

/* Lange deutsche Wörter auf schmalen Bildschirmen trennen */
@media (max-width: 600px) {
  h1, h2, h3, .prose, .statement { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
}

/* Logo als SVG-Datei */
.logo img { display: block; height: 44px; width: auto; }
.site-footer .logo img { height: 48px; }
@media (max-width: 400px) { .logo img { height: 36px; } }

/* Verein: Vorstand und Mitglieder */
.team-label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 16px; }
.team { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.team:last-child { margin-bottom: 0; }
.team li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.02em; background: var(--petrol-tint); color: var(--petrol-dark); }
.team--board .avatar { background: var(--petrol-dark); color: #fff; }
.team strong { display: block; line-height: 1.3; }
.team li > span:not(.avatar) > span { display: block; font-size: 0.875rem; color: var(--ink-muted); }

/* Laptop-Breiten: Kopfzeile kompakter, damit Logo, Menü und Button in eine Zeile passen */
@media (min-width: 1240px) and (max-width: 1439px) {
  .header-inner { gap: 16px; }
  .site-header .logo img { height: 38px; }
  .nav-list a:not(.btn) { font-size: 0.875rem; padding: 9px 8px; }
  .nav-cta { margin-left: 4px; }
  .nav-cta .btn { padding-inline: 14px; }
}

/* Auswahlfelder: lange Begriffe nie über den Rand laufen lassen */
.choice { min-width: 0; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.choices--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); }

/* Merkmalsliste als Karte (z. B. „Wer unterrichtet“): Innenabstand der Karte behalten */
.card.feature-list { padding: clamp(28px, 4vw, 40px); gap: 20px; }
.card.feature-list li { align-items: start; }
.card.feature-list strong { margin-bottom: 2px; }
.card.feature-list span { line-height: 1.55; }

/* ---------- Handy: Tabellen als Karten, größere Tipp-Flächen, keine Schrift unter 12 px ---------- */
.store-btn small, .tag { font-size: 0.75rem; }
.logo { min-height: 44px; }
.link-arrow { min-height: 44px; }
.a24 .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.contact-lines a { display: inline-block; padding-block: 12px; margin-block: -12px; }

@media (max-width: 899px) {
  .footer-grid ul { gap: 0; }
  .footer-grid li { min-height: 44px; display: flex; align-items: center; }
  .footer-grid li a { display: flex; align-items: center; min-height: 44px; }
  .footer-bottom ul a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 639px) {
  .table-wrap { overflow: visible; border: 0; border-radius: 0; background: transparent; }
  .table-wrap table { min-width: 0; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap table, .table-wrap tbody, .table-wrap tr { display: block; width: 100%; }
  .table-wrap tbody { display: grid; gap: 12px; }
  .table-wrap tr { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 16px 6px; }
  .table-wrap td, .table-wrap tr:first-child td { display: grid; grid-template-columns: minmax(6.5rem, 38%) 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
  .table-wrap td::before { content: attr(data-label); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); padding-top: 2px; }
  .table-wrap td:first-child, .table-wrap tr:first-child td:first-child { display: block; border-top: 0; padding-top: 12px; font-size: 1.0625rem; }
  .table-wrap td:first-child::before { content: none; }
}

/* =====================================================================
   Fotos, Grafiken und Bewegung (17.09.2026)
   ===================================================================== */

/* ---------- Fotorahmen ---------- */
.photo { position: relative; overflow: hidden; border-radius: 20px; background: var(--petrol-tint); aspect-ratio: var(--ratio, 4 / 3); margin: 0; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { --ratio: 4 / 5; }
.photo--wide { --ratio: 16 / 10; }
.split-media { display: grid; gap: 28px; align-content: start; }

/* ---------- Titelbild-Komposition ---------- */
.hero-visual { position: relative; width: 100%; max-width: 560px; margin-inline: auto; padding: 0 20px 24px 0; }
.photo--hero { --ratio: 5 / 4; border-radius: 28px; box-shadow: var(--shadow-lift); z-index: 1; }
.hero-visual--portrait .photo--hero { --ratio: 4 / 5; }
.hero-visual--portrait { max-width: 460px; }
.hero-shape { position: absolute; pointer-events: none; }
.hero-shape--block { right: 0; bottom: 0; width: 48%; height: 54%; border-radius: 28px; background: linear-gradient(135deg, var(--gruen), var(--gruen-dark)); z-index: 0; }
.hero-shape--dot { left: -14px; top: 16%; width: 30px; height: 30px; border-radius: 50%; background: var(--petrol); z-index: 2; box-shadow: 0 0 0 6px #fff; }
.float-chip {
  position: absolute; left: -16px; bottom: 48px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px;
  background: #fff; border-radius: 999px; box-shadow: var(--shadow-lift);
  font-weight: 600; font-size: 0.9375rem; line-height: 1.2; color: var(--ink); white-space: nowrap;
}
.float-chip svg { width: 22px; height: 22px; color: var(--gruen-text); flex: none; }
@media (max-width: 899px) {
  .hero-visual, .hero-visual--portrait { max-width: 100%; padding: 0 12px 14px 0; margin-top: 8px; }
  .photo--hero, .hero-visual--portrait .photo--hero { --ratio: 3 / 2; border-radius: 22px; }
  .hero-shape--block { border-radius: 22px; }
  .hero-shape--dot { left: -6px; width: 20px; height: 20px; box-shadow: 0 0 0 4px #fff; }
  .float-chip { left: 12px; bottom: 28px; font-size: 0.875rem; padding: 8px 14px 8px 10px; }
  .float-chip svg { width: 20px; height: 20px; }
}

/* ---------- Bilder in Karten ---------- */
.card { --pad: clamp(24px, 3vw, 32px); padding: var(--pad); }
.card-media { margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: var(--petrol-tint); }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.card--link:hover .card-media img { transform: scale(1.05); }
.card-media + .icon-badge { position: relative; margin-top: -38px; margin-left: 2px; border: 4px solid #fff; box-sizing: content-box; }

/* ---------- Ziel-Band (Nachhilfe) ---------- */
.goal-band { display: grid; gap: 12px; max-width: 52rem; margin-inline: auto; text-align: center; }
.goal-band .kicker { justify-self: center; }
.goal-band .statement { margin: 0; font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); }
.goal-band p:last-child { color: var(--ink-muted); margin: 0 auto; max-width: 40rem; }

/* ---------- Grafik: Finanzierung ---------- */
.flow { display: grid; gap: 14px; align-items: center; margin-bottom: clamp(32px, 5vw, 48px); }
@media (min-width: 900px) { .flow { grid-template-columns: 1fr 64px 1.25fr 64px 1fr; gap: 12px; } }
.flow-node { display: grid; grid-template-columns: 48px 1fr; gap: 2px 14px; align-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.flow-node .icon-badge { grid-row: span 2; width: 48px; height: 48px; border-radius: 12px; }
.flow-node .icon-badge svg { width: 24px; height: 24px; }
.flow-node strong { font-size: 1rem; line-height: 1.3; }
.flow-node span:last-child { font-size: 0.875rem; color: var(--ink-muted); line-height: 1.45; }
.flow-node--result { background: var(--gruen-tint); border-color: #C9E4B6; }
.flow-split { display: grid; gap: 10px; }
.flow-or { justify-self: center; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.flow-arrow { position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--petrol) 0 8px, transparent 8px 14px); }
.flow-arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--petrol); border-right: 2px solid var(--petrol); transform: translateY(-50%) rotate(45deg); }
@media (max-width: 899px) {
  .flow-arrow { justify-self: center; width: 2px; height: 34px; background: repeating-linear-gradient(180deg, var(--petrol) 0 8px, transparent 8px 14px); }
  .flow-arrow::after { right: auto; left: 50%; top: auto; bottom: 0; transform: translateX(-50%) rotate(135deg); }
}
@media (min-width: 600px) and (max-width: 899px) { .flow-split { grid-template-columns: 1fr auto 1fr; align-items: center; } }

/* ---------- Grafik: Weg ab Klasse 8 ---------- */
.journey { --g: 20px; --dot: 56px; list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: var(--g); }
.journey li { position: relative; z-index: 1; display: grid; gap: 4px; align-content: start; }
.journey-dot { width: var(--dot); height: var(--dot); border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--petrol-dark); border: 2px solid var(--petrol); margin-bottom: 10px; }
.journey-dot svg { width: 24px; height: 24px; }
.journey li:last-child .journey-dot { background: var(--gruen); border-color: var(--gruen); color: var(--ink); }
.journey-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gruen-text); }
.journey strong { font-size: 1.0625rem; line-height: 1.3; }
.journey li > span:last-child { font-size: 0.9375rem; color: var(--ink-muted); line-height: 1.55; }
/* Verbindungslinie jeweils von einer Station zur nächsten */
.journey li:not(:last-child)::after { content: ""; position: absolute; z-index: -1; border-radius: 3px; background: linear-gradient(90deg, var(--petrol), var(--gruen)); }
@media (min-width: 900px) {
  .journey { grid-template-columns: repeat(4, 1fr); }
  .journey li:not(:last-child)::after { top: calc(var(--dot) / 2 - 1.5px); left: var(--dot); right: calc(-1 * var(--g)); height: 3px; transform-origin: left center; }
}
@media (max-width: 899px) {
  .journey { --dot: 48px; --g: 26px; }
  .journey li { grid-template-columns: var(--dot) 1fr; column-gap: 16px; }
  .journey-dot { grid-row: span 3; margin: 0; }
  .journey li:not(:last-child)::after { left: calc(var(--dot) / 2 - 1.5px); top: var(--dot); bottom: calc(-1 * var(--g)); width: 3px; background: linear-gradient(180deg, var(--petrol), var(--gruen)); transform-origin: center top; }
}

/* ---------- Bewegung ---------- */
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes soft-zoom { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.4); } 70% { transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dash-x { to { background-position: 14px 0; } }
@keyframes dash-y { to { background-position: 0 14px; } }

/* Titelbereich: Text erscheint gestaffelt, Bild zoomt sanft ein */
.js .hero .split > div:first-child > *, .js .hero .section-head > * { animation: fade-up .75s cubic-bezier(.2,.7,.2,1) both; }
.js .hero .split > div:first-child > :nth-child(2), .js .hero .section-head > :nth-child(2) { animation-delay: .08s; }
.js .hero .split > div:first-child > :nth-child(3), .js .hero .section-head > :nth-child(3) { animation-delay: .16s; }
.js .hero .split > div:first-child > :nth-child(4), .js .hero .section-head > :nth-child(4) { animation-delay: .24s; }
.js .hero .split > div:first-child > :nth-child(5), .js .hero .section-head > :nth-child(5) { animation-delay: .32s; }
.js .hero-visual, .js .hero .hero-art { animation: soft-zoom .9s .12s cubic-bezier(.2,.7,.2,1) both; }
.float-chip { animation: float 5.5s ease-in-out 1.4s infinite; }
.hero-shape--dot { animation: float 7s ease-in-out infinite reverse; }

/* Grafik Schülerseite: Haken ploppen, Balken füllt sich */
.js .svg-pop { transform-box: fill-box; transform-origin: center; animation: pop .55s cubic-bezier(.2,.7,.2,1) both; }
.js .svg-pop--2 { animation-delay: .35s; }
.js .svg-pop--1 { animation-delay: .75s; }
.js .svg-pop--3 { animation-delay: 1.1s; }
.js .svg-bar { transform-box: fill-box; transform-origin: left center; animation: grow-x 1.2s 1.2s cubic-bezier(.2,.7,.2,1) both; }

/* Schritte: Verbindungslinien zeichnen sich */
.js .steps.reveal li::after { transform: scaleX(0); transform-origin: left center; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.js .steps.reveal.is-visible li::after { transform: scaleX(1); }
.js .steps.reveal.is-visible li:nth-child(2)::after { transition-delay: .25s; }
.js .steps.reveal.is-visible li:nth-child(3)::after { transition-delay: .5s; }
.js .steps--vertical.reveal li::after { transform: scaleY(0); transform-origin: center top; }
.js .steps--vertical.reveal.is-visible li::after { transform: scaleY(1); }
.js .steps.reveal li::before { transition: transform .5s cubic-bezier(.2,.7,.2,1); transform: scale(.6); }
.js .steps.reveal.is-visible li::before { transform: none; }

/* Level-Balken füllen sich */
.js .level.reveal .level-bar i { transform: scaleX(0); transform-origin: left center; transition: transform 1.1s cubic-bezier(.2,.7,.2,1) .3s; }
.js .level.reveal.is-visible .level-bar i { transform: scaleX(1); }

/* Weg ab Klasse 8: Linie wächst, Stationen erscheinen nacheinander */
.js .journey.reveal li::after { transform: scaleX(0); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
@media (max-width: 899px) { .js .journey.reveal li::after { transform: scaleY(0); } }
.js .journey.reveal.is-visible li::after { transform: none; }
.js .journey.reveal.is-visible li:nth-child(1)::after { transition-delay: .25s; }
.js .journey.reveal.is-visible li:nth-child(2)::after { transition-delay: .55s; }
.js .journey.reveal.is-visible li:nth-child(3)::after { transition-delay: .85s; }
.js .journey.reveal li { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.js .journey.reveal.is-visible li { opacity: 1; transform: none; }
.js .journey.reveal.is-visible li:nth-child(2) { transition-delay: .3s; }
.js .journey.reveal.is-visible li:nth-child(3) { transition-delay: .6s; }
.js .journey.reveal.is-visible li:nth-child(4) { transition-delay: .9s; }

/* Finanzierungs-Grafik: Pfeile laufen */
.flow.is-visible .flow-arrow { animation: dash-x 1.1s linear infinite; }
@media (max-width: 899px) { .flow.is-visible .flow-arrow { animation-name: dash-y; } }

/* Fotos beim Scrollen: leichtes Einzoomen */
.js .photo.reveal img { transform: scale(1.06); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.js .photo.reveal.is-visible img { transform: none; }

/* Buttons: Pfeil bewegt sich bei Hover */
.btn svg { transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-delay: 0s !important; }
  .js .journey.reveal li, .js .journey.reveal li::after, .js .steps.reveal li::after, .js .steps.reveal li::before, .js .level.reveal .level-bar i, .js .photo.reveal img { opacity: 1; transform: none; }
}

/* Partnerschule als Band unter dem Titel (Schulen) */
.partner-band { flex-direction: row; align-items: flex-start; gap: 20px; max-width: 60rem; }
.partner-band h2 { margin: 0 0 6px; }
@media (max-width: 599px) { .partner-band { flex-direction: column; gap: 12px; } }
/* Formularseite: Titelfoto auf kleinen Handys ausblenden, damit das Formular schnell sichtbar ist */
@media (max-width: 599px) { .hero-visual--hide-mobile { display: none; } }
.js .svg-row { animation: fade-up .6s cubic-bezier(.2,.7,.2,1) both; }
.js .svg-row--2 { animation-delay: .15s; }
.js .svg-row--3 { animation-delay: .3s; }
.svg-float { transform-box: fill-box; animation: float 6s ease-in-out 1s infinite; }
.svg-float--2 { animation-duration: 7.5s; animation-direction: reverse; }
.partner-band h2 + p { margin-top: 6px; }
/* Nur sehr lange Wörter trennen (z. B. Datenschutzerklärung), normale Wörter wie Startchancen nicht */
@media (max-width: 600px) { h1, h2, h3, .statement { hyphenate-limit-chars: 14 6 6; } }

/* ---------- Startseite: Nachhilfe und Berufsorientierung gemeinsam (17.09.2026) ---------- */
.hero h1 .accent--green { color: var(--gruen-text); }
.hand-in-hand-head { margin: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 44px); }
.hand-in-hand-head h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 700; margin-bottom: 0.4em; }

/* Zwei Fotos im Titel */
.hero-visual--duo { padding: 0 20px 72px 28px; }
.hero-visual--duo .hero-shape--block { bottom: 48px; }
.hero-visual--duo .hero-shape--dot { left: 6px; top: 12%; }
.photo--inset { position: absolute; left: 0; bottom: 0; z-index: 2; width: 46%; --ratio: 16 / 10; border-radius: 18px; border: 5px solid #fff; box-shadow: var(--shadow-lift); }
.js .photo--inset { animation: soft-zoom .9s .45s cubic-bezier(.2,.7,.2,1) both; }
.float-chip--a { left: auto; right: -8px; top: 22px; bottom: auto; }
.float-chip--b { left: auto; right: 28px; bottom: 14px; animation-delay: 2.4s; }
@media (max-width: 899px) {
  .hero-visual--duo { padding: 0 8px 56px 12px; }
  .hero-visual--duo .hero-shape--block { bottom: 36px; }
  .hero-visual--duo .hero-shape--dot { left: 0; }
  .photo--inset { width: 44%; border-width: 4px; border-radius: 14px; }
  .float-chip--a { right: 0; top: 12px; }
  .float-chip--b { right: 8px; bottom: 6px; }
}

/* Grafik mit fünf Stationen */
@media (min-width: 900px) { .journey { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
.js .journey.reveal.is-visible li:nth-child(5) { transition-delay: 1.2s; }
.js .journey.reveal.is-visible li:nth-child(4)::after { transition-delay: 1.15s; }

/* Partnerkarten mit Logo (17.09.2026) */
.partner--logo { grid-template-columns: 1fr; align-content: start; gap: 16px; padding: 24px; }
.partner-logo { display: flex; align-items: center; height: 56px; }
.partner-logo img { display: block; height: 56px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
