/* =========================================================================
   Marmorwerkstatt (Lab, Experiment 04)
   Dunkle Werkstatt, in der Mitte die Wanne (WebGL), links Farbwelten und Rezepte,
   unten das Werkzeug-Dock. Danach der Postkarten-Editor.
   Ablauf und Zeichnen: assets/js/marmor.js, Motor: marmor-motor.js
   ========================================================================= */

@font-face { font-family: 'Instrument Sans'; src: url('../fonts/instrument-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif-latin-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); font-style: italic; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-300-italic.woff2') format('woff2'); font-style: italic; font-weight: 300; font-display: swap; }
@font-face { font-family: 'Bricolage'; src: url('../fonts/bricolage-grotesque-latin-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Bricolage'; src: url('../fonts/bricolage-grotesque-latin-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Unbounded'; src: url('../fonts/unbounded-latin-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
  --nacht: #121212;
  --flaeche: #1B1B1D;
  --flaeche-2: #242427;
  --linie: rgba(255, 255, 255, .09);
  --text: #F2EFE9;
  --leise: #9C9890;
  --hell: #F2EFE9;
  --akzent: #E3AE3B;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --feder: cubic-bezier(.34, 1.56, .64, 1);
  --rund: 22px;
  --seite: 300px;
  --leiste: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { background: var(--nacht); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--nacht); -webkit-font-smoothing: antialiased; overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--hell); color: var(--nacht); border-radius: 30px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--hell); outline-offset: 3px; border-radius: 10px; }

/* ---------- Leiste --------------------------------------------------------- */
.leiste { position: fixed; inset: 0 0 auto 0; height: var(--leiste); z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.leiste__links { display: flex; align-items: center; gap: 12px; }
.leiste__marke img { width: 30px; height: 30px; }
.leiste__titel { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; font-family: var(--serif); font-size: 22px; letter-spacing: .01em; white-space: nowrap; }
.leiste__titel span { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--leise); margin-right: 10px; vertical-align: 3px; }
.pille {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border-radius: 999px; text-decoration: none;
  font-size: 14px; font-weight: 500; background: transparent; border: 1px solid var(--linie); transition: border-color .3s, background .3s;
}
.pille:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .04); }

/* ---------- Werkstatt ------------------------------------------------------ */
.werkstatt { position: fixed; inset: var(--leiste) 0 0 0; display: grid; grid-template-columns: var(--seite) 1fr; }
.seite { overflow-y: auto; padding: 8px 18px 24px 20px; scrollbar-width: thin; scrollbar-color: #333 transparent; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.seite__block { margin-bottom: 26px; }
.seite__titel { margin: 6px 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--leise); }
.seite__titel span { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .8; }

.farbwelten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.farbwelt {
  position: relative; aspect-ratio: 1; border-radius: 14px; border: 0; padding: 0; overflow: hidden; background: var(--g);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: transform .4s var(--feder), box-shadow .3s;
}
.farbwelt i { position: absolute; border-radius: 50%; }
.farbwelt i:nth-child(1) { width: 62%; height: 62%; left: -12%; top: -10%; background: var(--a); }
.farbwelt i:nth-child(2) { width: 50%; height: 50%; right: -8%; top: 18%; background: var(--b); }
.farbwelt i:nth-child(3) { width: 46%; height: 46%; left: 22%; bottom: -14%; background: var(--c); }
.farbwelt i:nth-child(4) { width: 22%; height: 22%; left: 14%; top: 44%; background: var(--d); }
.farbwelt span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 4px 4px; font-size: 10px; font-weight: 600; text-align: center; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); opacity: 0; transition: opacity .3s; }
.farbwelt:hover { transform: translateY(-2px) scale(1.04); }
.farbwelt:hover span, .farbwelt.ist-an span { opacity: 1; }
.farbwelt.ist-an { box-shadow: 0 0 0 2px var(--nacht), 0 0 0 4px var(--hell); }

.rezepte { display: grid; gap: 8px; }
.rezept {
  display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; text-align: left; padding: 6px; border: 0; border-radius: 16px;
  background: transparent; transition: background .3s;
}
.rezept:hover { background: var(--flaeche); }
.rezept.ist-an { background: var(--flaeche-2); }
.rezept canvas { width: 88px; height: 56px; border-radius: 10px; background: var(--flaeche); transition: transform .5s var(--feder); }
.rezept:hover canvas { transform: scale(1.05) rotate(-1.5deg); }
.rezept b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.rezept small { display: block; font-size: 12px; line-height: 1.35; color: var(--leise); }

