/* FoxCave - Kundenseite: gemeinsame Bausteine (Präfix k-). Kommt nach fox.css und start.css auf jeder Seite (base.html).
   Gleiche Tokens wie der Händlerbereich (fox.css: --abstand-*, --r-*, --text-*), großzügiger und bildhafter.
   Seiten-eigenes steht in kunde-liste.css, start.css, kunde-produkt.css, foxbox.css. */

:root {
  --k-display: clamp(2.5rem, 3vw + 1.4rem, 4.25rem);
  --k-h1: clamp(2rem, 1.6vw + 1.4rem, 3rem);
  --k-h2: clamp(1.5rem, 1vw + 1.15rem, 2.125rem);
  --k-preis-xl: clamp(2.25rem, 1.8vw + 1.6rem, 3.25rem);
  --k-preis-l: 1.75rem;
  --k-preis-m: 1.375rem;
  --k-sektion: clamp(3rem, 6vw, 6rem);
  --k-luft: clamp(1.5rem, 3vw, 2.5rem);
  --k-r-gross: 1.25rem;
}

/* fox.css setzt display auf .hinweis, .leer, .knopf: hidden muss trotzdem verstecken. */
[hidden] { display: none !important; }

/* Abschnittstitel in gemischter Schreibung, Versalien nur für H1 (S5). Nicht im Händlerbereich, nicht im Fuß. */
body.k main h2:not(.hb *) {
  font-family: var(--display); font-size: var(--k-h2); font-weight: 700; line-height: 1.08;
  text-transform: none; letter-spacing: -0.005em;
}
.k-h1 {
  margin: 0 0 var(--abstand-2); font-family: var(--display); font-size: var(--k-h1); font-weight: 800; line-height: 1.02;
  letter-spacing: 0; text-transform: uppercase;
}
html.k-gesperrt { overflow: hidden; }

