/* Info-Seiten von masterbach: Warum, So arbeitet, Anleitung, Verschenken (Neugestaltung 25.11.2026 nach
   docs/design-prompt-info-seiten.md). Gleiches Vokabular wie die Startseite: dunkle Bühne mit Glut, grosse Titel,
   Karten im Bento-Raster, nachgebaute Bedienelemente. Nur CSS; Bewegung nur ohne «Bewegung reduzieren». */
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/inter-600.woff2") format("woff2"); }

:root {
  --bg: #f5f4f0; --flaeche: #ffffff; --flaeche2: #eeece6; --text: #1c1b19; --text2: #5b5850; --linie: #dcd8ce;
  --akzent: #b8460b; --akzent-hover: #9a3a08; --akzent-zart: #fbe8dc; --akzent-auf: #ffffff;
  --gut: #177a3c; --gut-zart: #e3f3e8; --warn: #a35a00; --warn-zart: #fbefd9; --schlecht: #b42318; --schlecht-zart: #fbe4e1; --grau-zart: #ecebe6;
  --schatten: 0 1px 2px rgba(20, 18, 14, .05), 0 6px 24px rgba(20, 18, 14, .05);
  --buehne: #0d0b0a; --buehne-flaeche: #18130f; --buehne-text: #f6f0e8; --buehne-leise: #c3b8ab; --buehne-linie: rgba(255, 255, 255, .13);
  --glut: #fb8a46; --glut-hell: #ffc49e; --glut-tief: #b8460b;
  --grund: var(--bg); --bild-grau: #bcb6aa; --bild-zart: #e7e3d9; --bild-glut: #e0661f;
  --breite: 1040px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111; --flaeche: #1b1b1d; --flaeche2: #252528; --text: #f1efea; --text2: #aaa69d; --linie: #333337;
    --akzent: #fb8a46; --akzent-hover: #ffa36b; --akzent-zart: #3a2416; --akzent-auf: #1a0e05;
    --gut: #5ad48a; --gut-zart: #16291e; --warn: #f5b84a; --warn-zart: #30250f; --schlecht: #ff7b6e; --schlecht-zart: #351816; --grau-zart: #26262a;
    --schatten: none; --bild-grau: #66625b; --bild-zart: #2b2b2f; --bild-glut: #fb8a46;
  }
}
/* Auf der Bühne (Kopf und dunkle Abschnitte) gelten dunkle Werte, in Hell und Dunkel gleich */
.kopf, .buehne {
  --flaeche: rgba(255, 255, 255, .045); --flaeche2: rgba(255, 255, 255, .08); --text: var(--buehne-text); --text2: var(--buehne-leise);
  --linie: var(--buehne-linie); --akzent: var(--glut); --akzent-hover: var(--glut-hell); --akzent-zart: rgba(251, 138, 70, .16); --akzent-auf: #1a0e05;
  --gut: #5ad48a; --gut-zart: rgba(90, 212, 138, .14); --warn: #f5b84a; --warn-zart: rgba(245, 184, 74, .14); --schlecht: #ff7b6e; --schlecht-zart: rgba(255, 123, 110, .14);
  --schatten: none; --grund: var(--buehne); --bild-grau: rgba(255, 255, 255, .28); --bild-zart: rgba(255, 255, 255, .1); --bild-glut: var(--glut);
  color: var(--buehne-text); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; overflow-x: clip; }