/* ---------- Buehne & Wanne ------------------------------------------------- */
.buehne { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 8px 24px 20px 8px; min-width: 0; }
.wanne {
  position: relative; width: var(--ww, 800px); height: var(--wh, 500px); border-radius: var(--rund); overflow: hidden; flex: none;
  background: #222; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);
  touch-action: none; -webkit-user-select: none; user-select: none; cursor: none;
}
.wanne__gl, .wanne__fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.wanne__fx { pointer-events: none; }
.wanne__glanz {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit; mix-blend-mode: soft-light; opacity: .55;
  background:
    radial-gradient(120% 70% at var(--gx, 30%) var(--gy, 0%), rgba(255, 255, 255, .55), transparent 55%),
    radial-gradient(90% 60% at 80% 110%, rgba(0, 0, 0, .35), transparent 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 18px 40px -20px rgba(255, 255, 255, .35);
  animation: glanz 14s ease-in-out infinite alternate;
}
@keyframes glanz { 0% { --gx: 22%; } 100% { --gx: 78%; } }
@property --gx { syntax: '<percentage>'; inherits: false; initial-value: 30%; }
.wanne__schritt {
  position: absolute; left: 50%; top: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: #fff; background: rgba(18, 18, 18, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none; white-space: nowrap; transition: opacity .4s var(--ease);
}
.wanne__schritt.ist-an { opacity: 1; }
.wanne__schritt b { font-weight: 600; }
.wanne__schritt i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--akzent); animation: puls 1.2s ease-in-out infinite; }
@keyframes puls { 50% { transform: scale(.55); opacity: .5; } }
.wanne__fehler { position: absolute; inset: 0; display: grid; place-items: center; padding: 40px; margin: 0; text-align: center; font-size: 18px; background: var(--flaeche); }

/* Intro ueber der Wanne */
.intro { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: clamp(24px, 4vw, 56px); cursor: default;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 10, .55)); }
.intro__marke { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.intro__titel { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(56px, 8.4vw, 150px); line-height: .92; letter-spacing: -.015em; color: #fff; }
.intro__titel .z { display: inline-block; }
.intro__text { margin: 0 0 24px; max-width: 34ch; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.45; color: rgba(255, 255, 255, .88); }
body:not(.ist-intro) .intro { pointer-events: none; }

/* ---------- Dock ----------------------------------------------------------- */
.leiste-unten { display: flex; align-items: center; gap: 14px; max-width: 100%; transition: opacity .6s var(--ease), transform .8s var(--ease); }
body.ist-intro .leiste-unten, body.ist-intro .seite { opacity: .0; transform: translateY(14px); pointer-events: none; }
.dock {
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--flaeche); box-shadow: 0 0 0 1px var(--linie), 0 20px 50px -20px rgba(0, 0, 0, .8);
  overflow-x: auto; scrollbar-width: none;
}
.dock::-webkit-scrollbar { display: none; }
.dock__gruppe { position: relative; display: flex; align-items: center; gap: 2px; }
.dock__trenner { width: 1px; height: 26px; background: var(--linie); margin: 0 4px; flex: none; }
.werkzeug {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent;
  font-size: 14px; font-weight: 500; color: var(--leise); transition: color .3s;
}
.werkzeug svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.werkzeug svg path[d^='M12 3c'] { fill: currentColor; stroke: none; }
.werkzeug svg circle { fill: currentColor; stroke: none; }
.werkzeug:hover { color: var(--text); }
.werkzeug.ist-an { color: var(--nacht); }
.werkzeug span { white-space: nowrap; }
.werkzeug__marke { position: absolute; z-index: 0; left: 0; top: 0; height: 44px; width: 60px; border-radius: 999px; background: var(--hell); transition: transform .5s var(--feder), width .5s var(--feder); pointer-events: none; }

.dock__farben { gap: 6px; padding: 0 4px; }
.farbe {
  width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0; background: var(--f); flex: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); transition: transform .35s var(--feder), box-shadow .3s;
}
.farbe:hover { transform: scale(1.15); }
.farbe.ist-an { box-shadow: 0 0 0 2px var(--flaeche), 0 0 0 4px var(--hell); transform: scale(1.05); }
.farbe--bunt { background: conic-gradient(from 20deg, var(--a), var(--b), var(--c), var(--d), var(--a)); }