/* ---------- Bild: ein Rahmen für alle Kundenseiten ---------- */
.k-bild {
  position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 3;
  border-radius: var(--r-feld); isolation: isolate; color: var(--tinte-2);
  background: radial-gradient(120% 90% at 50% 0%, #fff 0, var(--flaeche) 72%);
}
.k-bild--gross { border-radius: var(--k-r-gross); }
.k-bild--mini { flex: none; width: 3.5rem; aspect-ratio: 1; }
.k-bild--kopf { flex: none; width: 5.5rem; aspect-ratio: 1; border-radius: var(--r-karte); }
/* Mit Foto: freigestellte Produktfotos auf weißem Grund */
.k-bild--foto { background: #fff; }
.k-bild--foto img {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 8%; object-fit: contain; mix-blend-mode: multiply;
  transition: scale 0.5s var(--ease-raus);
}
/* Ohne Foto: Studio-Kachel mit Kategorie-Icon, Bodenschatten und Marke */
.k-bild__icon { grid-area: 1 / 1; width: 30%; margin-top: -6%; transition: translate 0.5s var(--ease-raus); }
.k-bild__icon .icon { width: 100%; height: auto; aspect-ratio: 1; stroke-width: 1.1; color: var(--tinte-2); }
.k-bild:not(.k-bild--foto)::after {
  content: ""; grid-area: 1 / 1; z-index: -1; width: 46%; height: 6%; margin-top: 12.5%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(12, 28, 48, 0.1), transparent);
}
/* Ohne Foto, mit Marke: die Marke als Schriftbild, das Kategorie-Icon klein in der Ecke */
.k-bild--wort { container-type: inline-size; background: linear-gradient(160deg, #f7faff 0%, #e6eef8 100%); }
.k-bild--wort::after { display: none; }
.k-bild__wort {
  grid-area: 1 / 1; max-width: 84%; font-family: var(--display); font-size: 19cqi; font-weight: 800; line-height: 1.04;
  letter-spacing: 0.01em; text-align: center; text-transform: uppercase; overflow-wrap: anywhere; hyphens: manual; color: var(--tinte);
  transition: translate 0.5s var(--ease-raus);
}
.k-bild__wort--mittel { font-size: 14cqi; }
.k-bild__wort--lang { font-size: 10cqi; }
.k-bild__symbol { position: absolute; left: 7%; top: 8%; width: max(1.25rem, 8cqi); color: var(--blau); }
.k-bild__symbol .icon { width: 100%; height: auto; aspect-ratio: 1; stroke-width: 1.5; }
.k-karte:hover .k-bild__icon, .k-karte:hover .k-bild__wort { translate: 0 -3px; }
.k-karte:hover .k-bild--foto img { scale: 1.03; }

/* ---------- Preis ---------- */
.k-preis { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--tinte); }
.k-preis--karte { font-size: var(--k-preis-l); }
.k-preis--l { font-size: var(--k-preis-l); }
.k-preis--gross { font-size: var(--k-preis-xl); line-height: 1; }
.k-preis__ab { font-family: var(--schrift); font-size: 0.5em; font-weight: 500; color: var(--tinte-3); }
.k-preis__zusatz { margin: var(--abstand-1) 0 0; font-size: var(--text-s); color: var(--tinte-2); }

/* ---------- Versprechen: Lieferung oder Abholung aus echten Händlerdaten ---------- */
.k-versprechen { display: flex; align-items: flex-start; gap: var(--abstand-2); margin: 0; font-size: var(--text-s); line-height: 1.4; color: var(--tinte); }
.k-versprechen > .icon { flex: none; margin-top: 0.1em; color: var(--tinte-2); }
.k-versprechen strong { font-weight: 600; }
.k-versprechen__zusatz { color: var(--tinte-3); }
.k-versprechen--heute, .k-versprechen--heute > .icon { color: var(--erfolg); }
.k-versprechen--heute .k-versprechen__zusatz { color: var(--tinte-3); }
.k-versprechen--kurz { display: -webkit-box; overflow: hidden; min-height: 2.6em; font-size: var(--text-xs); line-height: 1.3; color: var(--tinte-2); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
@media (max-width: 47.99rem) { .k-versprechen--kurz { display: block; min-height: 0; text-overflow: ellipsis; white-space: nowrap; } }

/* ---------- Produktkarte ---------- */
.k-karte {
  position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; padding: 0; overflow: hidden;
  border-radius: var(--r-karte); background: #fff; box-shadow: 0 0 0 1px var(--linie), var(--schatten-1);
  transition: translate 0.3s var(--ease-raus), box-shadow 0.3s var(--ease-raus);
}
.k-karte:hover { translate: 0 -3px; box-shadow: 0 0 0 1px var(--linie-2), var(--schatten-2); }
.k-karte:has(a:focus-visible) { outline: 3px solid var(--blau); outline-offset: 3px; }
.k-karte > .k-bild { border-radius: 0; }
.k-karte__inhalt { display: flex; flex-direction: column; gap: var(--abstand-1); min-width: 0; padding: var(--abstand-3) var(--abstand-4) var(--abstand-4); }
.k-karte__inhalt > * { margin: 0; }
.k-karte__marke { font-size: var(--text-xs); font-weight: 500; color: var(--tinte-3); }
.k-karte__titel {
  display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-height: calc(2 * 1.3em);
  font-size: var(--text-m); font-weight: 600; line-height: 1.3; hyphens: manual;
}
.k-karte__titel a { color: var(--tinte); text-decoration: none; }
.k-karte__titel a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.k-karte__titel a:focus-visible { outline: none; }
.k-karte .k-preis--karte { padding-top: var(--abstand-2); }
.k-karte__haendler { overflow: hidden; font-size: var(--text-xs); color: var(--tinte-2); text-overflow: ellipsis; white-space: nowrap; }
.k-karte__kein { margin-top: auto !important; padding-top: var(--abstand-2); font-size: var(--text-s); font-weight: 500; color: var(--tinte-3); }
.k-karte .marke--demo { position: absolute; top: 1rem; left: 1rem; z-index: 2; }
/* Merken-Herz oben rechts im Bild, über dem Titel-Link */
.k-karte__merken { position: absolute; top: 0.875rem; right: 0.875rem; z-index: 2; margin: 0; }
.k-karte__merken > button, a.k-karte__merken {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: -0.25rem; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--tinte-2); cursor: pointer; text-decoration: none;
}
.k-karte__merken > button::before, a.k-karte__merken::before {
  content: ""; position: absolute; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px var(--linie), 0 1px 3px rgba(12, 28, 48, 0.12); transition: scale 0.2s var(--ease-raus);
}
.k-karte__merken .icon { position: relative; width: 1.25rem; height: 1.25rem; }
.k-karte__merken > button:hover::before, a.k-karte__merken:hover::before { scale: 1.08; }
.k-karte__merken > button:active::before { scale: 0.94; }
.k-karte__merken [aria-pressed="true"] { color: var(--blau); }
.k-karte__merken [aria-pressed="true"] .icon { fill: currentColor; }

/* ---------- Token: Fuchs im Kreis ---------- */
.k-token {
  --k-token: 2.5rem;
  display: inline-grid; place-items: center; flex: none; width: var(--k-token); height: var(--k-token); border-radius: 50%;
  background: var(--flaeche-2); color: var(--tinte);
  transition: background-color 0.3s var(--ease-raus), color 0.3s var(--ease-raus), transform 0.45s var(--ease-raus);
}
.k-token .icon { width: 58%; height: 58%; stroke-width: 1.5; }
.k-token.ist-vorne { background: var(--blau); color: #fff; }

/* ---------- Schrittanzeige ---------- */
.k-schritte { display: flex; align-items: center; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: schritt; }
.k-schritte__schritt { position: relative; display: flex; align-items: center; gap: var(--abstand-2); font-size: var(--text-s); color: var(--tinte-3); }
.k-schritte__schritt + .k-schritte__schritt { flex: 1; }
.k-schritte__schritt + .k-schritte__schritt::before {
  content: ""; flex: 1; min-width: var(--abstand-4); height: 2px; margin-inline: var(--abstand-3); border-radius: 2px; background: var(--linie-2);
}
.k-schritte__schritt.ist-fertig + .k-schritte__schritt::before, .k-schritte__schritt.ist-jetzt::before { background: var(--blau); }
.k-schritte__punkt {
  display: inline-grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 2px var(--linie-2); font-size: var(--text-xs); font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color 0.3s var(--ease-raus), box-shadow 0.3s var(--ease-raus);
}
.k-schritte__punkt .icon { width: 1rem; height: 1rem; stroke-width: 2.25; }
.k-schritte__name { white-space: nowrap; }
.ist-fertig .k-schritte__punkt { background: var(--blau); box-shadow: none; color: #fff; }
.ist-fertig .k-schritte__name { color: var(--tinte-2); }
.ist-jetzt .k-schritte__punkt { background: #fff; box-shadow: inset 0 0 0 2px var(--blau), 0 0 0 4px rgba(24, 110, 185, 0.14); color: var(--blau-tief); }
.ist-jetzt .k-schritte__name { font-weight: 600; color: var(--tinte); }
@media (max-width: 39.99rem) {
  .k-schritte__schritt:not(.ist-jetzt) .k-schritte__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .k-schritte__schritt + .k-schritte__schritt::before { margin-inline: var(--abstand-2); }
}

/* ---------- Vertrauenszeile: nur wahre Sätze ---------- */
.k-vertrauen { display: flex; flex-wrap: wrap; gap: var(--abstand-2) var(--abstand-5); margin: 0; padding: 0; list-style: none; font-size: var(--text-s); font-weight: 500; color: var(--tinte-2); }
.k-vertrauen li { display: inline-flex; align-items: center; gap: var(--abstand-2); }
.k-vertrauen .icon { color: var(--blau); }
.k-vertrauen--hell { color: #dfe6ee; }
.k-vertrauen--hell .icon { color: var(--blau-hell); }

/* ---------- Nachrechnen-Zeile: Preis mit Quelle und Stand ---------- */
.k-vergleich { display: grid; gap: var(--abstand-1); margin: 0; }
.k-vergleich > * { margin: 0; }
.k-vergleich__satz { font-size: var(--text-s); color: var(--tinte); }
.k-vergleich__satz strong { font-weight: 600; color: var(--erfolg); }
.k-vergleich__quelle { font-size: var(--text-xs); color: var(--tinte-3); }
.k-vergleich__skala { position: relative; display: grid; gap: 0.25rem; margin-top: var(--abstand-2); }
.k-vergleich__enden { display: flex; justify-content: space-between; gap: var(--abstand-3); font-size: var(--text-xs); color: var(--tinte-2); font-variant-numeric: tabular-nums; }
.k-vergleich__balken { display: block; height: 0.375rem; border-radius: var(--r-pill); }
.k-vergleich__balken--markt { width: 100%; background: var(--flaeche-2); }
.k-vergleich__balken--angebot { width: 100%; background: var(--blau); }

/* ---------- Gültigkeit mit Countdown ---------- */
.k-frist { display: inline-flex; align-items: center; gap: var(--abstand-2); margin: 0; font-size: var(--text-s); color: var(--tinte-2); font-variant-numeric: tabular-nums; }
.k-frist strong { font-weight: 600; color: var(--tinte); }

/* ---------- Knopf: Sofort kaufen (Tinte, 56 px) ---------- */
.k-knopf--sofort { min-height: 3.5rem; background: var(--tinte); color: #fff; }
.k-knopf--sofort:hover { background: #26303c; color: #fff; }
.knopf--klein.k-knopf--sofort { min-height: 44px; }

/* ---------- Kaufleiste: klebt am Handy unten, wenn der Kaufkasten aus dem Bild ist ---------- */
.k-kaufleiste {
  position: fixed; inset: auto 0 0; z-index: 30; display: flex; align-items: center; gap: var(--abstand-2);
  padding: var(--abstand-3) var(--rand) calc(var(--abstand-3) + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96); box-shadow: 0 -1px 0 var(--linie), 0 -12px 28px -12px rgba(12, 28, 48, 0.18);
  transform: translateY(100%); transition: transform 0.3s var(--ease-raus);
}
.k-kaufleiste.ist-sichtbar { transform: none; }
.k-kaufleiste__preis { display: grid; margin: 0 auto 0 0; line-height: 1.15; }
.k-kaufleiste__preis strong { font-family: var(--display); font-size: var(--k-preis-m); font-weight: 700; font-variant-numeric: tabular-nums; }
.k-kaufleiste__preis span { font-size: var(--text-xs); color: var(--tinte-3); }
.k-kaufleiste .knopf { flex: none; padding-inline: var(--abstand-4); }
@media (min-width: 56rem) { .k-kaufleiste { display: none !important; } }
body.hat-kaufleiste main { padding-bottom: 5rem; }

/* ---------- Bühne: So bieten die Füchse (Mini-Simulation mit Beispielwerten) ---------- */
.k-buehne {
  --k-token: 2.5rem; --k-name: 4.5rem; --k-pill: 6.5rem;
  margin: 0; padding: clamp(1.25rem, 3vw, 2.5rem); border-radius: var(--k-r-gross); color: #fff;
  background: radial-gradient(60% 80% at 100% 0%, rgba(24, 110, 185, 0.3), transparent 70%), var(--tinte);
}
.k-buehne__titel { margin: 0 0 var(--abstand-5); font-size: var(--text-s); font-weight: 500; color: #c9d2de; }
.k-buehne__innen { display: grid; gap: var(--abstand-5); align-items: start; }
@media (min-width: 56rem) { .k-buehne__innen { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: stretch; } .k-buehne__phasen { grid-auto-rows: 1fr; } }
.k-buehne__phasen { display: grid; gap: var(--abstand-2); margin: 0; padding: 0; list-style: none; }
.k-buehne__phasen li { display: grid; margin: 0; }
.k-buehne__phase, .k-buehne__satz {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--abstand-1) var(--abstand-3);
  padding: var(--abstand-4); border: 0; border-radius: var(--r-karte); text-align: left;
  background: rgba(255, 255, 255, 0.04); color: #c9d2de; font: inherit; font-size: var(--text-s); line-height: 1.45;
}
.k-buehne__phase > :nth-child(1), .k-buehne__satz > :nth-child(1) { grid-row: span 2; }
.k-buehne__phase strong, .k-buehne__satz strong { font-size: var(--text-m); font-weight: 600; color: #fff; }
.k-buehne__phase { align-content: start; cursor: pointer; min-height: 44px; transition: background-color 0.25s var(--ease-raus), box-shadow 0.25s var(--ease-raus); }
.k-buehne__phase:hover { background: rgba(255, 255, 255, 0.08); }
.k-buehne__phase:focus-visible { outline: 3px solid var(--blau-hell); outline-offset: 2px; }
.k-buehne__phase.ist-aktiv, .k-buehne__phase[aria-pressed="true"] { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1.5px var(--blau-hell); }
.k-buehne__phase:not(.ist-aktiv):not([aria-pressed="true"]) .schritt-nr { background: rgba(255, 255, 255, 0.16); }
.k-buehne.ist-js .k-buehne__satz { display: none; }
.k-buehne__aktivtext { display: none; margin: 0; font-size: var(--text-s); line-height: 1.5; color: #c9d2de; }

.k-buehne__feld { padding: var(--abstand-4) var(--abstand-5) var(--abstand-5); border-radius: var(--r-karte); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.k-buehne__deckel { margin: 0 0 var(--abstand-2); padding-left: calc(var(--k-name) + var(--abstand-3)); font-size: var(--text-xs); font-weight: 600; color: var(--blau-hell); font-variant-numeric: tabular-nums; }
.k-buehne__bahnen { margin: 0; padding: 0; list-style: none; }
.k-buehne__bahn {
  display: grid; grid-template-columns: var(--k-name) minmax(0, 1fr) var(--k-pill); align-items: center; gap: var(--abstand-3);
  margin: 0; padding-block: 0.75rem; border-radius: var(--r-feld); transition: background-color 0.45s var(--ease-raus);
}
.k-buehne__bahn + .k-buehne__bahn { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.k-buehne__name { font-size: var(--text-xs); font-weight: 600; color: #dfe6ee; white-space: nowrap; }
.k-buehne__bahn .pill { justify-self: end; transition: background-color 0.3s var(--ease-raus), color 0.3s var(--ease-raus); }
.k-buehne__bahn .pill--aus { background: rgba(255, 255, 255, 0.1); color: #c9d2de; }
.k-buehne__bahn .pill--neu { background: var(--blau); color: #fff; }
.k-buehne__spur { position: relative; display: block; height: var(--k-token); container-type: inline-size; }
/* Marktpreis: senkrechte Linie am Anfang jeder Bahn, zusammen ein durchgehender Deckel */
.k-buehne__spur::before {
  content: ""; position: absolute; top: -0.75rem; bottom: -0.75rem; left: calc(var(--k-token) / 2);
  border-left: 1.5px solid var(--blau-hell);
}
.k-buehne__bahn:first-child .k-buehne__spur::before { top: -0.5rem; }
.k-buehne__bahn:last-child .k-buehne__spur::before { bottom: -0.5rem; }
.k-buehne__spur .k-token { --k-stufe: calc((100cqw - var(--k-token)) / 6); position: absolute; top: 0; left: 0; transform: translateX(calc(var(--n, 0) * var(--k-stufe))); }
.k-token[data-stufe="1"] { --n: 1; } .k-token[data-stufe="2"] { --n: 2; } .k-token[data-stufe="3"] { --n: 3; }
.k-token[data-stufe="4"] { --n: 4; } .k-token[data-stufe="5"] { --n: 5; } .k-token[data-stufe="6"] { --n: 6; }
/* Grenze: gestrichelte Marke, nur der Händler kennt sie */
.k-buehne__grenze {
  --k-stufe: calc((100cqw - var(--k-token)) / 6);
  position: absolute; top: -0.25rem; bottom: -0.4rem; left: calc(var(--k-token) / 2 + var(--g, 0) * var(--k-stufe));
  display: flex; align-items: flex-end; padding-left: 0.4rem; border-left: 1.5px dashed rgba(255, 255, 255, 0.4);
  font-size: var(--text-xs); line-height: 1; color: #aab6c6; white-space: nowrap;
}
.k-buehne__grenze small { display: none; font-size: inherit; }
/* Ganz rechts steht die Beschriftung links von der Marke, damit sie nicht aus der Bahn läuft */
.k-buehne__bahn[data-grenze="6"] .k-buehne__grenze { translate: -100% 0; padding: 0 0.4rem 0 0; border-left: 0; border-right: 1.5px dashed rgba(255, 255, 255, 0.4); text-align: right; }
.k-buehne__bahn[data-grenze="1"] { --g: 1; } .k-buehne__bahn[data-grenze="2"] { --g: 2; } .k-buehne__bahn[data-grenze="3"] { --g: 3; }
.k-buehne__bahn[data-grenze="4"] { --g: 4; } .k-buehne__bahn[data-grenze="5"] { --g: 5; } .k-buehne__bahn[data-grenze="6"] { --g: 6; }
/* Phasen */
.k-buehne__feld[data-phase-aktiv="1"] .k-buehne__bahn:first-child .k-buehne__grenze { flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 0.2rem; }
.k-buehne__feld[data-phase-aktiv="1"] .k-buehne__bahn:first-child .k-buehne__grenze small { display: block; }
.k-buehne__feld[data-phase-aktiv="1"] .pill { visibility: hidden; }
.k-buehne__feld[data-phase-aktiv="3"] .k-buehne__bahn.ist-vorne { background: rgba(122, 184, 240, 0.12); }
.k-buehne__ergebnis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--abstand-3); margin-top: var(--abstand-4); transition: opacity 0.45s var(--ease-raus); }
.k-buehne__feld:not([data-phase-aktiv="3"]) .k-buehne__ergebnis { opacity: 0.4; }
.k-buehne__feld:not([data-phase-aktiv="3"]) .k-buehne__betrag { visibility: hidden; }
.k-buehne__option {
  display: grid; gap: var(--abstand-1); margin: 0; padding: var(--abstand-3) var(--abstand-4); border-radius: var(--r-karte);
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); font-size: var(--text-s); color: #dfe6ee;
}
.k-buehne__option strong { font-weight: 600; color: #fff; }
.k-buehne__betrag { font-family: var(--display); font-size: var(--k-preis-l); font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; color: #fff; }
@media (max-width: 55.99rem) {
  .k-buehne__phasen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .k-buehne__phase, .k-buehne__satz { grid-template-columns: minmax(0, 1fr); justify-items: start; padding: var(--abstand-3); }
  .k-buehne__phase > :nth-child(1), .k-buehne__satz > :nth-child(1) { grid-row: auto; }
  .k-buehne.ist-js .k-buehne__phase > :last-child { display: none; }
  .k-buehne.ist-js .k-buehne__aktivtext { display: block; margin-top: calc(var(--abstand-3) - var(--abstand-5)); }
  .k-buehne:not(.ist-js) .k-buehne__phasen { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 39.99rem) {
  .k-buehne { --k-token: 2rem; }
  .k-buehne__feld:not([data-phase-aktiv="1"]) .k-buehne__grenze { font-size: 0; }
  .k-buehne__phase strong { font-size: var(--text-s); line-height: 1.2; }
  .k-buehne__feld { padding: var(--abstand-3) var(--abstand-4) var(--abstand-4); }
  .k-buehne__deckel { padding-left: 0; }
  .k-buehne__bahn { grid-template-columns: minmax(0, 1fr) auto; row-gap: var(--abstand-2); padding-block: var(--abstand-3); }
  .k-buehne__bahn .k-buehne__name { grid-column: 1; grid-row: 1; }
  .k-buehne__bahn .pill { grid-column: 2; grid-row: 1; }
  .k-buehne__bahn .k-buehne__spur { grid-column: 1 / -1; grid-row: 2; }
  .k-buehne__spur::before, .k-buehne__bahn:first-child .k-buehne__spur::before, .k-buehne__bahn:last-child .k-buehne__spur::before { top: -0.25rem; bottom: -0.25rem; }
  .k-buehne__ergebnis { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .k-karte, .k-bild__icon, .k-bild--foto img, .k-token, .k-kaufleiste, .k-buehne__bahn, .k-buehne__phase, .k-buehne__ergebnis,
  .k-buehne__bahn .pill, .k-schritte__punkt, .k-karte__merken > button::before { transition: none; }
  .k-karte:hover { translate: none; }
  .k-karte:hover .k-bild__icon, .k-karte:hover .k-bild__wort { translate: none; }
  .k-karte:hover .k-bild--foto img { scale: none; }
}
