/* ============================================================
   grand position · Komponenten des Design-Systems. Stand November 2026.
   Quelle: https://grandposition.grandposition.digital/komponenten.css
   Baut auf tokens.css auf: Karten, Radius, Schatten, Schwebeleiste,
   Icon-Sprache (Phosphor), Oberflächen-Ausschnitte, Geräte, Infografiken.
   Ansicht aller Bausteine: komponenten.html
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 0; }
body { margin: 0; background: var(--grund); color: var(--tinte); font-family: var(--font-text); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blau); text-decoration: none; }
a:hover { color: var(--blau-tief); }
:focus-visible { outline: 2px solid var(--blau); outline-offset: 2px; border-radius: .25rem; }
b, strong { font-weight: 700; }
.zahl { font-variant-numeric: tabular-nums; }
.grau { color: var(--grau); }

/* ---------- Icon-Sprache: Phosphor, Schnitt Light für Bedienung, Duotone für Themen ---------- */
.ic { width: 1.5rem; height: 1.5rem; flex: none; display: block; }
.ic-s .ic, .ic.s { width: 1.25rem; height: 1.25rem; }
.ic-l .ic, .ic.l { width: 2rem; height: 2rem; }
.kachel { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius-karte); background: var(--blau-hauch); color: var(--blau); flex: none; }
.kachel .ic { width: 1.75rem; height: 1.75rem; }
.kachel.zin { background: var(--zinnober-hauch); color: var(--zinnober); }
.kachel.saf { background: var(--safran-hauch); color: var(--safran-tief); }
.kachel.tinte { background: var(--tinte); color: #fff; }
.kachel.gross { width: 4rem; height: 4rem; border-radius: 1.125rem; }
.kachel.gross .ic { width: 2.25rem; height: 2.25rem; }

/* ---------- Seite und Sektionen ---------- */
.box { max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
/* Sprungziele: Die Sektion schließt bündig mit dem oberen Rand ab. Ihr oberer Innenabstand hält
   den Inhalt frei von der Schwebeleiste (4,25rem) und lässt darunter Luft. */
.sek { padding-block: clamp(6.5rem, 9vw, 7.5rem) clamp(4rem, 8vw, 7rem); scroll-margin-top: 0; }
.sek.fl { background: var(--flaeche); }
.sek.hauch { background: var(--blau-hauch); }
.sek.tinte { background: #0E1012; color: #fff; }
.sek.tinte .grau { color: #A6A8AB; }
.sek-kopf { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.sek-kopf.mitte { margin-inline: auto; text-align: center; }
.sek-kopf .h2 { margin-top: var(--space-3); }
.sek-kopf .h2 b { font-weight: 700; }
.sek-kopf p { margin-top: var(--space-3); font-size: 1.1875rem; line-height: 1.5; color: var(--grau); }
.sek.tinte .sek-kopf p { color: #A6A8AB; }
.h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.h3 { font-size: 1.3125rem; }

/* Schwebeleiste: löst sich vom Seitenrand, zeigt den aktiven Abschnitt, weicht beim Lesen nach unten und kommt beim Hochscrollen zurück */
.kopf { position: fixed; top: .75rem; left: 0; right: 0; z-index: 30; display: block; height: auto; background: none; border: 0; pointer-events: none; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.kopf.weg { transform: translateY(-160%); }
.kopf .leiste { position: relative; pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 3.5rem; padding: .5rem .5rem .5rem 1.25rem; border-radius: var(--radius-rund); background: color-mix(in srgb, var(--grund) 80%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: var(--schatten-flach); transition: box-shadow .3s ease, background-color .3s ease; }
.kopf.fahrt .leiste { background: color-mix(in srgb, var(--grund) 88%, transparent); box-shadow: var(--schatten-hoch); }
.kopf .marke-link { display: block; flex: none; }
.kopf img { height: 1.375rem; width: auto; min-width: 0; display: block; }
.kopf nav { position: relative; display: flex; gap: .125rem; overflow: visible; }
.kopf nav a { position: relative; z-index: 1; font: 500 .9375rem/1 var(--font-text); color: var(--grau); white-space: nowrap; padding: .7rem .9rem; border-radius: var(--radius-rund); transition: color .2s ease; }
.kopf nav a:hover, .kopf nav a[aria-current="true"] { color: var(--tinte); background: none; }
.kopf nav .marke { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: var(--radius-rund); background: var(--flaeche); opacity: 0; transition: transform .4s cubic-bezier(.22,1,.36,1), width .4s cubic-bezier(.22,1,.36,1), opacity .2s ease; }
.kopf-aktion { display: flex; align-items: center; gap: .375rem; flex: none; }
.kopf .knopf.klein { min-height: 2.5rem; padding-inline: 1rem; }
.menue-knopf { display: none; place-items: center; width: 2.5rem; height: 2.5rem; border: 0; border-radius: var(--radius-rund); background: var(--flaeche); color: var(--tinte); cursor: pointer; }
.menue-knopf .zu, .kopf.offen .menue-knopf .auf { display: none; }
.kopf.offen .menue-knopf .zu { display: block; }
main { padding-top: 4.75rem; }
@media (max-width: 900px) {
  .kopf .leiste { padding-left: 1rem; }
  .menue-knopf { display: grid; }
  .kopf nav { position: absolute; top: calc(100% + .5rem); left: 0; right: 0; flex-direction: column; gap: 0; padding: .5rem; border-radius: var(--radius-gross); background: var(--grund); box-shadow: var(--schatten-hoch); visibility: hidden; opacity: 0; transform: translateY(-.5rem); transition: opacity .2s ease, transform .3s cubic-bezier(.22,1,.36,1), visibility 0s .3s; }
  .kopf.offen nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .kopf nav a { padding: 1rem; font-size: 1.0625rem; color: var(--tinte); border-radius: var(--radius-karte); }
  .kopf nav a[aria-current="true"] { background: var(--flaeche); }
  .kopf nav .marke { display: none; }
}
@media (max-width: 420px) { .kopf .knopf .lang { display: none; } }

/* ---------- Bausteine ---------- */
.pille { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: var(--radius-rund); background: var(--blau-hauch); color: var(--blau-tief); font: 600 .8125rem/1.35 var(--font-text); letter-spacing: .01em; white-space: nowrap; }
.pille .ic { width: 1rem; height: 1rem; }
.pille.neutral { background: var(--flaeche); color: var(--grau); }
.pille.zin { background: var(--zinnober-hauch); color: var(--zinnober-tief); }
.pille.saf { background: var(--safran-hauch); color: var(--safran-tief); }
.pille.dunkel { background: rgba(255,255,255,.1); color: #fff; }
.sek.fl .pille.neutral, .sek.hauch .pille { background: #fff; }
.karte .pille.neutral, .grafik .pille.neutral, .ui .pille.neutral { background: var(--flaeche); }
.sek.hauch .ui .pille { background: var(--blau-hauch); }
.sek.hauch .ui .pille.zin { background: var(--zinnober-hauch); }

.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .6rem 1.25rem; border-radius: var(--radius-rund); border: 0; background: var(--tinte); color: #fff; font: 600 1rem/1.2 var(--font-text); cursor: pointer; transition: background var(--dauer-kurz), box-shadow var(--dauer-kurz); }
.knopf:hover { background: var(--blau); color: #fff; }
.knopf.sek2 { background: #fff; color: var(--tinte); box-shadow: var(--schatten-flach); }
.knopf.sek2:hover { background: var(--flaeche); color: var(--tinte); }
.knopf.klein { min-height: 2.25rem; padding: .35rem .85rem; font-size: .875rem; }
.knopf .ic { width: 1.25rem; height: 1.25rem; }
.reihe { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.pfeil { display: inline-flex; align-items: center; gap: .35rem; font: 600 1rem/1.2 var(--font-text); }
.pfeil .ic { width: 1.125rem; height: 1.125rem; transition: transform var(--dauer-kurz); }
.pfeil:hover .ic { transform: translate(.125rem, -.125rem); }

.karte { background: #fff; color: var(--tinte); border-radius: var(--radius-karte); box-shadow: var(--schatten-flach); padding: clamp(1.25rem, 2.4vw, 1.75rem); }
.karte.hoch { box-shadow: var(--schatten-hoch); }
.karte.gross { border-radius: var(--radius-gross); padding: clamp(1.5rem, 3vw, 2.5rem); }
.karte.dunkel { background: #0E1012; color: #fff; box-shadow: none; }
.karte.dunkel .grau { color: #A6A8AB; }
.karte.blau { background: var(--blau); color: #fff; box-shadow: none; }
.karte > * + * { margin-top: var(--space-3); }
.karte .h3 + p { margin-top: var(--space-2); color: var(--grau); }
.karte.dunkel .h3 + p { color: #A6A8AB; }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.b2 { grid-column: span 2; } .b3 { grid-column: span 3; } .b4 { grid-column: span 4; } .b6 { grid-column: span 6; }
.bento .karte { display: flex; flex-direction: column; }
.bento .karte .unten { margin-top: auto; padding-top: var(--space-4); }
@media (max-width: 900px) { .b2, .b3, .b4 { grid-column: span 6; } }

/* ---------- Einstieg ---------- */
.einstieg { padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem); overflow: hidden; }
.einstieg .box { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.einstieg .h1 { font-size: clamp(2.375rem, 4.4vw, 3.5rem); margin-top: var(--space-4); }
.einstieg .h1 b { font-weight: 700; }
.einstieg .lead { margin-top: var(--space-4); font-size: 1.25rem; line-height: 1.5; color: var(--grau); max-width: 30em; }
.einstieg .reihe { margin-top: var(--space-5); }
.einstieg .belege { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-6); font-size: .9375rem; color: var(--grau); }
.einstieg .belege li { display: flex; align-items: center; gap: .5rem; }
.einstieg .belege .ic { width: 1.25rem; height: 1.25rem; color: var(--blau); }
@media (max-width: 900px) { .einstieg .box { grid-template-columns: 1fr; } .ui.hinweis { margin-right: 0; width: auto; } .ui.versetzt { margin-left: 1rem; } }
.einstieg .box > * { min-width: 0; }

/* ---------- Oberflächen-Ausschnitte: gestaltete Ausschnitte echter Inhalte ---------- */
.buehne { position: relative; border-radius: var(--radius-gross); background: var(--blau-hauch); padding: clamp(1.25rem, 3vw, 2.5rem); min-height: 22rem; isolation: isolate; }
.buehne::before { content: ""; position: absolute; z-index: -1; right: 0; top: 0; width: 42%; height: 58%; background: var(--blau); border-radius: 0 var(--radius-gross) 0 var(--radius-gross); }
.buehne::after { content: ""; position: absolute; z-index: -1; left: 1.5rem; bottom: 1.5rem; width: 3rem; height: 3rem; background: var(--safran); border-radius: var(--radius-klein); }
.buehne.ruhig::before, .buehne.ruhig::after { display: none; }
.buehne.weiss { background: #fff; box-shadow: var(--schatten-flach); }
.buehne.zin::before { background: var(--zinnober); width: 34%; height: 44%; }
.ui { background: #fff; color: var(--tinte); border-radius: var(--radius-karte); box-shadow: var(--schatten-hoch); padding: 1.125rem 1.25rem; font-size: .9375rem; line-height: 1.4; }
.ui + .ui { margin-top: 1rem; }
.ui-kopf { display: flex; align-items: center; gap: .75rem; padding-bottom: .875rem; border-bottom: 1px solid var(--linie); margin-bottom: .875rem; }
.ui-kopf { flex-wrap: wrap; }
.ui-kopf b { flex: 1; min-width: 8rem; font: 700 1rem/1.25 var(--font-display); }
.ui-kopf .pille { margin-left: auto; }
.ui-feld { display: grid; gap: .2rem; padding: .625rem .875rem; border-radius: var(--radius-klein); background: var(--flaeche); }
.ui-feld + .ui-feld { margin-top: .5rem; }
.ui-feld span { font: 600 .75rem/1.3 var(--font-text); color: var(--grau); letter-spacing: .02em; }
.ui-feld b { font: 600 1.0625rem/1.3 var(--font-text); }
.ui-feld.aktiv { background: #fff; box-shadow: 0 0 0 2px var(--blau); }
.ui-feld .zeile { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.ui-liste li { display: flex; align-items: center; gap: .625rem; padding: .5rem 0; }
.ui-liste li + li { border-top: 1px solid var(--linie); }
.ui-liste .ic { width: 1.25rem; height: 1.25rem; color: var(--linie-stark); }
.ui-liste .ok .ic { color: var(--blau); }
.ui-liste .ok { color: var(--grau); }
.ui-liste .pille { margin-left: auto; }
.ui-messer { height: .375rem; border-radius: var(--radius-rund); background: var(--flaeche); overflow: hidden; margin-top: .75rem; }
.ui-messer i { display: block; height: 100%; background: var(--blau); border-radius: inherit; }
.ui-datei { display: flex; align-items: center; gap: .75rem; padding: .625rem 0; }
.ui-datei + .ui-datei { border-top: 1px solid var(--linie); }
.ui-datei > div { min-width: 0; flex: 1; }
.ui-datei .pille { flex: none; }
.ui-datei small { display: block; color: var(--grau); font-size: .8125rem; }
.ui-datei .pille { margin-left: auto; }
.ui-datei .kachel { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-klein); }
.ui-datei .kachel .ic { width: 1.375rem; height: 1.375rem; }
.ui.schmal { max-width: 17rem; }
.ui.rechts { margin-left: auto; }
.ui.versetzt { margin-left: clamp(1rem, 6vw, 4rem); margin-top: -1.25rem; position: relative; }
.ui.hinweis { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; width: max-content; max-width: 100%; margin-top: -1rem; position: relative; margin-left: auto; margin-right: -.75rem; }
.ui.hinweis .ic { color: var(--zinnober); }
.ui.hinweis small { display: block; color: var(--grau); font-size: .8125rem; }
.spez { display: grid; align-items: start; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.spez figcaption { margin-top: var(--space-3); font-size: .9375rem; color: var(--grau); }
.spez figcaption b { display: block; color: var(--tinte); font: 700 1.0625rem/1.3 var(--font-display); }
.spez .buehne { min-height: 19rem; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 900px) { .spez { grid-template-columns: minmax(0, 1fr); } }
.spez figure { min-width: 0; }

/* ---------- Icon-Übersicht ---------- */
.icons { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .5rem; }
.icons li { display: grid; justify-items: center; gap: .5rem; padding: 1.125rem .25rem .875rem; border-radius: var(--radius-karte); background: #fff; box-shadow: var(--schatten-flach); font-size: .75rem; line-height: 1.25; color: var(--grau); text-align: center; }
.icons .ic { width: 1.75rem; height: 1.75rem; color: var(--tinte); }
@media (max-width: 1000px) { .icons { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.regeln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.regeln > div > * + * { margin-top: .625rem; }
.regeln p { font-size: .9375rem; color: var(--grau); }
.regeln .probe { display: flex; align-items: center; gap: .75rem; min-height: 4rem; }
@media (max-width: 900px) { .regeln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .regeln { grid-template-columns: 1fr; } }

/* ---------- Infografiken ---------- */
.info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.info .breit { grid-column: 1 / -1; }
.grafik { background: #fff; border-radius: var(--radius-gross); box-shadow: var(--schatten-flach); padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.grafik .titel { font: 300 clamp(1.5rem, 2.4vw, 2rem)/1.2 var(--font-display); max-width: 22em; margin-top: var(--space-3); }
.grafik .titel b { font-weight: 700; }
.grafik .feld { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.grafik .quelle { margin-top: auto; padding-top: clamp(1.5rem, 3vw, 2rem); font-size: .8125rem; line-height: 1.45; color: var(--grau); max-width: 60em; }
@media (max-width: 900px) { .info { grid-template-columns: minmax(0, 1fr); } }

/* A · Ablauf mit Frist */
.ablauf { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; padding-top: 3.25rem; }
.ablauf-rahmen { position: relative; }
.szene-halter { margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.ablauf::before { transform: scaleX(var(--zug, 1)); transform-origin: left center; content: ""; position: absolute; left: 1.5rem; right: calc(100% / 6 - 1.5rem); top: calc(3.25rem + 1.5rem - 1px); height: 2px; background: var(--blau); }
.ablauf li { position: relative; padding-right: .75rem; min-width: 0; }
.ablauf .knoten { position: relative; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--blau); color: var(--blau); }
.ablauf .knoten .ic { width: 1.5rem; height: 1.5rem; }
.ablauf .frist .knoten { box-shadow: 0 0 0 2px var(--zinnober); color: var(--zinnober); }
.ablauf .ende .knoten { background: var(--blau); color: #fff; }
.ablauf b { display: block; margin-top: .875rem; font: 700 .9375rem/1.25 var(--font-display); overflow-wrap: anywhere; }
.ablauf span { display: block; margin-top: .25rem; font-size: .875rem; line-height: 1.4; color: var(--grau); max-width: 12em; }
.klammer { position: absolute; top: 0; left: calc(100% / 6 + 1.5rem); width: calc(100% / 6 * 2); height: 2.25rem; border: 2px solid var(--zinnober); border-bottom: 0; border-radius: .5rem .5rem 0 0; }
.klammer em { position: absolute; left: 50%; top: 0; transform: translate(-50%, -55%); background: #fff; padding: 0 .625rem; font: 700 .9375rem/1.2 var(--font-display); font-style: normal; color: var(--zinnober); white-space: nowrap; }
@media (max-width: 900px) {
  .ablauf { grid-template-columns: 1fr; padding-top: 0; row-gap: 1.25rem; }
  .ablauf::before { left: calc(1.5rem - 1px); right: auto; top: 1.5rem; bottom: 1.5rem; width: 2px; height: auto; transform: scaleY(var(--zug, 1)); transform-origin: center top; }
  .ablauf li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; align-items: start; padding: 0; }
  .ablauf b { margin-top: .25rem; } .ablauf b, .ablauf span { grid-column: 2; max-width: none; }
  .ablauf .knoten { grid-row: 1 / 3; }
  .klammer { display: none; }
  .ablauf .frist b::after { content: " · höchstens 6 Monate nach dem Informationsschreiben"; color: var(--zinnober); }
}

/* B · Anteile */
.anteile { display: grid; gap: 1.25rem; }
.anteile .kopfz { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font: 700 1rem/1.3 var(--font-display); margin-bottom: .5rem; }
.anteile .kopfz span { font: 400 .875rem/1.3 var(--font-text); color: var(--grau); }
.balken { display: flex; height: 3.5rem; border-radius: var(--radius-klein); overflow: hidden; }
.balken > span { display: flex; flex-direction: column; justify-content: center; padding: 0 .875rem; min-width: 0; font: 700 1.125rem/1.15 var(--font-display); white-space: nowrap; }
.balken small { font: 600 .75rem/1.2 var(--font-text); opacity: .85; }
.balken .zu { background: var(--blau); color: #fff; }
.balken .ei { background: var(--blau-hauch); color: var(--tinte); }
.balken .ei.akz { background: var(--zinnober); color: #fff; }

.balken .kurz { display: none; }
@media (max-width: 520px) { .balken > span { padding: 0 .5rem; font-size: 1rem; } .balken .akz .lang, .balken .akz small { display: none; } .balken .akz .kurz { display: inline; } .anteile .kopfz { display: block; } .anteile .kopfz span { display: block; } }

/* C · Kontingent */
.jahre { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
.jahre li { display: grid; gap: .375rem; }
.jahre i { display: block; height: 2.75rem; border-radius: var(--radius-klein); background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--linie); }
.jahre i.voll { background: var(--blau); box-shadow: none; }
.jahre i.akz { background: var(--zinnober); box-shadow: none; }
.jahre span { font: 600 .875rem/1.3 var(--font-text); color: var(--grau); text-align: center; margin-top: .25rem; }
.legende { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.25rem; font-size: .875rem; color: var(--grau); }
.legende span { display: inline-flex; align-items: center; gap: .5rem; }
.legende i { width: .875rem; height: .875rem; border-radius: .2rem; background: var(--blau); }
.legende i.leer { background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--linie); }
.legende i.akz { background: var(--zinnober); }

/* Aufbau einer Infografik */
.aufbau { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.aufbau li { display: flex; gap: .875rem; align-items: flex-start; font-size: .9375rem; color: var(--grau); }
.aufbau b { display: block; color: var(--tinte); font: 700 1.0625rem/1.3 var(--font-display); }
@media (max-width: 900px) { .aufbau { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .aufbau { grid-template-columns: 1fr; } }

/* Dunkle Sektion: Reihenfolge */
.folge3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem); counter-reset: f; }
.folge3 li { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); border-radius: var(--radius-karte); padding: 1.5rem; }
.folge3 li > * + * { margin-top: .75rem; }
.folge3 .kachel { background: rgba(255,255,255,.1); color: #87CBEF; }
.folge3 p { color: #A6A8AB; font-size: .9375rem; }
@media (max-width: 900px) { .folge3 { grid-template-columns: 1fr; } }

.fuss { background: #0E1012; color: #A6A8AB; padding-block: var(--space-6); font-size: .875rem; }
.fuss .box { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; }
.fuss img { height: 1.375rem; width: auto; display: block; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ============================================================
   Geräte und Systeme: Rahmen aus CSS, Inhalte sind echte Ausschnitte.
   Alle Innenmaße in em, die Schriftgröße folgt der Gerätebreite (cqw).
   ============================================================ */
.sek.nacht { background: #0E1012; color: #fff; }
.sek.nacht .sek-kopf p, .sek.nacht .grau { color: #A6A8AB; }
.studio { position: relative; border-radius: var(--radius-gross); background: #1A1D21; box-shadow: inset 0 0 0 1px #33383E; padding: clamp(1.5rem, 3.5vw, 3rem); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.studio::before { content: ""; position: absolute; z-index: -1; inset: -20% -10% auto -10%; height: 90%; background: radial-gradient(50% 60% at 50% 40%, rgba(77,178,230,.28), transparent 70%); }
.studio.zin::before { background: radial-gradient(50% 60% at 60% 40%, rgba(255,106,69,.22), transparent 70%); }
.studio figcaption { margin-top: auto; padding-top: clamp(1.5rem, 3vw, 2.25rem); font-size: .9375rem; color: #A6A8AB; }
.studio figcaption b { display: block; color: #fff; font: 700 1.125rem/1.3 var(--font-display); }
.szene { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(.75rem, 2vw, 1.5rem); min-height: 15rem; }

/* Bildschirminhalt */
.schirm { background: #fff; color: #0E1012; overflow: hidden; container-type: inline-size; }
.schirm > .in { font-size: 2.7cqw; line-height: 1.35; height: 100%; display: flex; flex-direction: column; }
.schirm .leiste { display: flex; align-items: center; gap: .5em; padding: .6em .9em; background: #F2F4F6; border-bottom: 1px solid #D5D8DC; }
.schirm .leiste i { width: .65em; height: .65em; border-radius: 50%; background: #D5D8DC; }
.schirm .leiste .adr { flex: 1; margin-left: .6em; display: flex; align-items: center; gap: .4em; background: #fff; border-radius: 99em; padding: .25em .9em; font-size: .85em; color: #646363; box-shadow: inset 0 0 0 1px #D5D8DC; }
.schirm .leiste .adr .ic { width: 1em; height: 1em; }
.schirm .flaeche { flex: 1; display: grid; grid-template-columns: 34% 1fr; min-height: 0; }
.schirm .seitenl { background: #F2F4F6; padding: 1.1em 1em; display: grid; gap: .55em; align-content: start; }
.schirm .seitenl span { display: flex; align-items: center; gap: .6em; font-weight: 600; color: #646363; }
.schirm .seitenl span i { display: grid; place-items: center; width: 1.7em; height: 1.7em; background: #0E1012; color: #fff; font-style: normal; font-weight: 700; font-size: .8em; border-radius: .3em; flex: none; }
.schirm .seitenl .an { color: #0E1012; }
.schirm .seitenl .an i { background: #C8340F; }
.schirm .haupt { padding: 1.2em 1.3em; display: grid; gap: .6em; align-content: start; }
.schirm .haupt h4 { font: 700 1.25em/1.2 var(--font-display); }
.schirm .f { background: #F2F4F6; border-radius: .5em; padding: .55em .8em; display: grid; gap: .1em; }
.schirm .f small { font-size: .72em; font-weight: 600; color: #646363; }
.schirm .f b { font-weight: 600; font-size: 1.05em; }
.schirm .f.an { background: #fff; box-shadow: 0 0 0 .14em #0075B0; }
.schirm .kn { justify-self: start; background: #0E1012; color: #fff; border-radius: 99em; padding: .45em 1.1em; font-weight: 600; font-size: .9em; }

/* Laptop */
.laptop { flex: 1 1 22rem; max-width: 34rem; min-width: 0; }
.laptop .deckel { background: #0E1012; border-radius: 1rem 1rem 0 0; padding: .55rem .55rem .65rem; box-shadow: 0 0 0 1px #3A4047, 0 2rem 4rem -1.5rem rgba(0,0,0,.7); }
.laptop .schirm { border-radius: .4rem; aspect-ratio: 16 / 10; }
.laptop .basis { position: relative; height: .8rem; margin-inline: -5%; border-radius: .2rem .2rem .9rem .9rem; background: linear-gradient(#DCE0E4, #9BA1A8); }
.laptop .basis::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: .3rem; border-radius: 0 0 .4rem .4rem; background: #7B8189; }

/* Smartphone */
.handy { position: relative; flex: none; width: clamp(8.5rem, 16vw, 11rem); background: #0E1012; border-radius: 1.9rem; padding: .4rem; box-shadow: 0 0 0 1px #3A4047, 0 2rem 3rem -1rem rgba(0,0,0,.7); }
.handy::before { content: ""; position: absolute; left: 50%; top: .85rem; transform: translateX(-50%); width: 30%; height: .8rem; border-radius: 99rem; background: #0E1012; z-index: 1; }
.handy .schirm { border-radius: 1.55rem; aspect-ratio: 9 / 19; }
.handy .schirm > .in { font-size: 7.2cqw; padding: 3.4em 1em 1em; gap: .6em; }
.handy h4 { font: 700 1.2em/1.2 var(--font-display); }
.handy ul { display: grid; }
.handy li { display: flex; align-items: center; gap: .5em; padding: .5em 0; border-bottom: 1px solid #D5D8DC; }
.handy li .ic { width: 1.25em; height: 1.25em; color: #7B8189; }
.handy li.ok { color: #646363; } .handy li.ok .ic { color: #0075B0; }
.handy .mess { height: .4em; border-radius: 99em; background: #F2F4F6; overflow: hidden; }
.handy .mess i { display: block; height: 100%; width: 66%; background: #0075B0; border-radius: inherit; }
.handy .kn { margin-top: auto; text-align: center; background: #0E1012; color: #fff; border-radius: 99em; padding: .6em; font-weight: 600; }
.szene .handy.vorn { margin-left: -2.25rem; margin-bottom: -.75rem; z-index: 2; }

/* Monitor, Tastatur, Maus */
.platz { display: grid; justify-items: center; gap: 1.1rem; flex: 1; min-width: 0; }
.monitor { width: 100%; max-width: 24rem; }
.monitor .rahmen { background: #0E1012; border-radius: .8rem; padding: .45rem; box-shadow: 0 0 0 1px #3A4047, 0 2rem 4rem -1.5rem rgba(0,0,0,.7); }
.monitor .schirm { border-radius: .45rem; aspect-ratio: 16 / 9; }
.monitor .schirm > .in { font-size: 4.6cqw; padding: 1.2em 1.4em; gap: .8em; justify-content: center; }
.monitor .hals { width: 12%; height: 1.4rem; margin-inline: auto; background: linear-gradient(90deg, #7B8189, #C9CDD2 50%, #7B8189); }
.monitor .fuss-m { width: 36%; height: .4rem; margin-inline: auto; border-radius: 99rem; background: #C9CDD2; }
.monitor h4 { font: 300 1.5em/1.15 var(--font-display); }
.monitor h4 b { font-weight: 700; }
.monitor .bk { display: flex; height: 2.4em; border-radius: .4em; overflow: hidden; font: 700 .95em/1 var(--font-display); }
.monitor .bk span { display: flex; align-items: center; padding: 0 .7em; white-space: nowrap; }
.monitor .bk .z { background: #0075B0; color: #fff; }
.monitor .bk .e { background: #E3EEF6; }
.monitor .bk .e.a { background: #C8340F; color: #fff; }
.eingabe { display: flex; align-items: center; gap: 1rem; }
.tastatur { display: grid; grid-template-columns: repeat(14, 1fr); gap: .18rem; padding: .4rem; width: clamp(11rem, 20vw, 15rem); background: linear-gradient(#DCE0E4, #B4BAC1); border-radius: .55rem; box-shadow: 0 1rem 2rem -1rem rgba(0,0,0,.7); }
.tastatur i { aspect-ratio: 1; background: #fff; border-radius: .18rem; }
.tastatur i.z { background: #C8340F; grid-column: span 2; aspect-ratio: auto; }
.tastatur i.s { background: #F5B700; }
.tastatur i.w2 { grid-column: span 2; aspect-ratio: auto; }
.tastatur i.leer { grid-column: span 6; aspect-ratio: auto; }
.maus { position: relative; width: 2.6rem; height: 4.2rem; border-radius: 1.3rem; background: linear-gradient(#fff, #DCE0E4); box-shadow: 0 1rem 2rem -1rem rgba(0,0,0,.7); flex: none; }
.maus::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 42%; background: #B4BAC1; }
.maus::after { content: ""; position: absolute; left: 50%; top: 16%; transform: translateX(-50%); width: .32rem; height: .8rem; border-radius: 99rem; background: #0075B0; }

/* Server und Netzwerk */
.server { display: grid; gap: .3rem; padding: .45rem; width: 7.5rem; background: #0E1012; border-radius: .8rem; box-shadow: 0 0 0 1px #3A4047, 0 1.5rem 3rem -1rem rgba(0,0,0,.7); }
.server div { position: relative; display: flex; align-items: center; gap: .28rem; height: 1.5rem; padding: 0 .5rem; border-radius: .35rem; background: #1A1D21; box-shadow: inset 0 0 0 1px #33383E; }
.server div::after { content: ""; flex: 1; height: .5rem; margin-left: .3rem; background: repeating-linear-gradient(90deg, #3A4047 0 2px, transparent 2px 5px); }
.server i { width: .34rem; height: .34rem; border-radius: 50%; background: #4DB2E6; flex: none; }
.server i.s { background: #F5B700; } .server i.z { background: #FF6A45; } .server i.aus { background: #3A4047; }
.netz { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; align-items: end; }
.netz::before { transform: scaleX(var(--zug, 1)); transform-origin: left center; content: ""; position: absolute; left: 12.5%; right: 12.5%; bottom: 5.6rem; height: 2px; background: #4DB2E6; }
.netz li { position: relative; display: grid; justify-items: center; text-align: center; gap: .9rem; padding-inline: .5rem; }
.netz .ding { position: relative; z-index: 1; display: grid; place-items: end center; min-height: 9rem; }
.netz .punkt { position: relative; z-index: 1; width: 1rem; height: 1rem; background: #fff; }
.netz .aktiv .punkt { background: #FF6A45; }
.netz b { display: block; font: 700 1.0625rem/1.25 var(--font-display); }
.netz span { display: block; margin-top: .2rem; font-size: .875rem; line-height: 1.4; color: #A6A8AB; }
.netz .text { min-height: 4.2rem; }
.netz .ding { width: 100%; }
.netz .laptop { width: 11rem; max-width: 80%; flex: none; }
.netz .laptop .schirm > .in { font-size: 7cqw; }
.netz .laptop .deckel { border-radius: .5rem .5rem 0 0; padding: .3rem; }
.netz .laptop .basis { height: .45rem; }
.netz .kachel-xl { display: grid; place-items: center; width: 6.5rem; height: 6.5rem; border-radius: 1.5rem; background: #0E1012; box-shadow: 0 0 0 1px #3A4047, 0 1.5rem 3rem -1rem rgba(0,0,0,.7); color: #4DB2E6; }
.netz .kachel-xl .ic { width: 3.25rem; height: 3.25rem; }
@media (max-width: 900px) {
  .netz { grid-template-columns: 1fr; row-gap: 2rem; }
  .netz::before { left: calc(50% - 1px); right: auto; top: 4rem; bottom: 4rem; width: 2px; height: auto; transform: scaleY(var(--zug, 1)); transform-origin: center top; }
  .netz .ding { min-height: 0; } .netz .text { min-height: 0; background: #1A1D21; padding: .25rem .75rem; position: relative; z-index: 1; }
  .netz .punkt { display: none; }
  .szene { flex-wrap: wrap; }
  .szene .handy.vorn { margin-left: -2.5rem; }
}
.geraete-icons { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .5rem; margin-top: clamp(1rem, 2vw, 1.5rem); }
.geraete-icons li { display: grid; justify-items: center; gap: .5rem; padding: 1.125rem .25rem .875rem; border-radius: var(--radius-karte); background: #1A1D21; box-shadow: inset 0 0 0 1px #33383E; font-size: .75rem; line-height: 1.25; color: #A6A8AB; text-align: center; }
.geraete-icons .ic { width: 1.75rem; height: 1.75rem; color: #fff; }
@media (max-width: 1000px) { .geraete-icons { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Bühne im Einstieg: Flächen als eigene Elemente, damit sie sich bewegen lassen */
.buehne.held { overflow: visible; }
.buehne .fl { position: absolute; z-index: -1; display: block; }
.buehne .fl-blau { right: 0; top: 0; width: 42%; height: 58%; background: var(--blau); border-radius: 0 var(--radius-gross) 0 var(--radius-gross); transform-origin: 100% 0; }
.buehne .fl-safran { left: 1.5rem; bottom: 1.5rem; width: 3rem; height: 3rem; background: var(--safran); border-radius: var(--radius-klein); }
