/* Fahrschule Pletschacher – Designsystem
   Farben aus Randstein und Asphalt der Rennstrecke, Startnummerntafeln für die Klassen,
   Anybody (breit, kursiv) für Überschriften, Geist für Text. */

@font-face {
  font-family: 'Anybody';
  src: url('/assets/fonts/anybody-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Anybody';
  src: url('/assets/fonts/anybody-italic-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3f1ec;
  --paper-2: #e8e5de;
  --white: #ffffff;
  --ink: #16171a;
  --ink-2: #222429;
  --ink-3: #2d3036;
  --muted: #5a5c62;
  --muted-on-ink: #b8b9bd;
  --line: #d6d2c9;
  --line-ink: #3a3d44;
  --red: #c9281c;
  --red-ink: #b02217;
  --red-hell: #ff5a45;
  --yellow: #f5c518;
  --green: #2f7d3b;

  --font-display: 'Anybody', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --stretch-display: 122%;

  --text-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --text-h1: clamp(2.125rem, 1.2rem + 3.9vw, 4.5rem);
  --text-h2: clamp(1.75rem, 1.2rem + 2.3vw, 3.125rem);
  --text-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-small: 0.875rem;

  --content-max: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  --grid-gap: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
  --radius-s: 0.5rem;
  --radius-m: 0.875rem;
  --radius-l: 1.25rem;
  --header-h: 4.5rem;
  --shadow: 0 1px 2px rgb(22 23 26 / 0.06), 0 10px 30px rgb(22 23 26 / 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 var(--text-body)/1.6 var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: 'tnum' 0;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.on-ink :focus-visible { outline-color: var(--yellow); }
[id] { scroll-margin-top: calc(var(--header-h) + 1.25rem); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--white); padding: 0.75rem 1rem; border-radius: var(--radius-s);
}
.skip-link:focus { top: 1rem; }
.zahl, .preis, time { font-variant-numeric: tabular-nums; }

.container { width: min(calc(100% - 2 * var(--gutter)), var(--content-max)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-tight { padding-block: calc(var(--section-space) * 0.6); }
.bg-paper-2 { background: var(--paper-2); }
.bg-white { background: var(--white); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-ink a { color: var(--white); }

/* ---------- Typografie ---------- */
.display, h1, .h1, h2, .h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 860;
  font-stretch: var(--stretch-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1, .h1 { font-size: var(--text-h1); line-height: 1.02; }
h2, .h2 { font-size: var(--text-h2); line-height: 1.06; }
h3, .h3 { font-family: var(--font-body); font-size: var(--text-h3); line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; }
.lead { font-size: var(--text-lead); line-height: 1.55; color: var(--muted); max-width: 40rem; }
.on-ink .lead { color: var(--muted-on-ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin: 0 0 1.1rem;
  font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before { content: ''; width: 2.25rem; height: 0.5rem; background: var(--kerb-red-white, repeating-linear-gradient(90deg, var(--red) 0 0.5625rem, var(--white) 0.5625rem 1.125rem)); border-radius: 2px; box-shadow: inset 0 0 0 1px rgb(22 23 26 / 0.12); }
.on-ink .eyebrow { color: var(--paper); }
.on-ink .eyebrow::before { background: repeating-linear-gradient(90deg, var(--red-hell) 0 0.5625rem, var(--yellow) 0.5625rem 1.125rem); box-shadow: none; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem); max-width: 48rem; }
.section-head p { margin: 0; }
.prose { max-width: 42rem; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); margin: 2.5rem 0 1rem; }
.prose h3 { margin: 2rem 0 0.75rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.klein { font-size: var(--text-small); color: var(--muted); }
.on-ink .klein { color: var(--muted-on-ink); }

/* Randstein: das wiederkehrende Markenzeichen */
.kerb {
  height: 0.75rem;
  background: repeating-linear-gradient(90deg, var(--red) 0 2.5rem, var(--white) 2.5rem 5rem);
}
.kerb-gelb { background: repeating-linear-gradient(90deg, var(--red) 0 2.5rem, var(--yellow) 2.5rem 5rem); }
.mark-kerb {
  background-image: repeating-linear-gradient(90deg, var(--red) 0 0.7em, var(--white) 0.7em 1.4em);
  background-size: 100% 0.14em;
  background-repeat: no-repeat;
  background-position: 0 96%;
  padding-bottom: 0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.8rem 1.35rem;
  border: 2px solid transparent; border-radius: var(--radius-s);
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.btn .icon { width: 1.25rem; height: 1.25rem; flex: none; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-ink); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-3); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.on-ink .btn-outline { border-color: var(--paper); color: var(--paper); }
.on-ink .btn-outline:hover { background: var(--paper); color: var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffd53d; color: var(--ink); }
.btn-sm { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 650; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 0.1rem; }
.text-link .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.18s; }
.text-link:hover .icon { transform: translateX(3px); }
.on-ink .text-link { color: var(--white); border-color: var(--red-hell); }

.icon { flex-shrink: 0; width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Startnummerntafel ---------- */
.tafel {
  --t: 1;
  position: relative;
  display: inline-grid; place-items: center;
  min-width: calc(3.6rem * var(--t)); height: calc(2.75rem * var(--t));
  padding: 0 calc(0.75rem * var(--t));
  background: var(--yellow);
  border-radius: calc(0.7rem * var(--t));
  box-shadow: inset 0 0 0 calc(0.16rem * var(--t)) var(--ink), inset 0 0 0 calc(0.32rem * var(--t)) var(--yellow), inset 0 0 0 calc(0.38rem * var(--t)) rgb(22 23 26 / 0.85);
  color: var(--ink);
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 112%;
  font-size: calc(1.6rem * var(--t)); line-height: 1; letter-spacing: -0.01em;
  flex: none;
}
.tafel > span { transform: translateX(-0.03em); }
.tafel-mittel { font-size: calc(1.4rem * var(--t)); }
.tafel-lang { font-size: calc(1.08rem * var(--t)); font-stretch: 100%; }
.tafel-gross { --t: 1.6; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-grid; gap: 0.12rem; text-decoration: none; color: var(--ink); line-height: 1; margin-right: auto; }
.brand-oben { font-size: 0.6875rem; font-weight: 650; letter-spacing: 0.24em; text-transform: uppercase; }
.brand-name { font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 1.375rem; letter-spacing: -0.02em; }
.brand-kerb { display: block; height: 0.25rem; width: 100%; background: repeating-linear-gradient(90deg, var(--red) 0 0.6rem, transparent 0.6rem 1.2rem); margin-top: 0.15rem; }
.on-ink .brand { color: var(--white); }
.on-ink .brand-kerb { background: repeating-linear-gradient(90deg, var(--red-hell) 0 0.6rem, var(--yellow) 0.6rem 1.2rem); }
.main-nav ul { display: flex; gap: 0.25rem; list-style: none; }
.main-nav a {
  display: block; padding: 0.55rem 0.8rem; border-radius: var(--radius-s);
  color: var(--ink); text-decoration: none; font-weight: 550;
}
.main-nav a:hover { background: var(--paper-2); }
.main-nav a[aria-current='page'] { box-shadow: inset 0 -3px 0 var(--red); border-radius: var(--radius-s) var(--radius-s) 0 0; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-actions .header-call { display: none; }
.menu-toggle {
  display: none; align-items: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.4rem 0.85rem;
  border: 2px solid var(--ink); border-radius: var(--radius-s); background: transparent; cursor: pointer; font-weight: 650;
}
.menu-toggle .icon { width: 1.3rem; height: 1.3rem; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded='true'] .icon-close { display: block; }
.menu-toggle[aria-expanded='true'] .icon-menu { display: none; }
.icon-button {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-s); background: var(--red); color: var(--white);
}
.icon-button .icon { width: 1.3rem; height: 1.3rem; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 45;
  background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
  padding: 1.5rem var(--gutter) 2.5rem;
  border-top: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav ul { list-style: none; display: grid; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 115%;
  font-size: 1.75rem; color: var(--ink); text-decoration: none;
}
.mobile-menu nav a[aria-current='page'] { color: var(--red-ink); }
.mobile-menu .btn { margin-top: 1.75rem; }
.mobile-menu-info { list-style: none; display: grid; gap: 0.85rem; margin-top: 1.75rem; }
.mobile-menu-info li { display: flex; gap: 0.75rem; align-items: flex-start; }
.mobile-menu-info .icon { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; flex: none; color: var(--red-ink); }
.mobile-menu-info a { color: var(--ink); }
body.menu-offen { overflow: hidden; }

@media (max-width: 61.99rem) {
  .header-bar { gap: 0.75rem; }
  .main-nav, .header-phone-btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .header-call { display: inline-grid; }
}
@media (max-width: 23.5rem) {
  .menu-toggle-label { display: none; }
  .menu-toggle { padding-inline: 0.6rem; }
  .brand-name { font-size: 1.15rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.25rem, 1.2rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 5.5rem); overflow: clip; }
.hero-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: center; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { margin-bottom: 2rem; }
.hero-fakten { list-style: none; display: grid; gap: 0.9rem; margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.hero-fakten li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9375rem; line-height: 1.45; }
.hero-fakten .icon { flex: none; width: 1.35rem; height: 1.35rem; color: var(--red-ink); margin-top: 0.05rem; }
.hero-fakten strong { display: block; font-weight: 650; }
.hero-bild { position: relative; }
.hero-bild picture img { width: 100%; border-radius: var(--radius-l); object-fit: cover; }
.hero-bild .tafel { position: absolute; top: 1.25rem; right: 1.25rem; box-shadow: var(--shadow), inset 0 0 0 0.16rem var(--ink), inset 0 0 0 0.32rem var(--yellow), inset 0 0 0 0.38rem rgb(22 23 26 / 0.85); }
.live-karte {
  position: relative; margin: -2.5rem 1rem 0; z-index: 2;
  background: var(--ink); color: var(--paper); border-radius: var(--radius-m);
  padding: 1rem 1.15rem; box-shadow: var(--shadow);
  display: grid; gap: 0.35rem;
}
.live-karte .live-titel { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-ink); font-weight: 650; display: flex; align-items: center; gap: 0.5rem; }
.live-karte .live-titel::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--yellow); }
.live-karte .live-titel.ist-offen::before { background: #4cc864; box-shadow: 0 0 0 3px rgb(76 200 100 / 0.25); }
.live-karte .live-haupt { font-weight: 650; font-size: 1.0625rem; line-height: 1.35; }
.live-karte .live-neben { font-size: 0.875rem; color: var(--muted-on-ink); }
@media (min-width: 48rem) {
  .hero-fakten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .live-karte { max-width: 22rem; margin-left: 1.5rem; }
}
@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); }
  .hero h1 { font-size: min(3.85rem, 4.1vw); font-stretch: 112%; }
  .live-karte { position: absolute; left: -2rem; bottom: 2rem; margin: 0; max-width: 19rem; }
}

/* Seitenkopf der Unterseiten */
.page-head { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2rem, 1.4rem + 2.5vw, 3.5rem); }
.page-head h1 { margin-bottom: 1.25rem; max-width: 22ch; }
.page-head .lead { margin: 0; }
.page-head-grid { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 64rem) { .page-head-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); } }

/* ---------- Starterfeld (Klassen) ---------- */
.altersfilter { display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.altersfilter-label { font-weight: 650; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  min-height: 2.75rem; min-width: 3.25rem; padding: 0.4rem 0.95rem;
  border: 2px solid var(--ink); border-radius: 999px; background: transparent; cursor: pointer;
  font-weight: 650; font-variant-numeric: tabular-nums;
  transition: background-color 0.15s, color 0.15s;
}
.chip:hover { background: var(--paper-2); }
.chip[aria-pressed='true'] { background: var(--ink); color: var(--white); }
.altersfilter-ergebnis { min-height: 1.6em; margin: 0; color: var(--muted); }
.altersfilter-ergebnis strong { color: var(--ink); }

.feld-gruppen { display: grid; gap: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.feld-gruppe-kopf { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--ink); }
.feld-gruppe-kopf h3 { font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 118%; font-size: 1.375rem; }
.feld-gruppe-kopf span { color: var(--muted); font-size: 0.9375rem; }
.feld { list-style: none; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); }
.starter {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.25rem 1rem; align-items: center;
  padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
  color: var(--ink); text-decoration: none; height: 100%;
  transition: border-color 0.18s, box-shadow 0.18s, opacity 0.2s, transform 0.18s;
}
.starter:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.starter .tafel { grid-row: span 2; }
.starter-name { font-weight: 650; line-height: 1.3; }
.starter-meta { display: grid; gap: 0.1rem; font-size: 0.875rem; color: var(--muted); line-height: 1.4; }
.starter-meta .preis { color: var(--ink); font-weight: 600; }
.starter-status { display: none; }
.feld-gefiltert .starter[data-passt='nein'] { opacity: 0.45; background: transparent; }
.feld-gefiltert .starter[data-passt='nein'] .tafel { filter: grayscale(1); }
.feld-gefiltert .starter-status { display: inline-flex; align-items: center; gap: 0.3rem; position: absolute; top: 0.6rem; right: 0.7rem; font-size: 0.75rem; font-weight: 650; padding: 0.15rem 0.5rem; border-radius: 999px; }
.feld-gefiltert .starter[data-passt='ja'] .starter-status { background: #e3f1e5; color: #1f5a29; }
.feld-gefiltert .starter[data-passt='begleitet'] .starter-status { background: #fff4cc; color: #6b5200; }
.feld-gefiltert .starter[data-passt='nein'] .starter-status { background: var(--paper-2); color: var(--muted); }

/* ---------- Rennerfahrung ---------- */
.renn { position: relative; overflow: hidden; isolation: isolate; }
.renn-bild { position: absolute; inset: 0; z-index: -2; }
.renn-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.renn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(22 23 26 / 0.94) 0%, rgb(22 23 26 / 0.86) 42%, rgb(22 23 26 / 0.25) 75%, rgb(22 23 26 / 0.1) 100%); }
.renn-inhalt { max-width: 38rem; padding-block: clamp(4rem, 2.5rem + 6vw, 8rem); }
.renn h2 { margin-bottom: 1.5rem; }
.renn p { color: #dcdcdf; font-size: var(--text-lead); line-height: 1.55; }
.renn-fakten { list-style: none; display: grid; gap: 0.85rem; margin: 2rem 0 0; }
.renn-fakten li { display: flex; gap: 0.85rem; align-items: flex-start; }
.renn-fakten .icon { flex: none; width: 1.5rem; height: 1.5rem; color: var(--yellow); margin-top: 0.1rem; }
.renn-fakten strong { display: block; color: var(--white); }
.renn-fakten span { color: var(--muted-on-ink); font-size: 0.9375rem; }
@media (max-width: 47.99rem) {
  .renn::before { background: linear-gradient(180deg, rgb(22 23 26 / 0.15) 0%, rgb(22 23 26 / 0.55) 22%, rgb(22 23 26 / 0.92) 42%, rgb(22 23 26 / 0.97) 100%); }
  .renn-bild img { object-position: 70% 0%; height: 55%; }
  .renn-inhalt { padding-top: 13rem; }
}

/* ---------- Weg zum Führerschein (Strecke) ---------- */
.strecke { list-style: none; display: grid; gap: 0; counter-reset: schritt; position: relative; }
.schritt { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0 1.25rem; padding-bottom: 2rem; align-content: start; }
.schritt::before {
  content: ''; position: absolute; left: 1.3rem; top: 3rem; bottom: 0; width: 0.4rem;
  background: repeating-linear-gradient(180deg, var(--red) 0 1rem, var(--white) 1rem 2rem);
  border-radius: 2px; box-shadow: inset 0 0 0 1px rgb(22 23 26 / 0.08);
}
.schritt:last-child::before { display: none; }
.schritt-nr {
  counter-increment: schritt;
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--ink); color: var(--white);
  font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 1.25rem;
}
.schritt-nr::before { content: counter(schritt); }
.schritt-ziel .schritt-nr { background: conic-gradient(var(--ink) 25%, var(--white) 0 50%, var(--ink) 0 75%, var(--white) 0) 0 0 / 1rem 1rem; box-shadow: inset 0 0 0 2px var(--ink); }
.schritt-ziel .schritt-nr::before { content: ''; }
.schritt h3 { margin: 0.55rem 0 0.4rem; }
.schritt p { margin: 0; color: var(--muted); }
.schritt .schritt-info { display: inline-flex; gap: 0.4rem; align-items: center; line-height: 1.3; margin-top: 0.6rem; font-size: 0.875rem; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid var(--line); padding: 0.25rem 0.65rem; border-radius: 999px; }
.schritt .schritt-info .icon { width: 1rem; height: 1rem; flex: none; color: var(--red-ink); }
@media (min-width: 64rem) {
  .strecke { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
  .schritt { grid-template-columns: 1fr; padding-bottom: 0; }
  .schritt::before { left: 3.5rem; right: -1.5rem; top: 1.3rem; bottom: auto; width: auto; height: 0.4rem; background: repeating-linear-gradient(90deg, var(--red) 0 1rem, var(--white) 1rem 2rem); }
  .schritt h3 { margin-top: 1.25rem; }
}

/* ---------- Zeitplan ---------- */
.zeitplan { display: grid; gap: 0.5rem; }
.tag-zeile {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.75rem; align-items: start;
  padding: 0.9rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
}
.tag-zeile.ist-heute { border-color: var(--ink); box-shadow: inset 4px 0 0 var(--red); }
.tag-name { font-weight: 700; display: grid; gap: 0.1rem; }
.tag-name small { font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-ink); }
.tag-termine { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.termin { display: inline-flex; flex-direction: column; gap: 0.05rem; padding: 0.45rem 0.75rem; border-radius: var(--radius-s); background: var(--paper); line-height: 1.3; flex: 1 1 10.5rem; min-width: 0; }
@media (max-width: 29.99rem) { .tag-zeile { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; } .tag-name { display: flex; gap: 0.6rem; align-items: baseline; } }
.termin time { font-weight: 650; }
.termin span { font-size: 0.8125rem; color: var(--muted); }
.termin-theorie { background: var(--ink); color: var(--white); }
.termin-theorie span { color: var(--muted-on-ink); }
.termin-zweirad { background: var(--yellow); color: var(--ink); }
.termin-zweirad span { color: #4a3d00; }
.zeitplan-legende { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1rem; font-size: 0.875rem; color: var(--muted); }
.zeitplan-legende span { display: inline-flex; align-items: center; gap: 0.45rem; }
.zeitplan-legende i { width: 0.85rem; height: 0.85rem; border-radius: 3px; display: inline-block; }
@media (min-width: 64rem) {
  .zeitplan-woche { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.75rem; }
  .zeitplan-woche .tag-zeile { grid-template-columns: 1fr; align-content: start; min-height: 13rem; }
  .zeitplan-woche .tag-termine { flex-direction: column; }
  .zeitplan-woche .termin { min-width: 0; flex: none; }
}

/* ---------- Karten und Raster ---------- */
.split { display: grid; gap: var(--grid-gap); align-items: start; }
@media (min-width: 56rem) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split-7-5 { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.karte { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.karte-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.karte h3 { margin-bottom: 0.75rem; }
.karte > :last-child { margin-bottom: 0; }

/* Preisliste */
.preisliste { list-style: none; display: grid; }
.preisliste li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px dashed var(--line); }
.preisliste li:last-child { border-bottom: 0; }
.preisliste .posten { display: grid; }
.preisliste .posten small { color: var(--muted); font-size: 0.8125rem; }
.preisliste .preis { font-weight: 700; white-space: nowrap; }
.karte-ink .preisliste li { border-color: var(--line-ink); }
.karte-ink .preisliste .posten small { color: var(--muted-on-ink); }
.preis-gross { font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 112%; font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem); line-height: 1; font-variant-numeric: tabular-nums; }

/* Preistabelle */
.tabellen-tabs { display: none; }
.preistabelle-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--white); }
.preistabelle { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 44rem; }
.preistabelle th, .preistabelle td { padding: 0.85rem 0.9rem; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.preistabelle thead th { vertical-align: bottom; background: var(--paper); }
.preistabelle thead .tafel { --t: 0.85; }
.preistabelle th[scope='row'] { text-align: left; font-weight: 600; white-space: normal; min-width: 11rem; }
.preistabelle th[scope='row'] small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8125rem; }
.preistabelle tbody tr:last-child > * { border-bottom: 0; }
.preistabelle td.leer { color: #9a9ca1; }
.preistabelle .klassen-kopf { display: grid; justify-items: end; gap: 0.35rem; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
@media (max-width: 55.99rem) {
  .js .tabellen-tabs { display: flex; }
  .js .preistabelle { min-width: 0; }
  .js .preistabelle [data-spalte]:not(.ist-aktiv) { display: none; }
  .js .preistabelle-wrap { overflow: visible; }
}

.komplett-karten { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); margin-top: 1.25rem; }
.komplett-karte { display: grid; gap: 0.5rem; align-content: start; padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); }
.komplett-karte .kopf { display: flex; align-items: center; gap: 0.75rem; }
.komplett-karte .preis { font-size: 1.375rem; font-weight: 750; }
.komplett-karte p { margin: 0; font-size: 0.875rem; color: var(--muted); }

/* Kostenrechner */
.rechner { display: grid; gap: 1.25rem; }
@media (min-width: 64rem) { .rechner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); align-items: start; } }
.rechner-eingabe { display: grid; gap: 1.5rem; }
.feldgruppe { display: grid; gap: 0.55rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.feldgruppe legend, .feldgruppe > label { font-weight: 650; padding: 0; }
.feldgruppe .hilfe { font-size: 0.875rem; color: var(--muted); margin: 0; }
.klassen-wahl { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.klassen-wahl label { position: relative; cursor: pointer; }
.klassen-wahl input { position: absolute; opacity: 0; pointer-events: none; }
.klassen-wahl .tafel { --t: 0.9; transition: transform 0.15s, box-shadow 0.15s; filter: grayscale(0.85) opacity(0.6); }
.klassen-wahl input:checked + .tafel { filter: none; transform: translateY(-2px); }
.klassen-wahl input:focus-visible + .tafel { outline: 3px solid var(--red); outline-offset: 3px; }
.stepper { display: inline-flex; align-items: stretch; border: 2px solid var(--ink); border-radius: var(--radius-s); overflow: hidden; width: fit-content; background: var(--white); }
.stepper button { width: 3rem; border: 0; background: var(--paper-2); cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { background: var(--line); }
.stepper button .icon { width: 1.1rem; height: 1.1rem; }
.stepper input { width: 4.5rem; text-align: center; border: 0; font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums; padding: 0.55rem 0; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.regler { width: 100%; accent-color: var(--red); }
.rechner-ergebnis { position: sticky; top: calc(var(--header-h) + 1rem); }
.rechner-ergebnis .summe { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1rem; margin-top: 0.5rem; border-top: 2px solid var(--paper); }
.rechner-ergebnis .summe span { font-weight: 650; }

/* Klassen-Detailseite */
.klassen-nav { position: sticky; top: var(--header-h); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.klassen-nav ul { position: relative; list-style: none; display: flex; gap: 0.35rem; overflow-x: auto; padding-block: 0.6rem; scrollbar-width: thin; }
.klassen-nav a { display: inline-flex; text-decoration: none; padding: 0.15rem; border-radius: 0.8rem; }
.klassen-nav .tafel { --t: 0.72; }
.klassen-gruppe + .klassen-gruppe { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.klassen-gruppe > h2 { margin-bottom: 0.5rem; }
.klassen-gruppe > .lead { margin-bottom: 2rem; }
.klasse-block { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); }
.klasse-block + .klasse-block { margin-top: 1rem; }
.klasse-kopf { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.klasse-kopf h3 { font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 115%; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.875rem); }
.klasse-kopf .alter { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.3rem; font-size: 0.9375rem; color: var(--muted); }
.klasse-kopf .alter .icon { width: 1.1rem; height: 1.1rem; color: var(--red-ink); }
.klasse-inhalt { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .klasse-inhalt { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 2.5rem; } }
.klasse-inhalt h4 { font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; font-weight: 650; }
.haken { list-style: none; display: grid; gap: 0.55rem; }
.haken li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: 0.6rem; }
.haken .icon { width: 1.25rem; height: 1.25rem; color: var(--red-ink); margin-top: 0.15rem; }
.klasse-preise { background: var(--paper); border-radius: var(--radius-m); padding: 1rem 1.15rem; align-self: start; }
.klasse-preise .preisliste li { padding: 0.5rem 0; font-size: 0.9375rem; }

.vergleich { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-l); overflow: hidden; }
.vergleich th, .vergleich td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.vergleich thead th { background: var(--ink); color: var(--white); }
.vergleich tbody th { font-weight: 600; width: 22%; }
@media (max-width: 47.99rem) {
  .vergleich, .vergleich tbody, .vergleich tr, .vergleich th, .vergleich td { display: block; width: 100%; }
  .vergleich thead { display: none; }
  .vergleich tbody tr { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .vergleich tbody th { border: 0; padding: 0.5rem 1rem 0.25rem; }
  .vergleich td { border: 0; padding: 0.25rem 1rem; }
  .vergleich td::before { content: attr(data-label) ': '; font-weight: 650; }
}

/* Sprachen-Band */
.sprachen { background: var(--yellow); color: var(--ink); }
.sprachen-grid { display: grid; gap: 1.5rem; align-items: center; padding-block: clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem); }
@media (min-width: 56rem) { .sprachen-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.sprachen h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); }
.sprachen-liste { list-style: none; display: grid; gap: 0.6rem; }
.sprachen-liste li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding: 0.7rem 0; border-bottom: 2px solid var(--ink); }
.sprachen-liste li:last-child { border-bottom: 0; }
.sprachen-liste b { font-family: var(--font-display); font-style: italic; font-weight: 850; font-stretch: 110%; font-size: 1.125rem; }

/* Kontakt */
.kontakt-grid { display: grid; gap: var(--grid-gap); }
@media (min-width: 56rem) { .kontakt-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; } }
.kontakt-liste { list-style: none; display: grid; gap: 1.25rem; }
.kontakt-liste li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.kontakt-liste .icon-kreis { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ink); color: var(--white); }
.kontakt-liste .icon-kreis .icon { width: 1.25rem; height: 1.25rem; }
.kontakt-liste strong { display: block; }
.kontakt-liste a { color: var(--ink); font-weight: 600; }
.kontakt-liste span, .kontakt-liste p { color: var(--muted); font-size: 0.9375rem; margin: 0; }
.status-zeile { display: inline-flex; align-items: flex-start; gap: 0.5rem; font-weight: 600; font-size: 0.9375rem; margin-top: 0.35rem; }
.status-zeile::before { content: ''; flex: none; width: 0.6rem; height: 0.6rem; margin-top: 0.42em; border-radius: 50%; background: #9a9ca1; }
.status-zeile.ist-offen::before { background: #2f9e44; box-shadow: 0 0 0 3px rgb(47 158 68 / 0.2); }
.lageplan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.lageplan svg { width: 100%; height: auto; }
.lageplan-fuss { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: space-between; align-items: center; padding: 0.9rem 1.1rem; border-top: 1px solid var(--line); font-size: 0.875rem; }
.lageplan-fuss .route-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lageplan-fuss a { font-weight: 600; }
.anfahrt-liste { list-style: none; display: grid; gap: 0.5rem; margin-top: 1.25rem; }
.anfahrt-liste li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9375rem; }
.anfahrt-liste .icon { width: 1.2rem; height: 1.2rem; flex: none; color: var(--red-ink); margin-top: 0.15rem; }

/* Formular */
.formular { display: grid; gap: 1.1rem; }
.formular .zeile { display: grid; gap: 1.1rem; }
@media (min-width: 40rem) { .formular .zeile-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.feld-wrap { display: grid; gap: 0.4rem; }
.feld-wrap label, .feld-wrap legend { font-weight: 600; }
.feld-wrap .optional { font-weight: 400; color: var(--muted); font-size: 0.875rem; }
.eingabe {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.85rem;
  border: 1.5px solid #a9a6a0; border-radius: var(--radius-s); background: var(--white);
}
textarea.eingabe { min-height: 7.5rem; resize: vertical; }
.eingabe:focus { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--ink); }
.eingabe[aria-invalid='true'] { border-color: var(--red); background: #fff6f5; }
.feld-fehler { color: var(--red-ink); font-size: 0.875rem; font-weight: 600; display: flex; gap: 0.35rem; align-items: center; }
.feld-fehler[hidden] { display: none; }
.feld-fehler .icon { width: 1rem; height: 1rem; }
.radio-reihe { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.radio-reihe label { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.9rem; border: 1.5px solid #a9a6a0; border-radius: 999px; background: var(--white); cursor: pointer; font-weight: 500; }
.radio-reihe input { accent-color: var(--red); width: 1.1rem; height: 1.1rem; margin: 0; }
.radio-reihe label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.fehler-box { padding: 1rem 1.15rem; border-radius: var(--radius-m); background: #fff1ef; border: 1.5px solid var(--red); }
.fehler-box[hidden], .erfolg-box[hidden] { display: none; }
.fehler-box h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--red-ink); }
.fehler-box ul { padding-left: 1.2rem; }
.erfolg-box { padding: 1.25rem; border-radius: var(--radius-m); background: var(--ink); color: var(--paper); display: grid; gap: 0.75rem; }
.erfolg-box h3 { color: var(--white); }
.erfolg-box p { margin: 0; color: var(--muted-on-ink); }
.erfolg-box .btn-row { margin-top: 0.25rem; }
.hinweis { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.875rem; color: var(--muted); }
.hinweis .icon { width: 1.15rem; height: 1.15rem; flex: none; margin-top: 0.1rem; }

/* FAQ */
.faq { display: grid; gap: 0.6rem; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); }
.faq-item h3 { font-size: 1.0625rem; }
.faq-frage {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.15rem; border: 0; background: transparent; cursor: pointer; text-align: left; font-weight: 650;
}
.faq-frage .icon { flex: none; width: 1.25rem; height: 1.25rem; transition: transform 0.2s; }
.faq-frage[aria-expanded='true'] .icon { transform: rotate(45deg); }
.faq-antwort { padding: 0 1.15rem 1.1rem; color: var(--muted); }
.faq-antwort p:last-child { margin: 0; }
.js .faq-antwort[hidden] { display: none; }

/* Abschlussband */
.abschluss { background: var(--ink); color: var(--paper); }
.abschluss-grid { display: grid; gap: 1.5rem; align-items: center; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
@media (min-width: 56rem) { .abschluss-grid { grid-template-columns: minmax(0, 1.2fr) auto; } }
.abschluss h2 { color: var(--white); }
.abschluss p { color: var(--muted-on-ink); margin: 0.75rem 0 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-on-ink); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; font-size: 0.9375rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); } }
.footer-titel { font-family: var(--font-body); font-style: normal; font-stretch: 100%; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); font-weight: 650; margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.45rem; }
.footer-brand p { margin-top: 1rem; max-width: 22rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-ink); font-size: 0.875rem; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer address { font-style: normal; }
.site-footer .kerb { margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }

