/* Messen, Ränder und „Passt.“ im Look der Design-DNA (27.10.2026)
   Übernommen aus der vom Inhaber gesehenen Vorschau docs/profis/konfigurator-start-vorschau/start.css (Folie „Messen“, große Bühne mit
   fester Kamera je Maß, Lupen an beiden Enden, Zahl auf der Linie, Großansicht, Zifferntasten offen, „Passt.“). Gilt nur in der Insel
   .ez.md-insel, die SCREENS.messen und SCREENS.rest in app.js zeichnen (Logik in messen-dna.js). Farben aus der Palette „Task-App dunkel“
   (die acht Farben kommen von .dna); hier nur die Werte, die die Vorschau aus dna/tokens.css las. */
.ez.md-insel { --rund-s: 12px; --rund-m: 20px; --rund-l: 28px; --rund-xl: 40px; --rund-pille: 999px; --glas: rgba(32, 32, 34, .82); --glas-rand: rgba(255, 255, 255, .18); --fokus: var(--violett);
  --tinte: var(--weiss); --tinte-2: var(--silbergrau); --dna-auftritt: cubic-bezier(.16, 1, .3, 1); --dna-druck: cubic-bezier(.2, .7, .2, 1); display: flex; flex-direction: column; flex: 1 0 auto; color: var(--weiss); font-family: var(--font-sans) }
.ez.md-insel [data-theme="hell"] { --tinte: var(--schwarz); --tinte-2: var(--textgrau); --linie: var(--silbergrau); --glas: rgba(255, 255, 255, .8); --glas-rand: rgba(255, 255, 255, .95); --fokus: var(--schwarz) }
.ez.md-insel > .ez-folie { display: flex; flex-direction: column; flex: 1 0 auto }
.ez.md-insel > .ez-folie > * { flex: none }


/* Grundlagen der Insel */
.ez *, .ez *::before, .ez *::after { box-sizing: border-box; }
.ez button { font-family: inherit; -webkit-tap-highlight-color: transparent; }
.ez-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ez :where(a, button, [tabindex]):focus-visible { outline: 2px solid var(--fokus); outline-offset: 3px; }
.ez-rund--fuss, .ez-rund--zu { background: radial-gradient(at 30% 20%, rgba(255,255,255,.16), rgba(255,255,255,.04) 70%), var(--schwarz); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px var(--silbergrau); }
.ez-rund { width: 44px; height: 44px; flex: none; border: 0; padding: 0; border-radius: 50%; background: transparent; color: var(--weiss); display: grid; place-items: center; cursor: pointer; transition: transform 160ms var(--dna-druck), background-color 150ms ease; }
.ez-rund svg { width: 16px; height: 16px; }
.ez-rund:active { transform: scale(.94); transition-duration: 0s; }