a { color: var(--akzent); text-underline-offset: 2px; }
a:hover { color: var(--akzent-hover); }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; border-radius: 4px; }
.innen { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 16px; }
p { margin: 0; }
.sym { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------------------------------------------------------------- Kopf: Bühne mit Held */
.kopf { position: relative; isolation: isolate; padding: 14px 0 clamp(52px, 7vw, 104px);
  background: radial-gradient(50% 60% at 84% 30%, rgba(251, 138, 70, .24), transparent 70%),
    radial-gradient(45% 55% at 4% 100%, rgba(184, 70, 11, .32), transparent 70%), var(--buehne); }
.kopf-licht { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.kopf-licht .spektrum { position: absolute; left: 0; bottom: 0; width: 100%; height: 42%; opacity: .2;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 95%); mask-image: linear-gradient(to top, #000 10%, transparent 95%); }
.spektrum rect { fill: var(--glut); transform-box: fill-box; transform-origin: bottom; }
.kopf a:not(.knopf) { color: var(--glut-hell); }
.marke { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--buehne-text) !important; text-decoration: none; }
.marke-spur, .marke-bogen, .marke-welle { fill: none; stroke-linecap: round; }
.marke-spur { stroke: rgba(255, 255, 255, .16); stroke-width: 6; }
.marke-bogen { stroke: url(#marke-verlauf); stroke-width: 6; }
.marke-welle { stroke: var(--buehne-text); stroke-width: 5; }
.marke-verlauf-a { stop-color: #9a3a08; }
.marke-verlauf-b { stop-color: #d96d27; }
.marke-wort { font-family: "Inter", system-ui, sans-serif; font-weight: 600; font-size: 1.45rem; letter-spacing: -.035em; line-height: 1; }
.marke-wort b { font-weight: 600; color: var(--glut); }

.held { display: grid; gap: 40px; align-items: center; padding-top: clamp(28px, 5vw, 64px); }
.oberzeile { margin: 0 0 .9rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--akzent); }
.kopf .oberzeile, .buehne .oberzeile { color: var(--glut); }
.kopf h1 { margin: 0; font-size: clamp(2.15rem, 1rem + 4.4vw, 4.1rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; color: var(--buehne-text);
  text-wrap: balance; hyphens: manual; overflow-wrap: break-word; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .kopf h1 { background: linear-gradient(100deg, #fff 25%, var(--glut-hell) 62%, var(--glut) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.kopf .lead { margin: 1.15rem 0 0; max-width: 36rem; color: var(--buehne-leise); font-size: clamp(1.06rem, 1rem + .35vw, 1.24rem); line-height: 1.55; }
.held-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 1.5rem 0 0; padding: 0; }
.held-chips li { position: relative; padding: .38rem .85rem .38rem 1.8rem; border: 1px solid rgba(251, 138, 70, .5); border-radius: 999px;
  background: rgba(251, 138, 70, .1); color: var(--buehne-text); font-size: .9rem; font-weight: 650; line-height: 1.35; }
.held-chips li::before { content: ""; position: absolute; left: .8rem; top: .78em; width: 8px; height: 4px; border-left: 2px solid var(--glut); border-bottom: 2px solid var(--glut); transform: rotate(-45deg); }
.kopf-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 1.9rem 0 0; }
.held-bild { min-width: 0; }
.held-figur { margin: 0; }
.held-figur .bild { max-width: 460px; margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .35)); }
.kein-trenn { hyphens: none; white-space: nowrap; }
@media (min-width: 900px) {
  .held.mit-bild { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 56px; }
  .held.mit-bild h1 { font-size: clamp(2.6rem, 1rem + 3.2vw, 3.6rem); }
}

/* ---------------------------------------------------------------- Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; max-width: 100%; padding: .8rem 1.5rem; border: 0; border-radius: 14px;
  background: linear-gradient(135deg, #c24f14, var(--glut-tief) 55%, #8f3506); color: #fff !important; font-size: 1.15rem; font-weight: 750; line-height: 1.25;
  text-align: center; text-decoration: none; box-shadow: 0 14px 40px -14px rgba(184, 70, 11, .8); transition: transform .2s, box-shadow .2s, background-color .2s; }
.knopf:hover { box-shadow: 0 20px 50px -14px rgba(184, 70, 11, .95); }
.kopf .knopf, .buehne .knopf { background: linear-gradient(135deg, #ffd0ad, var(--glut) 45%, #e5641c); color: #1a0e05 !important; box-shadow: 0 16px 50px -12px rgba(251, 138, 70, .7); }
.knopf.neben { border: 1px solid var(--linie); background: var(--flaeche); color: var(--text) !important; box-shadow: none; font-size: 1.02rem; font-weight: 650; }
.kopf .knopf.neben, .buehne .knopf.neben { border-color: var(--buehne-linie); background: rgba(255, 255, 255, .04); color: var(--buehne-text) !important; box-shadow: none; }
.knopf.neben:hover { border-color: var(--akzent); color: var(--akzent) !important; }
.kopf .knopf.neben:hover, .buehne .knopf.neben:hover { border-color: var(--glut); color: var(--glut-hell) !important; }
.knopf .sym { width: 20px; height: 20px; flex: none; }
.knopf:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .knopf:hover { transform: translateY(-2px); } }

/* ---------------------------------------------------------------- Abschnitte */
main.seite { padding-bottom: 8px; }
.abschnitt { position: relative; margin: clamp(72px, 10vw, 128px) 0; scroll-margin-top: 20px; }
.abschnitt-kopf { max-width: 46rem; margin: 0 0 clamp(26px, 3.4vw, 40px); }
.abschnitt h2 { margin: 0; font-size: clamp(1.85rem, 1.1rem + 2.7vw, 3.05rem); line-height: 1.08; letter-spacing: -.032em; font-weight: 800;
  text-wrap: balance; hyphens: manual; overflow-wrap: break-word; }
.abschnitt-kopf > p:not(.oberzeile) { margin: 16px 0 0; color: var(--text2); font-size: clamp(1.04rem, 1rem + .25vw, 1.15rem); max-width: 42rem; }
.abschnitt h3 { margin: 0; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.012em; }
.buehne { padding: clamp(64px, 9vw, 112px) 0; isolation: isolate; }
.buehne::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw;
  background: radial-gradient(55% 70% at 86% 0%, rgba(251, 138, 70, .22), transparent 70%),
    radial-gradient(45% 60% at 0% 100%, rgba(184, 70, 11, .28), transparent 70%), var(--buehne); }
.buehne h2 { color: var(--buehne-text); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .buehne h2 { background: linear-gradient(100deg, #fff 30%, var(--glut-hell) 70%, var(--glut)); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.buehne a:not(.knopf) { color: var(--glut-hell); }
.abschnitt.buehne + .abschnitt.buehne { margin-top: calc(-1 * clamp(72px, 10vw, 128px)); }
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.zwei--oben { align-items: start; }
.mehr { margin: 26px 0 0; color: var(--text2); max-width: 68ch; }
.mehr-knopf { margin: 28px 0 0; }

/* ---------------------------------------------------------------- Karten (Bento) */
.kacheln { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; }
.kacheln--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kacheln--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kachel { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid var(--linie); border-radius: 24px;
  background: var(--flaeche); box-shadow: var(--schatten); transition: transform .25s, border-color .25s, box-shadow .25s; }
.kachel h3 { margin: 18px 0 8px; hyphens: auto; overflow-wrap: break-word; }
.kachel p { max-width: 68ch; color: var(--text2); }
.kachel p + p { margin-top: 10px; }
.kachel > :last-child { margin-bottom: 0; }
.kachel--gross { grid-column: span 2; grid-row: span 2; min-height: 420px; overflow: hidden;
  background: radial-gradient(80% 70% at 100% 0%, color-mix(in srgb, var(--akzent) 22%, transparent), transparent 65%), var(--flaeche); }
.kachel--gross h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.kachel--gross > p { font-size: 1.07rem; max-width: 36rem; }
.kachel--gross > p.pruefen { font-size: .95rem; }
.kachel--breit { grid-column: 1 / -1; }
.kachel--flach { flex-direction: row; align-items: flex-start; gap: 16px; padding: 20px 22px; }
.kachel--flach h3 { margin: 2px 0 4px; font-size: 1.08rem; }
.sym-kachel { display: block; flex: none; width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--akzent-zart); color: var(--akzent); }
.kachel--flach .sym-kachel { width: 42px; height: 42px; padding: 9px; border-radius: 12px; }
@media (hover: hover) {
  .kachel:hover { border-color: color-mix(in srgb, var(--akzent) 50%, var(--linie)); box-shadow: 0 28px 70px -34px color-mix(in srgb, var(--akzent) 70%, transparent); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .kachel:hover { transform: translateY(-4px); } }
.zahl { margin: auto 0 6px !important; padding-top: 24px; color: var(--text) !important; font-size: 1.1rem; font-weight: 700; letter-spacing: .02em; }
.zahl strong { display: block; font-size: clamp(6.5rem, 2rem + 12vw, 13.5rem); line-height: .84; letter-spacing: -.06em; font-weight: 800; color: var(--akzent); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .zahl strong { background: linear-gradient(160deg, #c24f14, var(--glut-tief) 45%, #8f3506); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
@media (prefers-color-scheme: dark) {
  .zahl strong { background: linear-gradient(160deg, var(--glut-hell), var(--glut) 45%, var(--glut-tief)); }
}
.kopf .zahl strong, .buehne .zahl strong { background: linear-gradient(160deg, var(--glut-hell), var(--glut) 45%, var(--glut-tief)); }
.kachel-bild { margin: 0 0 4px; }
.kachel-bild .bild { width: 100%; max-width: 300px; height: auto; }
.marken { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; }
.marken li { padding: .22rem .7rem; border: 1px solid var(--linie); border-radius: 999px; background: var(--flaeche2); color: var(--text); font-size: .86rem; font-weight: 650; line-height: 1.4; }
.marken li.hervor { border-color: color-mix(in srgb, var(--akzent) 60%, var(--linie)); background: var(--akzent-zart); color: var(--akzent); }
.marken--gross li { padding: .4rem .9rem; font-size: .95rem; }

/* ---------------------------------------------------------------- Schrittfolge (nummeriert, mit Linie) */
.schrittfolge { position: relative; list-style: none; counter-reset: sf; display: grid; gap: 22px; margin: 0; padding: 0; }
.schrittfolge > li { counter-increment: sf; position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; align-items: start; align-content: start; }
.schrittfolge > li::before { content: counter(sf); grid-row: span 3; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; position: relative; z-index: 1;
  background: linear-gradient(135deg, var(--akzent), var(--akzent-hover)); color: var(--akzent-auf); font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 10px 26px -10px rgba(184, 70, 11, .8), 0 0 0 6px var(--grund); }
/* Verbindungslinie je Schritt bis zum nächsten Kreis (senkrecht; quer ab 900 px) */
.schrittfolge > li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: -22px; width: 2px; background: linear-gradient(var(--glut), var(--glut-tief)); opacity: .45; }
.schrittfolge strong { display: block; padding-top: 4px; font-size: 1.12rem; line-height: 1.3; }
.schrittfolge > li > span { display: block; color: var(--text2); font-size: .97rem; }
.schrittfolge a { color: inherit; text-decoration: none; }
.schrittfolge a::after { content: ""; position: absolute; inset: -6px; border-radius: 14px; }
.schrittfolge a:hover strong { color: var(--akzent); }
.schrittfolge a:focus-visible { outline: none; }
.schrittfolge a:focus-visible::after { outline: 3px solid var(--akzent); }
@media (min-width: 900px) {
  .schrittfolge--quer { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 18px; }
  .schrittfolge--quer > li { grid-template-columns: 1fr; row-gap: 14px; }
  .schrittfolge--quer > li::before { grid-row: auto; }
  .schrittfolge--quer > li:not(:last-child)::after { left: 62px; right: -12px; top: 27px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--glut), var(--glut-tief)); }
  .schrittfolge--quer strong { padding-top: 0; }
}

/* ---------------------------------------------------------------- Bearbeitungskette (auf der Bühne) */
.kette { counter-reset: glied; display: grid; gap: 0; margin: 0; }
.kette-gruppe { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 22px; padding: 26px 0; border-top: 1px solid var(--linie); }
.kette-gruppe:first-child { border-top: 0; padding-top: 0; }
.kette-gruppe h3 { display: flex; align-items: center; gap: 12px; padding-top: 6px; font-size: 1.15rem; color: var(--text); }
.kette-gruppe h3 .sym-kachel { width: 40px; height: 40px; padding: 9px; border-radius: 12px; }
.kette-gruppe h3 small { display: block; color: var(--text2); font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.kette-glieder { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 228px), 1fr)); gap: 10px; margin: 0; padding: 0; }
.kette-glieder li { counter-increment: glied; position: relative; padding: 14px 16px 15px 58px; border: 1px solid var(--linie); border-radius: 16px; background: var(--flaeche); }
.kette-glieder li::before { content: counter(glied); position: absolute; left: 14px; top: 13px; width: 30px; height: 30px; display: grid; place-items: center; border: 1.5px solid var(--glut);
  border-radius: 50%; color: var(--glut-hell); font-size: .85rem; font-weight: 800; box-shadow: 0 0 14px -2px rgba(251, 138, 70, .55); }
.kette-glieder strong { display: block; font-size: 1rem; line-height: 1.35; }
.kette-glieder span { display: block; margin-top: 3px; color: var(--text2); font-size: .92rem; line-height: 1.45; }
.kette-glieder li.wahl { border-style: dashed; }
.kette-glieder em { display: inline-block; margin-top: 9px; padding: .1rem .55rem; border: 1px solid color-mix(in srgb, var(--glut) 55%, transparent); border-radius: 999px;
  color: var(--glut-hell); font-size: .75rem; font-style: normal; font-weight: 700; letter-spacing: .03em; }
.kette-glieder li.ziel { border-color: color-mix(in srgb, var(--glut) 60%, transparent); background: linear-gradient(120deg, rgba(251, 138, 70, .16), rgba(251, 138, 70, .03) 70%); }
.kette-hinweise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------- Formel (Planen) und Skala */
.formel { list-style: none; display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin: 0; padding: 0; }
.formel > li { display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; }
.formel-teil { flex: 1 1 150px; padding: 16px 18px; border: 1px solid var(--linie); border-radius: 18px; background: var(--flaeche); box-shadow: var(--schatten); }
.formel-teil .sym-kachel { width: 38px; height: 38px; padding: 8px; border-radius: 11px; margin-bottom: 10px; }
.formel-teil strong { font-size: 1.04rem; line-height: 1.3; }
.formel-teil span { color: var(--text2); font-size: .9rem; line-height: 1.4; }
.formel-op { flex: none; align-items: center; justify-content: center !important; width: 22px; color: var(--akzent); font-size: 1.6rem; font-weight: 800; }
.formel-ergebnis { flex: 1.3 1 200px; padding: 16px 18px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #c24f14, var(--glut-tief) 55%, #8f3506);
  box-shadow: 0 20px 50px -24px rgba(184, 70, 11, .9); }
.formel-ergebnis .sym-kachel { width: 38px; height: 38px; padding: 8px; border-radius: 11px; margin-bottom: 10px; background: rgba(255, 255, 255, .18); color: #fff; }
.formel-ergebnis strong { font-size: 1.1rem; }
.formel-ergebnis span { color: rgba(255, 255, 255, .88); font-size: .92rem; line-height: 1.45; }
.skala { margin: 20px 0 0; }
.skala-spur { position: relative; height: 14px; border-radius: 7px; background: var(--bild-zart); }
.skala-bereich { position: absolute; top: 0; bottom: 0; left: 28.6%; right: 14.3%; border-radius: 7px; background: linear-gradient(90deg, var(--glut), var(--glut-tief)); }
.skala-werte { position: relative; height: 1.5em; margin-top: 8px; color: var(--text); font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.skala-werte b { position: absolute; top: 0; }
.skala-werte .von { left: 28.6%; transform: translateX(-50%); }
.skala-werte .bis { right: 14.3%; transform: translateX(50%); }

/* ---------------------------------------------------------------- Stufen der Diagnose */
.stufen { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.stufe { display: inline-flex; align-items: center; gap: .45rem; padding: .25rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 700; line-height: 1.4; }
.stufe::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stufe.problem { background: var(--schlecht-zart); color: var(--schlecht); }
.stufe.hinweis { background: var(--warn-zart); color: var(--warn); }
.stufe.ok { background: var(--gut-zart); color: var(--gut); }

/* ---------------------------------------------------------------- Passt gut / passt weniger, Grenzen */
.paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.paar-karte { padding: 28px; border: 1px solid var(--linie); border-radius: 24px; background: var(--flaeche); box-shadow: var(--schatten); }
.paar-karte h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 1.3rem; }
.paar-karte ul { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.paar-karte li { position: relative; padding-left: 32px; }
.paar-karte li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; }
.paar-karte li::after { content: ""; position: absolute; }
.paar-ja { border-color: color-mix(in srgb, var(--akzent) 45%, var(--linie));
  background: radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--akzent) 12%, transparent), transparent 70%), var(--flaeche); }
.paar-ja li::before { background: var(--akzent-zart); }
.paar-ja li::after { left: 6px; top: .5em; width: 8px; height: 4px; border-left: 2px solid var(--akzent); border-bottom: 2px solid var(--akzent); transform: rotate(-45deg); }
.paar-nein li { color: var(--text2); }
.paar-nein li::before { background: var(--grau-zart); }
.paar-nein li::after { left: 6px; top: calc(.15em + 9px); width: 8px; height: 2px; background: var(--text2); }
.paar-karte .sym-kachel { width: 40px; height: 40px; padding: 9px; border-radius: 12px; }
.paar-nein .sym-kachel { background: var(--grau-zart); color: var(--text2); }
.ehrlich { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 12px; margin: 0; padding: 0; }
.ehrlich > li { position: relative; padding: 20px 22px 21px 70px; border: 1px solid var(--linie); border-radius: 20px; background: var(--flaeche); }
.ehrlich > li > .sym-rund { position: absolute; left: 20px; top: 19px; width: 34px; height: 34px; padding: 7px; border: 1.5px solid var(--linie); border-radius: 50%; color: var(--text2); }
.ehrlich strong { display: block; margin-bottom: 4px; font-size: 1.08rem; line-height: 1.35; color: var(--text); }
.ehrlich > li > span:last-child { display: block; color: var(--text2); }

/* ---------------------------------------------------------------- Hinweis, Tasten, Fragen */
.tipp { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--akzent-zart); color: var(--text); font-size: .98rem; line-height: 1.5; }
.tipp .sym { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--akzent); }
ul.tasten { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 10px; margin: 0; padding: 0; }
ul.tasten > li { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 14px; border: 1px solid var(--linie); border-radius: 16px; background: var(--flaeche); color: var(--text2); font-size: .95rem; line-height: 1.35; }
ul.tasten > li > span:first-child { display: flex; gap: 4px; flex: none; }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 2.3em; height: 2.3em; padding: 0 .55em; border: 1px solid var(--linie); border-bottom-width: 3px; border-radius: 8px;
  background: var(--flaeche2); color: var(--text); font: 700 .82rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
p.tasten { font: 600 1.1rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; }
.fragen { padding: 6px 24px; border: 1px solid var(--linie); border-radius: 22px; background: var(--flaeche); box-shadow: var(--schatten); }
.fragen details { border-top: 1px solid var(--linie); }
.fragen details:first-child { border-top: 0; }
.fragen summary { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 0; cursor: pointer; font-weight: 650; font-size: 1.04rem; line-height: 1.35; list-style: none; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::marker { content: ""; }
.fragen summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: 0 4px 4px auto; border-right: 2px solid var(--akzent); border-bottom: 2px solid var(--akzent); transform: rotate(45deg); transition: transform .2s; }
.fragen details[open] > summary::after { transform: translate(0, 4px) rotate(-135deg); }
.fragen summary:hover { color: var(--akzent); }
.fragen summary .sym { flex: none; width: 22px; height: 22px; color: var(--akzent); }
.fragen details > :not(summary) { margin: 0 0 18px; padding-left: 36px; color: var(--text2); }

/* ---------------------------------------------------------------- Vorher/Nachher (Kopf von «So arbeitet») */
.vorher-nachher { margin: 0; padding: 22px 22px 20px; border: 1px solid var(--buehne-linie); border-radius: 24px; background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
  box-shadow: 0 30px 90px -40px rgba(251, 138, 70, .55); }
.vn-zeile { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 12px; }
.vn-name { font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--buehne-leise); }
.vn-zeile.ist-master .vn-name { color: var(--glut); }
.vn-pfeil { display: flex; align-items: center; gap: 10px; margin: 8px 0 8px 86px; color: var(--glut); font-size: .85rem; font-weight: 650; }
.vn-pfeil .sym { width: 20px; height: 20px; transform: rotate(90deg); }
.vn-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--buehne-linie); list-style: none; color: var(--buehne-leise); font-size: .85rem; }
.vn-legende li { display: inline-flex; align-items: center; gap: 8px; }
.vn-legende li::before { content: ""; width: 18px; height: 0; border-top: 2px dashed rgba(255, 255, 255, .45); }
.vn-legende li.glut::before { width: 10px; height: 10px; border: 0; border-radius: 3px; background: var(--glut); }

