/* Unterseite „Projekt zusammenstellen“ (Werkbank aus Variante D, 01.11.2026). Lädt nach style.css.
   Schrift, Farben und Grundraster kommen aus style.css. */
/* Überschriften im Geräte-Modell sind bewusst keine echten Überschriften (Gliederung der Seite bleibt sauber) */
.t3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.t4 { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hero-d { padding: clamp(28px, 4vw, 64px) 0 clamp(48px, 7vw, 96px); overflow-x: clip; position: relative; }
.hero-d h1 { font-size: clamp(36px, 3.9vw, 56px); line-height: 1.02; letter-spacing: -0.02em; font-weight: 500; max-width: 11.99em; }
.hero-d .lead { margin-top: 18px; color: var(--ink-soft); font-size: clamp(17px, 1.4vw, 19px); max-width: 41.29em; }

/* Werkbank: links die Wahl, rechts Gerät und Richtwert, die beim Scrollen mitlaufen */
.werkbank { margin-top: clamp(22px, 3vw, 44px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.bausteine { display: grid; gap: 26px; align-content: start; }
.bausteine fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.bausteine legend { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.rechts { position: sticky; top: 92px; align-self: start; display: grid; gap: 14px; }
.art { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.art label { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.art label:hover { border-color: #b9b5a9; }
.art label:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.art label:has(input:checked) small { color: #c5cadb; }
.art label:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.art input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.art b { font-weight: 600; font-size: 16px; }
.art small { font-size: 13px; color: var(--ink-soft); }
.module { display: grid; gap: 8px; }
.module label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; min-height: 44px; scroll-margin-bottom: 84px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; transition: border-color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
.module label:hover { border-color: #b9b5a9; }
.module label:has(input:checked) { border-color: var(--ink); }
.module label:has(input:disabled) { cursor: not-allowed; border-style: dashed; }
.module label:has(input:disabled) input { opacity: .5; }
.module label:has(input:disabled) .t { color: var(--ink-soft); }
.module label:has(input:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.module input { width: 20px; height: 20px; margin-top: 2px; accent-color: #1f6f5f; flex: none; }
.module .t { font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.module .t small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13.5px; margin-top: 2px; }
/* Ohne JS: Bausteine als schlichte Liste, der Richtwert steht fest */
html:not(.js) .module input, html:not(.js) .art input { display: none; }
html:not(.js) .module label { cursor: default; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 10px 0; background: transparent; }
html:not(.js) .module label:last-child { border-bottom: 1px solid var(--line); }

.richtwert { padding: 18px 22px 20px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: center; }
.richtwert .ab { font-size: 14px; color: #b8bdd0; font-weight: 600; grid-column: 1 / -1; }
.richtwert .zahl { font-family: var(--display); font-size: clamp(38px, 3.6vw, 50px); letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.richtwert .lang { font-size: 13.5px; color: #c5cadb; line-height: 1.5; }
.richtwert .kurz { display: none; font-size: 13px; color: #c5cadb; line-height: 1.35; }
.richtwert .rueck { display: none; grid-column: 2; grid-row: 1 / span 2; justify-self: start; align-self: center; min-height: 44px; margin: 0; font: inherit; font-size: 13px; font-weight: 600; color: #fff; background: transparent; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: #6fb3a2; text-underline-offset: 3px; text-align: left; }
.richtwert:has(.rueck:not([hidden])) .kurz { display: none; }
.richtwert .rueck[hidden] { display: none; }
html:not(.js) .art label, html:not(.js) .art label:has(input:checked) { background: var(--card); color: var(--ink); border-color: var(--line); cursor: default; }
html:not(.js) .art label:has(input:checked) small { color: var(--ink-soft); }

/* Das Gerät */
.produkt { container-type: inline-size; position: relative; }
.buehne-d { position: relative; display: grid; grid-template-columns: 100%; place-items: start center; padding: 2.5cqw 0 1cqw; isolation: isolate; --rh: min(64cqw, calc(100vh - 380px)); }
.buehne-d::before { content: ""; position: absolute; inset: 6% 2% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(36,71,230,.10), rgba(233,161,59,.06) 55%, transparent 80%); filter: blur(10px); z-index: -1; }
.geraet { position: relative; display: grid; grid-template-columns: 100%; justify-items: center; width: 100%; max-width: 100%; --rw: min(100cqw, calc(var(--rh) * 1.5625)); --rp: 1.6cqw; --rpb: 1.6cqw; --rr: 1.6cqw; --pw: calc(var(--rh) * 0.4615); --cx: calc((var(--rw) - var(--pw)) / 2); --rra: calc(var(--pw) * 0.09); --sx: 1; }
/* Schatten liegt auf einem eigenen Pseudo-Element, weil clip-path den Rahmen samt Schatten beschneiden würde */
.geraet::after { content: ""; position: absolute; left: 50%; top: 0; width: var(--rw); height: var(--rh); margin-left: calc(var(--rw) / -2); border-radius: var(--rr); box-shadow: 0 50px 90px -30px rgba(20,27,46,.45), 0 18px 34px -16px rgba(20,27,46,.35); transform: scaleX(var(--sx)); transform-origin: 50% 50%; transition: transform .65s var(--ease), border-radius .65s var(--ease); z-index: -1; pointer-events: none; }
.rahmen { position: relative; border: 0; width: var(--rw); height: var(--rh); padding: var(--rp); padding-bottom: var(--rpb); border-radius: var(--rr); background: linear-gradient(160deg, #161c31, #0f1424 55%, #121829); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); clip-path: inset(0 0 0 0 round var(--rr)); transition: clip-path .65s var(--ease); }
.rahmen .kamera { position: absolute; left: 50%; top: .55cqw; width: .45cqw; height: .45cqw; margin-left: -.22cqw; border-radius: 50%; background: #0a0d16; box-shadow: inset 0 0 0 .08cqw #3a4258; transition: opacity .4s var(--ease); }
.rahmen .insel { position: absolute; left: 50%; top: 1.1cqw; width: 9cqw; height: 2.3cqw; margin-left: -4.5cqw; border-radius: 999px; background: #0a0d16; opacity: 0; transform: scale(.6); transition: opacity .35s var(--ease), transform .45s var(--ease); z-index: 6; }
.rahmen .home { position: absolute; left: 50%; bottom: 1cqw; width: 11cqw; height: .5cqw; margin-left: -5.5cqw; border-radius: 999px; background: rgba(255,255,255,.75); opacity: 0; transition: opacity .35s var(--ease); z-index: 6; }
.rahmen .glanz { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 28%, transparent 46%); pointer-events: none; z-index: 7; }
.bildschirm { position: relative; width: 100%; height: 100%; border-radius: calc(var(--rr) * .55); overflow: hidden; background: #fff; transition: background .4s var(--ease); container: schirm / inline-size; font-size: clamp(12.2px, 1.95cqw, 12.5px); line-height: 1.3; color: #1f2a2a; font-family: var(--body); transition: border-radius .65s var(--ease); -webkit-font-smoothing: antialiased; }
.wb-fuss { width: calc(var(--rw) * 1.18); max-width: 118cqw; height: 2.4cqw; margin-top: 0; border-radius: 0 0 2cqw 2cqw / 0 0 3cqw 3cqw; background: #2a3147; box-shadow: inset 0 1px 0 #414a6a, 0 30px 50px -20px rgba(20,27,46,.4); position: relative; justify-self: center; transition: opacity .35s var(--ease), transform .5s var(--ease); }
.wb-fuss::before { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 35%; margin-left: -7%; border-radius: 0 0 1cqw 1cqw; background: #1b2135; }
/* Telefon: derselbe Rahmen, per clip-path auf 19,5:9 beschnitten (kein Layout während der Verwandlung) */
.ist-app .rahmen { clip-path: inset(0 var(--cx) 0 var(--cx) round var(--rra)); }
.ist-app .geraet::after { border-radius: var(--rra); }
.ist-app .bildschirm { background: #0f1424; }
.schirm.app { left: 50%; right: auto; width: calc(var(--pw) - 2 * var(--rp)); transform: translateX(-50%) scale(.985); border-radius: calc(var(--rra) - var(--rp)); overflow: hidden; }
.schirm.app.aktiv { transform: translateX(-50%); }
.ist-app .rahmen .kamera { opacity: 0; }
.ist-app .rahmen .insel { opacity: 1; transform: none; transition-delay: .35s; }
.ist-app .rahmen .home { opacity: 1; transition-delay: .35s; }
.ist-app .wb-fuss { opacity: 0; transform: translateY(-1cqw) scaleX(.5); }
.ist-app .bildschirm { font-size: clamp(12.2px, 1.95cqw, 12.5px); }
.app-kopf .t3 { font-size: 1.3em; }
.meine > span > span { min-width: 0; overflow-wrap: anywhere; }
.unterzeile { display: flex; gap: 10px; align-items: baseline; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.unterzeile .tag { flex: none; font-size: 12px; font-weight: 600; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; }

/* Bildschirme: der Inhalt rollt im Gerät nach oben, wenn ein Baustein unten dazukommt */
.schirm { position: absolute; inset: 0; background: #fff; opacity: 0; transform: scale(.985); transition: opacity .45s var(--ease), transform .45s var(--ease), border-radius .65s var(--ease); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: start; }
.schirm.aktiv { opacity: 1; transform: none; }
.schirm > *, .seite > *, .haupt > *, .wb-dazu > *, .s-kopf > *, .app-inhalt > *, .verwaltung > *, .topbar > *, .kpis > *, .produkte > *, .s-karten > *, .s-hero > * { min-width: 0; }
.rolle { position: relative; transition: transform .45s var(--ease); will-change: transform; }
.konto-karte { display: none; }
.browser { position: relative; z-index: 3; height: 2.3em; background: #f1efe9; border-bottom: 1px solid #e3e0d7; display: flex; align-items: center; gap: .45em; padding: 0 .9em; }
.browser i { width: .65em; height: .65em; border-radius: 50%; background: #d6d2c6; }
.browser .url { margin-left: .7em; width: 38%; height: 1.45em; border-radius: .45em; background: #fff; font-size: .78em; color: #6b7394; display: flex; align-items: center; gap: .4em; padding: 0 .8em; }
.browser .url::before { content: ""; width: .6em; height: .75em; border: 1px solid #9aa0b3; border-radius: .15em .15em .1em .1em; border-top-width: .2em; }
.seite { padding: .9em 1.4em 1.2em; display: grid; grid-auto-rows: max-content; gap: .9em; align-content: start; }
.s-kopf { display: flex; align-items: center; gap: 1em; }
.wb-marke { font-family: var(--display); font-weight: 600; font-size: 1.12em; color: #1f6f5f; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-kopf nav { font-size: .84em; color: #5b6368; display: flex; gap: .9em; white-space: nowrap; }
.s-kopf .rechts-k { margin-left: auto; display: flex; gap: .45em; align-items: center; flex: none; }
.pille { font-size: .8em; font-weight: 600; padding: .32em .7em; border-radius: 999px; border: 1px solid #d9d5ca; color: #1f2a2a; white-space: nowrap; background: #fff; }
.pille.dunkel { background: #1f2a2a; color: #fff; border-color: #1f2a2a; }
.korb { position: relative; width: 1.6em; height: 1.6em; display: grid; place-items: center; }
.korb svg { width: 1.25em; height: 1.25em; }
.korb b { position: absolute; right: -.3em; top: -.3em; min-width: 1.2em; height: 1.2em; border-radius: 999px; background: #c2410c; color: #fff; font-size: .8em; display: grid; place-items: center; padding: 0 .2em; }
.s-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.1em; align-items: center; }
.s-hero .t3 { font-family: var(--display); font-size: 1.95em; line-height: 1.02; letter-spacing: -.02em; font-weight: 500; color: #1f2a2a; }
.s-hero p { font-size: .84em; color: #5b6368; margin: .55em 0 .85em; line-height: 1.45; max-width: 19.98em; }
.s-knopf { display: inline-block; font-size: .8em; font-weight: 600; background: #1f6f5f; color: #fff; border-radius: 999px; padding: .5em 1.05em; white-space: nowrap; }
.s-knopf.hell { background: #fff; color: #1f2a2a; border: 1px solid #d9d5ca; }
.s-hero .bild { height: 7.4em; border-radius: .7em; background: #dfe7e2 url(physio-640.jpg) 50% 45% / cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); }
.s-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7em; }
.s-karten > div { padding: .7em .85em; border: 1px solid #e8e5dc; border-radius: .6em; background: #fbfaf7; }
.s-karten b { display: block; font-size: .88em; font-weight: 600; overflow-wrap: anywhere; hyphens: auto; }
.s-karten span { display: block; font-size: .78em; color: #5b6368; margin-top: .15em; }
.wb-dazu { display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5em, 1fr)); grid-auto-flow: dense; gap: .7em; align-items: start; }
.w { border: 1px solid #e8e5dc; border-radius: .7em; padding: .7em .85em .8em; background: #fff; min-width: 0; }
.w .t4 { font-size: .78em; text-transform: uppercase; letter-spacing: .1em; color: #5b6368; margin-bottom: .55em; font-weight: 600; }
.w .gross { font-family: var(--display); font-size: 1.35em; font-weight: 500; letter-spacing: -.01em; }
.w .klein { font-size: .78em; color: #5b6368; margin-top: .2em; line-height: 1.4; }
.w .s-knopf { margin-top: .6em; font-size: .78em; }
.wb-tage { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .3em; text-align: center; font-size: .78em; color: #5b6368; }
.wb-tage span b { display: block; color: #1f2a2a; font-size: 1.15em; }
.wb-tage em, .wb-chips em, .meine em { font-style: normal; }
.slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .3em; margin-top: .4em; }
.slots i { display: grid; place-items: center; height: 1.6em; border-radius: .3em; background: #efede6; font-size: .78em; font-style: normal; color: #9a9890; min-width: 0; overflow: hidden; white-space: nowrap; }
.slots i.frei { background: #d9eee7; color: #145a4c; font-weight: 600; }
.legende { font-size: .78em; color: #5b6368; margin-top: .45em; }
.legende::before { content: ""; display: inline-block; width: .8em; height: .8em; border-radius: .2em; background: #d9eee7; margin-right: .4em; vertical-align: -.1em; }
.balken { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35em; align-items: end; height: 3.6em; margin-top: .3em; }
.balken i { display: block; background: #1f6f5f; border-radius: .25em .25em 0 0; opacity: .85; }
.balken i:nth-child(odd) { background: #9fc1b8; }
.tageleiste { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35em; font-size: .78em; color: #5b6368; text-align: center; margin-top: .3em; }
.s-feld { height: 1.8em; border: 1px solid #d9d5ca; border-radius: .4em; font-size: .78em; color: #8a8f99; display: flex; align-items: center; justify-content: flex-start; padding: 0 .7em; background: #fff; }
.s-feld + .s-feld { margin-top: .4em; }
.s-feld.hoch { height: 2.8em; align-items: flex-start; padding-top: .45em; }
.methoden { display: flex; gap: .4em; flex-wrap: wrap; }
.methoden span { font-size: .78em; font-weight: 600; border: 1px solid #d9d5ca; border-radius: .4em; padding: .3em .55em; }
.methoden span.aktivm { border-color: #1f2a2a; background: #1f2a2a; color: #fff; }
.pop { position: absolute; right: 1.4em; top: 3em; width: 13em; padding: .9em 1em 1em; border-radius: .8em; background: #fff; box-shadow: 0 1.4em 2.6em rgba(20,27,46,.22), 0 0 0 1px rgba(20,27,46,.06); z-index: 5; }
.pop::before { content: ""; position: absolute; right: 1.6em; top: -.45em; width: .9em; height: .9em; background: #fff; transform: rotate(45deg); box-shadow: -1px -1px 0 rgba(20,27,46,.06); }
.pop .t4 { font-family: var(--display); font-size: 1.05em; font-weight: 500; text-transform: none; letter-spacing: 0; color: #1f2a2a; margin-bottom: .5em; }
.pop .s-knopf { width: 100%; text-align: center; margin-top: .55em; }
/* Im Shop liegt rechts der Warenkorb; statt eines Fensters über den Produkten erscheint die Karte „Ihr Konto“ */
.shop .pop { display: none !important; }
.shop .konto-karte.m:not(.aus) { display: block; }

/* Shop mit gezeichneten Produkten */
.produkte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7em; }
.produkte > div { border: 1px solid #e8e5dc; border-radius: .6em; padding: .55em; background: #fff; }
.produkte .tile { height: 4.3em; border-radius: .45em; margin-bottom: .5em; background: #f3f1ea; display: grid; place-items: center; overflow: hidden; }
.produkte .tile svg { width: 88%; height: 88%; }
.produkte b { display: block; font-size: .8em; font-weight: 600; }
.produkte .preis { font-size: .78em; color: #1f2a2a; font-variant-numeric: tabular-nums; margin-top: .15em; }
.produkte .s-knopf { display: block; text-align: center; margin-top: .5em; font-size: .78em; padding: .4em .5em; }
.shop-titel { display: flex; align-items: baseline; gap: .8em; }
.shop-titel .t3 { font-family: var(--display); font-size: 1.5em; font-weight: 500; letter-spacing: -.015em; }
.shop-titel span { font-size: .78em; color: #5b6368; }

/* Verwaltung */
.schirm.anwendung { grid-template-rows: auto 1fr; }
.verwaltung { display: grid; grid-template-columns: 9.2em minmax(0, 1fr); min-height: 0; }
.seitenleiste { background: #f4f3ee; color: #2b3b36; padding: 1em .9em; display: grid; gap: .25em; align-content: start; font-size: .82em; position: relative; z-index: 2; border-right: 1px solid #e6e3da; }
.seitenleiste .wb-marke { color: #1f6f5f; font-size: 1.15em; margin-bottom: .9em; }
.seitenleiste > span { padding: .45em .6em; border-radius: .4em; display: flex; align-items: center; gap: .5em; }
.seitenleiste > span svg { width: 1em; height: 1em; flex: none; opacity: .8; }
.seitenleiste > span i { font-style: normal; }
.seitenleiste > span.an { background: #1f6f5f; color: #fff; }
.seitenleiste > span.an svg { opacity: 1; }
.w.woche .wochenzeile { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .4em; }
.w.woche .wochenzeile span { display: grid; place-items: center; padding: .4em 0; border-radius: .5em; background: #f4f3ee; font-size: .78em; color: #5b6368; line-height: 1.2; }
.w.woche .wochenzeile span b { font-size: 1.3em; color: #1f2a2a; }
.haupt { padding: .9em 1.2em 1em; display: grid; grid-auto-rows: max-content; gap: .8em; align-content: start; align-self: start; }
.topbar { display: flex; align-items: center; gap: .55em; min-width: 0; }
.suche { flex: 1 1 6em; min-width: 4.5em; max-width: 16em; height: 1.9em; border: 1px solid #d9d5ca; border-radius: .5em; font-size: .78em; color: #8a8f99; display: flex; align-items: center; gap: .5em; padding: 0 .7em; background: #fff; }
.suche::before { content: ""; width: .7em; height: .7em; border: 1.5px solid #8a8f99; border-radius: 50%; box-shadow: .45em .45em 0 -.3em #8a8f99; }
.topbar .datum { font-size: .8em; color: #5b6368; margin-left: auto; white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7em; }
.kpis .w { padding: .65em .85em .7em; }
.kpis .gross small { font-family: var(--body); font-size: .6em; color: #5b6368; margin-left: .35em; letter-spacing: 0; white-space: nowrap; }
.tabelle { border: 1px solid #e8e5dc; border-radius: .7em; overflow: hidden; }
.tabelle .zeile { display: grid; grid-template-columns: 4.4em minmax(0, 1fr) 6.2em 5.4em; gap: .6em; padding: .45em .85em; font-size: .78em; border-top: 1px solid #efede6; align-items: center; }
.tabelle .zeile:first-child { border-top: 0; background: #fbfaf7; color: #5b6368; font-weight: 600; }
.tabelle .zeile:first-child span { font-size: 1em; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabelle .zeile i { font-style: normal; justify-self: start; font-size: 1em; padding: .15em .55em; border-radius: 999px; background: #e3f0ea; color: #1f5a4c; font-weight: 600; }
.tabelle .zeile i.offen { background: #eef0f4; color: #4d5570; }
.haupt .wb-dazu { grid-template-columns: repeat(auto-fit, minmax(12em, 1fr)); }

/* App */
.schirm.app { grid-template-rows: auto auto auto; background: #f6f5f1; }
.status { position: relative; z-index: 3; background: #f6f5f1; display: flex; justify-content: space-between; align-items: center; padding: .85em 1.6em 0; font-size: .82em; font-weight: 600; }
.status svg { height: .9em; width: auto; }
.app-kopf { position: relative; z-index: 3; background: #f6f5f1; display: flex; align-items: center; justify-content: space-between; gap: .5em; padding: 1.6em 1.3em .6em; }
.app-kopf .t3 { font-family: var(--display); font-size: 1.6em; font-weight: 500; letter-spacing: -.015em; min-width: 0; flex: 1 1 auto; line-height: 1.1; }
.app-kopf::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: .9em; background: linear-gradient(#f6f5f1, rgba(246,245,241,0)); pointer-events: none; }
.app-kopf .rechts-k { display: flex; gap: .4em; align-items: center; flex: none; }
.avatar { width: 1.9em; height: 1.9em; border-radius: 50%; background: #1f6f5f; color: #fff; display: grid; place-items: center; font-size: .8em; font-weight: 600; }
.app-inhalt { padding: .3em 1.3em 4.6em; display: grid; grid-auto-rows: max-content; gap: .8em; align-content: start; }
.angemeldet { font-size: .78em; color: #5b6368; }
.wb-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .4em; }
.wb-chips span { display: grid; place-items: center; padding: .5em 0; border-radius: .7em; background: #fff; font-size: .78em; color: #5b6368; border: 1px solid #e8e5dc; line-height: 1.2; overflow: hidden; }
.wb-chips span em { font-style: normal; font-size: .9em; }
.wb-chips span b { font-size: 1.25em; color: #1f2a2a; }
.wb-chips span.an { background: #1f6f5f; color: #d7e2dd; border-color: #1f6f5f; }
.wb-chips span.an b { color: #fff; }
.wb-zeiten { display: grid; gap: .4em; }
.wb-zeiten span { display: flex; justify-content: space-between; align-items: center; padding: .6em .9em; border-radius: .6em; background: #fff; border: 1px solid #e8e5dc; font-size: .9em; }
.wb-zeiten span small { font-size: .9em; color: #5b6368; }
.wb-zeiten span.an { border-color: #1f6f5f; box-shadow: inset 0 0 0 1px #1f6f5f; }
.wb-zeiten span.an small { color: #1f6f5f; font-weight: 600; }
.app-knopf { display: block; text-align: center; background: #1f6f5f; color: #fff; font-weight: 600; font-size: .9em; padding: .85em; border-radius: .8em; }
.app .w { border-radius: .8em; }
.wb-tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3em; padding: .6em 1em 1.6em; background: #fff; border-top: 1px solid #e8e5dc; }
.wb-tabs > span { display: grid; justify-items: center; gap: .25em; font-size: .8em; color: #8a8f99; min-width: 0; white-space: nowrap; }
.wb-tabs > span svg { width: 1.5em; height: 1.5em; }
.wb-tabs > span.an { color: #1f6f5f; }
.meine { display: grid; gap: .5em; }
.meine > span { display: grid; grid-template-columns: auto 1fr; gap: .8em; align-items: center; padding: .7em .9em; border-radius: .7em; background: #fff; border: 1px solid #e8e5dc; font-size: .88em; }
.meine > span > span b { display: block; font-size: .92em; color: #5b6368; font-weight: 500; }
.meine > span > i { font-style: normal; display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: .6em; background: #e3f0ea; color: #1f5a4c; font-weight: 600; font-size: .9em; line-height: 1.05; text-align: center; }
.meine-block { display: grid; gap: .8em; }

/* Module ein- und ausblenden */
.m { transition: opacity .4s var(--ease), transform .45s var(--ease), display .45s allow-discrete; }
.m.aus { display: none; opacity: 0; transform: translateY(.5em) scale(.97); }
@starting-style { .m:not(.aus) { opacity: 0; transform: translateY(.5em) scale(.97); } }
.pop.m.aus { transform: translateY(-.4em) scale(.96); }
@starting-style { .pop.m:not(.aus) { transform: translateY(-.4em) scale(.96); } }

@container schirm (min-width: 521px) {
  .wb-dazu > [data-m="kalender"] { grid-column: span 2; }
}
@container schirm (max-width: 520px) {
  .s-kopf nav { display: none; }
  .wb-dazu { grid-auto-flow: dense; }
  .s-karten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wb-dazu, .haupt .wb-dazu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-dazu > [data-m="kalender"], .wb-dazu > [data-m="zahlung"] { grid-column: 1 / -1; }
  .produkte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .verwaltung { grid-template-columns: minmax(0, 1fr); }
  .seitenleiste { display: flex; flex-wrap: wrap; align-items: center; gap: .35em; padding: .6em .9em; }
  .seitenleiste .wb-marke { margin: 0 .4em 0 0; font-size: 1.05em; }
  .seitenleiste > span { padding: .3em .5em; white-space: nowrap; }
  .seitenleiste > span:last-child { display: none; }
  .haupt { padding: .8em 1em .9em; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis .w:nth-child(3) { display: none; }
  .kpis .gross small { display: block; margin: .1em 0 0; white-space: normal; }
  .tabelle .zeile { grid-template-columns: 4.2em minmax(0, 1fr) 4.8em; }
  .tabelle .zeile > :nth-child(3) { display: none; }
  .topbar .datum { display: none; }
  .pop { display: none !important; }
  .konto-karte.m:not(.aus) { display: block; }
  .shop .s-kopf .pille[data-m="login"] { display: none !important; }
  .slots { gap: .2em; } .wb-tage { gap: .2em; }
  .browser .url { display: block; flex: 0 1 auto; width: auto; max-width: 72%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.45em; }
  .browser .url::before { display: inline-block; vertical-align: -.1em; margin-right: .4em; }
}

@media (max-width: 900px) {
  .werkbank { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bausteine, .rechts { display: contents; }
  .f-art { order: 1; }
  .produkt { order: 2; }
  .f-module { order: 3; }
  .unterzeile { order: 4; }
  /* Der Richtwert klebt am unteren Rand, sobald die Bausteine im Bild sind (Klasse per Skript) */
  .richtwert { order: 5; z-index: 15; grid-template-columns: auto 1fr; gap: 2px 16px; padding: 10px 16px; min-height: 56px; border-radius: 14px; box-shadow: 0 18px 40px rgba(20,27,46,.28); }
  .richtwert.klebt { position: sticky; bottom: 10px; }
  .richtwert .ab { grid-column: 1; font-size: 11px; }
  .richtwert .zahl { grid-column: 1; font-size: 26px; }
  .richtwert .lang { display: none; }
  .richtwert .kurz { display: block; grid-column: 2; grid-row: 1 / span 2; }
  .richtwert .rueck { display: block; }
  /* Am Handy wird aus dem Laptop ein Tablet im Hochformat, damit der Inhalt lesbar bleibt */
  .buehne-d { --rh: 124cqw; }
  .geraet { --rw: 100cqw; --rp: 2.6cqw; --rpb: 2.6cqw; --rr: 4.5cqw; }
  .rahmen .kamera { top: 1.1cqw; }
  .wb-fuss { display: none; }
  .buehne-d { padding: 2cqw 0; }
  .rahmen .insel { width: 14cqw; height: 3.6cqw; margin-left: -7cqw; top: 1.6cqw; }
  .rahmen .home { width: 18cqw; height: .8cqw; margin-left: -9cqw; bottom: 1.5cqw; }
  .bildschirm { font-size: clamp(12px, 3.5cqw, 13px); }
  .ist-app .bildschirm { font-size: clamp(12.2px, 3.2cqw, 12.5px); }
  .s-hero .bild { height: 5.8em; }
}
@media (max-width: 480px) { .art b { font-size: 15px; } }
/* Am Rechner bekommt die klebende Spalte unten Platz, damit Gerät und Richtwert auch beim letzten Baustein im Bild bleiben */
@media (min-width: 901px) { .bausteine { padding-bottom: 140px; } .hero-d { padding-bottom: clamp(8px, 2vw, 24px); } }
@media (min-width: 901px) and (max-height: 800px) {
  .hero-d { padding-top: 14px; }
  .hero-d h1 { font-size: clamp(36px, 3.6vw, 48px); max-width: none; }
  .hero-d .lead { margin-top: 10px; font-size: 16.5px; }
  .werkbank { margin-top: 18px; }
  .buehne-d { padding: 1cqw 0 .6cqw; }
  .buehne-d { --rh: min(64cqw, calc(100vh - 400px)); }
  .rechts { top: 84px; gap: 10px; }
  .richtwert { padding: 12px 18px 14px; gap: 4px 18px; }
  .richtwert .zahl { font-size: 34px; }
  .richtwert .lang { font-size: 13px; line-height: 1.4; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-d *, .hero-d *::before, .hero-d *::after { transition: none !important; }
}


/* Danach: ein Satz, ein Knopf */
.danach-w { border-top: 1px solid var(--line); }
.danach-w .container { max-width: 720px; }
.danach-w h2 { font-size: clamp(28px, 3.6vw, 40px); }
.danach-w p { margin-top: 16px; color: var(--ink-soft); font-size: 18px; max-width: 39.96em; }

/* ---- Verfeinerung 01.11.2026 (drei Kundensichten): Arten als Zeilen mit „Für wen“, Bausteine je Art, Übergabe ---- */
.art { grid-template-columns: 1fr; gap: 8px; }
.art label { flex-direction: column; gap: 4px; padding: 12px 14px 13px; }
.art .k { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.art .k b { font-size: 16px; }
.art .k small.ab { font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; }
.art .wer { font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); }
.art label:has(input:checked) .wer, .art label:has(input:checked) .k small.ab { color: #c5cadb; }
.module label.weg { display: none; }
html:not(.js) .module label.weg { display: flex; }
html:not(.js) .art .wer { display: block; }
.uebergabe-zeile { margin-top: 14px; }
.uebergabe-zeile .knopf { width: 100%; }
.dann-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.danach-w .frei { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: #1f6f5f; text-underline-offset: 3px; display: inline-block; padding: 10px 0; }
main a:not(.knopf), .footer a { color: var(--ink); text-decoration-color: #1f6f5f; }
/* Mehrseitige Webseite im Gerät */
.nav-seiten { font-size: .84em; color: #5b6368; display: flex; gap: .8em; white-space: nowrap; min-width: 0; overflow: hidden; }
.nav-seiten .an { color: #1f2a2a; font-weight: 600; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: #1f6f5f; }
.s-hero.uszeile .pfad { display: block; font-size: .8em; color: #8a8f99; margin-bottom: .35em; }
.s-hero.uszeile .t3 { font-size: 1.7em; }
.seitenkarte .seiten-raster { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .45em; }
.seitenkarte .mini { display: block; padding: .35em .35em .3em; border: 1px solid #e3e0d6; border-radius: .35em; background: #fbfaf7; min-width: 0; }
.seitenkarte .mini.an { border-color: #1f6f5f; background: #eef4f1; }
.seitenkarte .mini i { display: block; height: .22em; border-radius: .11em; background: #d9d5ca; margin-bottom: .22em; }
.seitenkarte .mini i:first-child { width: 60%; background: #c5c0b2; }
.seitenkarte .mini b { display: block; font-size: .8em; font-weight: 600; color: #1f2a2a; margin-top: .2em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container schirm (max-width: 520px) { .seitenkarte .seiten-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); } .nav-seiten { display: none; } }
@media (max-width: 900px) {
  .uebergabe-zeile { order: 6; margin-top: 4px; }
}
@media (max-width: 480px) { .art .k { flex-wrap: wrap; } }


/* ---- Runde 2 (01.11.2026): Richtwert als Leiste über dem Gerät, kompakter Kopf, dichte Stufe im Gerät ---- */
@media (min-width: 901px) {
  .hero-d { padding-top: clamp(14px, 2vw, 26px); }
  .hero-d h1 { font-size: clamp(34px, 3.2vw, 46px); max-width: none; }
  .hero-d .lead { margin-top: 10px; font-size: 17px; }
  .werkbank { margin-top: 18px; }
  .rechts { top: 88px; gap: 12px; }
  .richtwert { grid-template-columns: auto auto minmax(0, 1fr); align-items: baseline; gap: 2px 16px; padding: 11px 18px 12px; border-radius: 12px; }
  .richtwert .ab { grid-column: auto; font-size: 11.5px; }
  .richtwert .zahl { font-size: 30px; }
  .richtwert .lang { font-size: 13px; line-height: 1.4; }
  .buehne-d { padding: 1.2cqw 0 .8cqw; }
}
@media (min-width: 901px) and (max-height: 800px) {
  .richtwert { padding: 9px 16px 10px; }
  .richtwert .zahl { font-size: 26px; }
}
/* Dichte Stufe: wird per Skript gesetzt, sobald der Inhalt nicht in den Bildschirm passt */
.schirm.dicht .seite { gap: .6em; padding: .7em 1.2em .9em; }
.schirm.dicht .haupt { gap: .55em; padding: .7em 1em .8em; }
.schirm.dicht .app-inhalt { gap: .55em; }
.schirm.dicht .wb-dazu { gap: .5em; }
.schirm.dicht .w { padding: .5em .7em .6em; }
.schirm.dicht .w .t4 { margin-bottom: .35em; }
.schirm.dicht .s-feld { height: 1.5em; }
.schirm.dicht .s-feld.hoch { height: 2.1em; }
.schirm.dicht .s-feld + .s-feld { margin-top: .3em; }
.schirm.dicht .s-hero .bild { height: 5.6em; }
.schirm.dicht .s-hero p { margin: .35em 0 .6em; }
.schirm.dicht .s-karten > div { padding: .5em .7em; }
.schirm.dicht .balken { height: 2.8em; }
.schirm.dicht .tabelle .zeile { padding: .32em .8em; }
.schirm.dicht .kpis .w { padding: .5em .7em .55em; }
.schirm.dicht .produkte .tile { height: 3.2em; }
.schirm.dicht .produkte > div { padding: .45em; }
.schirm.dicht .seitenkarte .mini { padding: .25em .3em .2em; }
.schirm.dicht .meine > span { padding: .5em .8em; }
.schirm.dicht .wb-zeiten span { padding: .45em .8em; }
.schirm.dicht .wb-chips span { padding: .35em 0; }

/* Telefon am Rechner größer: Skalierung statt Maßänderung; der Platz darunter ist fest reserviert */
@media (min-width: 901px) {
  .geraet { transition: transform .65s var(--ease); transform-origin: 50% 0; }
  .ist-app .geraet { transform: scale(1.22); }
  .buehne-d { padding-bottom: calc(var(--rh) * 0.22 + 1.4cqw); }
}
.app-kopf { align-items: flex-start; gap: .6em; }
.app-kopf .t3 { font-size: 1.4em; }
.app-kopf .rechts-k { margin-top: .25em; }
/* Dichte Stufe, Ergänzung: Verwaltung und App */
.schirm.dicht .tabelle .zeile:nth-child(n+5) { display: none; }
.schirm.dicht .kpis .w .gross { font-size: 1.2em; }
.schirm.dicht .w .klein { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schirm.dicht .w .klein b { white-space: nowrap; }
.schirm.dicht .balken { height: 2.4em; }
.schirm.dicht .haupt .wb-dazu { grid-template-columns: repeat(auto-fit, minmax(11em, 1fr)); }
.schirm.dicht .s-hero .bild { height: 5em; }
.schirm.dicht .s-hero p { max-width: 22.64em; }
.schirm.dicht .seitenkarte .seiten-raster { gap: .35em; }
.schirm.dicht .app-inhalt { padding-bottom: 4.2em; }
.schirm.dicht .meine-block { gap: .5em; }
/* Dichte Stufe, zweite Ergänzung: Kennzahlen, Mehrseitig, Verwaltung */
.schirm.dicht .kpis .gross small { font-size: .72em; }
.schirm.dicht .kpis .w .t4 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schirm.dicht .s-karten > div span { display: none; }
.schirm.dicht .s-hero.uszeile .pfad { display: none; }
.schirm.dicht .s-hero .bild { height: 4.6em; }
.schirm.dicht .w .t4 { font-size: .78em; }
.schirm.dicht .haupt { gap: .45em; }
.schirm.dicht .tabelle .zeile { padding: .28em .8em; }
.schirm.dicht .haupt .w .klein + .klein { display: none; }
.schirm.dicht .topbar .datum { display: none; }
.schirm.dicht .balken { height: 2.2em; }
.schirm.dicht .seitenkarte .mini i { height: .18em; margin-bottom: .18em; }
.schirm.dicht .topbar { display: none; }
.schirm.dicht .kpis .w { padding: .4em .7em .45em; }
.schirm.dicht .seite { gap: .5em; }
/* Ohne JS: Art-Karten als reine Preisliste, auch die vorgewählte Karte bleibt lesbar */
html:not(.js) .art label:has(input:checked) .wer, html:not(.js) .art label:has(input:checked) .k small.ab, html:not(.js) .art label .wer, html:not(.js) .art label .k small.ab { color: var(--ink-soft); }
html:not(.js) .art label:has(input:checked) .k b, html:not(.js) .art label .k b { color: var(--ink); }
.schirm.dicht.anwendung .tabelle .zeile:nth-child(n+4) { display: none; }
.schirm.dicht .haupt .w .s-knopf { margin-top: .4em; }
.schirm.dicht.anwendung .haupt { padding-top: .5em; gap: .4em; }
.schirm.dicht.anwendung .tabelle .zeile { padding: .22em .8em; }
.schirm.dicht.anwendung .kpis .w .gross { font-size: 1.1em; }
.schirm.dicht.anwendung .w .t4 { margin-bottom: .3em; }
.schirm.dicht.anwendung .haupt .wb-dazu { gap: .4em; }
.schirm.dicht.anwendung .kpis .w { padding: .3em .7em .35em; }
.schirm.dicht.anwendung .haupt .w { padding: .45em .7em .5em; }


/* ---- Runde 3 (01.11.2026): Lesbarkeit, Kontraste, App-Kopf, Zähler ohne Layout-Arbeit ---- */
@media (min-width: 901px) { .bildschirm, .ist-app .bildschirm { font-size: clamp(12.5px, 1.95cqw, 12.8px); } }
@media (max-width: 900px) { .bildschirm, .ist-app .bildschirm { font-size: clamp(12.8px, 3.5cqw, 13.2px); } }
.wb-tage { font-size: .86em; }
.wb-chips span { font-size: .86em; }
.wb-chips span em { font-size: .88em; letter-spacing: -.01em; }
.slots i { color: #6f6d66; }
.richtwert { contain: layout style; }
#richtwert { display: inline-block; min-width: 2.66em; text-align: right; }
.app-kopf { flex-wrap: nowrap; row-gap: .4em; }
.app-kopf .t3 { white-space: nowrap; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; font-size: 1.35em; }
.app-kopf .rechts-k { margin-left: auto; }
.app-kopf::after { height: 1.8em; }
.wb-tabs { gap: .5em; padding: .55em .8em 1.5em; }
.wb-tabs > span { font-size: .76em; }
.wb-tabs > span > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.seitenleiste .wb-marke { white-space: normal; line-height: 1.1; overflow: visible; }
.app .w { padding: .55em .75em .65em; }
.app .balken { height: 2.4em; }
.wb-zeiten span { padding: .5em .8em; }
.produkt:focus { outline: none; }
.produkt:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.danach-w .frei.zweit { color: var(--ink-soft); font-weight: 500; }
.footer p a, .footer address a { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 0; }
.main-nav { position: relative; } .menue { position: static; } .menue-liste { right: 0; max-width: calc(100vw - 32px); } .menue summary { min-width: 44px; justify-content: center; }
.hero-d .lead, .danach-w p { max-width: 32em; }
.richtwert .lang { max-width: 34em; }
.unterzeile { max-width: 36em; }
.app-kopf .t3 { font-size: 1.25em; }
.app-h4 { font-family: var(--display); font-size: 1.15em; font-weight: 500; letter-spacing: -.01em; color: #1f2a2a; margin-bottom: .45em; }
.wb-zeiten span { gap: .6em; }
.wb-zeiten span small { text-align: right; }
.wb-tabs { gap: .3em; padding: .55em .5em 1.5em; }
.wb-tabs > span { font-size: .74em; }
.wb-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4em; }
.wb-tabs > span { font-size: .78em; }
/* Runde 5: Fuß-Adresse am Handy zeilenweise, kein hängender Trenner */
@media (max-width: 480px) { .footer address .tr { display: none; } .footer address .z, .footer address a { display: block; } }
/* Runde 5: Spaltenzahl im Gerät schon per CSS wie im Skript (höchstens 4), damit das Skript beim Laden nichts umbricht */
@container schirm (min-width: 780px) { .seite .wb-dazu { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Abschluss (02.11.2026): App-Titel bricht um statt „Praxi…“, Reiter ungekürzt */
.app-kopf .t3 { white-space: normal; overflow: visible; text-overflow: clip; font-size: 1.2em; hyphens: manual; }
.wb-tabs { gap: .15em; padding: .55em .25em 1.5em; }
.wb-tabs > span { font-size: .74em; letter-spacing: -.01em; }
.wb-tabs > span > span { max-width: none; overflow: visible; text-overflow: clip; }
.meine > span > span { overflow-wrap: normal; hyphens: manual; }
.meine > span > i { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: center; width: 2.6em; height: auto; padding: .45em 0; line-height: 1.15; }
.app-kopf { flex-wrap: wrap; }
.app-kopf .t3 { flex: 1 1 0; min-width: min-content; }