/* Bühne, Lichtkante, Schritt-Chip mit Ring */
.ez-buehne { position: relative; height: 248px; margin: 0; border-radius: var(--rund-l); overflow: hidden; background: var(--anthrazit); isolation: isolate; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.ez-buehne:active { cursor: grabbing; }
.ez-buehne:focus-visible { outline-offset: 2px; }
.ez-buehne__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 38%; display: block; }
/* Lichtkante oben und Vignette unten wie auf der Startseite (G14) */
.ez-buehne__kante { position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.06), inset 0 -90px 120px -60px rgba(7,9,10,.75); }
.ez-glaschip { position: absolute; z-index: 4; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px 0 6px; border-radius: var(--rund-pille); white-space: nowrap; background: var(--glas); color: var(--weiss); font: 500 .8125rem/1 var(--font-sans); border: 1px solid var(--glas-rand); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -1px 0 rgba(7,9,10,.4), 0 10px 30px -10px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); pointer-events: none; }
.ez-ring { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(var(--violett) calc(var(--anteil) * 360deg), rgba(255,255,255,.22) 0); -webkit-mask: radial-gradient(circle, transparent 5.5px, #000 6px); mask: radial-gradient(circle, transparent 5.5px, #000 6px); }

/* i-Ring und Frage */
/* Runde Knöpfe: i-Ring (28 px, 44 px Trefferfläche), eine Zustandslogik: Umriss zu, Violett offen (G13) */
.ez-i { width: 28px; height: 28px; flex: none; border: 0; padding: 0; border-radius: 50%; background: transparent; color: var(--silbergrau); box-shadow: inset 0 0 0 1.5px var(--silbergrau); display: inline-grid; place-items: center; cursor: pointer; position: relative; transition: transform 160ms var(--dna-druck), color 150ms ease, box-shadow 150ms ease, background-color 150ms ease; }
.ez-i::after { content: ""; position: absolute; inset: -8px; }
.ez-i svg { width: 14px; height: 14px; }
.ez-i:active { transform: scale(.94); transition-duration: 0s; }
.ez-i[aria-expanded="true"] { background: var(--violett); color: var(--schwarz); box-shadow: none; }
.ez-i--etikett { position: absolute; right: -8px; top: -8px; background: var(--schwarz); color: var(--weiss); box-shadow: inset 0 0 0 1.5px var(--weiss); }
.ez-i--etikett[aria-expanded="true"] { background: var(--violett); color: var(--schwarz); box-shadow: none; }

/* ---------- Frage: 30 px Gewicht 500, zweite Stimme „du?“, i-Ring neben der Überschrift, Notiz leise; Unterzeile 16 px ---------- */
.ez-frage { padding: 6px 0 8px; }
.ez-frage__kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ez-frage__titel { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.ez-frage h1 { margin: 0; min-width: 0; font: 500 1.875rem/1.1 var(--font-sans); letter-spacing: -.02em; text-wrap: balance; }
.ez-frage h1 em { font-style: normal; color: var(--silbergrau); }
.ez-frage .dna-pille--leise { height: 44px; gap: 6px; padding: 0 14px; font-size: .8125rem; box-shadow: inset 0 0 0 1.5px var(--silbergrau); transition: transform 160ms var(--dna-druck), background-color 150ms ease, color 150ms ease, box-shadow 150ms ease; }
.ez-frage .dna-pille--leise svg { width: 16px; height: 16px; }
.ez-unterzeile { margin: 6px 0 0; font: 400 1rem/1.5 var(--font-sans); color: var(--silbergrau); text-wrap: pretty; }

/* Blöcke und Karte auf Weiß */
/* ---------- Blöcke: Beschriftung 13 px ---------- */
.ez-block { display: grid; gap: 8px; }
.ez-block + .ez-block { margin-top: 12px; }
.ez-block__kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 18px; }
.ez-block .dna-label { font: 400 .8125rem/1.3 var(--font-sans); letter-spacing: .03em; color: var(--silbergrau); }
.ez-hilfe { margin: 2px 0 0; font: 400 .875rem/1.45 var(--font-sans); color: var(--silbergrau); }
.ez-hilfe[hidden] { display: none; }
.ez-karte { margin-top: 10px; padding: 10px 16px 12px; border-radius: var(--rund-l); background: var(--weiss); color: var(--schwarz); display: grid; gap: 8px; box-shadow: 0 24px 48px -16px rgba(0,0,0,.7), 0 2px 6px rgba(0,0,0,.4); }
.ez-karte .dna-label { font: 400 .8125rem/1.3 var(--font-sans); letter-spacing: .03em; color: var(--textgrau); }

/* Messen, Ränder und „Passt.“ (Vorschau start.css, Abschnitte Schritt 3 und 4) */
/* ---------- Schritt 3: Messen (27.10.2026) ----------
   Bühne = das 3-D-Modell der Wünsche (WebGL, Putzwand, Laibung, Glas) als Bild, Licht und Rand drumherum frei; nur das aktuelle Maß:
   Öffnung Koralle gestrichelt, Element Violett durchgezogen, Strichmarken an den Enden, Etiketten auf Höhe der Enden, das weiße Feld
   an der Linie mit der Zahl als Held (G3, G9, G5). Zifferntasten offen auf der weißen Karte, Rückfragen am Platz der Zeile, die
   eine Pille trägt die sichere Antwort, kein Zwischenschritt (DNA, Abschnitt 9). Bewegung nur transform und opacity. */
.ez-folie[data-folie="messen"] { position: relative; isolation: isolate; }
.ez-folie[data-folie="messen"] .ez-frage { position: relative; }
.ez-folie[data-folie="messen"] .ez-frage::before { content: ""; position: absolute; z-index: -1; left: -16px; right: -16px; top: -8px; height: 88px; pointer-events: none; background: radial-gradient(56% 100% at 50% 0, var(--anthrazit), color-mix(in srgb, var(--anthrazit) 40%, transparent) 40%, transparent 74%); }
/* Ein Licht von oben links für alles, was auf der Wand liegt: neutral dunkle Schatten, kein Braun */
.ez-buehne--mess { --putz-schatten: 0 1px 1px rgba(7,9,10,.28), 0 2px 4px -1px rgba(7,9,10,.22), 4px 12px 20px -10px rgba(7,9,10,.50); }
/* Große Bühne: von Rand zu Rand, unten gerundet; ein Tipp aufs Bild öffnet die Großansicht */
.ez-buehne--mess { height: 280px; margin: 0 -16px; border-radius: 0 0 var(--rund-l) var(--rund-l); cursor: zoom-in; touch-action: auto; background: radial-gradient(120% 100% at 26% 8%, #f3eee6, #e9e2d7 58%, #dcd4c7); box-shadow: none; }
/* Licht mit Abfall: hell auf der Mitte des Modells, zum Rand warm dunkler; einmal gemalt, ohne Filter */
.ez-buehne--mess .ez-buehne__kante { z-index: 2; background: linear-gradient(160deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 36%), radial-gradient(72% 90% at 55% 44%, rgba(7,9,10,0) 50%, rgba(7,9,10,.10) 76%, rgba(7,9,10,.30) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.30), inset 0 -1px 0 rgba(7,9,10,.30); }
/* Großansicht: der Putz läuft oben und unten ins Dunkel aus */
.ez-gross .ez-buehne--mess .ez-buehne__kante { box-shadow: none; background: linear-gradient(180deg, rgba(7,9,10,.50) 0, rgba(7,9,10,0) 56px, rgba(7,9,10,0) calc(100% - 72px), rgba(7,9,10,.55) 100%), linear-gradient(160deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 36%), radial-gradient(120% 64% at 50% 46%, rgba(7,9,10,0) 60%, rgba(7,9,10,.20) 100%); }
/* Der Schritt-Chip auf dieser Bühne deckend ohne Weichzeichner, im selben Licht wie die Etiketten */
.ez-buehne--mess .ez-glaschip { background: linear-gradient(180deg, color-mix(in srgb, var(--anthrazit) 86%, var(--silbergrau)), color-mix(in srgb, var(--anthrazit) 80%, var(--schwarz))); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: rgba(255,255,255,.05); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), var(--putz-schatten); }
.ez-buehne--mess .ez-glaschip.ist-kurz .ez-glaschip__zusatz { display: none; }
.ez-mess__bild { position: absolute; z-index: 0; left: 0; top: 0; width: 100%; height: auto; max-width: none; display: block; opacity: 0; }
.ez-mess__bild.ist-an { z-index: 1; opacity: 1; }
.ez-mess__bild.blendet.ist-an { transition: opacity 220ms var(--dna-druck); }
.ez-mess__bild.blendet:not(.ist-an) { transition: opacity 0s linear 220ms; }
.ez-mess__bild.ist-schmal { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
/* Beim Rahmenmaß die Öffnung desselben Paares blass: Koralle gestrichelt, dünn */
.ez-mass-neben { position: absolute; z-index: 3; left: 0; top: 0; overflow: visible; pointer-events: none; }
.ez-geist { opacity: .8; }
.ez-geist line { vector-effect: non-scaling-stroke; stroke-linecap: butt; }
.ez-geist__halo { stroke: rgba(7,9,10,.30); stroke-width: 3; }
.ez-geist__halo:first-child, .ez-geist__linie { stroke-dasharray: 4px 4px; }
.ez-geist__linie, .ez-geist__kappe { stroke: var(--koralle); stroke-width: 1.2; }
.ez-buehne--mess.ist-warn .ez-geist { opacity: 1; }
.ez-buehne--mess.ist-warn .ez-geist__linie, .ez-buehne--mess.ist-warn .ez-geist__kappe { stroke-width: 1.8; }
/* Linie: stumpfe Enden, die Strichelung passt sich der Länge an (start.js), damit an beiden Marken ein voller Strich steht */
.ez-mass { position: absolute; z-index: 3; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ez-mass__linie { stroke: var(--koralle); stroke-width: 1.8; stroke-linecap: butt; stroke-dasharray: var(--strich, 6px) 4px; vector-effect: non-scaling-stroke; }
.ez-mass__halo { stroke: rgba(7,9,10,.42); stroke-width: 3.6; stroke-linecap: butt; stroke-dasharray: var(--strich, 6px) 4px; vector-effect: non-scaling-stroke; }
[data-wer="el"] .ez-mass__halo, [data-wer="el"] .ez-mass__linie { stroke-dasharray: none; }
[data-wer="el"] .ez-mass__linie { stroke: var(--violett); }
.ez-mass__kappe { position: absolute; z-index: 3; width: 14px; height: 1.8px; margin: -.9px 0 0 -7px; background: var(--koralle); box-shadow: 0 0 0 .9px rgba(7,9,10,.42); pointer-events: none; }
[data-r="h"] .ez-mass__kappe { width: 1.8px; height: 14px; margin: -7px 0 0 -.9px; }
[data-wer="el"] .ez-mass__kappe { background: var(--violett); }
/* Lupen-Etikett an jedem Ende: dunkle Pille ohne Weichzeichner, links die Lupe (dasselbe Bild vergrößert, darin Strichmarke und das
   Stück Linie nach innen, weißer Ring wie ein Glas), rechts das Ding hell und der Zusatz Silbergrau; gespiegelt, wenn sie links steht */
.ez-mass__ende { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: var(--rund-pille); background: linear-gradient(180deg, rgba(52,52,55,.95), rgba(26,26,28,.95)); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.05), var(--putz-schatten); pointer-events: none; }
.ez-mass__ende.ist-gespiegelt { flex-direction: row-reverse; padding: 4px 4px 4px 14px; text-align: right; }
.ez-lupe { position: relative; flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: linear-gradient(150deg, var(--weiss) 0%, color-mix(in srgb, var(--silbergrau) 75%, var(--weiss)) 40%, var(--textgrau) 100%); box-shadow: 0 0 0 1px rgba(7,9,10,.55), 0 2px 3px rgba(7,9,10,.40); }
.ez-lupe::after { content: ""; position: absolute; inset: 2.5px; z-index: 1; border-radius: 50%; pointer-events: none; background: radial-gradient(46% 30% at 34% 14%, rgba(255,255,255,.32), rgba(255,255,255,0) 70%); }
.ez-lupe__bild { position: absolute; inset: 2.5px; border-radius: 50%; background-color: #e9e2d7; background-repeat: no-repeat; box-shadow: inset 0 0 0 1px rgba(7,9,10,.22), inset 0 2px 5px rgba(7,9,10,.26), inset -2px -3px 6px rgba(7,9,10,.18); }
.ez-lupe__marke { position: absolute; inset: 2.5px; z-index: 2; width: calc(100% - 5px); height: calc(100% - 5px); overflow: visible; }
.ez-lupe__linie, .ez-lupe__kappe { stroke: var(--koralle); stroke-width: 1.8; stroke-linecap: butt; vector-effect: non-scaling-stroke; }
.ez-lupe__linie { stroke-dasharray: 6px 4px; }
.ez-lupe__halo { stroke: rgba(7,9,10,.42); stroke-width: 3.6; stroke-linecap: butt; vector-effect: non-scaling-stroke; }
.ez-lupe__halo:first-child { stroke-dasharray: 6px 4px; }
[data-wer="el"] .ez-lupe__linie, [data-wer="el"] .ez-lupe__kappe { stroke: var(--violett); }
[data-wer="el"] .ez-lupe__linie, [data-wer="el"] .ez-lupe__halo:first-child { stroke-dasharray: none; }
.ez-mass__text { max-width: 120px; font: 400 .8125rem/1.2 var(--font-sans); color: var(--silbergrau); white-space: normal; text-wrap: balance; }
.ez-mass__text b { display: block; margin-bottom: 1px; font: 500 .9375rem/1.15 var(--font-sans); letter-spacing: -.01em; color: var(--weiss); }
.ez-mass__fuehrung { stroke: var(--weiss); stroke-width: 1; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ez-mass__fuehrung-halo { stroke: rgba(7,9,10,.45); stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ez-buehne--mess.ist-klein .ez-mass__ende { gap: 8px; padding: 3px 11px 3px 3px; }
.ez-buehne--mess.ist-klein .ez-mass__ende.ist-gespiegelt { padding: 3px 3px 3px 11px; }
.ez-buehne--mess.ist-klein .ez-lupe { width: 40px; height: 40px; }
.ez-buehne--mess.ist-klein .ez-glaschip { display: none; }
.ez-buehne--mess.ist-klein .ez-mass__text { max-width: 96px; font-size: .75rem; }
.ez-buehne--mess.ist-klein .ez-mass__text b { font-size: .875rem; }
.ez-buehne--mess.ist-klein .ez-lupe__bild, .ez-buehne--mess.ist-klein .ez-lupe::after, .ez-buehne--mess.ist-klein .ez-lupe__marke { inset: 2px; }
/* Knopf „Groß ansehen“ (G13 mit Wort, das Pfeilsymbol allein verstehen Ältere nicht), unten links, wo weder Linie noch Etikett liegt */
.ez-gross-auf { position: absolute; z-index: 4; left: 10px; bottom: 10px; height: 44px; border: 0; padding: 0 16px 0 13px; border-radius: var(--rund-pille); display: inline-flex; align-items: center; gap: 8px; font: 500 .8125rem/1 var(--font-sans); white-space: nowrap; color: var(--weiss); background: radial-gradient(at 30% 20%, rgba(255,255,255,.16), rgba(255,255,255,.04) 70%), var(--schwarz); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 0 0 1px var(--silbergrau), var(--putz-schatten); cursor: zoom-in; transition: transform 160ms var(--dna-druck); }
.ez-gross-auf svg { width: 18px; height: 18px; flex: none; }
.ez-gross-auf:active { transform: scale(.97); transition-duration: 0s; }
.ez-gross-auf:focus-visible { outline: 2px solid var(--weiss); outline-offset: 2px; }
.ez-buehne--mess.ist-gross .ez-gross-auf, .ez-buehne--mess.ist-gross .ez-glaschip { display: none; }

/* Kleine Bühne (Telefone mit wenig Höhe): Feld kleiner, damit es neben der Linie Platz hat und kein Etikett verdeckt */
.ez-buehne--mess.ist-klein .ez-mass__feld { height: 44px; padding: 8px 14px; }
.ez-buehne--mess.ist-klein .ez-mass__feld b { font-size: 1.75rem; }
.ez-buehne--mess.ist-klein .ez-mass__marke { height: 30px; }
.ez-buehne--mess.ist-klein .ez-mass__feld.is-leer .ez-mass__zb { margin-right: 6px; font-size: .75rem; }
.ez-buehne--mess.ist-klein .ez-mass__haken { right: 12px; }
/* Großansicht: die Bühne füllt den Platz zwischen Frage und Pille; Zahl und Lupen größer */
.ez-gross { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: var(--schwarz); color: var(--weiss); }
.ez-gross[open] { display: flex; flex-direction: column; }
.ez-gross.kommt[open] { animation: ez-gross-auf 240ms var(--dna-auftritt) backwards; }
.ez-gross.kommt[open]::backdrop { animation: ez-folgt 240ms var(--dna-auftritt) backwards; }
html:has(.ez-gross[open]) { overflow: hidden; overscroll-behavior: none; }
.ez-gross, .ez-folie[data-folie="messen"] { --fokus: var(--weiss); }
.ez-gross::backdrop { background: rgba(7,9,10,.88); }
@keyframes ez-gross-auf { from { opacity: 0; transform: scale(.97); } }
.ez-gross__kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px 14px; }
.ez-gross__titel { margin: 0; font: 500 1.75rem/1.1 var(--font-sans); letter-spacing: -.025em; }
.ez-gross__titel em { font-style: normal; color: var(--silbergrau); }
.ez-gross__unter { margin: 6px 0 0; font: 400 .9375rem/1.45 var(--font-sans); color: var(--silbergrau); text-wrap: pretty; }
.ez-gross__platz { position: relative; flex: 1; min-height: 0; }
.ez-gross .ez-buehne--mess { position: absolute; inset: 0; height: auto !important; margin: 0; border-radius: 0; cursor: default; box-shadow: none; }
.ez-gross__fuss { display: flex; justify-content: center; padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
.ez-gross__fuss .dna-pille { width: 100%; max-width: 360px; justify-content: center; }
.ez-buehne--mess.ist-gross .ez-mass__feld { height: 60px; padding: 8px 20px; }
.ez-buehne--mess.ist-gross .ez-mass__marke { height: 46px; }
.ez-buehne--mess.ist-gross .ez-mass__feld small { font-size: .9375rem; }
.ez-buehne--mess.ist-gross .ez-mass__feld b { font-size: 2.75rem; }
.ez-buehne--mess.ist-gross .ez-lupe { width: 76px; height: 76px; }
.ez-buehne--mess.ist-gross .ez-mass__text { max-width: 140px; font-size: .875rem; }
.ez-buehne--mess.ist-gross .ez-mass__text b { font-size: 1.0625rem; }
.ez-buehne--mess.ist-gross .ez-lupe__bild, .ez-buehne--mess.ist-gross .ez-lupe::after, .ez-buehne--mess.ist-gross .ez-lupe__marke { inset: 3px; }
@media (prefers-reduced-motion: reduce) { .ez-gross.kommt[open], .ez-gross.kommt[open]::backdrop { animation: none; } }
/* Feld an der Linie: an der Linienseite verankert, die Zahl wächst von der Linie weg; Zahl 40/300 mit Proportionalziffern, Einheit auf der Grundlinie */
.ez-mass__feld { position: absolute; z-index: 5; display: inline-flex; align-items: baseline; gap: 0; height: 52px; padding: 8px 18px; border-radius: var(--rund-pille); background: linear-gradient(180deg, var(--weiss) 0 50%, color-mix(in srgb, var(--silbergrau) 10%, var(--weiss))); color: var(--schwarz); translate: var(--fx, 0) 0; box-shadow: 0 0 0 1.8px var(--violett), inset 0 -2px 0 rgba(7,9,10,.06), var(--putz-schatten); white-space: nowrap; pointer-events: auto; cursor: default; }
.ez-mass__zb { display: none; }
.ez-mass__feld b { align-self: baseline; font: 300 2.25rem/1 var(--font-sans); letter-spacing: -.02em; font-variant-numeric: normal; }
.ez-mass__feld small { margin: 0 0 0 .3em; font: 400 .875rem/1 var(--font-sans); color: var(--textgrau); transition: opacity 150ms var(--dna-druck); }
.ez-mass__marke { align-self: center; width: 1.8px; height: 38px; margin: 0 2px 0 6px; border-radius: 1px; background: var(--violett); transition: opacity 150ms var(--dna-druck); }
.ez-mass__feld.is-leer .ez-mass__zb { display: block; align-self: center; margin-right: 8px; font: 500 .8125rem/1 var(--font-sans); letter-spacing: .03em; color: var(--textgrau); }
.ez-mass__feld.is-leer b { color: var(--silbergrau); }
.ez-mass__feld.is-leer .ez-mass__marke { order: -1; margin: 0 6px 0 -6px; height: 30px; }
.ez-mass__haken { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; margin-top: -10px; padding: 2px; box-sizing: content-box; border-radius: 50%; color: var(--weiss); background: var(--schwarz); opacity: 0; transform: scale(.6); transition: opacity 150ms var(--dna-druck), transform 150ms var(--dna-druck); }
.ez-mass__feld.ist-gespeichert { box-shadow: 0 0 0 1.8px var(--schwarz), inset 0 -2px 0 rgba(7,9,10,.06), var(--putz-schatten); }
.ez-mass__feld.ist-gespeichert small, .ez-mass__feld.ist-gespeichert .ez-mass__marke { opacity: 0; }
.ez-mass__feld.ist-gespeichert .ez-mass__haken { opacity: 1; transform: none; }
.ez-mass__feld.is-fehler { box-shadow: 0 0 0 1.8px var(--koralle), inset 0 -2px 0 rgba(7,9,10,.06), var(--putz-schatten); }
.ez-mass__feld.is-fehler .ez-mass__marke { background: var(--koralle); }
/* Nächstes Maß: die Linie läuft in 320 ms von Kappe zu Kappe (Clip über ihre eigene Strecke), Kappe A sofort, Enden und Feld folgen */
.ez-buehne--mess.zieht .ez-mass { animation: ez-zieht-v 320ms var(--dna-druck) var(--verz, 0ms) backwards; }
.ez-buehne--mess.zieht[data-r="h"] .ez-mass { animation-name: ez-zieht-h; }
@keyframes ez-zieht-v { from { clip-path: inset(0 0 calc(100% - var(--a, 0%)) 0); } to { clip-path: inset(0 0 calc(100% - var(--b, 100%) - 4px) 0); } }
@keyframes ez-zieht-h { from { clip-path: inset(0 calc(100% - var(--a, 0%)) 0 0); } to { clip-path: inset(0 calc(100% - var(--b, 100%) - 4px) 0 0); } }
.ez-buehne--mess.zieht #mess-kappe-a, .ez-buehne--mess.zieht #mess-ende-a, .ez-buehne--mess.zieht #mess-fuehrung-a, .ez-buehne--mess.zieht #mess-fuehrung-a-halo { animation: ez-folgt 160ms var(--dna-druck) var(--verz, 0ms) backwards; }
.ez-buehne--mess.zieht #mess-kappe-b, .ez-buehne--mess.zieht #mess-ende-b, .ez-buehne--mess.zieht #mess-fuehrung-b, .ez-buehne--mess.zieht #mess-fuehrung-b-halo { animation: ez-folgt 160ms var(--dna-druck) calc(120ms + var(--verz, 0ms)) backwards; }
.ez-buehne--mess.zieht .ez-mass__feld { animation: ez-folgt 150ms var(--dna-druck) backwards; }
@keyframes ez-folgt { from { opacity: 0; } }
/* Karte mit den Zifferntasten (G14: tonaler Abfall, Kanten) */
.ez-karte--tasten { gap: 8px; padding: 12px 16px 16px; background: linear-gradient(180deg, var(--weiss) 0 58%, color-mix(in srgb, var(--silbergrau) 12%, var(--weiss))); box-shadow: inset 0 -1px 0 rgba(7,9,10,.06), 0 30px 56px -22px rgba(0,0,0,.85), 0 2px 6px rgba(0,0,0,.4); }
.ez-kapseln { display: inline-flex; gap: 5px; }
.ez-kapseln i { position: relative; overflow: hidden; width: 20px; height: 8px; border-radius: var(--rund-pille); background: color-mix(in srgb, var(--silbergrau) 38%, var(--weiss)); }
.ez-kapseln i::before, .ez-kapseln i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 220ms var(--dna-druck); }
.ez-kapseln i::before { background: var(--violett); }
.ez-kapseln i::after { background: var(--schwarz); }
.ez-kapseln i.ist-dran::before, .ez-kapseln i.ist-fertig::after { opacity: 1; }
/* Zeile: eine linke Kante für alle Zustände, der Punkt hängt davor */
.ez-zeile { display: flex; align-items: center; gap: 10px; height: 60px; }
.ez-zeile__text { position: relative; flex: 1; min-width: 0; margin: 0; padding-left: 16px; font: 400 .875rem/1.35 var(--font-sans); color: var(--textgrau); text-wrap: pretty; }
.ez-zeile__text b { display: block; font: 500 .9375rem/1.3 var(--font-sans); color: var(--schwarz); }
.ez-zeile__hinweis { position: relative; display: block; font: 500 .9375rem/1.3 var(--font-sans); color: var(--schwarz); }
.ez-zeile__hinweis::before, .ez-zeile.ist-hinweis .ez-zeile__text::before { content: ""; position: absolute; left: -16px; top: calc(.65em - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--koralle); box-shadow: 0 0 0 3px color-mix(in srgb, var(--koralle) 35%, transparent); }
.ez-folie[data-folie="messen"] .ez-zeile__hinweis::before { left: -18px; top: calc(.65em - .9px); width: 12px; height: 1.8px; border-radius: 0; box-shadow: none; background: repeating-linear-gradient(90deg, var(--koralle) 0 4px, transparent 4px 6px); }
.ez-folie[data-folie="messen"] .ez-zeile[data-wer="el"] .ez-zeile__hinweis::before { background: var(--violett); }
.ez-zeile.ist-hinweis .ez-zeile__text::before { left: 0; }
.ez-zeile.ist-warnung .ez-zeile__text { font-size: .8125rem; line-height: 1.3; }
.ez-zeile.ist-warnung .ez-zeile__text b { font-size: .875rem; line-height: 1.25; }
.ez-zeile__knopf { flex: none; height: 44px; padding: 0 14px; border: 0; border-radius: var(--rund-pille); background: var(--weiss); color: var(--schwarz); font: 500 .875rem/1 var(--font-sans); box-shadow: inset 0 0 0 1.5px var(--schwarz); cursor: pointer; white-space: nowrap; transition: transform 160ms var(--dna-druck); }
.ez-zeile__knopf:active { transform: scale(.97); transition-duration: 0s; }
.ez-zeile__knopf:focus-visible { outline: 2px solid var(--schwarz); outline-offset: 2px; }
/* Tasten: getönt, nie weiß, mit Lichtkante; der Druck kommt als Ebene (opacity) und als Skalierung, beides in 140 ms zurück */
.ez-tasten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ez-taste { position: relative; isolation: isolate; height: 48px; border: 0; padding: 0; border-radius: 16px; background: linear-gradient(180deg, var(--weiss) 0 55%, color-mix(in srgb, var(--silbergrau) 10%, var(--weiss))); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--silbergrau) 34%, var(--weiss)), inset 0 -2.5px 0 color-mix(in srgb, var(--silbergrau) 30%, var(--weiss)), 0 1px 1px rgba(7,9,10,.14), 0 6px 12px -8px rgba(7,9,10,.30); color: var(--schwarz); font: 400 1.5rem/1 var(--font-sans); font-variant-numeric: tabular-nums; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform 140ms var(--dna-druck); }
.ez-taste::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: color-mix(in srgb, var(--silbergrau) 34%, var(--weiss)); box-shadow: inset 0 1px 3px rgba(7,9,10,.16); opacity: 0; transition: opacity 140ms var(--dna-druck); }
.ez-taste:active, .ez-taste.ist-gedrueckt { transform: scale(.97); transition-duration: 0s; }
.ez-taste:active::after, .ez-taste.ist-gedrueckt::after { opacity: 1; transition-duration: 0s; }
.ez-tasten.ist-tastatur .ez-taste, .ez-tasten.ist-tastatur .ez-taste::after { transition: none; }
.ez-taste:focus-visible { outline: 2px solid var(--schwarz); outline-offset: 2px; }
.ez-taste svg { width: 26px; height: 26px; }
.ez-taste--fn, .ez-taste--leer { background: transparent; box-shadow: none; }
.ez-taste--leer { pointer-events: none; }
.ez-taste--leer::after { content: none; }
@media (hover: hover) and (pointer: fine) { .ez-taste:not(.ez-taste--leer):not(.ez-taste--fn):hover { background: linear-gradient(180deg, color-mix(in srgb, var(--silbergrau) 12%, var(--weiss)), color-mix(in srgb, var(--silbergrau) 26%, var(--weiss))); } .ez-zeile__knopf:hover { background: var(--schwarz); color: var(--weiss); } }
/* Pille: bei „Korrigieren“ ohne Vorwärtspfeil */
#mess-weiter[data-art="korr"] .dna-pille__pfeil { display: none; }
#mess-weiter[data-art="korr"] { padding: 0 24px; justify-content: center; }
#mess-weiter.ist-taub:active { transform: none; }
.ez-folie[data-folie="messen"] .ez-fuss .dna-pille { transition: transform 160ms var(--dna-druck), background-color 150ms ease; }
#mess-erkl-text p { margin: 0 0 10px; }
/* Titel einzeilig halten; sehr schmale Telefone: die zwei Stimmen auf zwei festen Zeilen */
.ez-folie[data-folie="messen"] .ez-frage h1 { font-size: 1.75rem; letter-spacing: -.025em; }
.ez-folie[data-folie="messen"] .ez-frage { padding: 8px 0 2px; }
.ez-folie[data-folie="messen"] .ez-unterzeile { margin-top: 2px; font-size: .875rem; line-height: 1.4; }
.ez-folie[data-folie="messen"] .ez-zeile { height: 52px; }
@media (max-width: 374px) { .ez-folie[data-folie="messen"] .ez-frage h1 { font-size: 1.625rem; } }
.ez-frage .dna-pille.ez-notizknopf { display: grid; justify-items: center; align-content: center; gap: 2px; height: 44px; min-width: 52px; padding: 0 10px; font-size: .75rem; line-height: 1; }
/* Kurze Telefone (375 × 667, Android mit Adressleiste): Titel, Tasten, Zeile und Fuß dichter, die Bühne darf bis 112 px */
@media (max-height: 700px) and (max-width: 759px) {
  .ez-folie[data-folie="messen"] .ez-frage h1 { font-size: 1.625rem; }
  .ez-folie[data-folie="messen"] .ez-taste { height: 44px; }
  .ez-folie[data-folie="messen"] .ez-tasten { gap: 5px; }
  .ez-folie[data-folie="messen"] .ez-zeile { height: 54px; }
  .ez-folie[data-folie="messen"] .ez-karte--tasten { padding: 10px 16px 12px; }
  .ez-folie[data-folie="messen"] .ez-fuss { padding-top: 10px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .ez-folie[data-folie="messen"] .ez-fuss .dna-pille { height: 48px; }
  .ez-folie[data-folie="messen"] .ez-fuss .ez-rund--fuss { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .ez-gross-auf, .ez-mass__ende, .ez-mass__feld, .ez-mass__feld small, .ez-mass__marke, .ez-mass__haken, .ez-kapseln i::before, .ez-kapseln i::after, .ez-taste, .ez-taste::after, .ez-zeile__knopf { transition: none !important; } .ez-buehne--mess.zieht .ez-mass, .ez-buehne--mess.zieht #mess-kappe-b, .ez-buehne--mess.zieht .ez-mass__ende, .ez-buehne--mess.zieht .ez-mass__feld { animation: none !important; } }
/* Überschrift bekommt beim Folienwechsel den Fokus (Vorlesen); kein Rahmen, sie ist kein Bedienelement */
.ez-folie h1[tabindex="-1"]:focus { outline: none; }

/* Rechtliche Verweise der Messfolie stehen hinter dem Fuß (Tab-Weg: Tasten, Zurück, Weiter, dann Recht) */
.ez-folie[data-folie="messen"] .ez-recht { margin-top: 18px; }

/* ---------- Schritt 4 „Ränder“ und „Passt.“ (dieselbe Folie wie „Messen“) ---------- */
/* „Hier auch … gemessen?“: im leeren Feld der einzige Satz über den Tasten (wie die App), Umriss-Pille über die ganze Zeile; das
   gestrichelte Linienstück davor ist die Legende der Mitte (blass auf der Bühne) */
.ez-zeile__gleich { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border: 0; padding: 0 16px; border-radius: var(--rund-pille); background: var(--weiss); color: var(--schwarz); font: 500 .9375rem/1 var(--font-sans); box-shadow: inset 0 0 0 1.5px var(--schwarz); cursor: pointer; transition: transform 160ms var(--dna-druck); }
.ez-zeile__gleich i { flex: none; width: 14px; height: 1.2px; background: repeating-linear-gradient(90deg, var(--koralle) 0 4px, transparent 4px 6px); box-shadow: 0 0 0 .6px rgba(7,9,10,.18); }
.ez-zeile__gleich:active { transform: scale(.97); transition-duration: 0s; }
.ez-zeile__gleich:focus-visible { outline: 2px solid var(--schwarz); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .ez-zeile__gleich:hover { background: color-mix(in srgb, var(--silbergrau) 14%, var(--weiss)); } }
/* „Passt.“: sechs Linien der Öffnung; die kleinsten je Richtung kräftig (1,8 px mit Halo), die übrigen blass (1,2 px) */
.ez-passt-linien, .ez-passt__schild { display: none; }
.ez-folie.ist-passt .ez-passt-linien { display: block; position: absolute; z-index: 3; left: 0; top: 0; overflow: visible; pointer-events: none; }
.ez-folie.ist-passt .ez-passt__schild { display: inline-flex; }
.ez-folie.ist-passt #mess-linie, .ez-folie.ist-passt #mess-neben, .ez-folie.ist-passt .ez-mass__kappe, .ez-folie.ist-passt .ez-mass__ende, .ez-folie.ist-passt .ez-mass__feld, .ez-folie.ist-passt .ez-gross-auf, .ez-folie.ist-passt .ez-karte--tasten { display: none; }
.ez-folie.ist-passt .ez-buehne--mess { cursor: default; }
.ez-passt-linien line { vector-effect: non-scaling-stroke; stroke-linecap: butt; }
.ez-passt__halo { stroke: rgba(7,9,10,.14); stroke-width: 2.6; stroke-dasharray: var(--strich, 4px) 4px; }
.ez-passt__linie { stroke: var(--koralle); stroke-width: 1.2; stroke-dasharray: var(--strich, 4px) 4px; opacity: .45; }
.ez-passt__kappe-halo { stroke: rgba(7,9,10,.14); stroke-width: 2.6; }
.ez-passt__kappe { stroke: var(--koralle); stroke-width: 1.2; opacity: .45; }
.ez-passt-linien g.ist-zaehlt .ez-passt__halo { stroke: rgba(7,9,10,.42); stroke-width: 3.6; }
.ez-passt-linien g.ist-zaehlt .ez-passt__linie { stroke-width: 1.8; opacity: 1; }
.ez-passt-linien g.ist-zaehlt .ez-passt__kappe-halo { stroke: rgba(7,9,10,.42); stroke-width: 3.6; }
.ez-passt-linien g.ist-zaehlt .ez-passt__kappe { stroke-width: 1.8; opacity: 1; }
.ez-passt-linien.zieht g { animation: ez-folgt 220ms var(--dna-druck) calc(var(--n, 0) * 50ms) backwards; }
/* Wert am Maß, das zählt: kleine dunkle Kapsel wie die Lupen-Etiketten, Zahl hell, „mm“ Silbergrau */
.ez-passt__schild { position: absolute; z-index: 4; align-items: baseline; gap: 4px; height: 30px; padding: 0 12px; border-radius: var(--rund-pille); line-height: 30px; background: linear-gradient(180deg, rgba(52,52,55,.95), rgba(26,26,28,.95)); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.05), var(--putz-schatten); pointer-events: none; white-space: nowrap; }
.ez-passt__schild b { font: 500 .9375rem/30px var(--font-sans); color: var(--weiss); letter-spacing: -.01em; }
.ez-passt__schild small { font: 400 .75rem/30px var(--font-sans); color: var(--silbergrau); }
.ez-passt-linien.zieht ~ .ez-passt__schild { animation: ez-folgt 220ms var(--dna-druck) 300ms backwards; }
/* Karte „Passt.“: das Maß, das zählt, als Zahl (G3), das Element darunter, je Richtung drei Kapseln (G11) */
.ez-karte--passt { display: none; gap: 0; padding: 12px 16px 14px; background: linear-gradient(180deg, var(--weiss) 0 58%, color-mix(in srgb, var(--silbergrau) 12%, var(--weiss))); box-shadow: inset 0 -1px 0 rgba(7,9,10,.06), 0 30px 56px -22px rgba(0,0,0,.85), 0 2px 6px rgba(0,0,0,.4); }
.ez-folie.ist-passt .ez-karte--passt { display: grid; }
.ez-karte--passt.kommt { animation: ez-folgt 220ms var(--dna-druck) backwards; }
.ez-passt__haken { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--schwarz); color: var(--weiss); }
.ez-passt__haken svg { width: 14px; height: 14px; }
.ez-passt__zahl { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 0; }
.ez-passt__zahl b { font: 300 3rem/1.02 var(--font-sans); letter-spacing: -.03em; color: var(--schwarz); white-space: nowrap; }
.ez-passt__zahl small, .ez-passt__el small { font: 400 .875rem/1 var(--font-sans); color: var(--textgrau); }
.ez-passt__el { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 0; font: 400 .8125rem/1.3 var(--font-sans); color: var(--textgrau); }
.ez-passt__el span { margin-right: 4px; }
.ez-passt__el b { font: 500 .9375rem/1.3 var(--font-sans); color: var(--schwarz); }
.ez-passt__titel { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--silbergrau) 34%, var(--weiss)); font: 500 .9375rem/1.3 var(--font-sans); letter-spacing: -.005em; color: var(--schwarz); }
.ez-passt__spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; margin-top: 8px; }
.ez-passt__lab { margin: 0 0 2px; font: 400 .75rem/1.3 var(--font-sans); letter-spacing: .03em; color: var(--textgrau); }
.ez-passt__reihe { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px; height: 24px; margin: 0; font: 400 .8125rem/1 var(--font-sans); color: var(--textgrau); }
.ez-passt__reihe i { position: relative; height: 6px; border-radius: var(--rund-pille); background: color-mix(in srgb, var(--silbergrau) 26%, var(--weiss)); }
.ez-passt__reihe i::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--l, 100%); border-radius: inherit; background: color-mix(in srgb, var(--koralle) 78%, var(--weiss)); transform-origin: left center; }
.ez-passt__reihe b { min-width: 3.4em; text-align: right; font: 400 .9375rem/1 var(--font-sans); color: var(--schwarz); font-variant-numeric: tabular-nums; }
.ez-passt__reihe.ist-klein { color: var(--schwarz); }
.ez-passt__reihe.ist-klein i::before { background: var(--koralle); }
.ez-passt__reihe.ist-klein i::after { content: ""; position: absolute; top: 50%; left: var(--l, 100%); width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--violett); box-shadow: 0 0 0 3px color-mix(in srgb, var(--violett) 30%, transparent); }
.ez-passt__reihe.ist-klein b { font-weight: 600; }
.ez-karte--passt.kommt .ez-passt__reihe i::before { animation: ez-kapsel 320ms var(--dna-druck) calc(80ms + var(--n, 0) * 20ms) backwards; }
@keyframes ez-kapsel { from { transform: scaleX(.12); } }
.ez-passt__fuss { margin: 10px 0 0; font: 400 .8125rem/1.35 var(--font-sans); color: var(--textgrau); }
@media (prefers-reduced-motion: reduce) { .ez-zeile__gleich { transition: none; } .ez-passt-linien.zieht g, .ez-passt-linien.zieht ~ .ez-passt__schild, .ez-karte--passt.kommt, .ez-karte--passt.kommt .ez-passt__reihe i::before { animation: none; } }

