/* Schleifpunkt – Fahrschule im Stühlinger (Beispielentwurf von update.) */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
/* Ziffern aus Archivo: Atkinson hat eine durchgestrichene Null, die in Preisen irritiert */
@font-face {
  font-family: "Ziffern";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  unicode-range: U+0030-0039;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson";
  src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson";
  src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --papier: #FDFAFB;
  --rose: #F7D9E0;
  --rose-tief: #E3A3B4;
  --tinte: #17224F;
  --himbeere: #C0174F;
  --himbeere-dunkel: #9E1040;
  --grau: #555A78;
  --weiss: #FFFFFF;
  --rand: clamp(20px, 5vw, 56px);
  --breite: 1200px;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --text: "Ziffern", "Atkinson", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
}
main { overflow-x: clip; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--himbeere); outline-offset: 3px; border-radius: 4px; }

.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--tinte); color: var(--weiss); padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* Hinweisleiste */
.demo {
  font-size: .8125rem; color: var(--grau); text-align: center;
  padding: .35rem var(--rand); border-bottom: 1px solid #EBDDE1;
}
.demo a { color: var(--tinte); }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: rgba(253, 250, 251, .94);
  border-bottom: 1px solid #EBDDE1;
}
.kopf__innen {
  max-width: var(--breite); margin: 0 auto; padding: .65rem var(--rand);
  display: flex; align-items: center; gap: 1rem;
}
.marke { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.marke img { width: 40px; height: 40px; }
.marke__name {
  font-family: var(--display); font-weight: 800; font-stretch: 118%;
  font-size: 1.3rem; letter-spacing: -.01em;
}
.nav ul { display: flex; gap: .25rem; }
.nav a {
  display: block; padding: .5rem .7rem; border-radius: 8px;
  text-decoration: none; font-weight: 700; font-size: .975rem;
}
.nav a:hover { background: var(--rose); }
.menu-knopf {
  display: none; font: inherit; font-weight: 700; color: var(--tinte);
  background: transparent; border: 2px solid var(--tinte); border-radius: 999px;
  padding: .35rem .9rem; cursor: pointer;
}

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px;
  background: var(--himbeere); color: var(--weiss); border: 2px solid var(--himbeere);
  font-family: var(--display); font-weight: 700; font-stretch: 110%; font-size: 1.02rem;
  text-decoration: none; transition: background-color .15s, transform .1s;
}
.knopf:hover { background: var(--himbeere-dunkel); border-color: var(--himbeere-dunkel); }
.knopf:active { transform: translateY(1px); }
.knopf--klein { min-height: 42px; padding: .45rem 1.1rem; font-size: .95rem; }
.knopf--rand { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.knopf--rand:hover { background: var(--tinte); color: var(--weiss); border-color: var(--tinte); }
.knopf--hell { background: var(--weiss); color: var(--himbeere); border-color: var(--weiss); }
.knopf--hell:hover { background: var(--rose); border-color: var(--rose); }

/* Held */
.held {
  max-width: var(--breite); margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) var(--rand) 0;
  display: grid; gap: 2.25rem;
  grid-template-columns: minmax(0, 1fr);
}
.held h1 {
  font-size: clamp(3.1rem, 11vw, 6rem);
  font-weight: 820; font-stretch: 125%;
  line-height: .93; letter-spacing: -.025em;
  max-width: 9ch;
}
.held__lead { margin-top: 1.4rem; font-size: clamp(1.1rem, 2vw, 1.25rem); max-width: 30em; }
.held__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.held__naechster { margin-top: 1.1rem; color: var(--grau); font-size: .975rem; }
.held__naechster strong { color: var(--tinte); }
.held__bild { position: relative; margin: calc(clamp(2rem, 6vw, 4.5rem) * -1) calc(var(--rand) * -1) 0; order: -1; }
.held__bild > img {
  width: 100%; height: clamp(230px, 60vw, 420px);
  object-fit: cover; object-position: 38% 45%;
}
.held__karte {
  position: absolute; right: var(--rand); bottom: -2.5rem;
  width: clamp(140px, 38vw, 230px);
}
.karte__svg {
  width: 100%;
  transform: rotate(-4deg);
  filter: drop-shadow(0 14px 22px rgba(23, 34, 79, .32)) drop-shadow(0 2px 4px rgba(23, 34, 79, .2));
  overflow: visible;
}
.k-titel { font-family: var(--display); font-weight: 800; font-stretch: 120%; font-size: 44px; fill: var(--tinte); }
.k-feld rect { fill: #E7A8B9; }
.k-klasse { font-family: var(--display); font-weight: 850; font-stretch: 125%; font-size: 96px; fill: var(--himbeere); }
.k-klasse--klein { font-size: 52px; fill: var(--tinte); }

.fakten {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 2px solid var(--tinte);
  margin-top: 1.5rem;
}
.fakten li { padding: .9rem 0; border-bottom: 1px solid #E6D3D9; }
.fakten strong { display: block; font-family: var(--display); font-stretch: 112%; font-size: 1.05rem; color: var(--himbeere); }

/* Der eine Moment: die Rosette zeichnet sich, dann wird die Klasse eingestempelt */
@media (prefers-reduced-motion: no-preference) {
  .ro { stroke-dasharray: 1; stroke-dashoffset: 1; animation: zeichnen 2.2s cubic-bezier(.5, 0, .2, 1) forwards; }
  .ro:nth-child(2) { animation-delay: .15s; }
  .ro:nth-child(3) { animation-delay: .3s; }
  .ro:nth-child(4) { animation-delay: .45s; }
  .k-stempel text { transform-box: fill-box; transform-origin: center; opacity: 0; animation: stempel .45s cubic-bezier(.3, 1.6, .5, 1) forwards; }
  .k-stempel text:nth-child(1) { animation-delay: 1.5s; }
  .k-stempel text:nth-child(2) { animation-delay: 1.7s; }
  .k-stempel text:nth-child(3) { animation-delay: 1.85s; }
}
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
@keyframes stempel { 0% { opacity: 0; transform: scale(1.9) rotate(-8deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }

/* Abschnitte */
.abschnitt {
  max-width: var(--breite); margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--rand) 0;
}
.abschnitt__kopf { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 40rem; }
.abschnitt__kopf h2, .anmelden h2 {
  font-size: clamp(2rem, 5.6vw, 3.4rem);
  font-weight: 780; font-stretch: 122%; letter-spacing: -.02em;
}
.abschnitt__kopf p { margin-top: .9rem; color: var(--grau); font-size: 1.1rem; max-width: 36em; }

/* Klassen: zwei Gruppen mit Foto */
.gruppe { display: grid; gap: 1.5rem; }
.gruppe + .gruppe { margin-top: clamp(3rem, 6vw, 4.5rem); }
.gruppe__bild { margin: 0; }
.gruppe__bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.gruppe--zweirad .gruppe__bild img { object-position: 62% 50%; }
.gruppe__titel { font-size: 1.5rem; font-weight: 800; font-stretch: 122%; margin-bottom: .75rem; }

/* Klassen als Tabelle der Führerschein-Rückseite */
.klassen { border-top: 2px solid var(--tinte); }
.klasse {
  display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem;
  padding: 1.25rem 0; border-bottom: 1px solid #E6D3D9;
  align-items: baseline;
}
.klasse__kz {
  font-family: var(--display); font-weight: 850; font-stretch: 125%;
  font-size: 2.3rem; line-height: 1; color: var(--himbeere); letter-spacing: -.02em;
}
.klasse__alter { grid-row: 1; grid-column: 2; justify-self: end; text-align: right; font-family: var(--display); font-weight: 780; font-stretch: 115%; font-size: 1.6rem; line-height: 1; }
.klasse__alter span { font-family: var(--text); font-weight: 400; font-size: .85rem; color: var(--grau); }
.klasse__alter .zusatz { display: block; margin-top: .3rem; }
.klasse__info { grid-column: 1 / -1; }
.klasse__info h4 { margin: 0; font-family: var(--display); line-height: 1.1; font-size: 1.2rem; font-weight: 720; font-stretch: 110%; }
.klasse__info p { margin-top: .3rem; max-width: 38em; }

/* Ablauf */
.abschnitt--ablauf { max-width: none; background: var(--rose); padding-bottom: clamp(4rem, 9vw, 6rem); margin-top: clamp(4rem, 9vw, 7rem); padding-top: clamp(4rem, 9vw, 6rem); }
.abschnitt--ablauf > * { max-width: calc(var(--breite) - 2 * var(--rand)); margin-left: auto; margin-right: auto; }
.abschnitt--ablauf .abschnitt__kopf { margin-bottom: clamp(2rem, 4vw, 3rem); }
.abschnitt--ablauf .abschnitt__kopf p { color: #4A3F5C; }
.ablauf__bild { margin-top: 0; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.ablauf__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 50%; border-radius: 18px; }
.ablauf__bild figcaption { margin-top: .7rem; font-size: .95rem; color: #4A3F5C; }
.ablauf { counter-reset: schritt; display: grid; gap: 0; }
.ablauf li {
  counter-increment: schritt; position: relative;
  padding: 0 0 1.75rem 3.6rem;
}
.ablauf li::before {
  content: counter(schritt);
  position: absolute; left: 0; top: -.15rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--tinte); color: var(--weiss);
  font-family: var(--display); font-weight: 800; font-stretch: 115%; font-size: 1.1rem;
}
.ablauf li::after {
  content: ""; position: absolute; left: 1.2rem; top: 2.6rem; bottom: .25rem; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--tinte) 0 8px, transparent 8px 14px);
  opacity: .45;
}
.ablauf li:last-child::after { display: none; }
.ablauf li:last-child::before { background: var(--himbeere); }
.ablauf h3 { font-size: 1.2rem; font-weight: 740; font-stretch: 112%; }
.ablauf p { margin-top: .35rem; }

/* Theorie-Woche */
.woche { display: grid; gap: .75rem; }
.tag { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: start; padding: .2rem 0; }
.tag__name { font-family: var(--display); font-weight: 760; font-stretch: 115%; font-size: 1.1rem; padding-top: .7rem; }
.termin {
  padding: .75rem 1rem; border-radius: 12px;
  background: var(--weiss); border: 2px solid var(--tinte);
}
.termin__zeit { display: block; font-family: var(--display); font-weight: 760; font-stretch: 110%; font-variant-numeric: tabular-nums; }
.termin--a { border-color: var(--himbeere); background: #FCEDF1; }
.termin--b { border-color: var(--rose-tief); background: var(--rose); }
.termin--ferien { border-style: dashed; border-color: var(--grau); background: transparent; }

.kurse { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.kurse h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 780; font-stretch: 118%; }
.kurse__hinweis { margin-top: .35rem; color: var(--grau); font-size: .95rem; }
.kurse__liste { margin-top: 1rem; border-top: 2px solid var(--tinte); }
.kurse__liste li { display: grid; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid #E6D3D9; }
.kurse__datum { font-family: var(--display); font-weight: 760; font-stretch: 112%; font-size: 1.15rem; }
.kurse__frei { color: var(--himbeere); font-weight: 700; }

/* Kostenrechner */
.abschnitt--rechner {
  max-width: none; background: var(--tinte); color: var(--weiss);
  margin-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(4rem, 9vw, 6rem);
}
.abschnitt--rechner > * { max-width: calc(var(--breite) - 2 * var(--rand)); margin-left: auto; margin-right: auto; }
.abschnitt--rechner .abschnitt__kopf p { color: #D3D6EA; }
.abschnitt--rechner :focus-visible { outline-color: var(--rose); }

.rechner {
  display: grid; gap: 2rem;
  background: #1F2C5E; border-radius: 24px; padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid #34417A;
}
.wahl { border: 0; margin: 0; padding: 0; min-width: 0; }
.wahl legend, .regler label {
  font-family: var(--display); font-weight: 720; font-stretch: 112%; font-size: 1.1rem; padding: 0; margin-bottom: .8rem;
}
.wahl__liste { display: flex; flex-wrap: wrap; gap: .5rem; }
.wahl label { position: relative; cursor: pointer; }
.wahl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wahl span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 3.2rem; min-height: 48px; padding: .4rem .75rem; border-radius: 999px;
  border: 2px solid #5B679C; color: var(--weiss);
  font-family: var(--display); font-weight: 800; font-stretch: 120%; font-size: 1.05rem;
  transition: background-color .15s, color .15s, border-color .15s;
}
.wahl label:hover span { border-color: var(--rose); }
.wahl input:checked + span { background: var(--rose); color: var(--tinte); border-color: var(--rose); }
.wahl input:focus-visible + span { outline: 3px solid var(--rose); outline-offset: 3px; }

.regler { margin-top: 2rem; }
.regler label { display: block; margin-bottom: .25rem; }
.regler__wert { font-size: 1.1rem; color: #D3D6EA; }
.regler__wert output { font-family: var(--display); font-weight: 820; font-stretch: 120%; font-size: 2.4rem; color: var(--weiss); font-variant-numeric: tabular-nums; margin-right: .2rem; }
.regler__hinweis { margin-top: .75rem; color: #D3D6EA; font-size: .975rem; }

input[type="range"] {
  --lo: 25%; --hi: 62.5%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 48px; margin: .5rem 0 0; background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 12px; border-radius: 999px;
  background: linear-gradient(to right, #3A4783 var(--lo), #8A6080 var(--lo), #8A6080 var(--hi), #3A4783 var(--hi));
}
input[type="range"]::-moz-range-track {
  height: 12px; border-radius: 999px;
  background: linear-gradient(to right, #3A4783 var(--lo), #8A6080 var(--lo), #8A6080 var(--hi), #3A4783 var(--hi));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 34px; height: 34px; margin-top: -11px; border-radius: 50%;
  background: var(--weiss); border: 6px solid var(--himbeere);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--weiss); border: 6px solid var(--himbeere);
}
input[type="range"]:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }

.rechner__ergebnis { border-top: 1px solid #34417A; padding-top: 1.75rem; }
.summe__titel { font-family: var(--display); font-weight: 720; font-stretch: 112%; font-size: 1.1rem; }
.summe {
  font-family: var(--display); font-weight: 850; font-stretch: 125%;
  font-size: clamp(3rem, 13vw, 5.2rem); line-height: 1; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; margin-top: .4rem; color: var(--weiss);
  transform-origin: left center; white-space: nowrap;
}
.summe__eur { font-size: .5em; letter-spacing: 0; }
.summe__ca { font-size: .38em; font-weight: 700; letter-spacing: 0; color: var(--rose); vertical-align: .9em; }
.summe__hinweis { margin-top: .75rem; color: #D3D6EA; font-size: .95rem; max-width: 32em; }

.balken { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin: 1.5rem 0 1rem; background: #34417A; gap: 2px; }
.balken__teil { display: block; height: 100%; width: 25%; transition: width .35s cubic-bezier(.3, .7, .3, 1); }
.balken__teil--grund, .posten__zeile--grund dt::before { background: var(--rose); }
.balken__teil--uebung, .posten__zeile--uebung dt::before { background: var(--weiss); }
.balken__teil--sonder, .posten__zeile--sonder dt::before { background: #F06A93; }
.balken__teil--pruefung, .posten__zeile--pruefung dt::before { background: #8D97D6; }

.posten { margin: 0; }
.posten__zeile { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid #34417A; }
.posten dt { display: flex; gap: .6rem; align-items: baseline; color: #E6E8F4; }
.posten dt::before { content: ""; flex: none; width: .7rem; height: .7rem; border-radius: 50%; transform: translateY(.05rem); }
.posten dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.posten__zeile--leer { opacity: .5; }

@media (prefers-reduced-motion: no-preference) {
  .summe--neu { animation: ruck .3s ease-out; }
}
@keyframes ruck { 0% { transform: scale(1.035); color: var(--rose); } 100% { transform: scale(1); } }

/* Preistabelle */
.preise { margin-top: clamp(3rem, 6vw, 4.5rem); }
.preise h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 760; font-stretch: 118%; }
.preise__hinweis { margin-top: .6rem; color: #D3D6EA; font-size: .975rem; max-width: 46em; }
.tabelle-rahmen { margin: 1.25rem 0; }
.preistabelle { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.preistabelle thead { display: none; }
.preistabelle tr { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1rem; padding: 1rem 0; border-bottom: 1px solid #34417A; }
.preistabelle tbody th {
  grid-column: 1 / -1; text-align: left;
  font-family: var(--display); font-weight: 850; font-stretch: 125%; font-size: 1.5rem; color: var(--rose);
}
.preistabelle td { display: flex; justify-content: space-between; gap: .5rem; font-weight: 700; }
.preistabelle td::before { content: attr(data-l); font-weight: 400; color: #C4C8E2; font-size: .9rem; }

/* Team: typografisch, ohne Porträts */
.team { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--tinte); }
.person { padding: 1.4rem 0; border-bottom: 1px solid #E6D3D9; }
.person h3 { font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 820; font-stretch: 125%; letter-spacing: -.02em; }
.person__klassen { margin-top: .35rem; font-family: var(--display); font-weight: 760; font-stretch: 115%; color: var(--himbeere); }
.person p:last-child { margin-top: .5rem; max-width: 30em; }

/* Stimmen */
.stimmen { display: grid; gap: 1rem; }
.stimme { background: var(--weiss); border: 1px solid #E6D3D9; border-radius: 18px; padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .8rem; }
.stimme__marke { align-self: flex-start; font-size: .85rem; font-weight: 700; color: var(--grau); border: 1.5px dashed #B9A3AE; border-radius: 999px; padding: .1rem .7rem; }
.stimme blockquote { margin: 0; flex: 1; }
.stimme blockquote p { font-size: 1.1rem; line-height: 1.5; }
.stimme__wer { font-weight: 700; font-size: .95rem; }

/* Fragen */
.fragen { border-top: 2px solid var(--tinte); }
.fragen details { border-bottom: 1px solid #E6D3D9; }
.fragen summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.1rem 3rem 1.1rem 0;
  font-family: var(--display); font-weight: 720; font-stretch: 108%; font-size: 1.15rem; line-height: 1.3;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: ""; position: absolute; right: .3rem; top: 50%; width: 1.9rem; height: 1.9rem; margin-top: -.95rem;
  border-radius: 50%; background: var(--rose) url("../img/plus.svg") center / 60% no-repeat;
  transition: transform .2s ease, background-color .2s;
}
.fragen details[open] summary::after { transform: rotate(45deg); background-color: var(--rose-tief); }
.fragen summary:hover { color: var(--himbeere); }
.fragen details p { padding: 0 0 1.4rem; max-width: 40em; }

/* Anmelden */
.anmelden { background: var(--himbeere); color: var(--weiss); margin-top: clamp(4rem, 9vw, 7rem); }
.anmelden__innen { max-width: var(--breite); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) var(--rand); display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
.anmelden__info :focus-visible { outline-color: var(--weiss); }
.anmelden__lead { margin-top: .9rem; font-size: 1.15rem; max-width: 30em; }
.liste__titel { margin-top: 2rem; font-size: 1.3rem; font-weight: 780; font-stretch: 118%; }
.liste { margin-top: .8rem; display: grid; gap: .55rem; }
.liste li { position: relative; padding-left: 2rem; }
.liste li::before {
  content: ""; position: absolute; left: 0; top: .3rem; width: 1.15rem; height: 1.15rem;
  border: 2px solid var(--weiss); border-radius: 5px;
}
.liste li::after {
  content: ""; position: absolute; left: .38rem; top: .45rem; width: .4rem; height: .7rem;
  border: solid var(--weiss); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.anmelden__kontakt { margin-top: 2rem; max-width: 30em; }
.anmelden__kontakt a { font-weight: 700; text-underline-offset: 3px; }

.formular {
  background: var(--weiss); color: var(--tinte); border-radius: 22px;
  padding: clamp(1.25rem, 4vw, 2.25rem); display: grid; gap: 1.1rem; align-content: start;
  box-shadow: 0 24px 50px rgba(80, 6, 30, .3);
}
.wahl--formular legend { font-family: var(--display); font-weight: 720; font-stretch: 112%; font-size: 1.05rem; margin-bottom: .6rem; padding: 0; }
.wahl--formular span { border-color: #C9CDE0; color: var(--tinte); min-height: 44px; min-width: 3rem; font-size: 1rem; }
.wahl--formular label:hover span { border-color: var(--tinte); }
.wahl--formular input:checked + span { background: var(--tinte); color: var(--weiss); border-color: var(--tinte); }
.wahl--formular input:focus-visible + span { outline-color: var(--himbeere); }
.feld { display: grid; gap: .35rem; min-width: 0; }
.feld label { font-weight: 700; font-size: .975rem; }
.feld__opt { font-weight: 400; color: var(--grau); }
.feld input, .feld select, .feld textarea {
  font: inherit; font-size: 1rem; color: var(--tinte); width: 100%; min-width: 0;
  min-height: 48px; padding: .6rem .8rem; border: 2px solid #C9CDE0; border-radius: 10px; background: var(--weiss);
}
.feld textarea { resize: vertical; min-height: 5.5rem; }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { border-color: var(--tinte); outline: 3px solid var(--himbeere); outline-offset: 1px; }
.feld-reihe { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
.formular .knopf { justify-self: start; cursor: pointer; }
.formular .knopf:disabled { background: var(--tinte); border-color: var(--tinte); cursor: default; }
.formular__status:empty { display: none; }
.formular__status { padding: .9rem 1rem; border-radius: 12px; background: var(--rose); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .formular__status.ist-sichtbar { animation: auf .35s ease-out; }
}
@keyframes auf { from { opacity: 0; transform: translateY(-4px); } }

/* Fuß */
.fuss__innen {
  max-width: var(--breite); margin: 0 auto; padding: 2.5rem var(--rand) 3rem;
  display: grid; gap: .5rem; color: var(--grau);
}
.marke--fuss { color: var(--tinte); }
.marke--fuss img { width: 32px; height: 32px; }
.fuss a { color: var(--tinte); font-weight: 700; }
.fuss__klein { display: block; font-size: .875rem; }
.fuss__fotos { font-size: .875rem; }

/* Handy: Menü einklappen */
@media (max-width: 879px) {
  .kopf .knopf--klein { min-height: 42px; padding: .3rem .8rem; font-size: .875rem; }
  .marke { gap: .45rem; min-width: 0; }
  .marke__name { font-size: 1.02rem; }
  .marke img { width: 30px; height: 30px; }
  .menu-knopf { padding: .3rem .7rem; font-size: .9rem; min-height: 42px; }
  .kopf__innen { gap: .6rem; }
  .menu-knopf { order: 3; }
  .nav { flex-basis: 100%; }
  .nav ul { flex-wrap: wrap; }
  .js .menu-knopf { display: inline-block; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--papier); border-bottom: 2px solid var(--tinte); }
  .js .nav.ist-offen { display: block; }
  .js .nav ul { flex-direction: column; padding: .5rem var(--rand) 1rem; }
  .js .nav a { padding: .8rem .2rem; font-size: 1.1rem; border-bottom: 1px solid #EBDDE1; border-radius: 0; }
}

/* Ab Tablet */
@media (min-width: 640px) {
  .fakten { grid-template-columns: repeat(3, 1fr); }
  .fakten li { padding: 1.1rem 1.25rem 1.1rem 0; border-bottom: 0; }
  .fakten li + li { padding-left: 1.25rem; border-left: 1px solid #E6D3D9; }
  .klasse { grid-template-columns: 8.5rem 1fr 10rem; gap: 1.5rem; padding: 1.5rem 0; }
  .klasse__kz { font-size: 3rem; }
  .klasse__info { grid-column: auto; }
  .klasse__alter { grid-row: auto; grid-column: auto; }
  .tag { grid-template-columns: 1fr; gap: .5rem; }
  .woche { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .tag__name { padding-top: 0; }
  .termin { min-height: 7.5rem; }
  .team { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .stimmen { grid-template-columns: repeat(3, 1fr); }
  .feld-reihe { grid-template-columns: 1fr 1fr; }
  .kurse__liste li { grid-template-columns: 15rem 1fr auto; gap: 1.5rem; align-items: baseline; }
  .preistabelle tr { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 880px) {
  .held { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; column-gap: clamp(2.5rem, 4vw, 4rem); padding-top: clamp(2.5rem, 4vw, 3.5rem); }
  .held h1 { font-size: clamp(4rem, 5.6vw, 5.4rem); max-width: 10ch; }
  .held__bild { order: 0; margin: 0 calc(var(--rand) * -1 - max(0px, (100vw - var(--breite)) / 2)) 0 0; }
  .held__bild > img { height: min(76vh, 620px); min-height: 460px; border-radius: 28px 0 0 28px; object-position: 30% 45%; }
  .held__karte { left: -3.5rem; right: auto; bottom: -2rem; width: 250px; }
  .gruppe { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: start; }
  .gruppe--zweirad { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .gruppe--zweirad .gruppe__bild { order: 2; }
  .klasse { grid-template-columns: 6.5rem minmax(0, 1fr) 8.5rem; gap: 1.25rem; }
  .gruppe__bild { position: sticky; top: 110px; }
  .gruppe__bild img { aspect-ratio: 4 / 5; }
  .gruppe--zweirad .gruppe__bild img { object-position: 64% 50%; }
  .ablauf__bild img { aspect-ratio: 21 / 9; object-position: 50% 55%; }
  .anmelden__innen { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 4rem; align-items: start; }
  .ablauf { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 2rem; }
  .ablauf li { padding: 3.5rem 0 0; }
  .ablauf li::before { top: 0; }
  .ablauf li::after {
    left: 3rem; right: -1.6rem; top: 1.2rem; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(to right, var(--tinte) 0 8px, transparent 8px 14px);
  }
  .ablauf li:nth-child(4)::after { display: none; }
  .rechner { grid-template-columns: 1fr 1.05fr; gap: 3rem; }
  .rechner__ergebnis { border-top: 0; padding-top: 0; border-left: 1px solid #34417A; padding-left: 3rem; }
  .regler { margin-top: 2.5rem; }
  .team { grid-template-columns: repeat(4, 1fr); column-gap: 2rem; }
  .abschnitt--fragen { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
  .abschnitt--fragen .abschnitt__kopf { position: sticky; top: 110px; }
  .preistabelle thead { display: table-header-group; }
  .preistabelle tr { display: table-row; padding: 0; }
  .preistabelle th, .preistabelle td { display: table-cell; padding: .85rem 1rem .85rem 0; border-bottom: 1px solid #34417A; text-align: right; }
  .preistabelle thead th { font-weight: 400; color: #C4C8E2; font-size: .9rem; vertical-align: bottom; line-height: 1.3; }
  .preistabelle th:first-child { text-align: left; }
  .preistabelle tbody th { font-size: 1.35rem; }
  .preistabelle td::before { content: none; }
  .preistabelle tr > :last-child { padding-right: 0; }
  .fuss__innen { grid-template-columns: auto 1fr auto auto; align-items: center; gap: 2rem; }
  .fuss__klein { display: inline; margin-left: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

@media (max-width: 374px) {
  .marke img { display: none; }
}
