@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk.woff") format("woff");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader.woff") format("woff");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f2f4f3;
  --white: #ffffff;
  --mist: #e2eae8;
  --line: #cdd8d6;
  --ink: #142a2f;
  --muted: #4f6266;
  --petrol: #1d4c55;
  --petrol-deep: #12363d;
  --signal: #c9451f;
  --signal-hover: #a93816;
  --focus: #e0522b;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1160px;
  --gutter: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--signal); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--signal-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(242, 244, 243, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; border-radius: 4px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.97rem; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.header-cta { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .menu-btn { display: inline-block; }
  .site-header .header-cta { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 6px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .15s ease, color .15s ease; }
.btn-primary { background: var(--signal); color: #fff; }
.btn-primary:hover { background: var(--signal-hover); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 0.95rem; }

/* Hero */
.hero { padding: clamp(36px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hero h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); max-width: 13ch; letter-spacing: -0.025em; line-height: 1.04; }
.lead { font-family: var(--serif); font-size: clamp(1.2rem, 1.9vw, 1.42rem); line-height: 1.5; color: var(--ink); max-width: 34em; margin: 22px 0 30px; font-variation-settings: "opsz" 20; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 0.95rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts svg { flex: none; color: var(--petrol); }
.facts strong { color: var(--ink); font-weight: 600; }

/* Startplan */
.startplan { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px 18px; box-shadow: 0 1px 0 var(--line); }
.startplan h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; letter-spacing: 0; }
.startplan .sub { font-size: 0.9rem; color: var(--muted); margin: 0 0 10px; }
.starts { list-style: none; padding: 0; margin: 0; }
.starts li { display: grid; grid-template-columns: 74px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--mist); }
.starts li:first-child { border-top: 0; }
.date { font-family: var(--serif); font-variant-numeric: lining-nums tabular-nums; line-height: 1; }
.date b { display: block; font-size: 2rem; font-weight: 500; letter-spacing: -0.02em; font-variation-settings: "opsz" 60; }
.date span { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 4px; font-family: var(--sans); font-variant-numeric: normal; }
.starts .what { font-weight: 600; line-height: 1.3; }
.starts .meta { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; margin-top: 3px; }
.startplan .more { display: inline-block; margin-top: 8px; font-weight: 600; font-size: 0.95rem; }
.starts-empty { display: none; color: var(--muted); padding: 12px 0; }
.starts.is-empty + .starts-empty { display: block; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-mist { background: var(--mist); }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.section-head p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; color: var(--muted); margin-top: 14px; font-variation-settings: "opsz" 16; }

/* Situations */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.photo { border-radius: 8px; overflow: hidden; background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-caption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.situations { margin: 0; }
.situations dt { font-weight: 700; font-size: 1.2rem; margin-top: 26px; }
.situations dt:first-child { margin-top: 0; }
.situations dd { margin: 6px 0 0; color: var(--muted); max-width: 34em; }

/* Programme */
.prog-group + .prog-group { margin-top: clamp(48px, 6vw, 72px); }
.prog-group > h3 { font-size: 1.35rem; padding-bottom: 14px; border-bottom: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.prog-group > h3 small { font-weight: 500; font-size: 0.95rem; color: var(--muted); letter-spacing: 0; }
.prog { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 12px 48px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.prog h4 { font-size: 1.45rem; letter-spacing: -0.02em; }
.prog .desc { color: var(--muted); margin: 8px 0 0; max-width: 36em; }
.spec { margin: 0; min-width: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; font-size: 0.95rem; align-content: start; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; min-width: 0; font-weight: 600; overflow-wrap: anywhere; hyphens: auto; }
.dates [data-start] { display: inline-block; white-space: nowrap; }
.dates .later { display: none; }
.dates.is-empty .later { display: inline; }
.prog details { grid-column: 1 / -1; }
.prog summary { cursor: pointer; font-weight: 700; color: var(--petrol); display: inline-flex; align-items: center; gap: 8px; list-style: none; padding: 6px 0; }
.prog summary::-webkit-details-marker { display: none; }
.prog summary::before { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s ease; margin-right: 2px; }
.prog details[open] summary::before { transform: rotate(45deg); }
.modules { margin: 14px 0 6px; padding: 0; list-style: none; counter-reset: mod; columns: 2; column-gap: 48px; }
.modules li { counter-increment: mod; break-inside: avoid; padding: 0 0 14px 40px; position: relative; }
.modules li::before { content: counter(mod); position: absolute; left: 0; top: -2px; font-family: var(--serif); font-size: 1.35rem; color: var(--petrol); font-variant-numeric: lining-nums; }
.modules b { display: block; }
.modules span { color: var(--muted); font-size: 0.95rem; }
.extra { margin-top: 22px; color: var(--muted); max-width: 46rem; }
.tools { font-size: 0.95rem; color: var(--muted); margin: 4px 0 8px; }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--petrol); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--petrol); margin-bottom: 14px; font-variation-settings: "opsz" 72; }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; letter-spacing: 0; }
.steps p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.ablauf-photo { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.ablauf-photo blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.4; font-variation-settings: "opsz" 36; }
.ablauf-photo blockquote p { margin: 0 0 12px; }
.ablauf-photo cite { font-style: normal; font-family: var(--sans); font-size: 0.95rem; color: var(--muted); }

/* Förderung (dark) */
.section-dark { background: var(--petrol-deep); color: #eef4f3; }
.section-dark a { color: #fff; }
.section-dark .section-head p { color: #b9cdcb; }
.money { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); }
.money h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.money .big { font-family: var(--serif); font-size: 1.25rem; line-height: 1.55; color: #dce8e6; margin-top: 18px; font-variation-settings: "opsz" 18; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { padding: 14px 0 14px 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px; border-left: 2px solid #f0a487; border-bottom: 2px solid #f0a487; transform: rotate(-45deg); }
.checks b { display: block; color: #fff; }
.checks span { color: #b9cdcb; font-size: 0.97rem; }
.honest { margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.18); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; }
.honest h3 { font-size: 1.25rem; color: #fff; letter-spacing: 0; }
.honest p { color: #c9dad8; margin: 0; max-width: 44em; }

/* Partner */
.partner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.partner-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.partner-list b { display: block; font-size: 1.08rem; }
.partner-list span { color: var(--muted); font-size: 0.95rem; }
.footnote { font-size: 0.85rem; color: var(--muted); margin-top: 18px; }

/* Person */
.person { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; max-width: 900px; }
.portrait { width: 200px; height: 240px; border-radius: 8px; overflow: hidden; background: var(--mist); }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.person blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2.3vw, 1.65rem); line-height: 1.45; font-variation-settings: "opsz" 36; }
.person .who { margin-top: 16px; font-weight: 700; }
.person .who span { display: block; font-weight: 400; color: var(--muted); }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--petrol); border-bottom: 2px solid var(--petrol); transform: rotate(45deg); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq .answer { padding: 0 0 22px; color: var(--muted); max-width: 44em; }
.faq .answer p:last-child { margin: 0; }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-lines { list-style: none; padding: 0; margin: 22px 0 0; }
.contact-lines li { padding: 12px 0; border-top: 1px solid var(--line); }
.contact-lines span { display: block; font-size: 0.88rem; color: var(--muted); }
.contact-lines a, .contact-lines button { font-weight: 700; font-size: 1.08rem; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(22px, 3vw, 34px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--petrol); outline-offset: 1px; border-color: var(--petrol); background: #fff; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.93rem; color: var(--muted); margin: 6px 0 20px; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--petrol); }
.form .btn { width: 100%; }
.form .small { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--ink); color: #c2d0ce; padding: 48px 0 40px; font-size: 0.95rem; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 32px; }
.site-footer a { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer .social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer .social li { padding: 0; }
.site-footer .social a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.22); color: #c2d0ce; transition: color .15s, border-color .15s, background-color .15s; }
.site-footer .social a:hover, .site-footer .social a:focus-visible { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.site-footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 18px; font-size: 0.85rem; }

/* Chat launcher */
.st-chat { position: fixed; right: 18px; bottom: 18px; z-index: 45; }
.st-chat-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px 12px 14px; font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer; box-shadow: 0 6px 20px rgba(20, 42, 47, 0.25); }
.st-chat-btn svg { color: #f0a487; }
.st-chat-panel { width: min(360px, calc(100vw - 36px)); background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 20px; box-shadow: 0 12px 40px rgba(20, 42, 47, 0.22); margin-bottom: 12px; font-size: 0.95rem; }
.st-chat-panel[hidden] { display: none; }
.st-chat-panel h2 { font-size: 1.1rem; letter-spacing: 0; margin-bottom: 8px; }
.st-chat-panel p { color: var(--muted); }
.st-chat-panel .btn { width: 100%; margin-top: 6px; }
.st-chat-close { position: absolute; right: 10px; top: 8px; background: none; border: 0; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 6px; }
.st-chat-panel { position: relative; }

/* Legal pages */
.legal { padding: clamp(40px, 6vw, 80px) 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 10px; letter-spacing: 0; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 6px; letter-spacing: 0; }
.legal p, .legal li { color: #2b3f44; }
.thanks { padding: clamp(60px, 10vw, 120px) 0; }
.thanks h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 16ch; }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .split, .money, .partner, .contact, .ablauf-photo { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .honest { grid-template-columns: 1fr; }
  .prog { grid-template-columns: minmax(0, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .modules { columns: 1; }
  .partner-list { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .person { grid-template-columns: 1fr; }
  .portrait { width: 140px; height: 168px; }
  .cta-row .btn { flex: 1 1 100%; }
  .facts { gap: 8px 20px; }
  .lead { font-size: 1.12rem; margin: 16px 0 24px; }
  .st-chat { right: 12px; bottom: 12px; }
  .st-chat-btn span { display: none; }
  .st-chat-btn { padding: 14px; }
}

/* Telefonnummern bleiben auch auf kleinen Bildschirmen zusammen. */
a[href^="tel:"]{white-space:nowrap}

/* Individuelle Buchung und Planungshinweise */
.st-private-offer{margin:34px 0;padding:clamp(22px,4vw,32px);border:1px solid var(--line,#cdd8d6);border-left:4px solid var(--signal,#c9451f);border-radius:14px;background:var(--white,#fff)}.st-private-offer h2{font-family:var(--serif,Georgia,serif);font-weight:600;font-size:clamp(1.35rem,3vw,1.75rem);line-height:1.25;margin:0 0 14px;color:var(--ink,#142a2f)}.st-private-offer p{max-width:65ch;margin:0 0 18px;line-height:1.7;color:var(--ink,#142a2f)}.st-private-offer a{display:inline-block;padding:12px 20px;border-radius:999px;background:var(--petrol,#1d4c55);color:#fff;text-decoration:none;font-weight:600;line-height:1.4}.st-private-offer a:hover{background:var(--petrol-deep,#12363d)}.st-private-offer a:focus-visible{outline:3px solid var(--signal,#c9451f);outline-offset:4px}.st-start-notice{font-size:.875rem;line-height:1.65;color:var(--muted,#4f6266);margin:18px 0;max-width:76ch}