.groesse { background: var(--flaeche-2); border-radius: 999px; padding: 3px; }
.groesse button { min-width: 36px; height: 36px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; font-size: 13px; font-weight: 600; color: var(--leise); transition: background .3s, color .3s; white-space: nowrap; }
.groesse button.ist-an { background: var(--text); color: var(--nacht); }
.dock__klein { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; color: var(--leise); transition: color .3s, background .3s, transform .4s var(--feder); flex: none; }
.dock__klein svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dock__klein:hover { color: var(--text); background: var(--flaeche-2); }
.dock__klein:active { transform: scale(.9); }
.dock__klein.ist-links svg { transform: scaleX(-1); }

.aktionen { display: flex; align-items: center; gap: 10px; flex: none; }

/* ---------- Knoepfe -------------------------------------------------------- */
.knopf {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid var(--linie); background: var(--flaeche); transition: transform .4s var(--feder), background .3s, color .3s, box-shadow .3s;
}
.knopf:hover { transform: translateY(-2px); }
.knopf:active { transform: scale(.96); }
.knopf--hell { background: var(--hell); color: var(--nacht); border-color: transparent; box-shadow: 0 12px 30px -12px rgba(242, 239, 233, .45); }
.knopf--gross { min-height: 56px; padding: 0 28px; font-size: 16px; }
.knopf--breit { width: 100%; }
.knopf--rund { width: 56px; min-height: 56px; padding: 0; }
.knopf--rund svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.6; }
.knopf--rund svg circle { fill: currentColor; stroke: none; }
.knopf--rund:hover svg { animation: wuerfel .6s var(--feder); }
@keyframes wuerfel { 40% { transform: rotate(-25deg) scale(1.1); } 100% { transform: rotate(0); } }
.knopf--hell::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); transform: translateX(-120%); }
.knopf--hell:hover::after { transform: translateX(120%); transition: transform .9s var(--ease); }
.knopf__balken { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--akzent); transition: width .3s; }
.knopf[disabled] { opacity: .55; pointer-events: none; }

/* ---------- Blatt (Abziehen) ----------------------------------------------- */
.blatt { position: fixed; z-index: 50; left: 0; top: 0; width: 100px; height: 100px; perspective: 1400px; pointer-events: none; visibility: hidden; }
.blatt__innen { position: absolute; inset: 0; border-radius: 6px; background: #F6F1E7; transform-origin: 50% 0%; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); overflow: hidden; will-change: transform; }
.blatt canvas { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(100deg, #000 calc(var(--p, 0) * 140% - 30%), transparent calc(var(--p, 0) * 140% - 5%)); mask-image: linear-gradient(100deg, #000 calc(var(--p, 0) * 140% - 30%), transparent calc(var(--p, 0) * 140% - 5%)); }
.blatt__schatten { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, var(--s, 0)), transparent 60%); }

/* ---------- Editor --------------------------------------------------------- */
.editor { position: fixed; inset: 0; z-index: 45; display: grid; grid-template-columns: 1fr 380px; background: var(--nacht); }
.editor__vorschau { position: relative; display: grid; place-items: center; padding: 40px; min-width: 0; min-height: 0; perspective: 1600px; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 45%, #1f1f22, var(--nacht)); }
.karte { position: relative; border-radius: 4px; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .05); transform-style: preserve-3d; will-change: transform; cursor: grab; touch-action: none; }
.karte:active { cursor: grabbing; }
.karte canvas { display: block; width: 100%; height: 100%; border-radius: inherit; }
.editor__tipp { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--leise); white-space: nowrap; }
.editor__tipp svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.editor__regler { overflow-y: auto; padding: 22px 26px 28px; background: var(--flaeche); border-left: 1px solid var(--linie); }
.editor__kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.editor__kopf h2 { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 32px; }
.feld { border: 0; margin: 0 0 22px; padding: 0; }
.feld legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--leise); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--linie); background: transparent; font-size: 13px; font-weight: 500; color: var(--text); transition: background .3s, color .3s, border-color .3s, transform .3s var(--feder); }
.chip:hover { border-color: rgba(255, 255, 255, .3); }
.chip.ist-an { background: var(--text); color: var(--nacht); border-color: var(--text); }
.chip:active { transform: scale(.95); }
.chips--klein { margin: 8px 0 12px; }
.chips--klein .chip { min-height: 30px; padding: 0 11px; font-size: 12px; }
.vorlagen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vorlage { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; font-size: 11px; color: var(--leise); transition: color .3s; }
.vorlage canvas { width: 100%; aspect-ratio: 1.41; border-radius: 6px; background: var(--flaeche-2); box-shadow: 0 0 0 1px var(--linie); transition: box-shadow .3s, transform .4s var(--feder); }
.vorlage:hover canvas { transform: translateY(-2px); }
.vorlage.ist-an { color: var(--text); }
.vorlage.ist-an canvas { box-shadow: 0 0 0 2px var(--flaeche), 0 0 0 4px var(--hell); }
.eingabe { width: 100%; height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--linie); background: var(--flaeche-2); color: var(--text); font: 500 16px var(--sans); transition: border-color .3s; }
.eingabe:focus { outline: none; border-color: rgba(255, 255, 255, .4); }
.eingabe--klein { height: 40px; font-size: 14px; }
.schalter { display: flex; align-items: center; gap: 12px; font-size: 14px; margin-bottom: 10px; cursor: pointer; }
.schalter input { position: absolute; opacity: 0; pointer-events: none; }
.schalter span { position: relative; width: 40px; height: 24px; border-radius: 999px; background: var(--flaeche-2); box-shadow: inset 0 0 0 1px var(--linie); transition: background .3s; }
.schalter span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--leise); transition: transform .4s var(--feder), background .3s; }
.schalter input:checked + span { background: var(--text); }
.schalter input:checked + span::after { transform: translateX(16px); background: var(--nacht); }
.schalter input:focus-visible + span { outline: 2px solid var(--hell); outline-offset: 2px; }
.editor__ende { position: sticky; bottom: -28px; padding: 14px 0 0; background: linear-gradient(transparent, var(--flaeche) 30%); }
.editor__info { margin: 10px 0 0; font-size: 12px; color: var(--leise); text-align: center; min-height: 1.2em; }

