/* LED-Lichtlinien und Metall für alle Seiten. Spiel: Cyan, Violett, Orange. Training: Cyan, Courtblau, Mint. */
html { scrollbar-gutter: stable; }
:root {
  --led-1: #2EE6F2; --led-2: #8B4DFF; --led-3: #FF8A1F;
  --chrom: linear-gradient(178deg, #FFFFFF 0%, #E4E7FA 34%, #9AA2D2 50%, #F4F5FF 62%, #C3C8E8 100%);
  --stahl: linear-gradient(178deg, #34437E 0%, #141833 46%, #0B2C78 56%, #3E5196 100%);
  --led-linie: linear-gradient(90deg, transparent, var(--led-1) 16%, var(--led-2) 50%, var(--led-3) 84%, transparent);
  --led-glow: 0 1px 6px color-mix(in srgb, var(--led-2) 35%, transparent);
}
body.training, body.bibliothek { --led-1: #2EE6F2; --led-2: #3D7BFF; --led-3: #3DDC97; }

/* Lichtlinie zwischen allen Abschnitten und unter dem Kopf */
main > section { position: relative; }
main > section + section::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; z-index: 3; background: var(--led-linie); box-shadow: var(--led-glow); pointer-events: none; }
.kopf::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--led-linie); box-shadow: var(--led-glow); }
.fuss { position: relative; border-top: 1px solid transparent !important; border-image: var(--led-linie) 1 / 1px 0 0 / 0 100vmax; color: #A3A9D6 !important; background: #070A1A !important; box-shadow: 0 0 0 100vmax #070A1A; clip-path: inset(0 -100vmax -100vmax); }
.fuss a { color: #A3A9D6 !important; }
.fuss a:hover { color: #fff !important; }

/* Metall in Überschriften */
.chrom, body.spiel .h2, body.spiel .modus h3, .band .h2, body.training .held h1 {
  background: var(--chrom); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.35));
}
body.training .h2, body.bibliothek .gruppe h2 { background: var(--stahl); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.training .band .h2 { background: var(--chrom); -webkit-background-clip: text; background-clip: text; }
body.bibliothek .gruppe h2 span { -webkit-text-fill-color: var(--tinte-2); }

/* Eyebrow mit leuchtendem Strich */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }

/* Karten: metallischer Verlaufsrand, dunkles Glas */
.metall-rand {
  border: 1px solid transparent !important;
  background:
    linear-gradient(var(--glas, #11153A), var(--glas, #11153A)) padding-box,
    linear-gradient(135deg, color-mix(in srgb, var(--led-1) 80%, transparent), rgba(255,255,255,.12) 30%, rgba(255,255,255,.04) 55%, color-mix(in srgb, var(--led-3) 70%, transparent)) border-box !important;
}
body.spiel .modus { --glas: linear-gradient(165deg, #1B2050, #0E1131); background: linear-gradient(165deg, #1B2050, #0E1131) padding-box, linear-gradient(135deg, color-mix(in srgb, var(--c, var(--led-1)) 85%, transparent), rgba(255,255,255,.1) 32%, rgba(255,255,255,.03) 60%, rgba(255,255,255,.14)) border-box; border: 1px solid transparent; box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--c, var(--led-1)) 60%, transparent); transition: box-shadow .2s, transform .2s; }
body.spiel .modus:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--c, var(--led-1)) 40%, transparent), 0 20px 50px -18px color-mix(in srgb, var(--c, var(--led-1)) 75%, transparent); transform: translateY(-2px); }

/* Knöpfe mit Glanzkante */
body.spiel .k { background: linear-gradient(180deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,0) 50%), linear-gradient(90deg, var(--orange), #FFB547); }
body.training .k, body.bibliothek .k { color: #fff; background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 50%), linear-gradient(90deg, #1C5FD6, #0A6E7C); border-color: transparent; box-shadow: 0 0 18px -4px color-mix(in srgb, #3D7BFF 70%, transparent); }
body.training .held .k, body.training .band .k, body.training .kopf .k {
  color: #0B1433; border-color: transparent;
  background: linear-gradient(178deg, #FFFFFF 0%, #E3E8F8 44%, #AEB9DC 52%, #F2F5FF 70%, #D2D9EF 100%);
  box-shadow: 0 0 22px -6px color-mix(in srgb, var(--led-1) 70%, transparent);
}

/* Schläge im Spiel: Lichtkante */
body.spiel .schlaege li { background: linear-gradient(180deg, #1B2050, #0E1131); border-color: #343B78; }
body.spiel .schlaege li.top { text-shadow: 0 0 12px color-mix(in srgb, var(--orange) 70%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--orange) 22%, #141833), #0E1131); }

/* Hallenlicht im Hintergrund dunkler Flächen */
.hallenlicht {
  background:
    linear-gradient(104deg, transparent 0 6%, color-mix(in srgb, var(--led-2) 30%, transparent) 6.1%, transparent 6.6%),
    linear-gradient(104deg, transparent 0 4%, color-mix(in srgb, var(--led-2) 8%, transparent) 5%, transparent 8%),
    linear-gradient(76deg, transparent 0 94%, color-mix(in srgb, var(--led-1) 30%, transparent) 94.1%, transparent 94.5%),
    linear-gradient(76deg, transparent 0 92%, color-mix(in srgb, var(--led-1) 7%, transparent) 93.5%, transparent 97%),
    radial-gradient(60% 70% at 10% 0%, color-mix(in srgb, var(--led-2) 22%, transparent), transparent 70%),
    radial-gradient(50% 60% at 95% 100%, color-mix(in srgb, var(--led-3) 16%, transparent), transparent 70%),
    var(--grund, #0A0C1C);
}
body.spiel main > section:not(.held):not(.welt-hell) { --grund: #0A0C1C; }

/* Training: dunkle Bänder in Courtblau-Nacht */
body.training .held { background:
    radial-gradient(70% 90% at 85% 10%, rgba(61,123,255,.45), transparent 65%),
    radial-gradient(50% 60% at 0% 100%, rgba(61,220,151,.18), transparent 70%),
    linear-gradient(160deg, #050B24 0%, #0A1D5A 55%, #123F9E 100%); }
body.training .held h1 { filter: drop-shadow(0 2px 0 rgba(0,0,0,.4)) drop-shadow(0 0 22px rgba(61,123,255,.35)); }
.band { --grund: #071232; color: #E6ECFF; }
/* Letzter Block jeder Seite dunkel wie auf der Startseite */
main > section.schluss { --grund: #0A0C1C; color: #E6ECFF; }
body .schluss .h2 { filter: drop-shadow(0 1px 0 rgba(0,0,0,.35)); background: var(--chrom); -webkit-background-clip: text; background-clip: text; color: transparent; }
body .schluss .eyebrow { color: var(--led-1) !important; }
.schluss .frage, .schluss .themen li { border-top-color: rgba(255,255,255,.12) !important; }
.schluss .frage b, .schluss .themen b { color: #fff; }
.schluss p, .schluss small { color: #A9B1DA !important; }
.band p, .band .produkt-kopf p, .band .einheit-rahmen > div > p { color: #B7C3E6; }
.band .eyebrow { color: #3DDC97; }
.band .einheit { --glas: rgba(255,255,255,.035); color: #E6ECFF; border: 1px solid transparent; background: linear-gradient(165deg, #0F1E4A, #0A1638) padding-box, linear-gradient(135deg, rgba(46,230,242,.75), rgba(255,255,255,.1) 32%, rgba(255,255,255,.03) 60%, rgba(61,220,151,.65)) border-box; box-shadow: 0 24px 60px -30px rgba(46,230,242,.5); }
.band .einheit-kopf span, .band .bloecke li span:nth-of-type(2), .band .bloecke li .zahl { color: #A9B7DD; }
.band .bloecke li { border-top-color: rgba(255,255,255,.09); }
.band .balken i[style*="#141833"], .band .bloecke li i[style*="#141833"] { background: #2EE6F2 !important; box-shadow: 0 0 10px #2EE6F2; }
.band .balken i:nth-child(2), .band .bloecke li:nth-child(2) i { box-shadow: 0 0 10px #3D7BFF; }
.band .fenster { border: 1px solid transparent; background: linear-gradient(#0B1638, #0B1638) padding-box, linear-gradient(135deg, #2EE6F2, rgba(255,255,255,.12) 30%, rgba(255,255,255,.04) 60%, #3D7BFF) border-box; box-shadow: 0 0 0 1px rgba(46,230,242,.08), 0 30px 80px -30px rgba(46,230,242,.45), 0 0 60px -20px rgba(61,123,255,.5); }
.band .fenster .leiste { background: #0E1A40; border-bottom-color: rgba(255,255,255,.08); }
.band .fenster .leiste i { background: #2A3A6E; }
.band .fenster .leiste i:first-child { background: #3DDC97; box-shadow: 0 0 8px #3DDC97; }

/* Training: helle Flächen mit Lichtakzenten */
body.training .form { border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #2EE6F2, #DDE2EB 35%, #DDE2EB 65%, #3D7BFF) border-box; transition: box-shadow .2s, transform .2s; }
body.training .form:hover { box-shadow: 0 20px 44px -22px rgba(61,123,255,.6); transform: translateY(-2px); }
body.training .reihe-pfeil { height: 3px; background: linear-gradient(90deg, #2EE6F2, #3D7BFF 55%, #3DDC97); box-shadow: 0 0 12px rgba(46,230,242,.6), 0 0 26px rgba(61,123,255,.35); }
body.training .reihe .bild { box-shadow: 0 0 0 1px rgba(61,123,255,.25), 0 12px 26px -16px rgba(61,123,255,.7); }
body.training .reihe .bild::after { box-shadow: 0 0 10px rgba(46,230,242,.6); }
body.training .themen li { transition: color .15s; }
body.training .themen li span { color: #1C5FD6; font-weight: 500; }
body.training .themen li:hover { color: #1C5FD6; }
body.training .szene { box-shadow: 0 0 0 1px rgba(46,230,242,.35), 0 30px 70px -24px rgba(3,14,48,.8), 0 0 60px -14px rgba(46,230,242,.45); }
body.training .marken span { background: rgba(46,230,242,.08); border-color: rgba(46,230,242,.45); color: #CFF9FC; }

/* Bibliothek: Lichtkante an Auswahl und Vorschau */
body.bibliothek .leiste { border-bottom: 0; box-shadow: 0 1px 0 #DDE2EB; }
body.bibliothek .reihe[aria-current] { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #2EE6F2, #3D7BFF 50%, #3DDC97) border-box; box-shadow: 0 0 0 3px rgba(61,123,255,.12), 0 14px 30px -18px rgba(61,123,255,.7); }
body.bibliothek .reihe:hover { box-shadow: 0 10px 24px -16px rgba(61,123,255,.6); }
body.bibliothek .vorschau { border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #2EE6F2, #DDE2EB 30%, #DDE2EB 70%, #3D7BFF) border-box; }
body.bibliothek .chips button[aria-pressed="true"] { background: linear-gradient(90deg, #1C5FD6, #0A6E7C); border-color: transparent; box-shadow: 0 0 14px -2px rgba(61,123,255,.6); }
body.bibliothek .reiter a[aria-current] { border-image: linear-gradient(90deg, #2EE6F2, #3D7BFF) 1; }
body.bibliothek .schritte li.an { background: linear-gradient(135deg, #3D7BFF, #1C5FD6); box-shadow: 0 0 10px rgba(61,123,255,.6); }

@media (prefers-reduced-motion: no-preference) {
  .kopf::after, main > section + section::after { background-size: 200% 100%; animation: lauf 9s linear infinite; }
  @keyframes lauf { from { background-position: 0 0; } to { background-position: 200% 0; } }
}

/* Spiel-Seite: Brücke zum Training im Courtblau-Nacht-Look */
body.spiel .welt-hell { background:
    radial-gradient(70% 90% at 85% 10%, rgba(61,123,255,.45), transparent 65%),
    radial-gradient(50% 60% at 0% 100%, rgba(61,220,151,.18), transparent 70%),
    linear-gradient(160deg, #050B24 0%, #0A1D5A 55%, #123F9E 100%); }
body.spiel .welt-hell h2 { text-transform: uppercase; font-weight: 800; background: var(--chrom); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.spiel .welt-hell .eyebrow { color: #3DDC97; }
body.spiel .welt-hell .teile span { border-radius: 3px; background: rgba(46,230,242,.08); border-color: rgba(46,230,242,.45); color: #CFF9FC; }
body.spiel .kh { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-radius: 0; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); color: #0B1433; background: linear-gradient(178deg, #FFFFFF 0%, #E3E8F8 44%, #AEB9DC 52%, #F2F5FF 70%, #D2D9EF 100%); }
body.spiel .vorschau .gross { box-shadow: 0 0 0 1px rgba(46,230,242,.35), 0 30px 70px -24px rgba(3,14,48,.8), 0 0 60px -14px rgba(46,230,242,.45); }
main > section[style*="padding-top:0"]::after { display: none; }

/* Kopf: dunkles Metall mit Glanzkante, Lichtband darunter, Chrom-Wortmarke */
.kopf {
  background:
    linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 42%),
    linear-gradient(90deg, color-mix(in srgb, var(--led-2) 22%, transparent), transparent 32%, transparent 68%, color-mix(in srgb, var(--led-3) 18%, transparent)),
    linear-gradient(180deg, #181D42 0%, #0C0F27 58%, #06081A 100%) !important;
  -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 14px 34px -14px color-mix(in srgb, var(--led-2) 65%, transparent);
}
.marke { background: var(--chrom); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 23px !important; }
.marke span { color: var(--led-1); -webkit-text-fill-color: var(--led-1); }
.marke img { width: 36px !important; height: 36px !important; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.schalter {
  border: 1px solid transparent !important;
  background: linear-gradient(180deg, #1C2150, #0D1031) padding-box, linear-gradient(90deg, var(--led-1), var(--led-2) 50%, var(--led-3)) border-box !important;
  box-shadow: 0 0 18px -4px color-mix(in srgb, var(--led-2) 70%, transparent);
}
.schalter a { color: #B9BFE6 !important; }
.schalter a[aria-current] { color: #070919 !important; background: linear-gradient(178deg, #FFFFFF 0%, #DDE3F8 44%, #A6B1DA 54%, #F1F4FF 100%) !important; box-shadow: 0 0 14px color-mix(in srgb, var(--led-1) 70%, transparent), inset 0 -1px 0 rgba(0,0,0,.15); }
body.spiel .schalter a[aria-current] { background: linear-gradient(178deg, #B4FBFF 0%, #2EE6F2 48%, #12B4C8 56%, #6FF2FA 100%) !important; box-shadow: 0 0 16px color-mix(in srgb, var(--led-1) 85%, transparent); }
.kopf nav a:not(.k) { color: #C3C8EE !important; transition: color .15s, text-shadow .15s; }
.kopf nav a:not(.k):hover { color: #fff !important; text-shadow: 0 0 12px color-mix(in srgb, var(--led-1) 80%, transparent); }

/* Training und Bibliothek: helle Flächen als Metallverlauf in Grau statt Weiß */
body.training, body.bibliothek {
  --schliff: linear-gradient(transparent, transparent);
  --glanz: linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 30%);
  --hellmetall: var(--glanz), linear-gradient(118deg, #BAC2D0 0%, #E3E7EE 15%, #F7F9FC 25%, #D3D9E3 41%, #C3CAD7 51%, #E8ECF2 65%, #F9FAFC 73%, #D1D7E1 87%, #BDC5D2 100%);
  --hellmetall-2: var(--glanz), linear-gradient(118deg, #AFB9CA 0%, #D8DEE7 17%, #EDF1F6 27%, #C7CFDB 45%, #B6C0CF 55%, #DBE1E9 69%, #ECEFF4 77%, #C4CCD8 91%, #B0BACB 100%);
  --platte: linear-gradient(180deg, #FDFEFF 0%, #F1F4F8 55%, #E6EAF1 100%);
  --stahlrand: linear-gradient(180deg, #FFFFFF, #B4BDCE 60%, #9AA4B8);
  background: #DCE1EA;
}
body.training main > section:not(.band):not(.held):not(.schluss) { background: var(--hellmetall); }
body.training main > section.grau:not(.band) { background: var(--hellmetall-2); border-block: 0; }
body.training .themen li, body.training .frage { border-top-color: rgba(20,24,51,.13); }
body.training .themen li { text-shadow: 0 1px 0 rgba(255,255,255,.6); }
body.training .form { background: var(--platte) padding-box, linear-gradient(135deg, #2EE6F2, #B4BDCE 32%, #C8CFDC 68%, #3D7BFF) border-box; box-shadow: inset 0 1px 0 #fff, 0 14px 30px -20px rgba(20,24,51,.45); }
body.training .form .bild { border-bottom-color: #C8CFDC; }
body.training .k2 { color: #141833; background: linear-gradient(178deg, #FFFFFF 0%, #E9EDF4 45%, #CDD4E0 55%, #F4F6FA 100%); border-color: #AEB7C9; }

body.bibliothek main { background: transparent; }
body.bibliothek { background: var(--hellmetall); background-attachment: fixed; }
body.bibliothek .leiste { background: var(--schliff), linear-gradient(180deg, #F7F9FC, #E3E8EF); box-shadow: 0 1px 0 #B9C2D2, 0 8px 18px -14px rgba(20,24,51,.35); }
body.bibliothek .suche label, body.bibliothek .suche button, body.bibliothek .chips button:not([aria-pressed="true"]) { background: var(--platte); border-color: #B9C2D2; }
body.bibliothek .reihe { background: var(--platte); border-color: #C3CBD8; box-shadow: inset 0 1px 0 #fff; }
body.bibliothek .reihe[aria-current] { background: var(--platte) padding-box, linear-gradient(135deg, #2EE6F2, #3D7BFF 50%, #3DDC97) border-box; }
body.bibliothek .vorschau { background: var(--platte) padding-box, linear-gradient(135deg, #2EE6F2, #B4BDCE 30%, #C8CFDC 70%, #3D7BFF) border-box; box-shadow: inset 0 1px 0 #fff, 0 18px 40px -22px rgba(20,24,51,.5); }
body.bibliothek .k2 { background: linear-gradient(178deg, #FFFFFF 0%, #E9EDF4 45%, #CDD4E0 55%, #F4F6FA 100%); border-color: #AEB7C9; }
body.bibliothek .zaehler { color: #4B556F; }

/* Wortmarke als ein Wort: Stamm in Chrom, Endung leuchtend */
.marke .wort { background: var(--chrom); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
.marke .wort i { font-style: normal; color: var(--led-1); -webkit-text-fill-color: var(--led-1); }

/* Drei Welten im Kopf: Spielen (Bildschirm), Taktik (beides), Training (Platz) */
.w-spiel { --w: #FF8A1F; } .w-taktik { --w: #B79BFF; } .w-training { --w: #3DDC97; }
.welten { display: grid; grid-template-columns: repeat(3, auto); gap: 4px; padding: 4px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: #11153A; }
.welten a { display: grid; grid-template-columns: 22px auto; column-gap: 9px; align-items: center; padding: 5px 14px 5px 10px; border-radius: 10px; text-decoration: none; color: #C3C8EE; transition: background .15s, color .15s; }
.welten svg { grid-row: span 2; width: 22px; height: 22px; color: var(--w); }
.welten b { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; line-height: 1.15; }
.welten small { font-size: 11px; line-height: 1.2; color: #8E95C8; white-space: nowrap; }
.welten a:hover { background: rgba(255,255,255,.07); color: #fff; }
.welten a[aria-current] { color: #070919; background: linear-gradient(178deg, #FFFFFF 0%, color-mix(in srgb, var(--w) 28%, #E4E8F8) 46%, color-mix(in srgb, var(--w) 60%, #9AA6D0) 54%, color-mix(in srgb, var(--w) 12%, #F4F6FF) 100%); box-shadow: inset 0 -1px 0 rgba(0,0,0,.15); }
.welten a[aria-current] svg { color: #070919; filter: none; }
.welten a[aria-current] small { color: #2A3150; }
.unterzeile { position: relative; z-index: 14; background: linear-gradient(180deg, #080A1F, #10143A); box-shadow: inset 0 -1px 0 rgba(255,255,255,.07); }
.unterzeile.u-spiel { --w: #FF8A1F; } .unterzeile.u-taktik { --w: #B79BFF; } .unterzeile.u-training { --w: #3DDC97; }
.unterzeile .rahmen { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; padding-top: 2px; padding-bottom: 0; }
.unterzeile .rahmen::-webkit-scrollbar { display: none; }
.unterzeile a { flex: none; padding: 10px 0 9px; font-size: 14px; font-weight: 500; color: #AEB4E0; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: color .15s; }
.unterzeile a:hover { color: #fff; }
.unterzeile a[aria-current] { color: #fff; border-bottom-color: var(--w); text-shadow: 0 0 12px color-mix(in srgb, var(--w) 70%, transparent); box-shadow: 0 6px 10px -6px var(--w); }
body.bibliothek .leiste { top: calc(env(safe-area-inset-top, 0px) + var(--kopf-h, 73px)); }
@media (max-width: 760px) {
  .kopf .rahmen { flex-wrap: wrap; row-gap: 10px; padding-block: 10px; }
  .kopf nav { display: flex !important; }
  .welten { order: 3; width: 100%; grid-template-columns: repeat(3, 1fr); }
  .welten a { padding: 5px 6px; column-gap: 6px; grid-template-columns: 18px auto; justify-content: center; }
  .welten svg { width: 18px; height: 18px; }
  .welten b { font-size: 13px; }
  .welten small { font-size: 10px; }
  .unterzeile .rahmen { gap: 16px; }
  .unterzeile a { font-size: 13.5px; }
  body.bibliothek { --kopf-h: 113px; }
}

/* Querverweise zwischen den Welten */
.kh-reihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.kh-reihe .kh { margin-top: 0; }
body.spiel .kh-2 { background: transparent; color: #E8EAFF; box-shadow: inset 0 0 0 1.5px rgba(183,155,255,.75); }
body.spiel .schlaege-kopf p a { color: var(--cyan); }
body.bibliothek .quer { margin: 4px 0 0; font-size: 14px; color: #4B556F; }
body.bibliothek .quer a { color: #1C5FD6; font-weight: 600; }
body.spiel .start-klein .einl { margin-top: 16px; font-size: clamp(17px, 1.7vw, 19px); color: var(--text-2); max-width: 46ch; }
body.spiel .start-klein .knoepfe { display: flex; gap: 14px; margin-top: 28px; }

/* Taktik: Silber zwischen beiden Welten */
body.taktik { --led-1: #2EE6F2; --led-2: #8B4DFF; --led-3: #3DDC97; }
body.taktik .held .eyebrow { color: #B79BFF; }
.feld { display: block; width: 100%; height: 100%; }
.feld .grund { fill: #1B4FB8; }
.feld .linie { fill: none; stroke: rgba(255,255,255,.8); stroke-width: 1.2; }
.feld .netz { stroke: #fff; stroke-width: 2.4; }
.feld .wir, .feld .die { stroke: #fff; stroke-width: 1.6; }
.feld .wir { fill: #2EE6F2; } .feld .die { fill: #FF8A1F; }
.feld .ball { fill: none; stroke: #F2FF5E; stroke-width: 1.6; stroke-dasharray: 3 3; }
.feld .b { fill: #F2FF5E; }
.feld .weg { fill: none; stroke: #3DDC97; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 6 4; }
.feld .hoehe { fill: none; stroke: #3DDC97; stroke-width: 2; stroke-dasharray: 4 3; }
.taktik-tafel { padding: 14px; background: #123A8E; }
body.taktik .form .bild { padding: 10px; background: #123A8E; }
body.taktik .formen { grid-template-rows: repeat(4, auto); }
body.taktik .form { grid-row: span 4; }
.zwei { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 20px; align-self: end; }
.zwei a { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 8px; text-decoration: none; }
.zwei a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--w); box-shadow: 0 0 8px var(--w); }
.zwei .z-spiel { --w: #FF8A1F; color: #fff; background: linear-gradient(180deg, #1C2150, #0D1031); }
.zwei .z-platz { --w: #3DDC97; color: #141833; background: var(--platte); box-shadow: inset 0 0 0 1px #AEB7C9; }
.wege { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; align-items: stretch; }
.weg-karte { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: 14px; text-decoration: none; color: #E8EAFF; background: rgba(255,255,255,.05); border: 1px solid color-mix(in srgb, var(--w) 55%, transparent); box-shadow: 0 0 26px -12px var(--w); transition: transform .15s, box-shadow .15s; }
.weg-karte:hover { transform: translateY(-2px); box-shadow: 0 0 34px -8px var(--w); }
.weg-karte svg { width: 30px; height: 30px; color: var(--w); }
.weg-karte b { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 22px; }
.weg-karte span { color: #C9D3F2; }
body.taktik .taktik-themen li { display: grid; gap: 2px; align-content: start; }
body.taktik .taktik-themen small { color: var(--tinte-2); font-size: 14px; }
@media (max-width: 860px) { body.taktik .formen { grid-template-rows: none; } body.taktik .form { grid-row: auto; } .wege { grid-template-columns: 1fr; } }

/* Größere Welt-Icons, Taktik mit beiden Icons übereinander */
.welten a { grid-template-columns: 28px auto; column-gap: 10px; }
.welten svg { width: 28px; height: 28px; }
.welten .w-taktik { grid-template-columns: 20px auto; }
.welten .paar { display: grid; gap: 1px; }
.welten .paar svg { width: 20px; height: 20px; grid-row: auto; }
.welten .paar svg:first-child { color: #FF8A1F; } .welten .paar svg:last-child { color: #3DDC97; }
.welten .w-taktik b { font-size: 21px; letter-spacing: .05em; }
.welten a[aria-current] .paar svg { color: #070919; }
@media (max-width: 760px) {
  .welten a { grid-template-columns: 24px auto; column-gap: 6px; }
  .welten svg { width: 24px; height: 24px; }
  .welten .w-taktik { grid-template-columns: 17px auto; }
  .welten .paar svg { width: 17px; height: 17px; }
  .welten .w-taktik b { font-size: 18px; }
}

/* Vierte Welt: Analyse eigener Videos */
.w-analyse { --w: #2EE6F2; }
.unterzeile.u-analyse { --w: #2EE6F2; }
.welten { grid-template-columns: repeat(4, auto); }
@media (max-width: 1100px) and (min-width: 761px) { .welten small { display: none; } .welten a { padding: 7px 10px 7px 8px; } .kopf .rahmen { gap: 14px; } }
@media (max-width: 760px) {
  .welten { grid-template-columns: repeat(4, 1fr); gap: 2px; }
  .welten a, .welten .w-taktik { grid-template-columns: 1fr; justify-items: center; row-gap: 3px; padding: 6px 2px 5px; }
  .welten svg { grid-row: auto; width: 22px; height: 22px; }
  .welten .paar { display: flex; gap: 0; height: 22px; align-items: center; }
  .welten .paar svg { width: 18px; height: 18px; }
  .welten b, .welten .w-taktik b { font-size: 13px; letter-spacing: .04em; }
  .welten small { display: none; }
}

/* Mitlaufende Abschnitte: erscheint beim Scrollen; breit offen oben rechts, schmal als Knopf unten rechts */
body.mitlaufend .unterzeile { display: none; }
body.mitlaufend main [id] { scroll-margin-top: calc(var(--kopf-h, 80px) + 12px); }
.bereiche { --w: #2EE6F2; position: fixed; z-index: 15; border-radius: 12px; border: 1px solid transparent; background: linear-gradient(180deg, rgba(24,29,66,.95), rgba(8,10,28,.95)) padding-box, linear-gradient(180deg, color-mix(in srgb, var(--w) 70%, transparent), rgba(255,255,255,.08) 50%, color-mix(in srgb, var(--w) 40%, transparent)) border-box; box-shadow: 0 14px 34px -16px rgba(3,6,20,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0 round 12px); transition: clip-path .4s cubic-bezier(.2,.8,.2,1), opacity .25s, visibility 0s .4s; }
.bereiche.da { visibility: visible; opacity: 1; clip-path: inset(-20px -20px -40px -20px round 12px); transition: clip-path .4s cubic-bezier(.2,.8,.2,1), opacity .2s, visibility 0s; }
body.spiel .bereiche { --w: #FF8A1F; } body.training .bereiche { --w: #3DDC97; } body.taktik .bereiche { --w: #B79BFF; } body.analyse .bereiche { --w: #2EE6F2; }
.bereiche ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.bereiche a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; color: #8E95C8; text-decoration: none; font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap; transition: color .15s, background .15s; }
.bereiche a i { flex: none; width: 3px; height: 14px; border-radius: 2px; background: rgba(255,255,255,.18); transition: background .2s, box-shadow .2s; }
.bereiche a:hover { color: #fff; background: rgba(255,255,255,.06); }
.bereiche a[aria-current] { color: #fff; background: color-mix(in srgb, var(--w) 12%, transparent); }
.bereiche a[aria-current] i { background: var(--w); box-shadow: 0 0 10px var(--w); }
.bereiche a:focus-visible, .bereiche-knopf:focus-visible { outline: 2px solid var(--w); outline-offset: 1px; }
.bereiche-seiten { display: grid; margin-top: 4px; padding-top: 4px; border-top: 1px solid rgba(255,255,255,.1); }
.bereiche-seiten a { color: #737AAE; font-size: 12.5px; padding-left: 19px; }
.bereiche-knopf { display: none; align-items: center; gap: 8px; border: 0; background: none; color: #fff; font: 600 13px/1.2 var(--f-text, inherit); padding: 10px 12px; cursor: pointer; }
.bereiche-knopf i { width: 3px; height: 14px; border-radius: 2px; background: var(--w); box-shadow: 0 0 10px var(--w); }
.bereiche-knopf svg { width: 14px; height: 14px; color: #AEB4E0; transition: transform .2s; }
@media (min-width: 1024px) {
  .bereiche { right: max(12px, env(safe-area-inset-right, 0px)); top: calc(env(safe-area-inset-top, 0px) + var(--kopf-h, 80px) + 14px); padding: 6px; }
  body.mitlaufend main .rahmen, body.mitlaufend .fuss { max-width: none; margin-left: max(0px, calc((100vw - 1200px) / 2)); margin-right: max(var(--box-platz, 170px), calc((100vw - 1200px) / 2)); }
  body.mitlaufend main .sa, body.mitlaufend main #inhalt { width: auto; margin-left: max(16px, calc((100vw - 1200px) / 2)); margin-right: max(calc(var(--box-platz, 170px) + 16px), calc((100vw - 1200px) / 2)); }
}
@media (max-width: 1023px) {
  .bereiche { right: max(14px, env(safe-area-inset-right, 0px)); bottom: max(14px, env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column-reverse; }
  .bereiche-knopf { display: flex; }
  .bereiche-liste { display: none; padding: 6px 6px 0; max-height: calc(100dvh - var(--kopf-h, 80px) - 90px); overflow-y: auto; }
  .bereiche.offen .bereiche-liste { display: block; }
  .bereiche.offen .bereiche-knopf svg { transform: rotate(180deg); }
  .bereiche a { font-size: 14px; padding: 9px 10px; }
  body.mitlaufend .fuss { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .bereiche, .bereiche.da, .bereiche a, .bereiche a i, .bereiche-knopf svg { transition: none; } }

/* Weniger Licht: Kopf und Linien gedämpft, alle Bereiche gleich groß */
.kopf { box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
.kopf::after { height: 2px; bottom: -1px; opacity: .8; box-shadow: var(--led-glow); animation: none !important; }
main > section + section::after { animation: none !important; }
.welten small { display: none; }
.welten a { padding: 7px 12px 7px 9px; }
.welten .w-taktik b { font-size: 14px; letter-spacing: .06em; }
@media (max-width: 760px) { .welten .w-taktik b { font-size: 13px; letter-spacing: .04em; } }
.welten a { grid-template-rows: auto; }
.welten svg, .welten .paar { grid-row: auto; }
@media (min-width: 761px) { .welten .w-taktik { grid-template-columns: 28px auto; } }

/* Sprachwahl und Hinweis auf kommende Bereiche */
.sprache { display: flex; gap: 2px; margin-left: auto; padding: 3px; border-radius: 8px; border: 1px solid rgba(255,255,255,.12); font: 600 12px var(--f-daten, monospace); letter-spacing: .06em; }
.sprache a { padding: 4px 8px; border-radius: 5px; text-decoration: none; color: #A3A9D6; }
.sprache a:hover { color: #fff; }
.sprache a[aria-current] { background: rgba(255,255,255,.12); color: #fff; }
.kopf .sprache + nav { margin-left: 12px; }
.welten .bald-k { grid-column: 2; font: 700 11px var(--f-daten, monospace); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #F2FF5E; line-height: 1; }
.welten .w-analyse b { line-height: 1.05; }
@media (min-width: 761px) { .welten .w-analyse { grid-template-rows: auto auto; } .welten .w-analyse svg { grid-row: span 2; } }
@media (max-width: 760px) { .welten .bald-k { grid-column: auto; } }
.welten a[aria-current] .bald-k { color: #3D4400; }
.sprache .aus { padding: 4px 8px; border-radius: 5px; color: #7A80A6; cursor: default; }
