/* ============================================================
   PSG Kassel, Design System
   Register: ruhige Präzision. Nichts blinkt, nichts drängt.
   Motion: nur transform + opacity. Alles Weitere ist Disziplin.
   ============================================================ */

/* ---------- Fonts (self-hosted, keine externen Requests) ---------- */
@font-face {
  font-family: "Inter Var";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Var";
  src: url("/assets/fonts/source-serif-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  /* Farbwelt: warmes Papier, tiefe Tinte, klinisches Tannengrün */
  --paper:        #FAF8F4;
  --paper-deep:   #F3EFE8;
  --surface:      #FFFFFF;
  --ink:          #14202F;
  --ink-soft:     #3D4C5F;
  --muted:        #5B6A7F;   /* WCAG AA auch auf Papier (>= 4.5:1) */
  --hairline:     #E6E1D8;
  --hairline-2:   #D8D2C6;

  --accent:       #0E6B5C;   /* Tannengrün, Vertrauen ohne Krankenhausblau */
  --accent-hover: #0A5347;
  --accent-soft:  #E7F1EE;
  --accent-ink:   #0B5D50;

  --brass:        #A07C33;   /* sparsam: Linien, Punkte, Flaechen */
  --brass-ink:    #85662A;   /* Messing als Schrift: WCAG AA auf Papier und Weiss */
  --brass-soft:   #F5EDDD;

  /* Verfügbarkeits-Ampel (nie nur Farbe, immer Text + Punkt) */
  --ok:        #1B7A38;  --ok-bg:    #EAF4EC;
  --warn:      #96610F;  --warn-bg:  #FAF0DC;
  --full:      #A32626;  --full-bg:  #F9ECEC;

  /* Bewegung, gemessen, nicht gefühlt */
  --ease-out-expo:   cubic-bezier(0.16, 1, 0.30, 1);
  --ease-out-cubic:  cubic-bezier(0.33, 1, 0.68, 1);
  --ease-emphasized: cubic-bezier(0.20, 0, 0, 1);
  --dur-fast: 150ms; --dur-base: 200ms; --dur-medium: 300ms;
  --dur-slow: 450ms; --dur-slower: 600ms;

  /* Schatten: blau getönt, nie reines Schwarz */
  --shadow-xs: 0 1px 2px  rgba(11, 42, 74, 0.07);
  --shadow-sm: 0 2px 4px  rgba(11, 42, 74, 0.07), 0 1px 2px rgba(11, 42, 74, 0.04);
  --shadow-md: 0 4px 10px rgba(11, 42, 74, 0.08), 0 2px 6px rgba(11, 42, 74, 0.04);
  --shadow-lg: 0 8px 24px rgba(11, 42, 74, 0.10), 0 2px 8px rgba(11, 42, 74, 0.05);

  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-card: 18px;

  --font-body: "Inter Var", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Source Serif Var", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --w-content: 1120px;
  --w-prose: 68ch;
  --header-h: 68px;
}

/* ---------- Seitenwechsel: ein weicher Übergang, kein Blitzen ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out 120ms var(--ease-out-cubic) both; }
  ::view-transition-new(root) { animation: vt-in 260ms var(--ease-out-expo) both; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }
  html { scroll-behavior: smooth; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent-ink) 35%, transparent); transition: text-decoration-color var(--dur-base) var(--ease-out-cubic), color var(--dur-base) var(--ease-out-cubic); }
a:hover { text-decoration-color: var(--accent-ink); }
:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent); border-radius: 4px; }
::selection { background: #DCEAE5; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 560; line-height: 1.16; letter-spacing: -0.012em; color: var(--ink); margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.22rem; font-family: var(--font-body); font-weight: 620; letter-spacing: -0.008em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.price, .sb-price, .avail, .stat .sv, .termin-date .d { font-variant-numeric: tabular-nums; }
.lede { font-size: 1.17rem; line-height: 1.6; color: var(--ink-soft); max-width: var(--w-prose); }
.small { font-size: 0.875rem; color: var(--muted); }
strong { font-weight: 640; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--surface); padding: 10px 16px; border-radius: var(--r-md); box-shadow: var(--shadow-md); }
.skip-link:focus { left: 8px; }

.wrap { max-width: var(--w-content); margin-inline: auto; padding-inline: clamp(18px, 4vw, 32px); }

/* Kicker, die eine wiederholte Klasse, die alles zusammenhält (Luma-Trick) */
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 640; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-ink); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); opacity: 0.75; flex: none; }