/* Nachträge aus Gremium und Detail-Profis (Messen und „Passt.“) */
/* Liegt die Linie tief (Breite unten), steht „Groß ansehen“ oben rechts */
.ez-buehne--mess.knopf-oben .ez-gross-auf { top: 10px; bottom: auto; left: auto; right: 10px; }
/* Gremium K: „Hier auch …“ mit Zentimetern; getippt steht die Umrechnung oben, der Hinweis leise darunter mit seiner Legende */
.ez-zeile__gleich small { margin-left: 6px; font: 400 .8125rem/1 var(--font-sans); color: var(--textgrau); }
.ez-zeile__text--wert b { font-weight: 500; }
.ez-zeile__leise { position: relative; display: block; padding-left: 0; font: 400 .8125rem/1.3 var(--font-sans); color: var(--textgrau); }
.ez-folie[data-folie="messen"] .ez-zeile__text--wert .ez-zeile__leise::before { content: ""; position: absolute; left: -18px; top: calc(.65em - .9px); width: 12px; height: 1.8px; background: repeating-linear-gradient(90deg, var(--koralle) 0 4px, transparent 4px 6px); }
.ez-folie[data-folie="messen"] .ez-zeile[data-wer="el"] .ez-zeile__text--wert .ez-zeile__leise::before { background: var(--violett); }
.ez-folie[data-folie="messen"] .ez-zeile__knopf { height: 48px; }
/* „Passt.“: Licht oben rechts und Punktraster wie die Preis-Kachel der Startseite (Material Hebel 2); Etikett → Zahl 6 px */
.ez-karte--passt { position: relative; isolation: isolate; overflow: hidden; }
.ez-karte--passt::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(52% 58% at 96% 0%, color-mix(in srgb, var(--violett) 70%, var(--weiss)), color-mix(in srgb, var(--violett) 26%, transparent) 34%, transparent 72%); }
.ez-karte--passt::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle, var(--silbergrau) 1px, transparent 1.4px) 7px 7px / 14px 14px; -webkit-mask-image: radial-gradient(60% 70% at 100% 0%, #000 30%, transparent 72%); mask-image: radial-gradient(60% 70% at 100% 0%, #000 30%, transparent 72%); }
.ez-passt__zahl { margin-top: -2px; }
.ez-passt__zahl b { line-height: .95; }
/* Etiketten auf weißen Karten 12 px wie auf Anthrazit (eine Stimme je Rolle) */
.ez-karte .dna-label, .ez-karte--tasten .dna-label { font-size: .75rem; letter-spacing: .03em; }

/* ---------- Detail-Profis Bewegung, Zeichen und UX (27.10.2026, Schritte 4 bis Ende) ---------- */
/* Bewegung 3: der Haken geht sofort, wenn das Feld ein neues Maß zeigt; er kommt weiter in 150 ms */
.ez-mass__feld:not(.ist-gespeichert) .ez-mass__haken { transition-duration: 0s; }
/* UX 4: bei den Rändern kein Beispiel im leeren Feld, nur Schreibmarke und Einheit */
.ez-mass__feld.ist-ohne .ez-mass__zb { display: none; }
.ez-mass__feld.ist-ohne .ez-mass__marke { margin-left: 0; }
/* UX 2: nach „Hier auch …“ blendet derselbe Knopf im nächsten Rand erst nach einer Pause ein (taub bis dahin) */
.ez-zeile__gleich.ist-spaet { animation: ez-folgt 160ms var(--dna-druck) 540ms backwards; }
/* Zeichen 7: eine Legende je Bedeutung; Öffnung 6/4 bei 1,8, Mitte blass 4/4 bei 1,2 */
.ez-zeile__gleich i { width: 16px; background: repeating-linear-gradient(90deg, var(--koralle) 0 4px, transparent 4px 8px); }
/* Bewegung 7: der violette Punkt markiert das kleinste Maß erst, wenn der Balken angekommen ist */
.ez-karte--passt.kommt .ez-passt__reihe.ist-klein i::after { animation: ez-folgt 160ms var(--dna-druck) calc(340ms + var(--n, 0) * 20ms) backwards; }
@media (prefers-reduced-motion: reduce) { .ez-zeile__gleich.ist-spaet, .ez-karte--passt.kommt .ez-passt__reihe.ist-klein i::after { animation: none; } .ez-erg__hand summary { transition: none; } }
/* Frontend 2 (Vorlagen-Abgleich): „Passt.“ als ein Zustand: Linien, Schilder am Modell und Karte kommen gemeinsam in 180 ms; nur die
   Kapselreihe füllt sich von links (G11), der Punkt folgt, wenn der Balken angekommen ist */
.ez-passt-linien.zieht g, .ez-passt-linien.zieht ~ .ez-passt__schild { animation: ez-folgt 180ms var(--dna-druck) backwards; }
.ez-karte--passt.kommt .ez-passt__reihe i::before { animation: ez-kapsel 320ms var(--dna-druck) calc(var(--n, 0) * 20ms) backwards; }
.ez-karte--passt.kommt .ez-passt__reihe.ist-klein i::after { animation: ez-folgt 160ms var(--dna-druck) calc(300ms + var(--n, 0) * 20ms) backwards; }
/* Typografie (Detail-Profi, 27.10.2026) */
/* 3: „Hier auch … gemessen?“ bleibt unter 390 px einzeilig */
@media (max-width: 389px) { .ez-zeile__gleich { gap: 8px; padding: 0 12px; font-size: .875rem; white-space: nowrap; } .ez-zeile__gleich small { margin-left: 2px; font-size: .75rem; } }
/* 6: das Handlungswort im Notiz-Knopf 13 px */
.ez-frage .dna-pille.ez-notizknopf { font-size: .8125rem; }
/* 7: Platzhalter im Messfeld mit 3,6:1 (groß, 36/300), klar heller als ein getipptes Maß */
.ez-mass__feld.is-leer b { color: color-mix(in srgb, var(--silbergrau) 50%, var(--textgrau)); }
.ez-karte--passt.kommt { animation-duration: 180ms; }

/* Einbau in die App: Fuß und Rechtliches wie auf den übrigen DNA-Bildschirmen (lg-fuss), auf kurzen Telefonen etwas flacher (wie .ez-fuss
   der Vorschau); die rechtlichen Verweise stehen hinter dem Fuß, damit Bühne, Frage und Tasten auf einen Bildschirm passen */
.scr.dna.md { padding-bottom: 0 }
.dna.md .foot-links.recht { margin: 18px 0 24px }
@media (max-height: 700px) and (max-width: 759px) {
  .dna.md .lg-fuss { padding-top: 10px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) }
  .dna.md .lg-fuss .dna-pille { height: 48px }
  .dna.md .lg-fuss .lg-zurueck { width: 48px; height: 48px }
}
/* 320 px: Pille und Zurück in einer Zeile, „Hier auch …“ ohne Zentimeter, die Zahl von „Passt.“ etwas kleiner (nichts läuft aus der Karte) */
@media (max-width: 359px) {
  .dna.md .lg-fuss .dna-pille { flex: 1 1 0; min-width: 0; max-width: 260px; padding-left: 16px; font-size: 14px; white-space: nowrap }
  .ez-zeile__gleich small { display: none; }
  .ez-passt__zahl b { font-size: 2.5rem; }
}
/* „Passt.“: die Werte am Modell haben Vorrang vor dem Schritt-Chip (sonst liegen sie übereinander) */
.ez-folie.ist-passt .ez-buehne--mess .ez-glaschip { display: none; }
/* Sehr kleine Telefone (320 × 640): Zeile, Karte, Frage und Fuß etwas dichter, damit die Tasten über dem Fuß bleiben (Ziele bleiben 44 px) */
@media (max-width: 359px) and (max-height: 700px) {
  .ez-folie[data-folie="messen"] .ez-zeile { height: 44px; }
  .ez-folie[data-folie="messen"] .ez-karte--tasten { padding: 8px 14px 8px; gap: 6px; }
  .ez-folie[data-folie="messen"] .ez-tasten { gap: 4px; }
  .ez-folie[data-folie="messen"] .ez-frage { padding: 4px 0 0; }
  .ez-folie[data-folie="messen"] .ez-unterzeile { margin-top: 0; font-size: .8125rem; line-height: 1.35; }
  .dna.md .lg-fuss { padding-top: 6px; }
}