/* ---------- Wissen --------------------------------------------------------- */
.wissen { position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); overflow-y: auto; padding: 32px 32px 24px; background: var(--flaeche); box-shadow: -30px 0 60px rgba(0, 0, 0, .5); }
.wissen h2 { margin: 0 0 22px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 40px; }
.wissen ol { margin: 0; padding: 0; list-style: none; counter-reset: w; }
.wissen li { position: relative; padding: 0 0 20px 42px; font-size: 15px; line-height: 1.55; color: #D6D2CA; counter-increment: w; }
.wissen li::before { content: counter(w, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--akzent); }
.wissen li b { color: var(--text); }
.wissen__zu { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linie); background: transparent; font-size: 22px; line-height: 1; }
.quellen { margin-top: 6px; font-size: 13px; color: var(--leise); }
.quellen summary { cursor: pointer; color: var(--text); font-weight: 600; }
.quellen ul { padding-left: 18px; }
.quellen li { padding: 0 0 6px; font-size: 13px; color: var(--leise); }
.quellen li::before { content: none; }
.wissen__fuss { margin: 28px 0 0; font-size: 12px; color: var(--leise); }
.schleier { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .45); }

/* ---------- Schmal / Telefon ----------------------------------------------- */
@media (max-width: 1560px) {
  .werkzeug span { display: none; }
  .werkzeug { padding: 0 13px; }
}
@media (max-width: 1100px) {
  :root { --seite: 250px; }
}
@media (max-width: 860px) {
  :root { --leiste: 56px; }
  body { overflow: auto; height: auto; }
  html, body { height: auto; }
  .leiste { background: rgba(18, 18, 18, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 0 14px; }
  .leiste__titel span { display: none; }
  .leiste__titel { font-size: 19px; }
  .werkstatt { position: relative; inset: auto; display: flex; flex-direction: column; padding-top: var(--leiste); }
  .buehne { order: -1; padding: 10px 12px 6px; gap: 12px; }
  .leiste-unten { flex-direction: column; width: 100%; gap: 10px; }
  .dock { width: 100%; justify-content: flex-start; }
  .aktionen { width: 100%; }
  .aktionen .knopf--gross { flex: 1; }
  .seite { overflow: visible; padding: 10px 12px 40px; }
  .farbwelten { grid-template-columns: repeat(6, 1fr); }
  .rezepte { grid-auto-flow: column; grid-auto-columns: 150px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .rezept { grid-template-columns: 1fr; padding: 4px; }
  .rezept canvas { width: 100%; height: auto; aspect-ratio: 1.6; }
  .rezept small { display: none; }
  .intro__titel { font-size: clamp(48px, 15vw, 84px); }
  .intro__text { font-size: 15px; margin-bottom: 18px; }
  .wanne__schritt { top: 10px; font-size: 12px; }
  .editor { grid-template-columns: 1fr; grid-template-rows: minmax(0, 56svh) 1fr; }
  .editor__vorschau { padding: 22px 16px 44px; }
  .editor__regler { border-left: 0; border-top: 1px solid var(--linie); padding: 18px 16px 24px; }
  .editor__kopf h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; }
}
@media (max-width: 520px) {
  .leiste__titel { display: none; }
}