section { padding-block: clamp(56px, 9vw, 104px); }
section + section, .page-head + section { padding-top: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--hairline) 70%, transparent);
}
@media (min-width: 1024px) {
  @supports (backdrop-filter: blur(10px)) {
    .site-header { backdrop-filter: blur(10px); }
  }
}
@media (max-width: 1023.9px) { .site-header { background: var(--paper); } }
.site-header .bar { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 620; font-size: 1.06rem; line-height: 1.15; letter-spacing: -0.01em; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a { text-decoration: none; white-space: nowrap; color: var(--ink-soft); font-weight: 540; font-size: 0.91rem; padding: 8px 11px; border-radius: 999px; transition: background-color var(--dur-base) var(--ease-out-cubic), color var(--dur-base) var(--ease-out-cubic); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--paper-deep); }
@media (any-hover: hover) and (pointer: fine) {
  .site-nav a:hover { background: var(--paper-deep); color: var(--ink); transition-duration: var(--dur-fast); }
}
.lang-switch { display: flex; align-items: center; border: 1px solid var(--hairline-2); border-radius: 999px; overflow: hidden; margin-left: 6px; }
.lang-switch a { text-decoration: none; font-size: 0.78rem; font-weight: 640; letter-spacing: 0.06em; padding: 6px 11px; color: var(--muted); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; }
@media (max-width: 480px) {
  .brand-name small { display: none; }
  .brand-name { font-size: 1.02rem; }
  .site-header .bar { gap: 8px; }
  .wrap { padding-inline: 16px; }
}
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .site-nav.open { display: flex; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--hairline); padding: 10px 18px 18px; gap: 2px; box-shadow: var(--shadow-md); }
  .site-nav.open a { padding: 13px 12px; border-radius: var(--r-md); font-size: 1rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--hairline-2); border-radius: var(--r-md); background: var(--surface); cursor: pointer; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 24px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 590; letter-spacing: 0.002em;
  border-radius: var(--r-md); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition-property: background-color, color, border-color, box-shadow, transform;
  transition-duration: 250ms; transition-timing-function: var(--ease-out-cubic);
}
.btn:active { transform: scale(0.98); transition-duration: 60ms; will-change: transform; }
.btn:focus-visible { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent); }
.btn-primary, .site-nav a.btn-primary { background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), var(--shadow-sm); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--hairline-2); box-shadow: var(--shadow-xs); }
.btn-ghost { background: transparent; color: var(--accent-ink); font-weight: 600; height: auto; padding: 8px 4px; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 0.93rem; }
@media (any-hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--accent-hover); transition-duration: var(--dur-fast); }
  .btn-secondary:hover { border-color: var(--ink-soft); transition-duration: var(--dur-fast); }
}
/* Stripe-Pfeil: Schaft blendet ein, Spitze rückt 3px */
.btn .arr { flex: none; }
.btn .arr .shaft { opacity: 0; transition: opacity var(--dur-medium) var(--ease-out-cubic); }
.btn .arr .head  { transform: translateX(0); transition: transform var(--dur-medium) var(--ease-out-cubic); }
@media (any-hover: hover) and (pointer: fine) {
  .btn:hover .arr .shaft { opacity: 1; }
  .btn:hover .arr .head  { transform: translateX(3px); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(58px, 9vw, 112px) clamp(48px, 7vw, 88px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(58% 44% at 82% 6%,  color-mix(in srgb, var(--accent) 11%, transparent) 0%, transparent 70%),
    radial-gradient(50% 40% at 6% 22%,  color-mix(in srgb, var(--brass) 10%, transparent) 0%, transparent 72%),
    linear-gradient(180deg, #F6F3EC 0%, var(--paper) 62%);
}
.hero-bg::after { /* feines Korn, Papier, kein Pixelbrei */
  content: ""; position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: multiply; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 0.45em; }
.hero .lede { margin-bottom: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; }
.hero-facts li { display: flex; align-items: baseline; gap: 8px; font-size: 0.93rem; color: var(--ink-soft); font-weight: 530; }
.hero-facts li::before { content: ""; align-self: center; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0.85; flex: none; }

/* Hero-Panel: die Termin-Karte rechts */
.hero-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-lg); padding: 26px 26px 22px; position: relative; }
.hero-card .kicker { margin-bottom: 8px; }
.hero-card h2 { font-size: 1.3rem; font-family: var(--font-body); font-weight: 650; letter-spacing: -0.01em; margin-bottom: 4px; }
.hero-card .price-line { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 2px; }
.hero-card .price { font-family: var(--font-display); font-size: 2.1rem; font-weight: 620; letter-spacing: -0.01em; }
.hero-card .price-note { font-size: 0.85rem; color: var(--muted); }
.hero-card hr { border: 0; border-top: 1px solid var(--hairline); margin: 16px 0; }
.hero-card .mini-list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 9px; }
.hero-card .mini-list li { display: flex; gap: 10px; font-size: 0.94rem; color: var(--ink-soft); }
.hero-card .mini-list svg { flex: none; margin-top: 3px; }