/* ---------------------------------------------------------------- Fahrplan (Kopf der Anleitung) */
.fahrplan { margin: 0; padding: 22px; border: 1px solid var(--buehne-linie); border-radius: 24px; background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); }
.fahrplan > p { margin: 0 0 12px; color: var(--buehne-leise); font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.fahrplan ol { list-style: none; counter-reset: fp; display: grid; gap: 4px; margin: 0; padding: 0; }
.fahrplan li { counter-increment: fp; }
.fahrplan a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 10px; border-radius: 14px; color: var(--buehne-text) !important; font-weight: 650; text-decoration: none; }
.fahrplan a::before { content: counter(fp); flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--akzent), var(--akzent-hover)); color: var(--akzent-auf); font-size: .95rem; font-weight: 800; }
.fahrplan a small { display: block; color: var(--buehne-leise); font-size: .85rem; font-weight: 500; }
.fahrplan a:hover { background: rgba(251, 138, 70, .12); }
.fahrplan a:hover > span:first-child { color: var(--glut-hell); }

/* ---------------------------------------------------------------- Nachgebaute Bedienelemente der App */
.nachbau { position: relative; isolation: isolate; margin: 0; min-width: 0; }
.nachbau::before { content: ""; position: absolute; z-index: -1; inset: 12% 8%; border-radius: 50%; background: color-mix(in srgb, var(--glut) 34%, transparent); filter: blur(46px); opacity: .55; }
.nb-karte { position: relative; padding: 20px; border: 1px solid var(--linie); border-radius: 18px; background: var(--flaeche); color: var(--text);
  box-shadow: 0 34px 80px -44px rgba(20, 18, 14, .5), var(--schatten); font-size: .95rem; line-height: 1.45; }
