/* edelgas.css · EDELGAS Neonglas-Werkstatt (Beispiel). Dunkle Werkstatt, das Gas färbt die ganze Seite.
   --gas ist die Farbe des gerade brennenden Gases als "r g b"; seite.js setzt sie je Kapitel und nach der Farbwahl. */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-var.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("../fonts/saira-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --gas: 255 61 154;
  --nacht: #0c0a10; --tief: #16121c; --text: #f6f1f4; --leise: #bdb4be; --tinte: #0c0a10;
  --schrift: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mess: "Saira Condensed", "Arial Narrow", sans-serif;
  /* Schrift-Ordnung: fünf Größen */
  --s-riese: clamp(2.5rem, 5.2vw, 4.9rem);
  --s-gross: clamp(2rem, 4vw, 3.6rem);
  --s-mittel: clamp(1.3rem, 2vw, 1.7rem);
  --s-text: 1.0625rem;
  --s-klein: .9rem;
  --rand: clamp(20px, 5vw, 76px);
  --luft: clamp(72px, 12vh, 150px);
  --weich: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--nacht); color: var(--text); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 var(--s-text)/1.6 var(--schrift); overflow-x: clip; }
img, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
h1, h2 { font-weight: 800; letter-spacing: -.022em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: var(--s-riese); }
h2 { font-size: var(--s-gross); margin-bottom: .5em; }
h3 { font-size: var(--s-mittel); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
p { max-width: 38em; }
.rand { max-width: 1600px; margin-inline: auto; padding-inline: var(--rand); }
.abschnitt { padding-block: var(--luft); }

:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 6px; }
.sprung { position: fixed; left: 12px; top: -90px; z-index: 100; background: #fff; color: var(--tinte); padding: 12px 18px; font-weight: 700; border-radius: 8px; }
.sprung:focus { top: 12px; }

/* Knöpfe: Röhrenform, leuchten in der Gasfarbe */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; background: rgb(var(--gas)); color: var(--tinte); font: 800 1.05rem/1 var(--schrift); text-decoration: none; border: 0; border-radius: 999px; cursor: pointer; box-shadow: 0 0 26px rgb(var(--gas) / .45), 0 0 0 0 rgb(var(--gas) / .5); transition: transform .2s var(--weich), box-shadow .3s, background-color .5s; }
.knopf:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgb(var(--gas) / .7), 0 0 0 5px rgb(var(--gas) / .22); }
.knopf:active { transform: translateY(0) scale(.98); }
.knopf-klein { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.knopf-rand { background: transparent; color: rgb(var(--gas)); box-shadow: inset 0 0 0 2px rgb(var(--gas)), 0 0 18px rgb(var(--gas) / .25); margin-top: 26px; }
.knopf-rand:hover { box-shadow: inset 0 0 0 2px rgb(var(--gas)), 0 0 34px rgb(var(--gas) / .5); }
.knopf-satz { font-size: var(--s-klein); color: var(--leise); margin-top: 12px; }

/* Leuchtwort in Überschriften: zündet, wenn es ins Bild kommt */
.leucht { color: rgb(var(--gas)); text-shadow: 0 0 .32em rgb(var(--gas) / .75), 0 0 1em rgb(var(--gas) / .35); transition: color .5s, text-shadow .5s; }
html.js.bewegt .leucht:not(.an) { color: rgba(176, 190, 210, .34); text-shadow: none; }
html.bewegt .leucht.an { animation: zuenden .6s steps(1, end); }
@keyframes zuenden { 0% { opacity: 1; } 10% { opacity: .15; } 20% { opacity: .8; } 30% { opacity: .1; } 48% { opacity: .1; } 56% { opacity: 1; } 68% { opacity: .5; } 78%, 100% { opacity: 1; } }

/* ───── Kopfzeile ───── */
.leiste { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 70px; display: flex; align-items: center; gap: clamp(12px, 2.4vw, 34px); padding-inline: var(--rand); background: linear-gradient(to bottom, rgba(12, 10, 16, .9), rgba(12, 10, 16, 0)); }
.marke { display: inline-flex; align-items: center; gap: 10px; font: 800 1.1rem/1 var(--schrift); letter-spacing: .14em; text-decoration: none; min-height: 44px; margin-right: auto; }
.marke small { font: 600 .82rem/1 var(--mess); letter-spacing: .08em; text-transform: uppercase; color: var(--leise); }
.marke-rohr { width: 26px; height: 8px; border-radius: 8px; background: rgb(var(--gas)); box-shadow: 0 0 12px rgb(var(--gas) / .9); transition: background-color .5s, box-shadow .5s; }
.leiste-nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.leiste-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: .98rem; text-decoration: none; background: linear-gradient(rgb(var(--gas)), rgb(var(--gas))) 0 78% / 0 2px no-repeat; transition: background-size .35s var(--weich); }
.leiste-nav a:hover { background-size: 100% 2px; }
.schalter { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 8px; background: rgba(255, 255, 255, .08); color: var(--text); border: 0; border-radius: 999px; font: 700 .9rem/1 var(--schrift); cursor: pointer; }
.schalter-knebel { width: 40px; height: 24px; border-radius: 24px; background: rgb(var(--gas) / .3); position: relative; transition: background-color .3s; }
.schalter-knebel::after { content: ""; position: absolute; top: 3px; left: 19px; width: 18px; height: 18px; border-radius: 50%; background: rgb(var(--gas)); box-shadow: 0 0 12px rgb(var(--gas) / .9); transition: left .25s var(--weich), background-color .3s, box-shadow .3s; }
.schalter[aria-pressed="false"] .schalter-knebel { background: rgba(255, 255, 255, .14); }
.schalter[aria-pressed="false"] .schalter-knebel::after { left: 3px; background: #9a93a0; box-shadow: none; }

/* Licht aus: alles Leuchtende wird kaltes Glas */
html.aus .knopf { box-shadow: none; background: #cfc8d2; }
html.aus .knopf-rand { background: transparent; color: #cfc8d2; box-shadow: inset 0 0 0 2px #cfc8d2; }
html.aus .leucht { color: rgba(176, 190, 210, .4); text-shadow: none; }
html.aus .marke-rohr { background: rgba(176, 190, 210, .45); box-shadow: none; }
html.aus .ablauf { background: #cfc8d2; }

/* ───── Bühne ───── */
.bahn { position: relative; background: #08060a; }
.buehne { position: relative; overflow: hidden; }
.platz { position: relative; height: 62svh; min-height: 380px; overflow: hidden; }
.wand { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.licht { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.schild { position: absolute; left: 0; top: 0; pointer-events: none; }
.schild-ersatz { position: absolute; left: 0; right: 0; top: 24%; text-align: center; font: 800 clamp(3rem, 14vw, 13rem)/1 var(--schrift); letter-spacing: .08em; color: rgb(var(--gas)); text-shadow: 0 0 .2em rgb(var(--gas) / .8), 0 0 .7em rgb(var(--gas) / .4); max-width: none; }
html.js .schild-ersatz { display: none; }
.texte { padding: 36px var(--rand) 56px; display: grid; gap: 44px; }
.kapitel h2 { font-size: var(--s-gross); margin-bottom: .35em; }
.kapitel p { color: #e6dfe5; }
.vorspann { font-size: clamp(1.05rem, 1.35vw, 1.22rem); margin-top: 16px; max-width: 34em; }
.knopf-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px; }
.knopf-zeile .knopf-satz { margin: 0; max-width: 17em; }
.kapitel .knopf { margin-top: 22px; }
.anzeige { display: none; }
.nur-finger { display: none; }
@media (hover: none), (pointer: coarse) { .nur-maus { display: none; } .nur-finger { display: inline; } }

html.bewegt .bahn { height: 640vh; height: 640svh; }
html.bewegt .buehne { position: sticky; top: 0; height: 100vh; height: 100svh; }
html.bewegt .platz { position: absolute; inset: 0; height: auto; min-height: 0; }
html.bewegt .buehne::after { content: ""; position: absolute; inset: 42% 0 0 0; background: linear-gradient(to top, rgba(8, 6, 10, .9) 8%, rgba(8, 6, 10, 0)); pointer-events: none; }
html.bewegt .buehne.greifbar { cursor: pointer; }
html.bewegt .texte { position: absolute; z-index: 2; left: var(--rand); bottom: clamp(26px, 6vh, 64px); width: min(660px, 58vw); padding: 0; display: block; }
html.bewegt .kapitel { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .35s, transform .5s var(--weich), visibility 0s .35s; }
html.bewegt .buehne[data-kap="0"] .k0, html.bewegt .buehne[data-kap="1"] .k1, html.bewegt .buehne[data-kap="2"] .k2,
html.bewegt .buehne[data-kap="3"] .k3, html.bewegt .buehne[data-kap="4"] .k4 { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .16s, transform .6s var(--weich) .16s, visibility 0s; }

html.bewegt .anzeige { display: block; position: absolute; z-index: 2; right: var(--rand); bottom: clamp(26px, 6vh, 64px); text-align: right; min-width: 200px; }
.kachel { position: absolute; right: 0; bottom: 92px; width: 124px; height: 138px; padding: 10px 12px; border-radius: 16px; box-shadow: inset 0 0 0 2px rgb(var(--gas)), 0 0 26px rgb(var(--gas) / .3); display: grid; align-content: space-between; justify-items: start; text-align: left; font: 600 .86rem/1 var(--mess); letter-spacing: .08em; text-transform: uppercase; color: var(--leise); opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .3s, transform .5s var(--weich), box-shadow .5s; }
.kachel b { font: 800 3.5rem/1 var(--schrift); letter-spacing: -.03em; text-transform: none; color: rgb(var(--gas)); text-shadow: 0 0 .3em rgb(var(--gas) / .6); transition: color .5s; }
.tipp { position: absolute; right: 0; bottom: 0; white-space: nowrap; font: 600 .86rem/1.3 var(--mess); letter-spacing: .08em; text-transform: uppercase; color: var(--leise); opacity: 0; transition: opacity .4s; }
.mess { font: 600 1rem/1.5 var(--mess); letter-spacing: .08em; text-transform: uppercase; color: var(--leise); opacity: 0; transition: opacity .4s; white-space: nowrap; }
.mess span { color: var(--text); }
.buehne[data-kap="0"] .tipp { opacity: 1; }
.buehne:not([data-kap="0"]) .mess { opacity: 1; }
.buehne[data-kap="1"] .a1, .buehne[data-kap="2"] .a2, .buehne[data-kap="3"] .a3, .buehne[data-kap="4"] .a4 { opacity: 1; transform: none; }
html.aus .kachel b { color: #9a93a0; text-shadow: none; }

/* ───── Dein Wort ───── */
.wort { background: var(--tief); }
.wort-raster { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 70px); align-items: start; }
.wort-kopf { grid-column: 1 / -1; }
.wort-kopf p { font-size: var(--s-mittel); line-height: 1.4; color: var(--leise); }
.wunsch-wand { position: sticky; top: 96px; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: #0a080c; }
.wunsch-wand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.schein { position: absolute; inset: 0; background: radial-gradient(ellipse 62% 58% at 50% 46%, rgb(var(--f, var(--gas)) / .44), rgb(var(--f, var(--gas)) / 0) 72%); opacity: 0; transition: opacity .6s; pointer-events: none; }
.brennt > .schein { opacity: 1; }
.wunsch-wand .tafel { position: absolute; left: 5%; top: 12%; width: 90%; height: 66%; }
.eingabe label, .wahl legend { display: block; font-weight: 700; font-size: .98rem; margin-bottom: 8px; }
.eingabe small { font-weight: 400; color: var(--leise); }
#w-wort { width: 100%; min-height: 64px; padding: 8px 0; background: transparent; border: 0; border-bottom: 3px solid rgb(var(--gas)); border-radius: 0; color: var(--text); font: 800 clamp(1.7rem, 3vw, 2.4rem)/1.1 var(--schrift); letter-spacing: .08em; text-transform: uppercase; transition: border-color .5s; }
#w-wort:focus-visible { outline: 0; box-shadow: 0 6px 0 -2px #fff; }
.feld-hinweis { font-size: var(--s-klein); color: var(--leise); margin-top: 8px; }
.wahl { border: 0; margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.wahl legend { float: left; width: 100%; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2); font-weight: 700; font-size: .95rem; transition: box-shadow .25s, background-color .25s; }
.farben .chip span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: rgb(var(--c)); box-shadow: 0 0 10px rgb(var(--c) / .9); }
.chip input:checked + span { box-shadow: inset 0 0 0 2px rgb(var(--c, var(--gas))), 0 0 18px rgb(var(--c, var(--gas)) / .35); background: rgb(var(--c, var(--gas)) / .16); }
.chip input:focus-visible + span { outline: 3px solid #fff; outline-offset: 3px; }
.chip:hover span { box-shadow: inset 0 0 0 2px rgb(var(--c, var(--gas)) / .7); }
.c-rosa { --c: 255 61 154; } .c-rot { --c: 255 67 38; } .c-blau { --c: 63 169 255; } .c-violett { --c: 166 107 255; } .c-tuerkis { --c: 47 224 197; } .c-warm { --c: 255 226 184; }
.rechnung { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 30px 0 24px; max-width: none; font-size: var(--s-klein); color: var(--leise); }
.rechnung b { display: block; font: 600 2rem/1.1 var(--mess); letter-spacing: .02em; color: var(--text); font-variant-numeric: tabular-nums; }
.rechnung-preis b { color: rgb(var(--gas)); text-shadow: 0 0 .5em rgb(var(--gas) / .5); transition: color .5s; }

/* ───── Schilder in drei Räumen: Blätter, die sich übereinander schieben ───── */
.schilder { background: var(--nacht); }
.schilder-kopf { padding-block: var(--luft) clamp(34px, 6vh, 64px); }
.schilder-kopf p { font-size: var(--s-mittel); line-height: 1.4; color: var(--leise); }
.szene { position: relative; height: 84svh; min-height: 460px; overflow: hidden; background: #08060a; }
html.bewegt .szene { position: sticky; top: 0; height: 100vh; height: 100svh; box-shadow: 0 -30px 60px rgba(0, 0, 0, .55); }
.szene-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
html.bewegt .szene-foto { transform: scale(calc(1.16 - min(var(--p, .5), .5) * .32)); transform-origin: 50% 100%; }
.szene::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(to top, rgba(8, 6, 10, .88), rgba(8, 6, 10, 0)); pointer-events: none; }
.szene .schein { inset: 0 6% 34% 6%; background: radial-gradient(ellipse 50% 50% at 50% 46%, rgb(var(--f) / .5), rgb(var(--f) / 0) 74%); }
.szene .tafel { position: absolute; left: 50%; top: 13%; width: min(66vw, 980px); height: 32svh; margin-left: calc(min(66vw, 980px) / -2); }
.s-stream .tafel, .s-stream .schein { transform: translateX(-9vw); }
.szene-text { position: absolute; z-index: 2; left: var(--rand); bottom: clamp(26px, 7vh, 70px); max-width: 30em; }
.szene-text h3 { font-size: clamp(1.6rem, 2.8vw, 2.5rem); margin-bottom: .3em; }
.szene-daten { margin-top: 12px; font: 600 1rem/1 var(--mess); letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--f, var(--gas))); }

/* ───── Werkstatt ───── */
.werkstatt { background: var(--tief); overflow: hidden; padding-bottom: calc(var(--luft) + 84px); }
.werkstatt-raster { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); column-gap: clamp(30px, 5vw, 90px); align-items: start; max-width: 1800px; margin-inline: auto; padding-right: var(--rand); }
.bild-haende { grid-column: 1; grid-row: 1 / span 2; position: relative; overflow: hidden; border-radius: 0 22px 22px 0; aspect-ratio: 3 / 2; }
.bild-frau { grid-column: 1; grid-row: 1 / span 2; align-self: end; justify-self: end; position: relative; z-index: 2; overflow: hidden; width: min(290px, 30%); margin: 0 -7% -84px 0; border-radius: 18px; aspect-ratio: 3 / 4; box-shadow: 0 0 0 8px var(--tief); }
.bild-haende img, .bild-frau img { width: 100%; height: 100%; object-fit: cover; }
html.bewegt [data-lauf] img { transform: translateY(calc((var(--p, .5) - .5) * -9%)) scale(1.12); }
html.bewegt .bild-haende { clip-path: inset(calc((1 - min(var(--p, 1) * 2.6, 1)) * 60%) 0 0 0 round 0 22px 22px 0); }
html.bewegt .bild-frau { clip-path: inset(calc((1 - min(var(--p, 1) * 2.4, 1)) * 70%) 0 0 0 round 18px); }
.bild-haende::after { content: ""; position: absolute; inset: 16px; border-radius: 12px; box-shadow: inset 0 0 0 2px rgb(var(--gas)), inset 0 0 22px rgb(var(--gas) / .35), 0 0 22px rgb(var(--gas) / .35); opacity: min(calc(var(--p, 1) * 3 - .7), 1); pointer-events: none; transition: box-shadow .5s; }
html.aus .bild-haende::after { box-shadow: inset 0 0 0 2px rgba(176, 190, 210, .4); }
.werkstatt-text { grid-column: 2; grid-row: 1; padding-top: clamp(10px, 3vw, 50px); }
.werkstatt-text p + p { margin-top: 1em; }
.werte { display: flex; flex-wrap: wrap; gap: 18px 34px; margin-top: 32px; }
.werte b { display: block; font: 600 clamp(2rem, 3.2vw, 2.9rem)/1 var(--mess); color: rgb(var(--gas)); text-shadow: 0 0 .45em rgb(var(--gas) / .45); font-variant-numeric: tabular-nums; transition: color .5s; }
.werte span { font-size: var(--s-klein); color: var(--leise); }

/* ───── Ablauf: volle Gasfarbe, eine Leitung läuft mit ───── */
.ablauf { background: rgb(var(--gas)); color: var(--tinte); padding-block: var(--luft); transition: background-color .6s; }
.ablauf :focus-visible { outline-color: var(--tinte); }
.ablauf-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.ablauf h2 { position: sticky; top: 110px; margin: 0; }
.schritte { position: relative; padding-left: 58px; counter-reset: schritt; }
.schritte::before, .schritte::after { content: ""; position: absolute; left: 9px; top: 8px; bottom: 30px; width: 8px; border-radius: 8px; background: rgba(12, 10, 16, .16); }
.schritte::after { background: var(--tinte); transform-origin: 50% 0; transform: scaleY(1); }
html.bewegt .schritte::after { transform: scaleY(clamp(0, calc(var(--p, 1) * 2 - .42), 1)); }
.schritte li { position: relative; counter-increment: schritt; padding-bottom: clamp(30px, 6vh, 58px); }
.schritte li:last-child { padding-bottom: 0; }
.schritte li::before { content: counter(schritt); position: absolute; left: -58px; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--tinte); color: #fff; font: 600 .95rem/26px var(--mess); text-align: center; z-index: 1; transition: transform .45s var(--weich), box-shadow .45s; }
.schritte h3 { margin-bottom: .3em; }
.schritte p { font-weight: 500; }
html.js.bewegt .schritte li { opacity: .34; transform: translateX(14px); transition: opacity .5s, transform .6s var(--weich); }
html.js.bewegt .schritte li.an { opacity: 1; transform: none; }
html.js.bewegt .schritte li.an::before { transform: scale(1.3); box-shadow: 0 0 0 7px rgba(255, 255, 255, .45); }

/* ───── Preise ───── */
.preise { background: var(--nacht); }
.preise-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.preise-raster p { color: var(--leise); }
.preisliste li { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 24px 0; font-size: var(--s-mittel); font-weight: 600; line-height: 1.3; border-bottom: 2px solid rgba(255, 255, 255, .12); }
.preisliste b { flex: none; font: 600 clamp(1.5rem, 2.4vw, 2.1rem)/1 var(--mess); color: rgb(var(--gas)); transition: color .5s; }
.preisliste li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: rgb(var(--gas)); box-shadow: 0 0 12px rgb(var(--gas) / .9); transform: scaleX(1); transform-origin: 0 50%; transition: transform 1s var(--weich), background-color .5s; }
html.js.bewegt .preisliste li:not(.an)::after { transform: scaleX(0); }
html.aus .preisliste li::after { background: rgba(176, 190, 210, .4); box-shadow: none; }

/* ───── Fragen ───── */
.fragen { background: var(--tief); }
.fragen-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
details { border-bottom: 2px solid rgba(255, 255, 255, .12); }
summary { position: relative; list-style: none; cursor: pointer; padding: 24px 54px 24px 0; font-size: var(--s-mittel); font-weight: 700; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 4px; margin-top: -2px; border-radius: 4px; background: rgb(var(--gas)); box-shadow: 0 0 10px rgb(var(--gas) / .8); transition: transform .35s var(--weich), background-color .5s; }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0deg); }
details p { padding: 0 54px 26px 0; color: #e6dfe5; }

/* ───── Anfrage ───── */
.anfrage { background: radial-gradient(70% 90% at 88% 0%, rgb(var(--gas) / .17), rgb(var(--gas) / 0) 70%), var(--nacht); padding-block: var(--luft); }
.anfrage-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 110px); align-items: start; }
.anfrage-kopf p { font-size: var(--s-mittel); line-height: 1.4; color: var(--leise); }
.formular .eingabe { margin-bottom: 16px; }
.formular input, .formular textarea { width: 100%; min-height: 54px; padding: 14px 16px; background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .2); border-radius: 14px; color: var(--text); font: 500 1rem/1.4 var(--schrift); }
.formular textarea { resize: vertical; }
.formular input::placeholder { color: #9d95a0; }
.formular input:focus-visible, .formular textarea:focus-visible { outline: 0; border-color: rgb(var(--gas)); box-shadow: 0 0 0 3px rgb(var(--gas) / .3), 0 0 22px rgb(var(--gas) / .25); }
.formular [aria-invalid="true"] { border-color: #ff8f8f; }
.feldpaar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld-fehler { min-height: 1.3em; margin-top: 5px; font-size: var(--s-klein); color: #ffa3a3; }
.formular .knopf { margin-top: 8px; }
.formular-meldung { margin-top: 14px; font-weight: 700; color: rgb(var(--gas)); }
.formular-meldung:empty { display: none; }

/* ───── Fußzeile ───── */
.fuss { background: #08060a; }
.fuss-schild { position: relative; height: clamp(200px, 30vw, 400px); overflow: hidden; }
.fuss-schild .tafel { position: absolute; left: 8%; top: 8%; width: 84%; height: 84%; }
.fuss-schild .schein { background: radial-gradient(ellipse 54% 60% at 50% 50%, rgb(var(--f, var(--gas)) / .3), rgb(var(--f, var(--gas)) / 0) 72%); }
.zug { position: absolute; right: var(--rand); top: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 22px; min-width: 64px; padding: 0 6px 10px; background: none; border: 0; color: var(--leise); font: 700 .88rem/1 var(--schrift); cursor: pointer; transition: transform .2s var(--weich); }
.zug span { position: relative; width: 2px; height: clamp(54px, 9vw, 96px); background: rgba(255, 255, 255, .4); }
.zug span::after { content: ""; position: absolute; left: -7px; bottom: -14px; width: 16px; height: 16px; border-radius: 50%; background: rgb(var(--gas)); box-shadow: 0 0 14px rgb(var(--gas) / .9); transition: background-color .4s, box-shadow .4s; }
.zug:active { transform: translateY(10px); }
html.aus .zug span::after { background: #9a93a0; box-shadow: none; }
.fuss-raster { display: grid; grid-template-columns: 1.3fr 1fr auto 1.2fr; gap: 30px clamp(24px, 4vw, 70px); padding-block: 44px 56px; font-size: .96rem; border-top: 2px solid rgba(255, 255, 255, .1); }
.fuss-raster a { text-underline-offset: 3px; }
.fuss-raster p { line-height: 1.9; }
.fuss-klein { color: var(--leise); }
.zeichen-liste { display: flex; gap: 4px; align-items: flex-start; }
.zeichen-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; transition: background-color .25s, color .25s; }
.zeichen-link:hover { background: rgb(var(--gas) / .2); color: rgb(var(--gas)); }
.zeichen { width: 22px; height: 22px; }

/* ───── Rechtliches ───── */
.recht-seite .leiste { position: static; background: none; }
.recht { max-width: 780px; margin: 0 auto; padding: 40px var(--rand) 90px; }
.recht h1 { font-size: var(--s-gross); margin-bottom: .6em; }
.recht h2 { font-size: var(--s-mittel); letter-spacing: -.01em; margin: 2em 0 .5em; }
.recht p { margin-bottom: 1em; }
.recht dl { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 8px 20px; margin: 0; }
.recht dt { font-weight: 700; } .recht dd { margin: 0; }
.hinweis-kasten { padding: 16px 20px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgb(var(--gas)); }
.fuss-recht .rand { padding-block: 30px; }

/* ───── Schmal ───── */
@media (max-width: 900px) {
  .leiste-nav { display: none; }
  .schalter-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .schalter { padding: 0 8px; }
  .marke small { display: none; }
  .wort-raster, .ablauf-raster, .preise-raster, .fragen-raster, .anfrage-raster { grid-template-columns: minmax(0, 1fr); }
  .wunsch-wand { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .ablauf h2 { position: static; }
  .werkstatt-raster { grid-template-columns: minmax(0, 1fr); padding-right: 0; row-gap: 34px; }
  .bild-haende { grid-row: auto; border-radius: 0; }
  .werkstatt-text { grid-column: 1; grid-row: auto; padding-inline: var(--rand); }
  .werkstatt { padding-bottom: var(--luft); }
  .bild-frau { grid-column: 1; grid-row: auto; justify-self: end; margin: 0 var(--rand) 0 auto; width: min(300px, 62%); }
  html.bewegt .bild-haende, html.bewegt .bild-frau { clip-path: none; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  html.bewegt .texte { width: auto; right: var(--rand); }
  html.bewegt .anzeige { display: none; }
  .szene .tafel { width: 86vw; margin-left: -43vw; top: 15%; height: 26svh; }
  .s-stream .tafel, .s-stream .schein { transform: none; }
  .szene-foto { object-position: 50% 100%; }
}
@media (max-width: 560px) {
  .feldpaar, .fuss-raster { grid-template-columns: 1fr; }
  .leiste { gap: 8px; }
  .leiste .knopf-klein { padding: 0 14px; font-size: .88rem; white-space: nowrap; }
  .fuss-schild .tafel { left: 3%; width: 76%; }
  .zug { right: 8px; font-size: .78rem; }
  .knopf-zeile .knopf-satz { max-width: none; }
  .preisliste li { flex-direction: column; gap: 6px; }
  summary { font-size: 1.15rem; }
}
/* klein und flach (z. B. 640 × 440): Schrift oben, Text kompakt darunter */
@media (max-height: 560px) and (min-width: 561px) {
  html.bewegt .texte { bottom: 16px; width: min(560px, 80vw); }
  html.bewegt h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); }
  html.bewegt .kapitel h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
  html.bewegt .vorspann, html.bewegt .kapitel p { font-size: .95rem; line-height: 1.45; margin-top: 8px; }
  html.bewegt .knopf-zeile { margin-top: 12px; }
  html.bewegt .knopf-zeile .knopf-satz { display: none; }
  html.bewegt .kapitel .knopf { margin-top: 12px; min-height: 46px; }
  html.bewegt .anzeige { display: none; }
  .szene .tafel { top: 16%; height: 30svh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