/* Rechtstexte */
.rechtstext { max-width: 46rem; }
.rechtstext h2 { font-family: var(--font-body); font-style: normal; font-stretch: 100%; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; margin: 2.25rem 0 0.75rem; }
.rechtstext h3 { font-size: 1.0625rem; margin: 1.5rem 0 0.5rem; }
.rechtstext ol, .rechtstext ul { padding-left: 1.25rem; margin-bottom: 1em; }
.entwurf { display: flex; gap: 0.75rem; padding: 1rem 1.15rem; border-radius: var(--radius-m); background: #fff4cc; border: 1px solid #e4c75a; margin-bottom: 2rem; }
.entwurf .icon { flex: none; color: #6b5200; }

/* 404 */
.fehlerseite { min-height: 60vh; display: grid; align-content: center; }

/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Mobil: kompaktere Display-Breite, damit lange Wörter passen */
@media (max-width: 47.99rem) {
  :root { --stretch-display: 108%; --header-h: 4rem; }
  .brand-name { font-stretch: 115%; font-size: 1.2rem; }
  .menu-toggle { padding-inline: 0.7rem; }
  .btn-row .btn { flex: 1 1 auto; }
}
@media (max-width: 22.5rem) {
  :root { --stretch-display: 100%; }
  h1, .h1 { font-size: 1.8rem; }
  h1, h2 { overflow-wrap: break-word; hyphens: auto; }
}

/* ---------- Ergänzungen für die Bausteine ---------- */
.section-head .eyebrow { margin: 0; }
.eyebrow .icon { width: 1.1rem; height: 1.1rem; margin-left: -0.25rem; }
.altersfilter { display: none; }
.js .altersfilter { display: grid; }
.altersfilter-label { margin: 0; }
.feld-gruppe-kopf h3 { margin: 0; }
.starter-status .icon { width: 0.85rem; height: 0.85rem; stroke-width: 2.4; }
.tag-name { margin: 0; }
.termin strong { font-weight: 650; }
.termin-buero { background: var(--paper); }
.zeitplan-legende .leg-buero { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.zeitplan-legende .leg-theorie { background: var(--ink); }
.zeitplan-legende .leg-zweirad { background: var(--yellow); box-shadow: inset 0 0 0 1px rgb(22 23 26 / 0.25); }
.live-karte p { margin: 0; }
.tabellen-tabs { margin-bottom: 1rem; }
.komplett-karte h3 { font-size: 1.0625rem; }
.feldgruppe-titel { font-weight: 650; margin: 0; }
.rechner-ergebnis h3 { color: var(--white); }
.rechner-ergebnis .klein { margin: 1.25rem 0 0; }
.lageplan { margin: 0; }
.lageplan img { width: 100%; height: auto; }
.umbruch { overflow-wrap: anywhere; }
.renn .eyebrow { color: var(--paper); }
.team-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.person { display: grid; gap: 0.9rem; align-content: start; }
.person-kopf { display: flex; align-items: center; gap: 1rem; }
.person-kopf h3 { margin: 0; }
.person-kopf p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.9375rem; }
.person p { margin: 0; }
.karte-ink .person-kopf p, .karte-ink p { color: var(--muted-on-ink); }
.karte-ink h3 { color: var(--white); }
.preis-teaser { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.25rem), 1fr)); margin-bottom: 2rem; }
.preis-teaser div { padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); display: grid; gap: 0.35rem; }
.preis-teaser span { font-size: 0.875rem; color: var(--muted); }
.preis-teaser strong { font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 112%; font-size: 1.75rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.klasse-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 1.25rem; }
.hinweis-box { display: flex; gap: 0.75rem; align-items: flex-start; padding: 1rem 1.15rem; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius-m); }
.hinweis-box .icon { flex: none; color: var(--red-ink); margin-top: 0.1rem; }
.hinweis-box p { margin: 0; }
.hinweis-box p + p { margin-top: 0.5rem; }
.stack-l > * + * { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.stack-m > * + * { margin-top: 1.25rem; }
.mt-l { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.vergleich-wrap { position: relative; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.vergleich-wrap .vergleich { border-radius: 0; }
.vergleich .tafel { --t: 0.72; }
.unterricht-karten { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.unterricht-karten .karte { display: grid; gap: 0.6rem; align-content: start; }
.unterricht-karten .karte h3 { margin: 0; }
.unterricht-karten .karte p { margin: 0; color: var(--muted); }
.karte-ink.unterricht-karte p { color: var(--muted-on-ink); }
.zeit-gross { font-family: var(--font-display); font-style: italic; font-weight: 900; font-stretch: 108%; font-size: 1.25rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.formular-karte { display: grid; gap: 1.25rem; }
.formular .pflicht { color: var(--red-ink); }
.erfolg-box .btn-outline { border-color: var(--paper); color: var(--paper); }
.erfolg-box pre { margin: 0; white-space: pre-wrap; font: inherit; font-size: 0.875rem; color: var(--muted-on-ink); background: var(--ink-2); border-radius: var(--radius-s); padding: 0.85rem 1rem; max-height: 14rem; overflow: auto; }
.fehlerseite .tafel { margin-bottom: 1.5rem; }
.rechtstext address { font-style: normal; }
.rechtstext dl { display: grid; gap: 0.25rem 1.5rem; margin: 0 0 1em; }
.rechtstext dt { font-weight: 650; }
.rechtstext dd { margin: 0 0 0.6rem; }
@media (min-width: 40rem) { .rechtstext dl { grid-template-columns: 12rem minmax(0, 1fr); } .rechtstext dd { margin: 0; } }
.klasse-kopf .alter { margin: 0.3rem 0 0; }
.vergleich-lead { color: var(--muted); max-width: 44rem; margin: 0.5rem 0 1.25rem; }
.vergleich thead th:empty { width: 22%; }
.ohne-abstand { margin: 0; }
.mt-s { margin-top: 0.85rem; }
.h-mittel { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); margin-bottom: 0.25rem; }
.karte-icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--paper); color: var(--red-ink); }
.karte-ink .karte-icon { background: var(--ink-3); color: var(--yellow); }
.karte-icon .icon { width: 1.35rem; height: 1.35rem; }
@media (min-width: 56rem) { .split-5-7 { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }

.komplett-karte .preis { color: var(--ink); }
.klasse-preise .preis-gross { margin: 0.35rem 0 0.6rem; }
.klasse-preise .klein { margin: 0.75rem 0 0; }