.buehne .nb-karte, .kopf .nb-karte { background: #18130f; }
.nb-karte + .nb-karte { margin-top: 12px; }
.nb-beispiel { position: absolute; top: -11px; right: 16px; padding: .12rem .6rem; border: 1px solid var(--linie); border-radius: 999px; background: var(--flaeche2); color: var(--text2);
  font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.nb-titel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px !important; font-weight: 700; font-size: 1.05rem; }
.nb-nr { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--akzent); color: var(--akzent-auf); font-size: .8rem; font-weight: 700; }
.nb-kurz { margin-left: auto; padding: .1rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--schlecht-zart); color: var(--schlecht); }
.nb-feld { display: grid; gap: 5px; margin: 0 0 12px; }
.nb-feld:last-child { margin-bottom: 0; }
.nb-name { color: var(--text2); font-size: .84rem; font-weight: 650; }
.nb-select { position: relative; display: flex; align-items: center; min-height: 42px; padding: 8px 36px 8px 12px; border: 1px solid var(--linie); border-radius: 10px; background: var(--flaeche);
  white-space: normal; overflow-wrap: break-word; }
.nb-select::after { content: ""; position: absolute; right: 14px; top: calc(50% - 5px); width: 7px; height: 7px; border-right: 2px solid var(--text2); border-bottom: 2px solid var(--text2); transform: rotate(45deg); }
.nb-segment { display: flex; padding: 3px; border: 1px solid var(--linie); border-radius: 11px; background: var(--flaeche2); }
.nb-segment > span { flex: 1 1 0; min-width: 0; padding: 7px 4px; border-radius: 8px; text-align: center; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-segment > .an { background: var(--akzent); color: var(--akzent-auf); font-weight: 700; box-shadow: 0 4px 12px -6px rgba(184, 70, 11, .8); }
.nb-reihe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nb-knopf { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--linie); border-radius: 10px; background: var(--flaeche); font-size: .9rem; font-weight: 650; }
.nb-knopf.haupt { border-color: var(--akzent); background: var(--akzent); color: var(--akzent-auf); }
.nb-haken { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; }
.nb-haken::before { content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid var(--bild-grau); border-radius: 5px; background: var(--flaeche); }
.nb-haken.an::before { border-color: var(--akzent); background: var(--akzent); }
.nb-haken.an { position: relative; }
.nb-haken.an::after { content: ""; position: absolute; left: 5px; top: calc(50% - 5px); width: 8px; height: 4px; border-left: 2px solid var(--akzent-auf); border-bottom: 2px solid var(--akzent-auf); transform: rotate(-45deg); }
.nb-haken small { color: var(--text2); }
.nb-ablage { display: grid; justify-items: center; gap: 8px; padding: 30px 18px; border: 2px dashed color-mix(in srgb, var(--akzent) 55%, var(--linie)); border-radius: 16px; background: var(--akzent-zart); text-align: center; }
.nb-ablage .sym { width: 44px; height: 44px; color: var(--akzent); }
.nb-ablage strong { font-size: 1.08rem; line-height: 1.3; }
.nb-ablage span { color: var(--text2); font-size: .85rem; line-height: 1.45; max-width: 26rem; }
.nb-zeiger { position: absolute; right: 22%; bottom: 18%; width: 30px; height: 30px; color: var(--text); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }
.nb-zeiger path { fill: var(--flaeche); stroke: var(--text); stroke-width: 1.5; stroke-linejoin: round; }
.nb-befunde { list-style: none; display: grid; gap: 0; margin: 0; padding: 0; }
.nb-befunde li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--linie); }
.nb-befunde li:first-child { border-top: 0; padding-top: 0; }
.nb-befunde b { font-weight: 650; }
.nb-befunde span { grid-column: 1; color: var(--text2); font-size: .85rem; font-variant-numeric: tabular-nums; }
.nb-befunde .stufe { grid-row: 1 / span 2; grid-column: 2; font-size: .76rem; }
.nb-balance { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--linie); }
.nb-balance .bild { width: 100%; height: auto; margin-top: 6px; }
.nb-schieber { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; }
.nb-schieber > span { display: grid; gap: 6px; color: var(--text2); font-size: .8rem; text-align: center; }
.nb-schieber i { position: relative; display: block; height: 6px; margin: 8px 4px 0; border-radius: 3px; background: var(--bild-zart); }
.nb-schieber i::after { content: ""; position: absolute; top: -6px; left: calc(50% - 9px); width: 18px; height: 18px; border-radius: 50%; background: var(--akzent); box-shadow: 0 0 0 3px var(--flaeche); }
.nb-schieber > span:nth-child(1) i::after { left: calc(62% - 9px); }
.nb-schieber > span:nth-child(3) i::after { left: calc(40% - 9px); }
.nb-schieber > span:nth-child(4) i::after { left: calc(56% - 9px); }
.nb-spieler { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.nb-play { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--akzent); }
.nb-play::after { content: ""; position: absolute; left: 18px; top: 14px; border-left: 14px solid var(--akzent-auf); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.nb-versionen { display: flex; gap: 6px; min-width: 0; }
.nb-versionen > span { padding: .35rem .8rem; border: 1px solid var(--linie); border-radius: 999px; font-size: .88rem; font-weight: 650; white-space: nowrap; }
.nb-versionen > .an { border-color: var(--akzent); background: var(--akzent); color: var(--akzent-auf); }
.nb-zeit { margin-left: auto; color: var(--text2); font-size: .85rem; font-variant-numeric: tabular-nums; }
.nb-welle .bild { width: 100%; height: auto; }
.nb-optionen { display: grid; gap: 10px; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--linie); }
.nb-album { list-style: none; display: grid; gap: 6px; margin: 0 0 14px; padding: 0; }
.nb-album li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--linie); border-radius: 10px; font-size: .9rem; }
.nb-album li.an { border-color: var(--akzent); background: var(--akzent-zart); font-weight: 650; }
.nb-album li span:last-child { margin-left: auto; color: var(--text2); font-size: .8rem; font-variant-numeric: tabular-nums; }
.nb-export { display: grid; gap: 10px; }
.nb-zeile { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--linie); }
.nb-zeile:first-child { border-top: 0; padding-top: 0; }
.nb-zeile > span:first-child { color: var(--text2); font-size: .88rem; }
.nb-zeile > b { font-weight: 650; text-align: right; }
.nb-zeile > b.aus { color: var(--text2); text-decoration: line-through; text-decoration-color: var(--schlecht); text-decoration-thickness: 2px; }
.nb-pegel .bild { height: 40px; margin-top: 4px; }