/* ---------- Fassung des Inhabers (27.10.2026, spät): Schritt 3 „Messen“ ----------
   Die Überschrift steht oben in der Bühne, das Element ist mindestens so groß wie auf Folie 1, Linien und Lupen bleiben. Unter dem
   Element der Wert-Chip: ein echtes Eingabefeld, Antippen holt die Systemtastatur (keine Zifferntasten). Unterzeile und Notiz stehen
   unter der Bühne, darunter „Maß 1 von 4“ mit dem Hinweis. Die Pille „Weiter zu Maß 2“ erscheint, sobald ein Wert im Feld steht;
   danach wechselt die Folie in sich zum nächsten Maß. */
.dna.md { --bh: clamp(420px, calc(100svh - 300px), 560px) }
.dna.md .ez-buehne--mess { height: var(--bh) }
/* Überschrift auf der Wand: Schwarz, zweite Stimme Textgrau, i als Ring */
.md-titel { position: absolute; z-index: 5; left: 16px; max-width: calc(100% - 32px); top: 48px; display: flex; align-items: center; gap: 10px; pointer-events: none }
.md-titel h1 { margin: 0; min-width: 0; font: 500 1.75rem/1.1 var(--font-sans); letter-spacing: -.025em; color: var(--schwarz); text-wrap: balance }
.md-titel h1 em { font-style: normal; color: var(--textgrau) }
.md-titel .ez-i { flex: none; pointer-events: auto; color: var(--schwarz); background: rgba(255, 255, 255, .45); box-shadow: inset 0 0 0 1.5px var(--schwarz) }
.ez-buehne--mess.ist-gross .md-titel { display: none }
/* „Groß ansehen“ oben rechts, neben dem Schritt-Chip; unten steht das Feld */
.ez-buehne--mess .ez-gross-auf, .ez-buehne--mess.knopf-oben .ez-gross-auf { top: 4px; right: 8px; bottom: auto; left: auto }
/* Wert-Chip unter dem Element: weiße Kapsel mit „z. B.“, Zahl als Held (36/300), „mm“; aktiv mit violettem Ring */
.md-wert { position: absolute; z-index: 5; left: 50%; bottom: 14px; display: inline-flex; align-items: center; height: 56px; padding: 0 20px 0 18px; border-radius: var(--rund-pille); transform: translateX(-50%); cursor: text; color: var(--schwarz);
  background: linear-gradient(180deg, var(--weiss) 0 50%, color-mix(in srgb, var(--silbergrau) 10%, var(--weiss))); box-shadow: inset 0 -2px 0 rgba(7, 9, 10, .06), var(--putz-schatten); transition: box-shadow 150ms var(--dna-druck) }