/* ---------- Verfügbarkeit / Ampel ---------- */
.avail { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 610; padding: 5px 12px 5px 9px; border-radius: 999px; white-space: nowrap; }
.avail .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.avail-ok   { color: var(--ok);   background: var(--ok-bg); }
.avail-ok .dot { background: var(--ok); }
.avail-warn { color: var(--warn); background: var(--warn-bg); }
.avail-warn .dot { background: var(--warn); }
.avail-full { color: var(--full); background: var(--full-bg); }
.avail-full .dot { background: var(--full); }
.badge-secured { display: inline-flex; align-items: center; gap: 7px; font-size: 0.85rem; font-weight: 590; color: var(--accent-ink); }
.badge-secured svg { flex: none; }

/* ---------- Termin-Karten ---------- */
.termine-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.termin-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px 22px; align-items: center;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: 20px 22px; position: relative;
  transition: border-color var(--dur-base) var(--ease-emphasized), transform 100ms var(--ease-emphasized);
}
.termin-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--shadow-md); opacity: 0; transition: opacity var(--dur-base) var(--ease-emphasized); pointer-events: none; }
@media (any-hover: hover) and (pointer: fine) {
  .termin-card:hover { border-color: var(--hairline-2); transform: translateY(-2px); }
  .termin-card:hover::after { opacity: 1; }
}
.termin-card.is-full { background: color-mix(in srgb, var(--surface) 68%, var(--paper)); }
.termin-date { text-align: center; min-width: 74px; }
.termin-date .d { font-family: var(--font-display); font-size: 1.65rem; font-weight: 620; line-height: 1; }
.termin-date .m { font-size: 0.78rem; font-weight: 640; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.termin-main .t-title { font-weight: 640; font-size: 1.02rem; }
.termin-main .t-meta { font-size: 0.9rem; color: var(--muted); margin-top: 2px; }
.termin-side { display: grid; justify-items: end; gap: 9px; }
.termin-side .price { font-weight: 650; font-size: 1.02rem; }
@media (max-width: 640px) {
  .termin-card { grid-template-columns: auto 1fr; }
  .termin-side { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: 100%; }
  .termin-side .btn { margin-left: auto; }
}

/* ---------- Abschnitte / Karten ---------- */
.band { background: var(--surface); border-block: 1px solid var(--hairline); }
.band-deep { background: linear-gradient(180deg, #17293B 0%, #101D2B 100%); color: #E9EEF3; }
.band-deep h2, .band-deep h3 { color: #F4F7F9; }
.band-deep .kicker { color: #C9A75F; }
.band-deep .kicker::before { background: #C9A75F; }
.band-deep a { color: #9FD4C8; }
.band-deep .stat .sv { color: #F4F7F9; }
.band-deep .stat .sl { color: #B9C4D1; }

/* Zeitleiste: belegte Stationen seit 1989 */
.zeitleiste { list-style: none; margin: 8px 0 26px; padding: 0 0 0 18px; border-left: 2px solid var(--hairline-2); display: grid; gap: 14px; }
.zeitleiste li { position: relative; display: grid; grid-template-columns: 4.2rem 1fr; gap: 12px; align-items: baseline; }
.zeitleiste li::before { content: ""; position: absolute; left: -25px; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.zeitleiste li:last-child::before { background: var(--accent); }
.prose .quellen { font-size: 0.92rem; color: var(--ink-soft); padding-left: 18px; }
.prose .quellen li { margin-bottom: 6px; }
.zeitleiste .zl-jahr { font-family: var(--font-display); font-weight: 640; font-size: 1.15rem; color: var(--accent-ink); font-variant-numeric: tabular-nums; }

.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(22px, 3.4vw, 44px); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(18px, 2.6vw, 28px); }
@media (max-width: 900px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 26px; position: relative; }
.card.hoverable { transition: border-color var(--dur-base) var(--ease-emphasized), transform 100ms var(--ease-emphasized); }
.card.hoverable::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--shadow-md); opacity: 0; transition: opacity var(--dur-base) var(--ease-emphasized); pointer-events: none; }
@media (any-hover: hover) and (pointer: fine) {
  .card.hoverable:hover { transform: translateY(-2px); border-color: var(--hairline-2); }
  .card.hoverable:hover::after { opacity: 1; }
}
.card h3 { margin-bottom: 8px; }
.card .num { font-family: var(--font-display); font-size: 2rem; font-weight: 620; color: var(--accent-ink); line-height: 1; margin-bottom: 10px; }

/* Struktur-Diagramm 20/30/30 */
.struct { display: grid; gap: 10px; }
.struct-bar { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 14px; }
.struct-bar .h { font-family: var(--font-display); font-size: 1.5rem; font-weight: 620; text-align: right; }
.struct-bar .h small { display: block; font-family: var(--font-body); font-size: 0.7rem; font-weight: 620; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.struct-bar .bar { height: 46px; border-radius: 10px; display: flex; align-items: center; padding-inline: 16px; font-weight: 590; font-size: 0.93rem; color: #fff; transform-origin: left; }
.struct-bar:nth-child(1) .bar { width: 40%;  background: #2E6E8E; }
.struct-bar:nth-child(2) .bar { width: 60%;  background: var(--accent); }
.struct-bar:nth-child(3) .bar { width: 60%;  background: #7B5FA0; }
.struct-sum { border-top: 1px solid var(--hairline); margin-top: 8px; padding-top: 14px; display: flex; align-items: baseline; gap: 12px; }
.struct-sum .h { font-family: var(--font-display); font-size: 1.9rem; font-weight: 640; }
@media (max-width: 640px) { .struct-bar .bar { padding-inline: 10px; font-size: 0.8rem; } .struct-bar:nth-child(1) .bar { width: 55%; } .struct-bar:nth-child(2) .bar, .struct-bar:nth-child(3) .bar { width: 82%; } }

/* ICE-Diagramm */
.ice-figure { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: clamp(18px, 3vw, 30px); }
.ice-figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

/* Dozenten */
.dozent-card { display: grid; grid-template-rows: auto 1fr; gap: 16px; padding: 0; overflow: hidden; }
.dozent-portrait { position: relative; aspect-ratio: 5 / 2.6; display: grid; place-items: center;
  background:
    radial-gradient(90% 130% at 78% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 62%),
    radial-gradient(70% 100% at 12% 110%, color-mix(in srgb, var(--brass) 16%, transparent), transparent 60%),
    linear-gradient(150deg, #EDE7DB 0%, #E2DACA 100%); }
.dozent-portrait .init { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: #FFFFFF;
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(160deg, #1B7A68, #0E6B5C 55%, #0A5347); box-shadow: 0 0 0 5px rgba(255,255,255,0.55), var(--shadow-md); }
.dozent-portrait .foto-chip { position: absolute; right: 12px; bottom: 12px; font-size: 0.72rem; font-weight: 620; letter-spacing: 0.05em; color: #6B6250; background: color-mix(in srgb, #fff 78%, transparent); padding: 4px 10px; border-radius: 999px; }
.dozent-portrait { overflow: hidden; }
/* Porträt füllt die Karte im Hochformat (4:5), ohne Farbfläche; oben verankert, damit der Kopf nie angeschnitten wird */
.dozent-portrait:has(img.face) { aspect-ratio: 4 / 5; background: none; }
.dozent-portrait picture { display: contents; }
.dozent-portrait img.face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0 !important; }

/* Foto-Bausteine */
.photo-figure { margin: 0; }
.photo-figure img { width: 100%; height: auto; border-radius: var(--r-card); border: 1px solid var(--hairline); }
/* Fotos atmen beim Überfahren, kaum sichtbar, aber spürbar */
@media (any-hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .photo-figure { overflow: hidden; border-radius: var(--r-card); }
  .photo-figure img { transition: transform 700ms var(--ease-out-expo); }
  .photo-figure:hover img { transform: scale(1.022); }
}
.photo-figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.kassel-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.kassel-strip figure { margin: 0; }
.kassel-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--hairline); }
.kassel-strip figcaption { font-size: 0.78rem; color: var(--muted); margin-top: 5px; }
.dozent-body { padding: 0 24px 24px; display: grid; gap: 12px; align-content: start; }
.dozent-card .rolle { color: var(--brass-ink); font-weight: 620; font-size: 0.84rem; letter-spacing: 0.04em; text-transform: uppercase; }
.dozent-card ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 0.93rem; display: grid; gap: 5px; }

/* Balint-Kreis (dekoratives Diagramm) */
.ring-figure { display: grid; place-items: center; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: clamp(18px, 3vw, 30px); }
.ring-figure figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* Foto-Platzhalter (bis echte Bilder da sind) */
.photo-slot { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--hairline); min-height: 240px; display: grid; place-items: end start; background:
  radial-gradient(90% 90% at 80% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
  linear-gradient(160deg, #E9E3D7 0%, #DFD8C9 55%, #D6CEBD 100%); }
.photo-slot span { margin: 14px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: #6B6250; background: color-mix(in srgb, #fff 72%, transparent); padding: 6px 11px; border-radius: 999px; }

/* ---------- Accordion (FAQ / Curriculum) ---------- */
.acc { border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.acc + .acc { margin-top: 10px; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 610; font-size: 1.02rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .chev { flex: none; transition: transform var(--dur-medium) var(--ease-emphasized); color: var(--muted); }
.acc[open] summary .chev { transform: rotate(180deg); }
.acc .acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-medium) var(--ease-emphasized); }
.acc[open] .acc-body { grid-template-rows: 1fr; }
.acc .acc-inner { overflow: hidden; }
.acc .acc-inner > div { padding: 0 20px 20px; color: var(--ink-soft); max-width: var(--w-prose); }
@media (any-hover: hover) and (pointer: fine) { .acc summary:hover { background: var(--paper); } }
.acc[open] { border-color: var(--hairline-2); }
.acc[open] summary { color: var(--accent-ink); }
.acc summary { transition: background-color var(--dur-base) var(--ease-out-cubic), color var(--dur-base) var(--ease-out-cubic); }
/* Links im Fließtext: die Linie wird beim Überfahren fester, sonst passiert nichts */
.prose a:not(.btn), .antwort a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Formulare ---------- */
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field > label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: 0.85rem; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--hairline-2); border-radius: var(--r-md);
  padding: 13px 14px; width: 100%;
  transition: border-color var(--dur-base) var(--ease-out-cubic), box-shadow var(--dur-base) var(--ease-out-cubic);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 0 5px color-mix(in srgb, var(--accent) 14%, transparent);
}
.field.has-error input, .field.has-error select { border-color: var(--full); }
.field .error-msg { display: none; align-items: flex-start; gap: 7px; font-size: 0.88rem; color: var(--full); font-weight: 560; }
.field.has-error .error-msg { display: flex; }
.field .ok-mark { display: none; }
.field.is-valid-hard .ok-mark { display: inline-flex; color: var(--ok); }
.optional-tag { font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.radio-row { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--hairline-2); border-radius: var(--r-md); padding: 14px 16px; cursor: pointer; transition: border-color var(--dur-base) var(--ease-out-cubic), background-color var(--dur-base) var(--ease-out-cubic); }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio-card input { accent-color: var(--accent); margin-top: 3px; }
.error-summary { display: none; border: 1.5px solid var(--full); background: var(--full-bg); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 22px; }
.error-summary.visible { display: block; }
.error-summary h3 { color: var(--full); font-size: 1rem; margin-bottom: 6px; }
.error-summary ul { margin: 0; padding-left: 18px; }
.error-summary a { color: var(--full); }

/* ---------- Booking-Flow ---------- */
.steps { display: flex; gap: 8px; align-items: center; margin: 0 0 30px; padding: 0; list-style: none; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; color: var(--muted); }
.step .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; background: var(--paper-deep); border: 1px solid var(--hairline-2); }
.step.active { color: var(--ink); }
.step.active .n { background: var(--accent); border-color: var(--accent); color: #fff; }
.step.done .n { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.step-sep { width: 26px; height: 1px; background: var(--hairline-2); }
.flow-panel { display: none; }
.flow-panel.active { display: block; animation: panel-in var(--dur-medium) var(--ease-out-expo); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.summary-box { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 22px; }
.summary-box dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; }
.summary-box dt { color: var(--muted); font-size: 0.92rem; }
.summary-box dd { margin: 0; font-weight: 590; }
.summary-box .total-row { grid-column: 1 / -1; border-top: 1px solid var(--hairline); margin-top: 6px; padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; }
.summary-box .total-row .sum { font-family: var(--font-display); font-size: 1.7rem; font-weight: 640; }
.legal-note { font-size: 0.85rem; color: var(--muted); }

/* Bestätigung */
.confirm-wrap { text-align: center; max-width: 560px; margin-inline: auto; }
.ok-anim { width: 84px; height: 84px; margin: 0 auto 18px; }
.ok-anim .ring { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-dasharray: 158; stroke-dashoffset: 158; }
.ok-anim .tick { fill: none; stroke: var(--accent); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.confirm-wrap.play .ring { animation: draw 400ms var(--ease-emphasized) 120ms forwards; }
.confirm-wrap.play .tick { animation: draw 280ms var(--ease-emphasized) 520ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirm-details { text-align: left; margin-top: 26px; }
.confirm-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Sticky Mobile Bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--surface); border-top: 1px solid var(--hairline);
  padding: 10px clamp(16px, 4vw, 24px) calc(10px + env(safe-area-inset-bottom));
  transform: translateY(105%); transition: transform var(--dur-base) var(--ease-emphasized);
  box-shadow: 0 -6px 24px rgba(11,42,74,0.09);
}
.sticky-bar.visible { transform: none; }
.sticky-bar .sb-info { line-height: 1.25; }
.sticky-bar .sb-price { font-weight: 680; font-size: 1.02rem; }
.sticky-bar .sb-sub { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 940px) { .sticky-bar { display: flex; } body.has-sticky-bar { padding-bottom: 74px; } }

/* ---------- Reveals ---------- */
.reveal { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { transform: translate3d(0, 16px, 0); transition: opacity 500ms var(--ease-out-expo), transform 600ms var(--ease-out-expo); transition-delay: var(--rd, 0ms); }
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 768px) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { transform: translate3d(0, 12px, 0); transition-duration: 350ms, 420ms; }
  }
}

/* ---------- Footer ---------- */
.site-footer { background: #14202F; color: #B9C4D1; padding-block: 54px 34px; margin-top: clamp(56px, 9vw, 104px); font-size: 0.93rem; }
.site-footer a { color: #DEE6EE; }
.site-footer .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
@media (max-width: 800px) { .site-footer .foot-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #F0F4F8; font-size: 0.95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .legal-row { border-top: 1px solid #263447; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; }

/* ---------- Prose (Wissen/Legal) ---------- */
.prose { max-width: var(--w-prose); }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 3px solid var(--brass); background: var(--brass-soft); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--ink-soft); font-size: 0.98rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.prose th { font-weight: 640; }
/* Lesefortschritt: dünne Linie am oberen Rand, läuft im Compositor mit */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .progress { animation-name: progress-grow; animation-duration: auto; animation-timing-function: linear;
                animation-fill-mode: both; animation-timeline: scroll(root block); }
    @keyframes progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}

/* Tabellen zeigen an, dass sie seitlich weitergehen */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(to right, var(--surface) 30%, transparent) left / 28px 100% no-repeat,
    linear-gradient(to left, var(--surface) 30%, transparent) right / 28px 100% no-repeat,
    radial-gradient(farthest-side at 0 50%, rgba(11,42,74,0.12), transparent) left / 12px 100% no-repeat,
    radial-gradient(farthest-side at 100% 50%, rgba(11,42,74,0.12), transparent) right / 12px 100% no-repeat;
  background-attachment: local, local, scroll, scroll; }
@media (max-width: 560px) {
  .prose table { font-size: 0.88rem; }
  .prose th, .prose td { padding: 8px 9px; }
  .table-scroll { position: relative; }
}
.notice { border: 1px solid var(--hairline-2); background: var(--surface); border-radius: var(--r-md); padding: 14px 18px; font-size: 0.92rem; color: var(--ink-soft); }

/* Antwort zuerst: der Absatz, den auch der eilige Leser mitnimmt */
.antwort { border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 16px 22px; margin: 0 0 26px; }
.antwort p { font-size: 1.06rem; line-height: 1.6; color: var(--ink); margin-bottom: 0.6em; }
.antwort p:last-child { margin-bottom: 0; }
.prose .acc { margin-bottom: 10px; }
.prose .acc summary { font-size: 0.98rem; padding: 15px 18px; }
.prose .acc .acc-inner > div { padding: 0 18px 18px; }
.prose .acc p:last-child, .prose .acc ul:last-child { margin-bottom: 0; }
.mehr-dazu { font-size: 0.82rem; font-weight: 640; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 30px 0 12px; }
.notice.draft { border-color: var(--warn); background: var(--warn-bg); color: var(--warn); font-weight: 560; }

/* Seitenkopf für Unterseiten */
.page-head { padding-block: clamp(44px, 7vw, 80px) clamp(26px, 4vw, 44px); }
.page-head .lede { margin-top: 6px; }

/* ---------- Count-up Stat ---------- */
.stat-band { display: flex; flex-wrap: wrap; gap: 22px 56px; align-items: baseline; }
.stat .sv { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 640; font-variant-numeric: tabular-nums; color: var(--ink); }
.stat .sl { font-size: 0.9rem; color: var(--muted); font-weight: 560; }

/* ---------- Reduced motion: Netz + bewusste Reduktion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .ok-anim .ring, .ok-anim .tick { stroke-dashoffset: 0 !important; }
  .flow-panel.active { animation: none; }
}

/* ---------- Booking v2 ---------- */
.lede-sm { font-size: 1.02rem; color: var(--ink-soft); max-width: var(--w-prose); margin-bottom: 20px; }
.offer-group { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 26px 0 10px; }
.offer-group::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.radio-card.is-full { background: color-mix(in srgb, var(--surface) 68%, var(--paper)); }
.chip-empf { display: inline-block; font-size: 0.72rem; font-weight: 650; letter-spacing: 0.05em; color: var(--accent-ink); background: var(--accent-soft); padding: 3px 9px; border-radius: 999px; vertical-align: 2px; margin-left: 6px; }
.choice-bar { position: sticky; top: calc(var(--header-h) + 8px); z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 12px 18px; margin-bottom: 22px; box-shadow: var(--shadow-md); }
.choice-bar .cb-kicker { font-size: 0.72rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-ink); }
.choice-bar .cb-title { font-weight: 650; font-size: 0.98rem; }
.choice-bar .cb-meta { font-size: 0.85rem; color: var(--muted); }
.choice-bar .cb-side { display: flex; align-items: center; gap: 12px; flex: none; }
.choice-bar .cb-price { font-weight: 680; font-size: 1.05rem; white-space: nowrap; }
@media (max-width: 560px) { .choice-bar { flex-wrap: wrap; } .choice-bar .cb-meta { display: none; } }
.next-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-md); font-size: 0.88rem; color: var(--ink-soft); }
.next-strip strong { color: var(--accent-ink); }
@media (max-width: 640px) { .next-strip { grid-template-columns: 1fr; gap: 8px; } }
.radio-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .radio-duo { grid-template-columns: 1fr; } }
.assure-rail { list-style: none; margin: 0 0 18px; padding: 14px 18px; display: grid; gap: 9px; background: var(--ok-bg); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); border-radius: var(--r-md); font-size: 0.92rem; color: var(--ink-soft); }
.assure-rail li { display: flex; gap: 9px; }
.assure-rail li::before { content: "✓"; color: var(--ok); font-weight: 700; flex: none; }
.help-line { text-align: center; margin-top: 26px; color: var(--muted); }
.next-steps { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; text-align: left; color: var(--ink-soft); }
.next-steps li strong { color: var(--accent-ink); }
.avail[title] { cursor: help; }

/* Course overview and enquiry */
.course-hero { background:var(--paper-deep); padding-block:clamp(28px,5vw,72px); }
.course-hero-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(290px,.85fr); align-items:center; gap:clamp(24px,5vw,76px); }
.hero-intro { min-width:0; }
.hero-intro h1 { font-size:clamp(2.35rem,4.5vw,4.1rem); line-height:1.04; margin:.3em 0; overflow-wrap:break-word; hyphens:auto; }
.hero-intro .lede { max-width:53ch; }
.action-pair { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.action-pair a { height:auto; min-height:46px; padding:12px 17px; text-align:center; white-space:normal; }
.course-overview { overflow:hidden; border:1px solid var(--hairline); border-radius:15px; background:var(--surface); }
.course-image { aspect-ratio:3 / 2; position:relative; }
.photo-credit { position:absolute; right:6px; bottom:4px; font-size:9px; line-height:1.2; color:rgba(255,255,255,.72); text-shadow:0 0 3px rgba(0,0,0,.55); pointer-events:none; }
/* Raumfoto auf der Balint-Seite: Nachweis klein im Bild, Bildunterschrift darunter */
.venue-photo { margin:18px 0 6px; }
.venue-img { position:relative; }
.venue-img img { aspect-ratio:16 / 9; object-fit:cover; }
.venue-photo figcaption { font-size:.85rem; color:var(--muted); margin-top:6px; }
.course-image img { width:100%; height:100%; object-fit:cover; object-position:center 45%; display:block; }
.course-overview-body { padding:18px 22px 20px; }
.course-overview-body h2 { font-size:1.55rem; margin:0 0 8px; }
.course-overview-body dl { margin:0 0 8px; }
.course-overview-body dl div { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:6px 0; }
.course-overview-body dd { margin:0; font-weight:650; white-space:nowrap; }
.course-total { border-top:1px solid var(--hairline); font-weight:660; color:var(--accent-ink); }
.course-overview-body small { color:var(--ink-soft); }
.course-overview-body dt small { display:block; font-size:.82rem; line-height:1.3; margin-top:2px; }
.avail-neutral { color:var(--ink-soft); background:var(--paper-deep); }
.avail-neutral .dot { background:var(--muted); }
.inquiry { max-width:760px; padding-block:clamp(26px,5vw,64px); }
.inquiry h1 { font-size:clamp(2.2rem,5vw,3.6rem); margin:.3em 0; }
.inquiry form { margin:24px 0 12px; }
.inquiry label { display:block; font-weight:600; margin-bottom:6px; }
.inquiry input,.inquiry select { width:100%; min-width:0; min-height:46px; font:inherit; color:var(--ink); background:white; border:1px solid var(--hairline-2); border-radius:8px; padding:10px; }
.form-pair { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:18px 0; }
.inquiry button { margin-top:10px; }
.inquiry .form-group { border:0; margin:22px 0 0; padding:0; min-width:0; }
.inquiry .form-group legend { font-family:var(--font-display); font-size:1.15rem; font-weight:600; padding:0; margin-bottom:2px; }
.inquiry .form-group legend .small { font-family:inherit; font-weight:400; color:var(--ink-soft); }
.inquiry .form-group .form-pair { margin:14px 0; }
.inquiry .form-group > div:not(.form-pair) { margin:14px 0; }
.inquiry .form-required { margin:18px 0 0; color:var(--ink-soft); }
.inquiry .pick-dates { border:1px solid var(--hairline); border-radius:10px; margin:12px 0 6px; padding:10px 14px 6px; }
.inquiry .pick-dates legend { font-weight:600; padding:0 4px; font-size:.95rem; color:var(--ink); }
.inquiry .pick-dates label { display:flex; align-items:center; gap:10px; font-weight:400; font-size:.95rem; color:var(--ink); margin:0; padding:7px 0; cursor:pointer; }
.inquiry .pick-dates input { width:20px; min-width:20px; min-height:0; height:20px; margin:0; padding:0; accent-color:var(--accent); }
.inquiry .pick-dates label:has(input:disabled) { color:var(--ink-soft); cursor:default; }
.inquiry #pick-count { font-weight:600; color:var(--ink); margin:6px 0 2px; }
.inquiry .pick-hint.warn { color:#774411; font-weight:600; }
.inquiry .opt-in { display:flex; align-items:flex-start; gap:10px; font-weight:400; font-size:.93rem; color:var(--ink-soft); margin:4px 0 14px; cursor:pointer; }
.details-form .form-pair { margin:0; }
.details-form .field { margin:0 0 16px; }
.details-form .field .small { margin:6px 0 0; }
.inquiry .opt-in input { width:20px; min-width:20px; min-height:0; height:20px; margin:2px 0 0; padding:0; accent-color:var(--accent); }
#request-error { color:var(--full); margin-top:12px; }
#receipt { overflow-wrap:anywhere; }
@media (max-width:760px) {
 .course-hero-grid,.form-pair { grid-template-columns:minmax(0,1fr); }
 .course-hero-grid { gap:22px; }
 .action-pair { display:grid; }
 .course-image { aspect-ratio:16 / 9; }
 .course-overview-body,.inquiry .card { padding:16px; }
}

.balint-intro { background:var(--paper-deep); padding-block:clamp(24px,4vw,60px); }
.balint-hero-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr); align-items:center; gap:clamp(24px,6vw,80px); }
.balint-intro h1,.balint-detail h1 { font-size:clamp(2rem,4.5vw,3.75rem); line-height:1.06; margin:0 0 12px; }
.balint-lead { color:var(--ink-soft); max-width:54ch; margin:0 0 18px; }
.balint-offer { border:1px solid var(--hairline-2); border-radius:var(--r-lg); padding:clamp(16px,2.5vw,28px); background:var(--surface); }
.balint-offer h2 { margin:0 0 6px; font-size:clamp(1.45rem,3vw,2.2rem); }
.balint-offer h2 a { color:inherit; text-decoration:none; }
.balint-offer h2 a:hover { text-decoration:underline; }
.balint-when,.balint-fee { margin:0 0 8px; }
.balint-fee strong { font-size:1.18em; }
.balint-state,.balint-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; }
.balint-state { color:var(--ink-soft); font-size:.9rem; margin:12px 0; }
.balint-offer .btn,.balint-actions .btn { min-height:46px; height:auto; white-space:normal; }
.balint-section,.balint-detail { padding-block:clamp(26px,4vw,48px); }
.balint-section h2,.balint-reading h2 { font-size:clamp(1.4rem,2.6vw,2rem); }
.balint-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:clamp(24px,6vw,72px); }
.balint-block p,.balint-options p { max-width:55ch; }
.block-dates { list-style:none; padding:0; margin:14px 0 20px; }
.block-dates li { display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; padding:8px 0; border-bottom:1px solid var(--hairline); }
.block-dates span { white-space:nowrap; color:var(--ink-soft); }
.balint-reading { max-width:780px; }
.balint-reading h2:not(:first-child) { margin-top:1.4em; }
@media (max-width:780px) {
  .balint-hero-grid { grid-template-columns:minmax(0,1fr); gap:18px; }
  .balint-offer .btn { width:100%; }
  .balint-photo img { max-height:185px; object-fit:cover; }
}

.week-layout {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.85fr);grid-template-rows:auto 1fr;gap:24px clamp(24px,4vw,58px);align-items:start}
.week-content {grid-area:1/1/3/2}
.week-offer {grid-area:1/2}.week-layout aside {grid-area:2/2}
.week-offer .btn {width:100%}.week-offer .small {margin-block:8px}
.course-details {margin-top:16px;border-top:1px solid var(--hairline);padding-top:12px;font-size:.93rem}
.course-details p {margin:6px 0}.course-person {display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.course-person img {border-radius:50%;object-fit:cover}.course-person span {line-height:1.3}
#unterlagen {scroll-margin-top:100px}
@media(max-width:900px){.week-layout {display:flex;flex-direction:column}.week-layout>*{width:100%}.week-section{padding-top:12px}}