.nb-titel .sym { width: 20px; height: 20px; flex: none; color: var(--akzent); }
.nb-bericht { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--flaeche2); color: var(--text); font: 500 .8rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap; overflow-wrap: anywhere; }
.nb-bericht b { color: var(--akzent); font-weight: 700; }
.nb-bericht .leise { color: var(--text2); }

/* ---------------------------------------------------------------- Selbst prüfen, Fluss im Gerät */
.pruefen { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px !important; padding-top: 16px; border-top: 1px solid var(--linie); color: var(--text2); font-size: .95rem; }
.pruefen .sym { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--akzent); }
.fluss { margin: 0; display: grid; gap: 14px; }
.fluss-geraet { position: relative; padding: 46px 18px 18px; border: 2px dashed color-mix(in srgb, var(--akzent) 60%, var(--linie)); border-radius: 26px;
  background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--akzent) 10%, transparent), transparent 70%), var(--flaeche); }
.fluss-titel { position: absolute; top: -15px; left: 18px; display: inline-flex; align-items: center; gap: 8px; margin: 0 !important; padding: .2rem .8rem; border-radius: 999px;
  background: var(--akzent); color: var(--akzent-auf); font-size: .85rem; font-weight: 750; }
.fluss-titel .sym { width: 18px; height: 18px; }
.fluss-geraet ol { list-style: none; display: grid; gap: 22px; margin: 0; padding: 0; }
.fluss-geraet li { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-items: center; }
.fluss-geraet li + li::before { content: ""; position: absolute; left: 22px; top: -22px; height: 22px; width: 2px; background: var(--akzent); opacity: .5; }
.fluss-geraet li > .sym { grid-row: span 2; width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--akzent-zart); color: var(--akzent); }
.fluss-geraet b { font-size: 1.02rem; line-height: 1.3; }
.fluss-geraet span { color: var(--text2); font-size: .9rem; line-height: 1.4; }
.fluss-aussen { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid var(--linie);
  border-radius: 20px; background: var(--flaeche2); color: var(--text2); }