.md-wert.ist-aktiv { box-shadow: 0 0 0 2px var(--violett), inset 0 -2px 0 rgba(7, 9, 10, .06), var(--putz-schatten) }
.md-wert .ez-mass__marke { display: none; margin: 0 8px 0 -4px; height: 30px }
.md-wert.is-leer:not(.ist-aktiv) .ez-mass__marke { display: block }
.md-wert__zb { display: none; margin-right: 8px; font: 500 .8125rem/1 var(--font-sans); letter-spacing: .03em; color: var(--textgrau); white-space: nowrap }
.md-wert.is-leer .md-wert__zb { display: block }
.md-wert__eingabe { width: 3.2em; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; outline: none; box-shadow: none; -webkit-appearance: none; appearance: none;
  font: 300 2.25rem/1 var(--font-sans); letter-spacing: -.02em; color: var(--schwarz); text-align: right; caret-color: var(--violett) }
.md-wert__eingabe::placeholder { color: color-mix(in srgb, var(--silbergrau) 50%, var(--textgrau)); opacity: 1 }
.md-wert small { margin: 8px 0 0 .35em; font: 400 .875rem/1 var(--font-sans); color: var(--textgrau); transition: opacity 150ms var(--dna-druck) }
.md-wert .ez-mass__haken { right: 18px }
.md-wert.ist-gespeichert { box-shadow: 0 0 0 1.8px var(--schwarz), inset 0 -2px 0 rgba(7, 9, 10, .06), var(--putz-schatten) }
.md-wert.ist-gespeichert small { opacity: 0 }
.md-wert.ist-gespeichert .ez-mass__haken { opacity: 1; transform: none }
.md-wert:not(.ist-gespeichert) .ez-mass__haken { transition-duration: 0s }
.md-wert.is-fehler { box-shadow: 0 0 0 1.8px var(--koralle), inset 0 -2px 0 rgba(7, 9, 10, .06), var(--putz-schatten) }
.ez-buehne--mess.zieht .md-wert { animation: none }
.ez-buehne--mess.ist-gross .md-wert { bottom: 18px }
/* Unter der Bühne: Unterzeile links, Notiz rechts */
.md-unter { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 14px 0 0 }
.md-unter .ez-unterzeile { flex: 1; min-width: 0; margin: 0; font: 400 .9375rem/1.45 var(--font-sans); color: var(--silbergrau); text-wrap: pretty }
.md-unter .dna-pille.ez-notizknopf { flex: none; display: grid; justify-items: center; align-content: center; gap: 3px; height: 52px; min-width: 60px; padding: 0 12px; border-radius: var(--rund-pille); font-size: .8125rem; line-height: 1; color: var(--weiss); background: transparent; box-shadow: inset 0 0 0 1.5px var(--silbergrau) }
.md-unter .dna-pille.ez-notizknopf svg { width: 16px; height: 16px }
.dna.md .ez-karte--tasten { margin-top: 14px; padding: 12px 16px 6px }
/* Pille erst mit Wert: bis dahin unsichtbar (der Platz bleibt, Zurück springt nicht) */
#mess-weiter { transition: transform 160ms var(--dna-druck), opacity 160ms var(--dna-druck), visibility 0s }
#mess-weiter.ist-weg { visibility: hidden; opacity: 0; transform: scale(.96); transition: opacity 120ms var(--dna-druck), transform 120ms var(--dna-druck), visibility 0s linear 120ms }
/* Offene Systemtastatur: Platz zum Rollen, damit Feld und Pille über der Tastatur stehen */
.ez-folie.tastatur-offen { padding-bottom: 50vh }
.ez-folie.tastatur-offen .lg-fuss { z-index: 8 }
/* Ränder: kein Beispiel im leeren Feld; „Passt.“: kein Feld, die Karte mit den Maßen steht an seiner Stelle unter der Bühne */
.md-wert.ist-ohne .md-wert__zb { display: none }
.ez-folie.ist-passt .md-wert { display: none }
@media (max-width: 374px) { .md-titel h1 { font-size: 1.5rem } .md-wert { padding: 0 16px 0 14px } .md-wert__eingabe { font-size: 2rem } }
/* Laptop: die Folie füllt den Bildschirm; Bühne links über die ganze Höhe, rechts Unterzeile, Notiz, Hinweis und Pille */
@media (min-width: 1024px) {
  .scr.dna.md { max-width: none; padding-inline: 0 }
  .dna.md .lg-kopf { height: 60px; padding: 0 28px }
  .ez.md-insel > .ez-folie[data-folie="messen"] { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto auto auto minmax(0, 1fr) auto auto }
  .ez-folie[data-folie="messen"] > .lg-kopf { grid-column: 1 / -1; grid-row: 1 }
  .ez-folie[data-folie="messen"] > #mess-buehne { grid-column: 1; grid-row: 2 / 7; height: auto; min-height: 560px; margin: 0; border-radius: 0 }
  .ez-folie[data-folie="messen"] > .md-unter { grid-column: 2; grid-row: 2; padding: 20px 32px 0 24px }
  .ez-folie[data-folie="messen"] > .ez-karte { grid-column: 2; grid-row: 3; margin: 16px 32px 0 24px }
  .ez-folie[data-folie="messen"] > .lg-fuss { grid-column: 2; grid-row: 5; position: static; margin: 0; padding: 16px 32px 0 24px; background: none; justify-content: stretch }
  .ez-folie[data-folie="messen"] > .lg-fuss .dna-pille { flex: 1 }
  .ez-folie[data-folie="messen"] > .foot-links { grid-column: 2; grid-row: 6; margin: 12px 32px 24px 24px }
  .ez-buehne--mess .ez-glaschip { left: 16px; top: 16px }
  .ez-buehne--mess .ez-gross-auf { top: 8px; right: 16px }
  .md-titel { left: 24px; max-width: calc(100% - 48px); top: 58px }
  .md-titel h1 { font-size: 2.5rem }
  .md-wert { bottom: 24px }
}
@media (prefers-reduced-motion: reduce) { .md-wert, .md-wert small, #mess-weiter { transition: none !important } }
