/* kreatika.de, Prototyp Runde 3: "Zeigen statt behaupten".
   Formsprache: Glas mit Unschärfe, scharfe Ecken, eine Ecke im 60-Grad-Winkel angeschnitten. Keine Kapselformen. */
@font-face { font-family: 'Anton'; src: url('schriften/anton.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Unbounded'; src: url('schriften/unbounded.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('schriften/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('schriften/jetbrains-mono.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('schriften/newsreader.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('schriften/newsreader-kursiv.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --petrol: #127c84;
  --petrol-hell: #15949d;
  --petrol-tief: #0d5d63;
  --dunkel: #0a1518;
  --nebel: #f3f7f7;
  --nebel-tief: #e7eded;
  --ink: #1a2427;
  --leuchten: #5ee8d6;
  --titel: 'Unbounded', 'Manrope', sans-serif;
  --text: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --rand: clamp(20px, 4.6vw, 72px);
  /* Fassung B des Knopfs in der Kopfleiste. Die Prüfung im Auslieferungslauf liest genau diese Werte. */
  --fassung-b-grund: #127c84;
  --fassung-b-text: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 0; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--nebel); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img, svg, canvas { display: block; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
svg[data-zeichen] { fill: currentColor; aspect-ratio: 59.8 / 106.77; }
.leicht { font-weight: 300; }
.sprung { position: fixed; left: 12px; top: -80px; z-index: 50; padding: 10px 16px; background: var(--ink); color: var(--nebel); }
.sprung:focus { top: 12px; }

/* Töne: hell und dunkel lösen sich ab */
.hell { --grund: var(--nebel); --fg: var(--ink); --leise: #4d5c60; --linie: rgba(26, 36, 39, .16); --akzent: var(--petrol);
  --glas: rgba(255, 255, 255, .52); --glas-kante: rgba(255, 255, 255, .9); --schatten: rgba(13, 93, 99, .2); --streif: rgba(18, 124, 132, .11); }
.dunkel { --grund: #070f11; --fg: #e9f1f1; --leise: #9db0b3; --linie: rgba(233, 241, 241, .16); --akzent: #6fd0d6;
  --glas: rgba(20, 44, 50, .5); --glas-kante: rgba(255, 255, 255, .13); --schatten: rgba(0, 0, 0, .5); --streif: rgba(21, 148, 157, .2); }
.hell, .dunkel { background: var(--grund); color: var(--fg); }
/* Dunkel nach R2-2: tiefes Petrol-Schwarz mit einem weichen Lichtkegel */
.dunkel { background: radial-gradient(ellipse 58% 56% at 64% 50%, rgba(21, 148, 157, .26), rgba(18, 124, 132, .08) 52%, transparent 76%), var(--grund); }
/* Hell nach R2-1: zwei feine Sechsecke im Grund. Daran zeigt sich, dass die Scheibe davor Glas ist. */
.hell.band { background: url("bilder/sechsecke.svg") no-repeat calc(100% + 400px) 50% / auto min(128%, 1150px), var(--grund); }

.glas {
  background: var(--glas);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  backdrop-filter: blur(24px) saturate(1.25);
  box-shadow: inset 1px 1px 0 var(--glas-kante), inset -1px -1px 0 rgba(0, 0, 0, .07);
}

/* Anschnitt: waagrecht s, senkrecht s mal Wurzel 3 ergibt 60 Grad */
.knopf, .nav-kontakt, .scheibe, .freigabe, .tisch[data-ecke="schnitt"] .form { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s) * 1.732), calc(100% - var(--s)) 100%, 0 100%); }

/* Knopf */
.knopf { --s: 9px; display: inline-flex; align-items: center; gap: 14px; padding: 15px 28px 15px 22px; font-weight: 650; font-size: 1rem; line-height: 1.2; color: var(--dunkel); background: var(--nebel); transition: background .2s, color .2s; }
.knopf svg { width: 18px; height: 18px; flex: none; transition: transform .25s; }
.knopf:hover svg { transform: translateX(4px); }
.knopf:focus-visible { outline-offset: -5px; }
.knopf[disabled] { cursor: progress; opacity: .6; }
.leise-knopf { font-size: 14px; font-weight: 600; padding-bottom: 2px; border-bottom: 1.5px solid currentColor; }

/* Umschalter aus eckigen Tasten */
.wahl { display: flex; }
.wahl button { flex: 1; min-width: 0; padding: 10px 6px; font-size: 14px; font-weight: 600; line-height: 1.25; border: 1px solid var(--linie); margin-left: -1px; white-space: nowrap; transition: background .15s, color .15s; }
.wahl button:first-child { margin-left: 0; }
.wahl button:hover { background: var(--linie); }
.wahl button[aria-pressed="true"] { background: var(--fg); color: var(--grund); border-color: var(--fg); }
.wahl button:focus-visible { outline-offset: -4px; position: relative; }
/* Als Liste untereinander, wo die Namen für eine Zeile zu lang sind */
.wahl.hoch { flex-direction: column; }
.wahl.hoch button { margin: -1px 0 0; padding: 9px 12px; text-align: left; white-space: normal; }
.wahl.hoch button:first-child { margin-top: 0; }

/* Kopfleiste */
.kopf { position: fixed; z-index: 20; top: 16px; left: var(--rand); right: var(--rand); --fg: var(--ink); --glas: rgba(255, 255, 255, .5); --glas-kante: rgba(255, 255, 255, .85); --k: var(--ink); --k-text: var(--nebel); color: var(--fg); transition: color .3s; }
.kopf[data-ton="dunkel"] { --fg: #e9f1f1; --glas: rgba(20, 44, 50, .5); --glas-kante: rgba(255, 255, 255, .13); --k: var(--nebel); --k-text: var(--dunkel); }
.leiste { display: flex; align-items: stretch; justify-content: space-between; min-height: 56px; position: relative; transition: background .3s; }
.marke { display: inline-flex; align-items: center; gap: 10px; padding: 0 20px; font-family: 'Anton', sans-serif; font-size: 21px; letter-spacing: .03em; line-height: 1; }
.marke svg { height: 30px; color: var(--petrol-hell); }
.haupt { display: flex; align-items: stretch; font-size: 15px; font-weight: 550; }
.haupt a { display: flex; align-items: center; padding: 0 20px; }
.haupt a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-kontakt { --s: 14px; background: var(--k); color: var(--k-text); transition: background .5s, color .5s; }
.haupt a.nav-kontakt { padding: 0 36px 0 26px; }
.nav-kontakt:focus-visible { outline-offset: -5px; }
/* Fassung B: der Kontaktknopf trägt Petrol. Geschaltet wird sie vom Auslieferungslauf weiter unten. */
html[data-fassung="b"] .nav-kontakt { background: var(--fassung-b-grund); color: var(--fassung-b-text); }
.menue { display: none; font-size: 15px; font-weight: 600; }
.menue summary { list-style: none; cursor: pointer; display: flex; align-items: center; height: 100%; padding: 0 32px 0 22px; }
.menue summary::-webkit-details-marker { display: none; }
.menue nav { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 220px; padding: 8px; background: color-mix(in srgb, var(--k-text) 92%, transparent); }
.menue nav a { padding: 12px 16px; }

/* Auftakt nach R2-1: der Titel sehr groß, der Glaskörper davor, die Leinwand füllt den ganzen Abschnitt */
.auftakt { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(100px, 14vh, 150px) var(--rand) clamp(26px, 4.5vh, 46px); background: var(--nebel); overflow: hidden; }
.auftakt canvas, .koerper-buehne canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; outline-offset: -6px; }
.auftakt canvas:active, .koerper-buehne canvas:active { cursor: grabbing; }
.auftakt > * { position: relative; pointer-events: none; }
.auftakt a, .auftakt canvas { pointer-events: auto; }
h1 { font-family: var(--titel); font-weight: 500; font-size: clamp(2.6rem, min(11.6vw, 19.5vh), 14rem); line-height: 1.02; letter-spacing: -.035em; text-transform: lowercase; }
h1 span { display: block; width: max-content; }
/* Platz des Körpers: die Leinwand liest diese Fläche aus und stellt den Körper hinein */
/* so weit rechts, dass vom Wort "erwünscht." höchstens der letzte Buchstabe und der Punkt hinter dem Glas liegen */
.auftakt .platz { position: absolute; top: 13%; bottom: 21%; left: 71%; width: 26%; }
/* Die Leinwand reicht etwas über den Platz hinaus, damit der gedrehte Körper nicht anstößt. Sie ist durchsichtig bis auf den Körper. */
.auftakt canvas { inset: -9% -22%; width: 144%; height: 118%; }
.sechsecke, .schatten { position: absolute; left: 50%; top: 50%; pointer-events: none; }
.sechsecke { height: 114%; transform: translate(-50%, -50%); color: rgba(18, 124, 132, .3); overflow: visible; }
.sechsecke path { stroke-width: 1px; }
.schatten { height: 96%; max-width: 150%; transform: translate(-42%, -42%); color: rgba(18, 124, 132, .2); filter: blur(26px); }
html:not(.webgl) .schatten { display: none; }
.rueckfall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 96%); mask-image: radial-gradient(closest-side, #000 55%, transparent 96%); }
.auftakt .rueckfall { mix-blend-mode: multiply; }
.koerper-buehne .rueckfall { mix-blend-mode: lighten; }
.webgl .rueckfall, html:not(.webgl) canvas, .webgl .ohne-3d, html:not(.webgl) .schild { display: none; }
.schild { --glas: rgba(255, 255, 255, .55); --glas-kante: #fff; position: absolute; left: 50%; top: 100%; transform: translate(-50%, 4px); display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.schild svg { width: 20px; height: 20px; color: var(--petrol); }
.sockel { display: grid; grid-template-columns: minmax(0, 28em) minmax(0, 1fr); gap: 20px clamp(28px, 5vw, 80px); align-items: start; padding-top: 22px; border-top: 1px solid rgba(26, 36, 39, .18); }
.auftakt-satz { font-size: 1.02rem; line-height: 1.55; color: #33454a; }
.griffe { display: grid; grid-template-columns: repeat(3, 1fr); }
.griffe a { display: grid; gap: 2px; padding: 0 18px; border-left: 1px solid rgba(26, 36, 39, .18); }
.griffe b { font-family: var(--titel); font-weight: 600; font-size: clamp(16px, 1.5vw, 22px); letter-spacing: -.02em; color: var(--petrol); transition: color .2s; }
.griffe span { font-size: 14.5px; line-height: 1.4; color: #4d5c60; }
.griffe a:hover b { color: var(--ink); }

/* Werkstück: schmale Legende, daneben die Scheibe */
.stueck { min-height: 100svh; display: grid; grid-template-columns: minmax(210px, 290px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; align-content: center; padding: clamp(96px, 13vh, 132px) var(--rand) clamp(64px, 9vh, 96px); }
.legende { padding-top: 8px; }
.feld { font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--akzent); }
.legende h2, .vor h3 { margin: 14px 0 16px; font-family: var(--titel); font-weight: 500; font-size: clamp(22px, 2.1vw, 31px); line-height: 1.16; letter-spacing: -.03em; text-transform: lowercase; }
.legende h2 span { display: block; }
/* Anton groß und selten: nur die Titelzeile der Werkstücke Körper und Auslieferung */
#koerper .legende h2, #auslieferung .legende h2 { font-family: 'Anton', sans-serif; font-weight: 400; font-size: clamp(34px, 3.3vw, 48px); line-height: 1.06; letter-spacing: .005em; text-transform: none; margin: 12px 0 18px; }
.legende p:last-child { font-size: 16px; color: var(--leise); }
.scheibe-huelle { position: relative; min-width: 0; }
.scheibe-huelle::before { content: ''; position: absolute; inset: 40px 24px -22px; background: var(--schatten); filter: blur(34px); }
.scheibe { --s: 30px; position: relative; }

/* Werkstück a: Körper */
.werk-koerper { height: min(80svh, 760px); min-height: 560px; background: #070f11; box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .13); }
.koerper-buehne { position: absolute; inset: 0; }
/* Glaskante der Scheibe über der Leinwand */
.werk-koerper::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .16), inset -1px -1px 0 rgba(255, 255, 255, .05); }
.koerper-buehne .platz { position: absolute; inset: 78px 30px 100px 30px; pointer-events: none; }
.ohne-3d { position: absolute; left: 22px; top: 20px; max-width: 22em; font-size: 14px; color: var(--leise); }
.masse { position: absolute; top: 16px; left: 16px; display: flex; gap: 0; padding: 7px 4px; font-size: 12px; line-height: 1.35; pointer-events: none; }
.masse div { padding: 0 14px; border-left: 1px solid var(--linie); }
.masse div:first-child { border-left: 0; }
.masse dt { color: var(--leise); }
.masse dd { font-family: var(--mono); font-size: 13px; color: var(--fg); white-space: nowrap; }
.pult { position: absolute; left: 16px; right: 52px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding: 8px 12px; }
.pult .wahl { flex: 0 1 380px; }
.schieber { flex: 1 1 260px; display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; }
.schieber output { min-width: 8.2em; font-family: var(--mono); font-weight: 400; font-size: 13px; color: var(--leise); }
input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; min-width: 80px; height: 32px; background: transparent; cursor: ew-resize; touch-action: pan-y; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--linie); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--linie); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 26px; margin-top: -12px; background: var(--leuchten); border: 0; border-radius: 0; }
input[type="range"]::-moz-range-thumb { width: 14px; height: 26px; background: var(--leuchten); border: 0; border-radius: 0; }

/* Werkstück b: Markensystem */
.werk-marke { display: grid; grid-template-columns: 286px minmax(0, 1fr); }
.regler { display: grid; gap: 18px; align-content: start; padding: 26px 24px 28px; border-right: 1px solid var(--linie); }
.regler legend { display: flex; justify-content: space-between; width: 100%; margin-bottom: 8px; padding: 0; font-size: 13px; font-weight: 700; }
.regler legend output { font-weight: 500; color: var(--leise); }
.farben { display: flex; gap: 7px; }
.farben button { flex: 1; aspect-ratio: 1; max-width: 40px; background: var(--f); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .15s; }
.farben button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--f), inset 0 0 0 4px #fff; transform: translateY(-3px); }
.kontrast { width: 100%; border-collapse: collapse; font-size: 13px; }
.kontrast caption { text-align: left; font-weight: 700; padding-bottom: 4px; }
.kontrast td { padding: 6px 0; border-top: 1px solid var(--linie); vertical-align: baseline; }
.kontrast td:nth-child(2) { font-family: var(--mono); text-align: right; padding: 6px 8px; white-space: nowrap; }
.kontrast td:last-child { text-align: right; font-weight: 700; white-space: nowrap; color: var(--petrol); }
.kontrast tr.knapp td:last-child { color: var(--ink); }
.regel { font-size: 13px; line-height: 1.5; color: var(--leise); min-height: 3em; }
.regel code { font-family: var(--mono); color: var(--ink); }
.regler .leise-knopf { justify-self: start; }