.fluss-aussen > .sym { grid-row: span 2; width: 46px; height: 46px; padding: 10px; color: var(--text2); }
.fluss-aussen::after { content: ""; position: absolute; left: 22px; top: 50%; width: 44px; height: 2.5px; border-radius: 2px; background: var(--schlecht); transform: translateY(-50%) rotate(-40deg); }
.fluss-aussen b { color: var(--text); font-size: 1rem; }
.fluss-aussen span { font-size: .9rem; }

/* ---------------------------------------------------------------- Anleitungsschritte */
.schritt-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.schritt-block.gespiegelt > .schritt-text { order: 2; }
.schritt-nr { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 0 18px; border-radius: 50%; background: linear-gradient(135deg, var(--akzent), var(--akzent-hover)); color: var(--akzent-auf);
  font-size: 1.35rem; font-weight: 800; box-shadow: 0 14px 30px -12px rgba(184, 70, 11, .8); }
.schritt-text h2 { margin-bottom: 14px; }
.schritt-text > p { color: var(--text2); font-size: 1.06rem; }
.schritt-text > p.schritt-nr { color: var(--akzent-auf); font-size: 1.35rem; }
.schritt-text > p + p { margin-top: 12px; }
.punkte { list-style: none; display: grid; gap: 12px; margin: 18px 0 0; padding: 0; }
.punkte > li { position: relative; padding-left: 32px; color: var(--text2); }
.punkte > li strong { color: var(--text); }
.punkte > li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--akzent-zart); }
.punkte > li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 6px); width: 8px; height: 4px; border-left: 2px solid var(--akzent); border-bottom: 2px solid var(--akzent); transform: rotate(-45deg); }

/* ---------------------------------------------------------------- Geschenkkarte (Nachbau des PDF, A5 quer) */
.geschenkkarte { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; min-height: 260px; width: 100%; max-width: 520px; margin: 0 auto; overflow: hidden;
  border-radius: 16px; background: #fbf8f3; color: #1c1b19; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); font-size: clamp(.75rem, .3rem + .9vw, .9rem); line-height: 1.35; }
@media (prefers-reduced-motion: no-preference) { .geschenkkarte { transform: rotate(-2.5deg); } }
.gk-links { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 8% 7%; overflow: hidden; color: #f6f0e8;
  background: radial-gradient(70% 60% at 85% 15%, rgba(251, 138, 70, .4), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgba(184, 70, 11, .5), transparent 70%), #0d0b0a; }
.gk-links .marke { min-height: 0; gap: .35em; }
.gk-links .marke svg { width: 2.6em; height: 2.6em; }
.gk-links .marke-wort { font-size: 1.55em; }
.gk-titel { margin: auto 0 .5em; font-size: 2.3em; font-weight: 800; line-height: 1.02; letter-spacing: -.03em; color: #fff; }
.gk-slogan { color: #ffc49e; font-size: 1.05em; }
.gk-rechts { display: flex; flex-direction: column; gap: .7em; padding: 8% 7%; }
.gk-fuer { display: grid; gap: .15em; }
.gk-fuer span { color: #5b5850; font-size: 1em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gk-fuer b { font-size: 1.25em; }
.gk-nachricht { color: #3a3631; font-style: italic; }
.gk-code { margin-top: auto; padding: .5em .7em; border: 1px dashed #d9c9b9; border-radius: .6em; background: #fff; }
.gk-code span { display: block; color: #5b5850; font-size: 1em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gk-code b { font: 700 1.05em/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; color: #b8460b; }
.gk-qr { display: flex; flex-wrap: wrap; align-items: center; gap: .7em; color: #5b5850; font-size: 1em; }
.gk-qr .bild { width: 3.6em; height: 3.6em; flex: none; }
.b-qr { fill: #1c1b19; }

/* ---------------------------------------------------------------- Weiterlesen und Aufruf */
.weiter-raster { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; margin: 0; padding: 0; }
.weiter-raster a { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; height: 100%; padding: 20px 22px; border: 1px solid var(--linie);
  border-radius: 22px; background: var(--flaeche); box-shadow: var(--schatten); color: var(--text) !important; text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; }
.weiter-raster .sym-kachel { grid-row: span 2; }
.weiter-raster strong { font-size: 1.08rem; line-height: 1.3; }
.weiter-raster small { grid-column: 2; color: var(--text2); font-size: .92rem; line-height: 1.4; }
.weiter-raster .pfeil { grid-row: 1 / span 2; grid-column: 3; width: 22px; height: 22px; color: var(--akzent); transition: transform .25s; }
@media (hover: hover) {
  .weiter-raster a:hover { border-color: color-mix(in srgb, var(--akzent) 50%, var(--linie)); box-shadow: 0 24px 60px -34px color-mix(in srgb, var(--akzent) 70%, transparent); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .weiter-raster a:hover { transform: translateY(-3px); }
  .weiter-raster a:hover .pfeil { transform: translateX(4px); }
}
.weiter { margin-bottom: clamp(64px, 9vw, 112px); }
.weiter .abschnitt-kopf { margin-bottom: 20px; }
.weiter .abschnitt-kopf h2 { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.85rem); }
.aufruf-band { margin-bottom: 0; text-align: center; }
.aufruf-band h2 { max-width: 46rem; margin: 0 auto; font-size: clamp(2rem, 1.1rem + 4vw, 4rem); }
.aufruf-band > p { max-width: 36rem; margin: 18px auto 0; color: var(--buehne-leise); font-size: 1.15rem; }
.aufruf-band .aufruf-aktion { margin-top: 34px; }

/* Herkunft: kleines Band über das Projekt */
.herkunft { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid var(--linie); border-radius: 22px; background: var(--flaeche); }
.herkunft .sym-kachel { flex: none; }
.herkunft p { max-width: 68ch; color: var(--text2); }
.herkunft strong { color: var(--text); }
.herkunft h3 { margin: 0 0 4px; font-size: 1.12rem; }
.abschnitt .herkunft { margin-top: 16px; }

/* Einlöse-Seite der Geschenkkarte: schlicht, ein Abschnitt */
.einloesen .abschnitt { margin: 40px 0; }
.einloesen .abschnitt p + p { margin-top: 14px; }
.einloesen .kopf h1 { margin-top: 28px; }

/* ---------------------------------------------------------------- Fuss */
.fuss { padding-top: 34px; padding-bottom: 44px; color: var(--text2); font-size: .9rem; }
.fuss p { margin: 0; padding-top: 18px; border-top: 1px solid var(--linie); }
.fuss a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text2); }
.fuss a:hover { color: var(--akzent); }

/* ---------------------------------------------------------------- Bilder (SVG): Farben je Umgebung */
.bild { display: block; width: 100%; height: auto; overflow: visible; }
.b-grau { fill: var(--bild-grau); }
.b-glut { fill: var(--bild-glut); }
.b-zart { fill: var(--bild-zart); }
.b-glut-fl, .b-glut-kreis { fill: var(--glut); }
.b-leuchten { filter: drop-shadow(0 0 5px var(--glut)); }
.b-decke { fill: none; stroke: var(--bild-grau); stroke-width: 1.5; stroke-dasharray: 5 5; }
.b-linie { fill: none; stroke: var(--bild-glut); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.b-linie-grau { fill: none; stroke: var(--bild-grau); stroke-width: 2; stroke-linejoin: round; }
.b-probe { fill: var(--grund); stroke: var(--text); stroke-width: 1.6; }
.kachel .b-probe { fill: var(--flaeche); }
.b-fein { fill: none; stroke: var(--bild-grau); stroke-width: 1.6; stroke-linecap: round; }
.b-marke, .b-zeiger, .b-kopf { fill: none; stroke: var(--text); stroke-width: 2.6; stroke-linecap: round; }
.b-kopf { stroke-width: 2; }
.b-flaeche { fill: var(--akzent-zart); }
.b-trenn { fill: none; stroke: var(--linie); stroke-width: 1.5; }
.b-ziel { fill: var(--gut-zart); stroke: var(--gut); stroke-width: 1.5; stroke-dasharray: 4 3; }
.b-bogen-schlecht, .b-bogen-gut { fill: none; stroke-width: 7; stroke-linecap: round; }
.b-bogen-schlecht { stroke: color-mix(in srgb, var(--schlecht) 45%, transparent); }
.b-bogen-gut { stroke: color-mix(in srgb, var(--gut) 60%, transparent); }
.b-rahmen { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .24); stroke-width: 2; }
.b-punkt { fill: rgba(255, 255, 255, .26); }
.b-feld { fill: rgba(255, 255, 255, .08); }
.b-schild { fill: none; stroke: #1a0e05; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.b-wolke { fill: none; stroke: rgba(255, 255, 255, .34); stroke-width: 3; stroke-linejoin: round; }
.b-weg { fill: none; stroke: var(--glut); stroke-width: 4.5; stroke-linecap: round; }
.b-verbot-kreis { fill: rgba(255, 255, 255, .03); stroke: var(--glut); stroke-width: 4.5; }

.b-mk-spur, .b-mk-bogen, .b-mk-welle { fill: none; stroke-linecap: round; }
.b-mk-spur { stroke: rgba(255, 255, 255, .16); stroke-width: 6; }
.b-mk-bogen { stroke: #e8762e; stroke-width: 6; }
.b-mk-welle { stroke: #f6f0e8; stroke-width: 5; }
.nb-album .sym { width: 18px; height: 18px; flex: none; color: var(--akzent); }
.nb-export > .bild { width: 100%; height: auto; }
.schritt-text .stufen { margin-top: 16px; }

/* ---------------------------------------------------------------- Bewegung (nur ohne «Bewegung reduzieren») */
@media (prefers-reduced-motion: no-preference) {
  .spektrum rect { animation: pegel 1.6s ease-in-out infinite alternate; }
  .spektrum rect:nth-child(5n+1) { animation-duration: 1.15s; }
  .spektrum rect:nth-child(5n+2) { animation-duration: 1.9s; animation-delay: -.6s; }
  .spektrum rect:nth-child(5n+3) { animation-duration: 1.35s; animation-delay: -1.1s; }
  .spektrum rect:nth-child(5n+4) { animation-duration: 2.3s; animation-delay: -.3s; }
  .held-bild .b-glut { transform-box: fill-box; transform-origin: center; animation: pegel-mitte 2.4s ease-in-out infinite alternate; }
  .held-bild .b-glut:nth-child(3n+1) { animation-duration: 1.7s; animation-delay: -.5s; }
  .held-bild .b-glut:nth-child(3n+2) { animation-duration: 2.9s; animation-delay: -1.2s; }
  .b-leuchten { animation: leuchten 2.4s ease-in-out infinite; }
  @supports (animation-timeline: view()) {
    .abschnitt > * { animation: erscheinen linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@keyframes pegel { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
@keyframes pegel-mitte { from { transform: scaleY(.82); } to { transform: scaleY(1); } }
@keyframes leuchten { 50% { filter: drop-shadow(0 0 10px var(--glut)); } }
@keyframes erscheinen { from { transform: translateY(28px); } to { transform: none; } }

/* ---------------------------------------------------------------- Schmale Bildschirme */
@media (max-width: 899px) {
  .kacheln, .kacheln--vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kachel--gross { grid-row: auto; min-height: 0; }
  .zwei, .schritt-block { grid-template-columns: 1fr; }
  .schritt-block.gespiegelt > .schritt-text { order: 0; }
  .kette-gruppe { grid-template-columns: 1fr; gap: 14px; }
  .kette-hinweise { grid-template-columns: 1fr; }
}
@media (max-width: 619px) {
  .kacheln, .kacheln--zwei, .kacheln--vier, .paar { grid-template-columns: 1fr; }
  .kachel--gross { grid-column: auto; }
  .kachel { padding: 22px 20px; border-radius: 20px; }
  .kachel--flach { padding: 18px; }
  .paar-karte { padding: 22px 20px; }
  .zahl strong { font-size: 6.5rem; }
  .ehrlich > li { padding: 18px 18px 19px 62px; }
  .ehrlich > li > .sym-rund { left: 16px; }
  .fragen { padding: 4px 18px; }
  .fragen details > :not(summary) { padding-left: 0; }
  .herkunft { flex-direction: column; align-items: flex-start; }
  .held { gap: 32px; }
  .held-figur .bild { max-width: 360px; }
  .formel-op { width: 100%; height: 18px; font-size: 1.3rem; }
  .formel-teil, .formel-ergebnis { flex-basis: 100%; }
  .weiter-raster a { grid-template-columns: 42px minmax(0, 1fr) auto; padding: 18px; }
  .weiter-raster .sym-kachel { width: 42px; height: 42px; padding: 9px; }
  .nb-karte { padding: 16px; }
  .kopf-aktion .knopf { width: 100%; }
}
@media (max-width: 380px) {
  .nb-versionen > span { padding: .3rem .6rem; }
  .nb-zeit { display: none; }
  .vn-zeile { grid-template-columns: 1fr; gap: 6px; }
  .vn-pfeil { margin-left: 0; }
  .vorher-nachher, .fahrplan { padding: 16px; }
}
@media print {
  .kopf, .buehne, .buehne::before { background: none !important; color: #000; }
  .kopf h1, .buehne h2 { background: none; color: #000; }
  .kopf-licht, .held-bild, .nachbau, .aufruf-band { display: none; }
}

/* Menü von masterbach (25.11.2026): Knopf im dunklen Kopf, Tafel klappt darunter auf. Gilt auf der Startseite
   (stil.css) und auf den Info- und Bedingungsseiten (seite.css, bedingungen.css). */
.menue { position: relative; flex: none; margin-left: 8px; }
.menue-knopf { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--buehne-linie, rgba(255, 255, 255, .13));
  border-radius: 999px; color: var(--buehne-text); font: inherit; font-size: .85rem; font-weight: 650; cursor: pointer; list-style: none; user-select: none; }
.menue-knopf::-webkit-details-marker { display: none; }
.menue-knopf::marker { content: ""; }
.menue-knopf:hover, .menue[open] > .menue-knopf { border-color: var(--glut); color: var(--glut-hell); }
.menue-knopf:focus-visible { outline: 3px solid var(--glut-hell); outline-offset: 2px; }
.menue-symbol { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menue[open] .menue-symbol path { d: path("M6 6l12 12M18 6L6 18"); }
.menue-tafel { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; width: min(310px, calc(100vw - 32px)); max-height: calc(100vh - 96px); overflow-y: auto;
  padding: 8px; border: 1px solid var(--buehne-linie, rgba(255, 255, 255, .13)); border-radius: 14px; background: var(--buehne-flaeche, #18130f);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .45); color: var(--buehne-text); text-align: left; }
.menue-tafel ul { list-style: none; margin: 0; padding: 0; }
.menue-tafel a { display: flex; align-items: center; min-height: 44px; padding: .45rem .8rem; border-radius: 10px; color: var(--buehne-text) !important;
  font-size: .95rem; font-weight: 600; line-height: 1.3; text-decoration: none; }
.menue-tafel a:hover { background: rgba(251, 138, 70, .14); color: var(--glut-hell) !important; }
.menue-tafel a:focus-visible { outline: 3px solid var(--glut-hell); outline-offset: -3px; }
.menue-tafel a[aria-current="page"] { color: var(--glut-hell) !important; box-shadow: inset 3px 0 0 var(--glut); }
/* Symbole vor den Hauptpunkten (25.11.2026): gleiche Linienzeichnung wie auf den Info-Seiten */
.menue-tafel .menue-sym { flex: none; width: 18px; height: 18px; margin-right: 12px; fill: none; stroke: var(--glut); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.menue-tafel a:hover .menue-sym, .menue-tafel a[aria-current="page"] .menue-sym { opacity: 1; stroke: var(--glut-hell); }
.menue-tafel a[aria-current="page"] { background: rgba(251, 138, 70, .1); }
.menue-gruppe { margin: 10px 0 2px; padding: 0 .8rem; color: var(--buehne-leise); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.menue-sprachen { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 4px !important; }
.menue-sprachen a { min-height: 44px; padding: .3rem .7rem; border: 1px solid var(--buehne-linie, rgba(255, 255, 255, .13)); border-radius: 999px; font-size: .82rem; }
.menue-sprachen a[aria-current="page"] { border-color: var(--glut); box-shadow: none; }
.menue-klein { display: flex; flex-wrap: wrap; gap: 0 2px; margin-top: 8px !important; padding-top: 6px !important; border-top: 1px solid var(--buehne-linie, rgba(255, 255, 255, .13)); }
.menue-klein a { min-height: 44px; color: var(--buehne-leise) !important; font-size: .82rem; font-weight: 500; }

/* Info- und Bedingungsseiten: Marke links, Menü rechts in der ersten Zeile des Kopfs */
.kopf-zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body > .kopf { z-index: 5; }

/* Startseite: Menü rechts aussen; auf schmalen Bildschirmen in der ersten Zeile neben Marke und Lizenz */
.kopf-innen > .marke + .kopf-nav { margin-left: auto; }
@media (max-width: 620px) {
  /* Erste Zeile: Marke, Lizenz, Menü als Symbol; die Tafel öffnet über die ganze Kopfbreite */
  .kopf-innen { position: relative; }
  .kopf-innen > .menue { position: static; order: 1; margin-left: auto; }
  .kopf-innen > .kopf-lizenz ~ .menue { margin-left: 8px; }
  .kopf-innen > .kopf-nav { order: 2; width: 100%; margin-left: 0; flex-wrap: nowrap; justify-content: space-between; }
  .kopf-innen > .kopf-nav .sprachwahl { position: static; }
  .kopf-innen > .kopf-nav .sprachwahl-liste { top: calc(100% - 2px); left: auto; right: 16px; }
  .kopf-innen > .menue .menue-knopf { justify-content: center; min-width: 44px; padding: 0 .6rem; }
  .kopf-innen > .menue .menue-wort { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .kopf-innen > .menue .menue-tafel { top: calc(100% - 2px); left: 16px; right: 16px; width: auto; }
}
@media (max-width: 359px) {
  /* Sehr schmale Handys: Lizenz nur als Schlüssel (der Name bleibt für Screenreader) */
  .kopf-innen > .kopf-lizenz { padding: 0 .7rem; }
  .kopf-innen > .kopf-lizenz #kopf-lizenz-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 380px) {
  .kopf-zeile .menue-knopf { padding: 0 .7rem; }
}

/* Sprachwahl im Kopf der Startseite: Knopf mit Kürzel, Liste klappt darunter auf */
.sprachwahl { position: relative; flex: none; }
.sprachwahl-knopf { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; min-width: 44px; padding: 0 .75rem; border: 1px solid var(--buehne-linie, rgba(255, 255, 255, .13));
  border-radius: 999px; color: var(--buehne-text); font-size: .82rem; font-weight: 700; letter-spacing: .04em; cursor: pointer; list-style: none; user-select: none; }
.sprachwahl-knopf::-webkit-details-marker { display: none; }
.sprachwahl-knopf::marker { content: ""; }
.sprachwahl-knopf:hover, .sprachwahl[open] > .sprachwahl-knopf { border-color: var(--glut); color: var(--glut-hell); }
.sprachwahl-knopf:focus-visible { outline: 3px solid var(--glut-hell); outline-offset: 2px; }
.sprachwahl-symbol { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.sprachwahl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprachwahl-liste { position: absolute; z-index: 60; top: calc(100% + 8px); right: 0; min-width: 170px; margin: 0; padding: 6px; list-style: none;
  border: 1px solid var(--buehne-linie, rgba(255, 255, 255, .13)); border-radius: 14px; background: var(--buehne-flaeche, #18130f); box-shadow: 0 18px 48px rgba(0, 0, 0, .45); }
.kopf .sprachwahl-liste .kopf-link { display: flex; align-items: center; min-height: 44px; padding: .4rem .8rem; border: 0; border-radius: 10px; font-size: .95rem; white-space: nowrap; }
.kopf .sprachwahl-liste .kopf-link:hover { background: rgba(251, 138, 70, .14); }
.kopf .sprachwahl-liste .kopf-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--glut); }
/* Die alte Kurzform der Sprachleiste (nur Kürzel auf schmalen Handys) gilt in der Klappe nicht */
.kopf .sprachwahl-liste .kopf-link[hreflang] { justify-content: flex-start; min-width: 0; padding: .4rem .8rem; font-size: .95rem; }
.kopf .sprachwahl-liste .kopf-link[hreflang]::before { content: none; }

/* Weiterführende Links in der Startseite */
.mehr-link { margin: 10px 0 0; font-weight: 600; }
.mehr-link a { display: inline-flex; align-items: center; min-height: 44px; }
.mehr-link a::after { content: " →"; }

@media print { .menue { display: none; } }
/* Ende Menü */