.tisch { display: grid; grid-template-columns: repeat(12, 1fr); gap: 26px 26px; align-content: center; padding: clamp(22px, 3vw, 40px); background: var(--t-grund); color: var(--t-text); font-family: var(--t-lauf); transition: background .3s, color .3s;
  --akz: #127c84; --akz-auf: #fff; --akz-schrift: #127c84; --t-grund: rgba(255, 255, 255, .34); --t-flaeche: #fff; --t-text: #1a2427; --t-leise: #5a696d; --t-linie: rgba(26, 36, 39, .16); --t-titel: 'Unbounded'; --t-lauf: 'Manrope'; }
.tisch[data-grund="dunkel"] { --t-grund: #0f1b1e; --t-flaeche: #182a2e; --t-text: #e9f1f1; --t-leise: #9db0b3; --t-linie: rgba(233, 241, 241, .16); }
.tisch[data-schrift="newsreader"] { --t-titel: 'Newsreader'; }
.tisch[data-schrift="mono"] { --t-titel: 'Manrope'; --t-lauf: 'JetBrains Mono'; }
.anw { min-width: 0; }
.anw figcaption { margin-top: 10px; font-family: var(--text); font-size: 13px; color: var(--t-leise); }
.karte { grid-column: 1 / 9; } .symbol { grid-column: 9 / 13; align-self: end; }
.flaeche { grid-column: 1 / 7; } .signatur { grid-column: 7 / 13; }
.form { background: var(--t-flaeche); box-shadow: inset 0 0 0 1px var(--t-linie); transition: background .3s, border-radius .25s; }
.tisch[data-ecke="rund"] .form { border-radius: var(--r, 10px); }
.t { font-family: var(--t-titel), sans-serif; font-weight: 600; letter-spacing: -.02em; }
.tisch[data-schrift="newsreader"] .t { font-size: 1.22em; letter-spacing: 0; }
.tisch[data-schrift="mono"] .t { font-weight: 800; letter-spacing: -.01em; }
.tisch[data-schrift="mono"] { font-size: 15px; }
.lnk { color: var(--akz-schrift); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.karte-flaeche { --s: 24px; --r: 12px; position: relative; aspect-ratio: 85 / 55; display: flex; align-items: flex-end; padding: 7%; overflow: hidden; container-type: inline-size; }
.karte-kante { position: absolute; top: 0; right: 0; bottom: 0; width: 33%; background: var(--akz); transition: background .3s; }
.karte-flaeche svg { position: absolute; z-index: 1; right: 16.5%; top: 50%; height: 52%; transform: translate(50%, -50%); color: var(--akz-auf); }
.karte-marke { position: absolute; left: 7%; top: 8%; font-family: 'Anton', sans-serif; font-size: clamp(13px, 4.6cqw, 20px); letter-spacing: .03em; line-height: 1; color: var(--akz-schrift); }
.karte-text { display: grid; gap: 2px; max-width: 62%; font-size: clamp(11px, 3.6cqw, 15px); line-height: 1.4; }
.karte-text .t { font-size: 1.12em; line-height: 1.25; margin-bottom: 4px; }
.symbol-flaeche { --s: 22px; --r: 24%; aspect-ratio: 1; max-width: 150px; display: grid; place-items: center; background: var(--akz); box-shadow: none; }
.symbol-flaeche svg { height: 58%; color: var(--akz-auf); }
.ui { --s: 16px; display: grid; gap: 12px; padding: 18px 18px 20px; font-size: 14px; }
.ui-feld { display: grid; gap: 4px; }
.ui-feld span { font-size: 12px; color: var(--t-leise); }
.ui-feld input { width: 100%; padding: 8px 10px; background: transparent; border: 1.5px solid var(--t-linie); border-radius: 0; color: var(--t-text); }
.tisch[data-ecke="rund"] .ui-feld input { border-radius: 6px; }
.ui-feld input:focus { outline: 2px solid var(--akz-schrift); outline-offset: 1px; }
.ui-haken { display: flex; align-items: center; gap: 9px; }
.ui-haken input { width: 17px; height: 17px; margin: 0; accent-color: var(--akz); }
.ui-haken i { display: none; }
.ui-balken { height: 4px; background: var(--t-linie); }
.ui-balken i { display: block; width: 62%; height: 100%; background: var(--akz); }
.ui-knoepfe { display: flex; align-items: center; gap: 16px; }
.ui-haupt { --s: 7px; --r: 7px; padding: 9px 20px 9px 16px; background: var(--akz); color: var(--akz-auf); font-weight: 700; box-shadow: none; }
.sig { --s: 16px; display: flex; gap: 14px; align-items: flex-start; padding: 18px; font-size: 14px; line-height: 1.55; }
.sig svg { height: 62px; flex: none; color: var(--akz-schrift); }

/* Werkstück c: Auslieferung */
.werk-lauf { padding: clamp(20px, 2.6vw, 32px); }
.lauf-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; }
.stand { font-size: 18px; }
.stand b { font-family: var(--titel); font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.stand span { display: inline-block; margin-left: 14px; padding: 2px 10px; font-size: 13px; font-weight: 600; border: 1px solid var(--linie); color: var(--leise); }
.werk-lauf[data-zustand="laeuft"] .stand span { color: var(--leuchten); border-color: currentColor; }
.lauf-aenderung { margin-top: 10px; font-size: 15px; color: var(--leise); }
.lauf-aenderung span { color: var(--fg); }
.lauf-rumpf { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 28px; margin-top: 24px; }
.stufen li { position: relative; padding: 0 0 22px 30px; font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--leise); transition: color .2s; }
.stufen li:last-child { padding-bottom: 0; }
.stufen li::before { content: ''; position: absolute; left: 6px; top: 20px; bottom: -2px; width: 1px; background: var(--linie); }
.stufen li:last-child::before { display: none; }
.stufen i { position: absolute; left: 0; top: 3px; width: 13px; height: 13px; border: 1.5px solid currentColor; overflow: hidden; }
.stufen i::after { content: ''; position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: left; }
.stufen small { display: block; font-family: var(--mono); font-size: 12px; font-weight: 400; min-height: 1.4em; }
.stufen li[data-zustand="laeuft"] { color: var(--leuchten); }
.stufen li[data-zustand="laeuft"] i::after { animation: fuellen var(--takt, 1.5s) linear forwards; }
.stufen li[data-zustand="fertig"] { color: var(--fg); }
.stufen li[data-zustand="fertig"] i { border-color: var(--petrol-hell); }
.stufen li[data-zustand="fertig"] i::after { transform: none; background: var(--petrol-hell); }
.stufen li[data-zustand="fehler"] { color: var(--fg); }
.stufen li[data-zustand="fehler"] i { border-style: dashed; }
@keyframes fuellen { to { transform: none; } }
.protokoll { height: 292px; overflow-y: auto; padding: 14px 16px; background: rgba(4, 10, 12, .55); font-family: var(--mono); font-size: 13px; line-height: 1.7; color: #cfe0e1; overscroll-behavior: contain; }
.protokoll p { display: grid; grid-template-columns: 5.4em 1fr; gap: 0 12px; }
.protokoll time { color: #6f8589; }
.protokoll .kopfzeile { margin-top: 8px; color: var(--leuchten); }
.protokoll .kopfzeile:first-child { margin-top: 0; }
.protokoll .leer { display: block; font-family: var(--text); font-size: 14px; color: #8fa3a6; }
.ehrlich { margin-top: 18px; padding-right: 40px; font-size: 14px; color: var(--leise); }

/* Gemeinsam für die kleineren Werkstücke */
.vor-kopf { display: grid; grid-template-columns: minmax(210px, 290px) minmax(0, 36em); gap: clamp(28px, 4vw, 64px); align-items: start; margin-bottom: clamp(36px, 5vh, 60px); }
.vor-kopf h2, .studio h2, .kontakt h2, .seite h1 { font-family: var(--titel); font-weight: 500; font-size: clamp(22px, 2.1vw, 31px); letter-spacing: -.03em; line-height: 1.16; text-transform: lowercase; }
.vor-kopf p { color: var(--leise); }
.vor-kopf strong { color: var(--fg); }
.dunkel-knopf { background: var(--ink); color: var(--nebel); }

/* Werkstück d: Software nach Maß */
.werk-software { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); }
.sw-zettel { display: grid; gap: 16px; align-content: start; padding: 24px 22px 26px; border-right: 1px solid var(--linie); }
.sw-kopf { font-family: var(--titel); font-weight: 500; font-size: 15px; letter-spacing: -.02em; text-transform: lowercase; }
.sw-zettel legend { padding: 0; margin-bottom: 7px; font-size: 13.5px; font-weight: 700; }
.sw-zettel .wahl button { white-space: normal; }
.sw-regel { padding-top: 14px; border-top: 1px solid var(--linie); font-size: 14.5px; line-height: 1.5; }
.sw-gebaut { padding: 24px clamp(18px, 2.4vw, 30px) 26px; background: rgba(255, 255, 255, .34); }
.sw-spalten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.sw-spalten section { min-height: 228px; padding: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); }
.sw-spalten [data-fach="mensch"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.sw-spalten h3 { margin-bottom: 10px; font-size: 14px; font-weight: 700; line-height: 1.3; }
.sw-spalten h3 small { display: block; font-weight: 500; font-size: 12px; color: var(--leise); }
.sw-spalten p { display: grid; gap: 1px; padding: 8px 0; border-top: 1px solid var(--linie); font-size: 13.5px; line-height: 1.35; }
.sw-spalten p small { font-family: var(--mono); font-size: 11.5px; color: var(--leise); }
.sw-spalten .leer { color: var(--leise); }
.sw-zahl { margin-top: 16px; font-family: var(--titel); font-weight: 500; font-size: clamp(15px, 1.4vw, 19px); letter-spacing: -.02em; }

/* Werkstück e: Selbstprüfung */
.werk-pruefung { padding: clamp(20px, 2.6vw, 32px); }
.pr-liste { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: 14.5px; }
.pr-liste th, .pr-liste td { padding: 10px 14px 10px 0; text-align: left; border-top: 1px solid var(--linie); vertical-align: baseline; }
.pr-liste thead th { border-top: 0; font-size: 12.5px; font-weight: 600; color: var(--leise); }
.pr-liste tbody th { font-family: var(--mono); font-weight: 400; font-size: 13px; white-space: nowrap; }
.pr-liste td:nth-child(2) { font-family: var(--mono); font-size: 13px; color: var(--leise); word-break: break-word; }
.pr-liste td:last-child { padding-right: 0; text-align: right; font-weight: 700; white-space: nowrap; }
.pr-liste [data-ok="true"] td:last-child { color: var(--leuchten); }
.pr-liste [data-ok="false"] td:last-child { color: var(--fg); text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 4px; }
.pr-liste .leer td { font-family: var(--text); color: var(--leise); }

/* Werkstück f: Angebot wird Rechnung */
.werk-beleg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 290px); }
.bl-blatt { margin: clamp(18px, 2.4vw, 30px); padding: clamp(18px, 2.2vw, 30px); background: #fff; box-shadow: 0 14px 30px rgba(13, 93, 99, .13); font-size: 14.5px; }
.bl-blatt header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.bl-blatt header strong { font-family: var(--titel); font-weight: 600; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -.03em; text-transform: lowercase; }
.bl-blatt header span { font-family: var(--mono); font-size: 13px; }
.bl-kunde { margin: 4px 0 18px; font-size: 13px; color: var(--leise); }
.bl-blatt table { width: 100%; border-collapse: collapse; }
.bl-blatt th, .bl-blatt td { padding: 9px 0 9px 12px; text-align: right; border-top: 1px solid var(--linie); }
.bl-blatt th:first-child, .bl-blatt td:first-child { padding-left: 0; text-align: left; }
.bl-blatt thead th { border-top: 0; font-size: 12px; font-weight: 600; color: var(--leise); }
.bl-blatt td:nth-child(n+2), .bl-blatt tfoot td { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.bl-blatt tfoot td:first-child { font-family: var(--text); font-size: 14px; }
.bl-blatt .summe td { border-top: 1.5px solid var(--ink); font-weight: 700; }
.bl-blatt input { width: 5.6em; padding: 5px 6px; font-family: var(--mono); font-size: 13px; text-align: right; background: var(--nebel); border: 1px solid var(--linie); border-radius: 0; }
.bl-blatt td:nth-child(2) input { width: 3.6em; }
/* ohne die Pfeile des Browsers: sie verdecken in schmalen Feldern die zweite Ziffer */
.bl-blatt input { -moz-appearance: textfield; appearance: textfield; }
.bl-blatt input::-webkit-inner-spin-button, .bl-blatt input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bl-blatt input:focus { outline: 2px solid var(--petrol); outline-offset: 1px; }
.bl-ziel { margin-top: 16px; font-size: 13px; color: var(--leise); min-height: 2.9em; }
.bl-weg { display: grid; gap: 20px; align-content: start; padding: clamp(18px, 2.4vw, 30px) clamp(18px, 2.4vw, 30px) 28px 0; }
#bl-kette li { position: relative; padding: 0 0 18px 28px; color: var(--leise); }
#bl-kette li::before { content: ''; position: absolute; left: 6px; top: 20px; bottom: -2px; width: 1px; background: var(--linie); }
#bl-kette li:last-child::before { display: none; }
#bl-kette li::after { content: ''; position: absolute; left: 0; top: 5px; width: 13px; height: 13px; border: 1.5px solid currentColor; }
#bl-kette b { display: block; font-weight: 700; }
#bl-kette span { font-family: var(--mono); font-size: 12.5px; }
#bl-kette [data-zustand="fertig"], #bl-kette [data-zustand="aktiv"] { color: var(--ink); }
#bl-kette [data-zustand="fertig"]::after { background: var(--petrol); border-color: var(--petrol); }
#bl-kette [data-zustand="aktiv"]::after { background: var(--ink); border-color: var(--ink); }
.bl-weg .knopf { justify-self: start; }
.bl-weg .ehrlich { margin: 0; padding: 0; }

/* Werkstück g: Rufplan */
.werk-ruf { display: grid; gap: 20px; padding: clamp(20px, 2.6vw, 32px); }
.rf-regler { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; }
.rf-regler .wahl { flex: 0 1 420px; }
.rf-regler .schieber { flex: 1 1 280px; }
.rf-regler output { min-width: 3.4em; font-size: 15px; color: var(--fg); }
.rf-woche { display: grid; gap: 4px; }
.rf-woche div { display: grid; grid-template-columns: 2.2em 1fr; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--leise); }
.rf-woche i { position: relative; display: flex; height: 12px; background: rgba(255, 255, 255, .05); }
.rf-woche b { opacity: .5; }
.rf-woche [data-zone="buero"] { background: var(--petrol-hell); }
.rf-woche [data-zone="mittag"] { background: repeating-linear-gradient(120deg, var(--petrol-hell) 0 3px, transparent 3px 6px); }
.rf-woche [data-zone="bereit"] { background: var(--leuchten); }
.rf-woche .an { color: var(--fg); }
.rf-woche .an b { opacity: 1; }
.rf-woche u { display: none; position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: #fff; }
.rf-woche .an u { display: block; }
.rf-weg { display: flex; flex-wrap: wrap; gap: 10px 0; counter-reset: schritt; }
.rf-weg li { position: relative; padding: 12px 34px 12px 16px; margin-right: 12px; font-size: 14.5px; font-weight: 600; line-height: 1.3; background: rgba(4, 10, 12, .5); box-shadow: inset 0 0 0 1px var(--linie); }
.rf-weg li:nth-child(2) { color: var(--leuchten); }
.rf-weg li + li::before { content: ''; position: absolute; left: -12px; top: 50%; width: 12px; height: 1px; background: var(--leise); }
.rf-satz { font-size: 17px; }

/* Arbeiten */
.arbeiten { padding: clamp(96px, 13vh, 140px) var(--rand) clamp(72px, 10vh, 110px); border-top: 1px solid var(--linie); }
.faelle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); }
.faelle li { padding: 30px 0 34px; border-top: 1px solid var(--linie); }
.faelle h3 { margin: 10px 0 10px; font-family: var(--titel); font-weight: 500; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.2; letter-spacing: -.03em; text-transform: lowercase; }
.faelle li > p:not(.feld) { max-width: 34em; font-size: 16px; color: var(--leise); }
.faelle dl { display: grid; gap: 6px; margin-top: 16px; font-size: 14px; }
.faelle dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; }
.faelle dt { color: var(--leise); }
.faelle dd { font-family: var(--mono); font-size: 13px; }

/* Unterseiten */
.seite { min-height: calc(100svh - 84px); padding: clamp(120px, 18vh, 170px) var(--rand) clamp(72px, 10vh, 110px); display: grid; grid-template-columns: minmax(210px, 290px) minmax(0, 40em); gap: 24px clamp(28px, 4vw, 64px); align-items: start; }
.seite h1 { color: var(--ink); }
.seite .inhalt { display: grid; gap: 14px; font-size: 16.5px; }
.seite h2 { margin-top: 18px; font-size: 17px; font-weight: 700; }
.seite address { font-style: normal; }
.seite .inhalt a { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; }
.seite .klein { margin-top: 24px; font-size: 14px; color: var(--leise); }
.seite .gross { font-family: var(--titel); font-weight: 600; font-size: clamp(22px, 3.6vw, 46px); letter-spacing: -.04em; line-height: 1.15; text-transform: lowercase; }

/* Studio */
.studio { display: grid; grid-template-columns: minmax(210px, 290px) minmax(0, 1fr); gap: 40px clamp(28px, 4vw, 64px); padding: clamp(80px, 11vh, 120px) var(--rand); border-top: 1px solid var(--linie); }
.studio h2 span { display: block; }
.studio-text { display: grid; gap: 18px; max-width: 36em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; }
.studio-text p + p { color: var(--leise); }
.felder { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px 0; font-size: 15px; font-weight: 600; }
.felder li { padding: 0 16px; border-left: 1px solid var(--linie); }
.felder li:first-child { padding-left: 0; border-left: 0; }

/* Kontakt und Fuß */
.kontakt { padding: clamp(96px, 15vh, 170px) var(--rand); background: linear-gradient(135deg, var(--petrol) 0%, #0a474c 100%); color: #fff; }
.kontakt h2 { font-weight: 300; }
.post { display: inline-block; margin: 18px 0 26px; font-family: var(--titel); font-weight: 600; font-size: clamp(24px, 5.7vw, 88px); letter-spacing: -.04em; line-height: 1.1; text-decoration: underline; text-decoration-thickness: .045em; text-underline-offset: .16em; text-decoration-color: rgba(255, 255, 255, .4); transition: text-decoration-color .2s; }
.post:hover { text-decoration-color: #fff; }
.kontakt p { max-width: 30em; font-size: 18px; }
.fuss { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; padding: 26px var(--rand) 34px; background: var(--dunkel); color: #9db0b3; font-size: 14px; }
.fuss nav { display: flex; gap: 24px; }
.fuss a { color: #e9f1f1; border-bottom: 1px solid currentColor; }
.fuss b { color: #e9f1f1; }

@media (max-width: 1100px) {
  .werk-marke { grid-template-columns: 1fr; }
  .regler { grid-template-columns: repeat(2, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid var(--linie); }
  .regler .kontrast, .regler .regel { grid-column: span 2; }
  .regel { min-height: 0; }
}
@media (max-width: 900px) {
  .stueck, .vor-kopf, .studio, .seite, .faelle { grid-template-columns: 1fr; }
  .hell.band { background: var(--grund); } /* schmal füllt die Scheibe die Breite, Linien liefen nur durch den Text */
  .werk-software, .werk-beleg { grid-template-columns: 1fr; }
  .sw-zettel { border-right: 0; border-bottom: 1px solid var(--linie); }
  .bl-weg { padding: 0 clamp(18px, 2.4vw, 30px) 28px; }
  .stueck { min-height: 0; gap: 24px; padding-top: 96px; }
  .legende p:last-child { max-width: 34em; }
  .felder { grid-column: 1; }
  .lauf-rumpf { grid-template-columns: 1fr; }
  .protokoll { height: 230px; }
}
@media (max-width: 820px) {
  .kopf { top: 10px; left: 10px; right: 10px; }
  .leiste { min-height: 50px; }
  .marke { padding: 0 14px; }
  .haupt { display: none; }
  .menue { display: block; }
  .auftakt { padding-top: 96px; gap: 0; }
  h1 { font-size: clamp(2.4rem, 12.6vw, 6rem); }
  .auftakt .platz { position: relative; inset: auto; width: auto; flex: 1 1 290px; min-height: 290px; margin: 8px 0 52px 34%; }
  .sockel { grid-template-columns: 1fr; padding-top: 16px; }
  .griffe { grid-template-columns: 1fr; }
  .griffe a { grid-template-columns: 7.2em 1fr; align-items: baseline; padding: 10px 0; border-left: 0; border-top: 1px solid rgba(26, 36, 39, .18); }
  .griffe b { font-size: 16px; }
  .koerper-buehne .platz { inset: 18px; }
  #koerper .legende h2, #auslieferung .legende h2 { font-size: clamp(38px, 11vw, 56px); }
  .scheibe { --s: 20px; }
  /* Körper: Leinwand oben, Pult und Maße darunter, alles mit dem Daumen erreichbar */
  .werk-koerper { height: auto; min-height: 0; display: flex; flex-direction: column; }
  .koerper-buehne { position: relative; height: min(58svh, 430px); }
  .pult { position: static; margin: 0; flex-direction: column; align-items: stretch; gap: 6px; padding: 14px; box-shadow: inset 0 1px 0 var(--glas-kante); }
  .pult .wahl, .schieber { flex: none; }
  .wahl button { padding: 12px 6px; }
  .masse { position: static; order: 3; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px 0; padding: 12px 2px 28px; box-shadow: none; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .masse div:nth-child(4) { border-left: 0; }
  .masse div:last-child { grid-column: span 2; }
  /* Markensystem: erst die Regler, dann sofort die Anwendungen, die Kontrasttabelle folgt darunter */
  .werk-marke { display: flex; flex-direction: column; }
  .regler { display: contents; }
  .regler fieldset { order: 1; margin: 14px 16px 0; }
  .regler fieldset:first-child { margin-top: 18px; }
  .tisch { order: 2; margin-top: 18px; }
  .regler .kontrast, .regler .regel, .regler .leise-knopf { order: 3; margin: 16px 16px 0; width: auto; }
  .regler .leise-knopf { align-self: flex-start; margin-bottom: 30px; }
  .tisch { gap: 20px 14px; padding: 18px 16px 30px; }
  .karte { grid-column: 1 / 13; } .symbol { grid-column: 1 / 5; align-self: start; }
  .signatur { grid-column: 5 / 13; grid-row: 2; } .flaeche { grid-column: 1 / 13; grid-row: 3; }
  .sig { padding: 14px 12px; font-size: 13px; gap: 10px; } .sig svg { height: 48px; }
  .lauf-kopf .knopf { width: 100%; justify-content: space-between; }
  .stand span { margin-left: 8px; }
  .stufen li { padding-bottom: 12px; }
  .ehrlich { padding-right: 24px; }
  .felder { display: grid; gap: 8px; } .felder li { padding: 0; border: 0; }
  .sw-spalten { grid-template-columns: 1fr; } .sw-spalten section { min-height: 0; }
  .sw-gebaut { padding: 18px 14px 24px; } .sw-zettel { padding: 18px 16px 20px; }
  .bl-blatt { margin: 14px; padding: 16px 14px; font-size: 13.5px; } .bl-blatt th, .bl-blatt td { padding-left: 6px; }
  .bl-blatt input { width: 4.4em; padding: 4px 3px; } .bl-blatt td:nth-child(2) input { width: 3em; }
  .bl-blatt td:nth-child(n+2), .bl-blatt tfoot td, .bl-blatt input { font-size: 12px; }
  .rf-weg { display: grid; gap: 8px; } .rf-weg li { margin: 0; } .rf-weg li + li::before { left: 20px; top: -8px; width: 1px; height: 8px; }
  .pr-liste thead { display: none; } .pr-liste tr { display: grid; grid-template-columns: 1fr auto; padding: 8px 0; border-top: 1px solid var(--linie); }
  .pr-liste tbody th, .pr-liste td { border: 0; padding: 2px 0; white-space: normal; } .pr-liste td:nth-child(2) { grid-column: 1 / -1; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .stufen li[data-zustand="laeuft"] i::after { animation: none; transform: scaleX(.5); }
}

.wahl button:disabled, input[type="range"]:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Ausbau: Seitenkopf, Textteile, Listen ---------- */
.haupt a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.seitenkopf { padding: clamp(130px, 19vh, 190px) var(--rand) clamp(40px, 6vh, 70px); }
/* lange Wörter wie "konstruktionsdaten" trennen, statt über den Rand zu laufen */
.seitenkopf h1, .karte h3, .feldreihen .name, .blaettern a { hyphens: auto; overflow-wrap: break-word; }
.seitenkopf h1 { margin: 14px 0 20px; max-width: 16em; font-size: clamp(2rem, min(5.6vw, 9.5vh), 5.4rem); line-height: 1.04; }
.kurz { max-width: 34em; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--leise); }
.feldverweise { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 22px; font-size: 14px; font-weight: 600; }
.feldverweise > * { padding: 0 14px; border-left: 1px solid var(--linie); }
.feldverweise > :first-child { padding-left: 0; border-left: 0; }
.feldverweise a { color: var(--petrol); }
.zahlen { display: flex; flex-wrap: wrap; gap: 18px 0; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--linie); }
.zahlen div { padding: 0 28px 0 0; margin-right: 28px; border-right: 1px solid var(--linie); }
.zahlen div:last-child { border-right: 0; }
.zahlen dt { font-size: 13px; color: var(--leise); }
.zahlen dd { font-family: var(--titel); font-weight: 500; font-size: clamp(18px, 1.9vw, 27px); letter-spacing: -.03em; }
.textteil { display: grid; grid-template-columns: minmax(210px, 290px) minmax(0, 40em); gap: 18px clamp(28px, 4vw, 64px); padding: clamp(40px, 6vh, 64px) var(--rand); border-top: 1px solid var(--linie); }
.textteil h2, .listentitel { font-family: var(--titel); font-weight: 500; font-size: clamp(19px, 1.7vw, 25px); letter-spacing: -.03em; line-height: 1.18; text-transform: lowercase; }
.textteil .inhalt { display: grid; gap: 14px; font-size: 17px; }
.textteil .inhalt ul { display: grid; gap: 8px; }
.textteil .inhalt ul li { position: relative; padding-left: 22px; }
.textteil .inhalt ul li::before { content: ''; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: var(--petrol); clip-path: polygon(0 0, 100% 0, 100% 40%, 60% 100%, 0 100%); }
.textteil .inhalt h3 { margin-top: 10px; font-size: 17px; font-weight: 700; }
.textteil .inhalt a, .vor-kopf a, .studio-text a { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; }
.textteil code { font-family: var(--mono); font-size: .9em; }
.schritte { display: grid; gap: 0; counter-reset: schritt; }
.schritte li { counter-increment: schritt; position: relative; padding: 16px 0 16px 62px; border-top: 1px solid var(--linie); }
.schritte li:first-child { border-top: 0; padding-top: 0; }
.schritte li::before { content: counter(schritt); position: absolute; left: 0; top: 12px; font-family: var(--titel); font-weight: 300; font-size: 30px; line-height: 1; color: var(--petrol); }
.schritte li:first-child::before { top: -4px; }
.fragen details { border-top: 1px solid var(--linie); }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary { position: relative; padding: 16px 40px 16px 0; font-weight: 700; cursor: pointer; list-style: none; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ''; position: absolute; right: 6px; top: 22px; width: 10px; height: 10px; border-right: 2px solid var(--petrol); border-bottom: 2px solid var(--petrol); transform: rotate(45deg); transition: transform .2s; }
.fragen details[open] summary::after { transform: rotate(-135deg); top: 27px; }
.fragen details > :not(summary) { padding-bottom: 16px; color: var(--leise); }
mark.offen { padding: 1px 6px; background: #fff3a8; color: #1a2427; font-size: .92em; box-shadow: inset 0 0 0 1px #c9b200; }
.stueck.eingebettet { grid-template-columns: 1fr; min-height: 0; padding-top: clamp(40px, 6vh, 64px); padding-bottom: clamp(48px, 7vh, 80px); }
.stueck.eingebettet .legende { display: none; }

.liste { padding: clamp(48px, 7vh, 90px) var(--rand) clamp(64px, 9vh, 110px); }
.listentitel { margin-bottom: 28px; }
.karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px) clamp(28px, 4vw, 64px); }
.karten li[hidden] { display: none; }
.karten .ohne-bild { grid-column: 1 / -1; padding: 22px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.karten .ohne-bild .karte { grid-template-columns: minmax(210px, 290px) minmax(0, 1fr); gap: 4px clamp(28px, 4vw, 64px); }
.karten .ohne-bild .feld { grid-row: span 2; }
.nachgestellt { padding: 26px var(--rand) 0; max-width: none; font-size: 15px; color: var(--leise); border-top: 1px solid var(--linie); }
.karte { display: grid; gap: 6px; }
.karte img { width: 100%; height: auto; margin-bottom: 14px; aspect-ratio: 16 / 10; object-fit: cover; --s: 22px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s) * 1.732), calc(100% - var(--s)) 100%, 0 100%); }
.karte h3 { font-family: var(--titel); font-weight: 500; font-size: clamp(19px, 1.9vw, 28px); line-height: 1.16; letter-spacing: -.03em; text-transform: lowercase; }
.karte p { max-width: 34em; color: var(--leise); }
.karte:hover h3 { color: var(--petrol); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; align-items: center; }
.filter a { padding: 8px 14px; font-size: 14px; font-weight: 600; border: 1px solid var(--linie); }
.filter a[aria-current="true"] { background: var(--ink); color: var(--nebel); border-color: var(--ink); }
.filter output { margin-left: 8px; font-family: var(--mono); font-size: 13px; color: var(--leise); }
.aufmacher, .bildfolge { padding: 0 var(--rand) clamp(30px, 5vh, 56px); }
.aufmacher img, .bildfolge img { width: 100%; height: auto; }
.bildfolge { display: grid; gap: clamp(28px, 4vh, 48px); padding-top: clamp(30px, 5vh, 56px); border-top: 1px solid var(--linie); }
.bildfolge figcaption { margin-top: 10px; font-size: 14px; color: var(--leise); }
.blaettern { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--linie); }
.blaettern a { display: grid; gap: 4px; padding: 30px var(--rand); font-family: var(--titel); font-weight: 500; font-size: clamp(16px, 1.5vw, 21px); letter-spacing: -.03em; text-transform: lowercase; }
.blaettern a + a { text-align: right; border-left: 1px solid var(--linie); }
.blaettern span { font-family: var(--text); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--petrol); text-transform: none; }
.produkte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 64px); }
.produkte li { display: grid; gap: 6px; padding: 24px 0 26px; border-top: 1px solid var(--linie); }
.produkte li > a, .produkte li > b { font-family: var(--titel); font-weight: 500; font-size: clamp(18px, 1.6vw, 23px); letter-spacing: -.03em; }
.produkte li > a:hover { color: var(--petrol); }
.produkte p { max-width: 34em; color: var(--leise); }
.status { font-size: 13.5px; font-weight: 600; color: var(--petrol); }

/* Felder als Reihen: Name, Satz und ein kleiner Ausschnitt des Werkstücks */
.felderliste { padding: clamp(72px, 10vh, 120px) var(--rand); }
.feldreihen li { border-top: 1px solid var(--linie); }
.feldreihen li:last-child { border-bottom: 1px solid var(--linie); }
.feldreihen a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(220px, .9fr); gap: 12px clamp(20px, 3vw, 48px); align-items: center; padding: 26px 0; }
.feldreihen .name { font-family: var(--titel); font-weight: 500; font-size: clamp(18px, 1.9vw, 27px); line-height: 1.15; letter-spacing: -.03em; text-transform: lowercase; transition: color .2s; }
.feldreihen a:hover .name { color: var(--leuchten); }
.feldreihen .satz { color: var(--leise); }
.mini { display: grid; gap: 5px; font-size: 12.5px; line-height: 1.3; opacity: .78; transition: opacity .2s; }
.feldreihen a:hover .mini { opacity: 1; }
.mini p { display: flex; align-items: center; gap: 8px; padding: 5px 8px; background: rgba(255, 255, 255, .06); }
.mini p i { width: 7px; height: 7px; flex: none; background: var(--petrol-hell); }
.mini p.frei i { background: none; border: 1.5px solid currentColor; }
.mini b { margin-left: auto; font-weight: 600; color: var(--leuchten); white-space: nowrap; }
.mini code { font-family: var(--mono); font-size: 11.5px; }
.mini .farben { gap: 4px; } .mini .farben i { height: 18px; flex: 1; background: #127c84; }
.mini .farben i:nth-child(2) { background: #1f4e8c; } .mini .farben i:nth-child(3) { background: #1d6b4f; } .mini .farben i:nth-child(4) { background: #6b3f7d; } .mini .farben i:nth-child(5) { background: #33444a; } .mini .farben i:nth-child(6) { background: #5ee8d6; }
.mini-raum { grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.mini-raum svg { height: 46px; fill: none; stroke: #c4eced; stroke-width: .9; }
.stufen-mini, .woche-mini { display: flex; gap: 4px; }
.stufen-mini i { width: 16px; height: 16px; border: 1.5px solid var(--petrol-hell); } .stufen-mini i:nth-child(-n+4) { background: var(--petrol-hell); }
.woche-mini { flex-direction: column; } .woche-mini i { height: 6px; background: linear-gradient(90deg, rgba(255,255,255,.08) 0 33%, var(--petrol-hell) 33% 70%, var(--leuchten) 70% 83%, rgba(255,255,255,.08) 83%); }

/* Startseite */
.start h1 { font-size: clamp(2.3rem, min(7.4vw, 14vh), 9rem); }
.feldwahl { display: flex; flex-wrap: wrap; gap: 8px 0; font-size: 15px; font-weight: 600; }
.feldwahl a { padding: 2px 16px; border-left: 1px solid rgba(26, 36, 39, .18); color: #4d5c60; transition: color .25s; }
.feldwahl a.an, .feldwahl a:hover { color: var(--petrol); }
.fenster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(72px, 10vh, 120px) var(--rand); }
.fenster h2 { margin: 12px 0 18px; font-family: 'Anton', sans-serif; font-weight: 400; font-size: clamp(44px, 6.6vw, 104px); line-height: 1; letter-spacing: .005em; }
.fenster p:not(.feld) { max-width: 30em; margin-bottom: 28px; color: var(--leise); font-size: 18px; }
.fensterbild img { width: 100%; max-height: 70svh; height: auto; object-fit: contain; mix-blend-mode: lighten; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 96%); mask-image: radial-gradient(closest-side, #000 55%, transparent 96%); }
.webgl .fensterbild .rueckfall { display: block; }

@media (max-width: 1180px) {
  .haupt a { padding: 0 12px; }
}
@media (max-width: 900px) {
  .textteil, .karten, .produkte, .fenster, .blaettern { grid-template-columns: 1fr; }
  .karten .ohne-bild .karte { grid-template-columns: 1fr; } .karten .ohne-bild .feld { grid-row: auto; }
  .feldreihen a { grid-template-columns: 1fr; padding: 22px 0; }
  .blaettern a + a { text-align: left; border-left: 0; border-top: 1px solid var(--linie); }
  .zahlen div { border-right: 0; margin-right: 0; flex: 1 1 45%; }
  .seitenkopf { padding-top: 110px; }
  .feldwahl a { padding: 2px 12px 2px 0; border-left: 0; }
  .start h1 { font-size: clamp(2rem, 9.4vw, 4.6rem); }
}
