/* ==========================================================================
   LITEMAXX · Designsystem v2
   Mitternacht + Platin. Messwerte in Mono, Scores in Condensed.
   ========================================================================== */

@property --mx { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --my { syntax: '<percentage>'; inherits: true; initial-value: 30%; }

:root {
  --bg: #06070b;
  --bg-2: #090b11;
  --surface: #0d1017;
  --surface-2: #12161f;
  --surface-3: #181d29;
  --line: #1c2130;
  --line-2: #272d3e;
  --line-3: #363d52;
  --ink: #edf0f7;
  --ink-2: #c1c7d5;
  --muted: #868ea4;
  --faint: #545c72;
  --plat: #dce2ee;
  --ok: #5fd4a4;
  --warn: #f2b65a;
  /* Farbe nur mit Bedeutung: Noten laufen fließend von Rot über Bernstein nach Grün (Zahl steht immer daneben) */
  --s-bad: oklch(.64 .19 25);
  --s-mid: oklch(.80 .15 78);
  --s-good: oklch(.79 .16 152);
  --chrome: linear-gradient(180deg, #ffffff 0%, #eef1f7 28%, #a3acc1 49%, #e8ecf4 63%, #b8c0d1 100%);
  --chrome-edge: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.08) 38%, rgba(255,255,255,.28) 62%, rgba(255,255,255,.06));
  --glow: 0 0 18px rgba(205, 220, 255, .28);
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Martian Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --r: 4px;
  --wrap: 1200px;
  color-scheme: dark;
}

/* ---------- Grundlage ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.55 var(--sans); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; min-height: 100vh;
}
.lmx { hyphens: auto; -webkit-hyphens: auto; }
::selection { background: rgba(220, 226, 238, .88); color: #06070b; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 1.5px solid var(--plat); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 700; }
p { text-wrap: pretty; }

/* Filmkorn über allem: gibt dem Schwarz Tiefe statt Flächigkeit */
.lmx::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 28px; }
.narrow { max-width: 760px; margin: 0 auto; padding-inline: 28px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typografie ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 10px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.kicker::before { content: ''; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.kicker.bare::before { display: none; }
.display {
  font-stretch: 112%; font-weight: 720; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(32px, 3.4vw, 48px);
}
.h2 { font-stretch: 110%; font-weight: 700; letter-spacing: -.03em; line-height: 1.04; font-size: clamp(26px, 2.8vw, 38px); }
.h3 { font-stretch: 100%; font-weight: 640; letter-spacing: -.015em; line-height: 1.2; font-size: 18px; }
.chrome {
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
}
.lead { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.label-mono { font: 500 10px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Links & Buttons ---------- */
.link {
  color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size .35s var(--ease), color .2s;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link.dim { color: var(--ink-2); }
.link .arr { display: inline-block; transition: transform .25s var(--ease); }
.link:hover .arr { transform: translate(2px, -2px); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 42px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-3);
  background: transparent; color: var(--ink); font-weight: 600; font-size: 14px; letter-spacing: -.005em;
  line-height: 1.2; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease), color .2s;
}
.btn:hover { border-color: var(--plat); }
.btn:active { transform: scale(.985); }
.btn--solid { background: var(--plat); color: #07080c; border-color: var(--plat); }
.btn--solid:hover { background: #fff; }
/* Glanzlicht, das beim Überfahren einmal über den Knopf läuft */
.btn--solid::after, .btn--google::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.75) 50%, transparent 62%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--solid:hover::after, .btn--google:hover::after { transform: translateX(120%); }
.btn--google { background: #fff; color: #1d2230; border-color: #fff; min-width: 260px; min-height: 48px; font-size: 14.5px; }
.btn--google:hover { border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.07), 0 10px 40px rgba(210,222,255,.12); }
.btn--ghost { border-color: transparent; padding-inline: 4px; }
.btn--ghost:hover { border-color: transparent; color: #fff; }
.btn--sm { min-height: 34px; padding: 7px 14px; font-size: 13px; }
.btn:disabled { opacity: .42; cursor: not-allowed; }
.btn:disabled:hover { border-color: var(--line-3); }
.g-icon { width: 20px; height: 20px; flex: none; }

.chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 22px; padding: 3px 9px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.02);
  font: 500 9.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap;
}
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); font-style: normal; }
.chip.warn i { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.chip.off i { background: var(--faint); box-shadow: none; }

/* Segmentierter Umschalter mit gleitendem Daumen */
.seg {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2);
}
.seg button {
  position: relative; z-index: 1; border: 0; background: none; padding: 7px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--muted); transition: color .25s; white-space: nowrap;
}
.seg button[aria-pressed="true"] { color: #07080c; }
.seg .thumb {
  position: absolute; top: 3px; bottom: 3px; left: 3px; border-radius: 999px; background: var(--plat);
  transition: transform .38s var(--spring), width .38s var(--spring); box-shadow: var(--glow);
}

/* ---------- Kopfzeile ---------- */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--plat); color: #07080c; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 12px; }
.demo-strip {
  display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 26px; padding: 4px 16px;
  border-bottom: 1px solid var(--line); background: var(--bg-2);
  font: 500 9.5px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center;
}
.demo-strip b { color: var(--ink-2); font-weight: 600; }
.demo-strip .pulse { width: 5px; height: 5px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 8px var(--warn); animation: blink 2.4s ease-in-out infinite; flex: none; }
@keyframes blink { 50% { opacity: .25; } }

.hdr {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s, backdrop-filter .3s;
}
.hdr.scrolled { background: rgba(6,7,11,.72); border-bottom-color: var(--line); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.hdr-in { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; height: 58px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 28px; height: 28px; filter: drop-shadow(0 0 8px rgba(210,224,255,.35)); }
.brand span { font-stretch: 125%; font-weight: 700; font-size: 13px; letter-spacing: .2em; }
.nav { display: flex; gap: 28px; margin: 0 auto; font-size: 13.5px; color: var(--ink-2); }
.nav a { position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: -2px; height: 1px; background: var(--plat); transition: left .3s var(--ease), right .3s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a.on::after { left: 0; right: 0; }
.nav a.on { color: #fff; }
.hdr-end { display: flex; align-items: center; gap: 18px; margin-left: auto; font-size: 13.5px; color: var(--ink-2); }
.hdr-end > a:not(.btn):hover { color: #fff; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 999px; background: none; position: relative; }
.menu-btn span, .menu-btn span::before { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); content: ''; transition: transform .3s var(--ease); }
.menu-btn span { top: 17px; }
.menu-btn span::before { left: 0; right: 0; top: 8px; }
.menu-btn[aria-expanded="true"] span { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(-8px) rotate(-90deg); }
.mnav { display: none; }
.mnav[hidden] { display: none !important; }

/* Messband am linken Rand: zeigt die Scrollposition wie ein Maßband */
.ruler { position: fixed; left: 0; top: 0; bottom: 0; width: 26px; z-index: 40; pointer-events: none; display: none; }
.ruler::before {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 100%;
  background:
    linear-gradient(to bottom, var(--line-3) 1px, transparent 1px) 0 0 / 14px 40px repeat-y,
    linear-gradient(to bottom, var(--line-2) 1px, transparent 1px) 0 0 / 7px 8px repeat-y;
  opacity: .8;
}
.ruler-mark { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 6px; will-change: transform; }
.ruler-mark::before { content: ''; width: 20px; height: 1px; background: var(--plat); box-shadow: var(--glow); }
.ruler-mark span { font: 500 9px/1 var(--mono); letter-spacing: .08em; color: var(--ink-2); background: var(--bg); padding: 2px 4px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto 35%; height: 780px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 30%, rgba(150,172,230,.13), transparent 62%);
}
/* Die zwei Lichtstreifen aus dem Logo, zurückhaltend im Hintergrund */
.beams { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.beams i {
  position: absolute; width: 1px; height: 170%; top: -35%;
  background: linear-gradient(to bottom, transparent, rgba(225,232,255,.5) 45%, rgba(255,255,255,.9) 50%, rgba(225,232,255,.5) 55%, transparent);
  transform: rotate(38deg); filter: blur(.3px); opacity: .22; animation: beam 14s var(--ease) infinite alternate;
}
.beams i:nth-child(1) { left: 6%; }
.beams i:nth-child(2) { left: 9%; opacity: .12; animation-delay: -4s; }
.beams i:nth-child(3) { right: 12%; left: auto; opacity: .1; animation-delay: -7s; }
@keyframes beam { to { transform: rotate(38deg) translateY(4%); } }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-block: 48px 64px; }
.hero-copy .display { margin: 18px 0 18px; }
.hero-copy .display span { display: block; }
.hero-copy .lead { margin-bottom: 26px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.cta-block .btn--google { margin-bottom: 18px; }
.cta-links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; }
.cta-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 20px; font-size: 12.5px; color: var(--muted); }
.cta-note .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }

/* ---------- Live-Messung (Hero) ---------- */
.inst {
  position: relative; border: 1px solid var(--line-2); border-radius: 8px; background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.04); min-width: 0;
}
.inst::before { content: ''; position: absolute; inset: -1px; border-radius: 9px; padding: 1px; background: var(--chrome-edge); opacity: .35; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.inst-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.inst-top .label-mono { font-size: 9.5px; display: inline-flex; align-items: center; }
.inst-top .label-mono b { color: var(--ink); font-weight: 600; }
/* Schmale Bildschirme: Hinweis-Chip darf umbrechen statt über den Kartenrand zu laufen */
.inst-top { flex-wrap: wrap; row-gap: 8px; }
.inst-top .chip { min-width: 0; max-width: 100%; white-space: normal; text-align: left; }
.rec { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 9px; background: #ff5d5d; box-shadow: 0 0 8px #ff5d5d; animation: blink 1.6s ease-in-out infinite; font-style: normal; }
.ticker { padding: 12px 16px 12px; border-bottom: 1px solid var(--line); min-height: 0; }
.phases { display: flex; align-items: center; gap: 8px; font-size: 9.5px; }
.phases span { color: var(--faint); transition: color .3s; }
.phases span.on { color: var(--ink); }
.phases i { font-style: normal; color: var(--faint); }
.tk-title { margin-top: 8px; font-stretch: 108%; font-weight: 700; font-size: 20px; letter-spacing: -.02em; line-height: 1.12; }
.tk-sub { margin-top: 5px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.swap { animation: tkIn .5s var(--ease); }
@keyframes tkIn { from { opacity: 0; transform: translateY(8px); } }
.inst-main { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.canvas { position: relative; min-width: 0; border-right: 1px solid var(--line); overflow: hidden; background:
  radial-gradient(ellipse at 50% 42%, rgba(120,140,200,.10), transparent 70%),
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 24px 24px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 24px 24px; }
.canvas::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 58%, var(--bg-2) 100%); pointer-events: none; }
.canvas-tag { position: absolute; left: 14px; top: 12px; z-index: 2; }
.face-svg { position: relative; z-index: 1; display: block; width: 100%; height: auto; max-height: 470px; }

/* Linienzeichnung im Stil des Logos – bleibt beim Zoomen fein */
.art path, .art circle { vector-effect: non-scaling-stroke; }
.art .fl { fill: none; stroke: #e9eefb; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.art .fs { fill: none; stroke: #b8c2d8; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.art .ff { fill: none; stroke: #6f7890; stroke-width: .95; stroke-linecap: round; stroke-linejoin: round; }
.art .fb { fill: rgba(233,238,251,.5); stroke: #e9eefb; stroke-width: .8; stroke-linejoin: round; }
.art .pupil { fill: #e9eefb; }
.art { filter: drop-shadow(0 0 3px rgba(210,224,255,.3)); }

.m-line { stroke: var(--pl, #ffffff); stroke-width: 1.5; stroke-linecap: round; }
.m-dim { stroke: #aab4ca; stroke-width: 1; }
.m-dash { stroke: #7f89a2; stroke-width: 1; stroke-dasharray: 3 4; }
.m-ref { stroke: #c9d1e2; stroke-width: 1.3; stroke-dasharray: 5 3.5; }
.m-pt { fill: #fff; }
.m-ring { fill: none; stroke: var(--pl, #fff); stroke-width: 1.1; }
.m-arc { fill: none; stroke: var(--pl, #fff); stroke-width: 1.2; }
.ms.on .m-line, .static-ms .m-line { filter: drop-shadow(0 0 2.5px color-mix(in oklab, var(--pc, #ffffff) 85%, transparent)); }
.m-tag, .m-lab { transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px)) scale(var(--iz, 1)); }
.m-tag rect { fill: var(--bg); stroke: color-mix(in oklab, var(--pc, #363d52) 70%, transparent); stroke-width: 1; }
.m-tag text, .m-txt { fill: #d5dcea; font: 500 8.5px var(--mono); letter-spacing: .08em; }
.m-lab text { fill: #c9d2e4; font: 500 7.5px var(--mono); letter-spacing: .06em; }
.m-txt.dim { fill: #7c86a0; }
.pin circle { fill: var(--bg); stroke: var(--pl, #fff); stroke-width: 1.2; }
.pin text { fill: #fff; font: 600 8px var(--mono); text-anchor: middle; }
.zone-hl { fill: color-mix(in oklab, var(--pc, #dce2ee) 20%, transparent); stroke: var(--pl, #fff); stroke-width: 1; stroke-dasharray: 3 3; }
.band-hl { fill: none; stroke: color-mix(in oklab, var(--pc, #dce2ee) 50%, transparent); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
@keyframes pop { from { opacity: 0; transform: scale(.3); } }

/* Landmarks, Ansicht, Messfolge */
.scan-svg .view-front, .scan-svg .view-profile, .scan-svg .lm-front, .scan-svg .lm-profile { transition: opacity .6s var(--ease); }
.scan-svg[data-view="front"] .view-profile, .scan-svg[data-view="front"] .lm-profile,
.scan-svg[data-view="profile"] .view-front, .scan-svg[data-view="profile"] .lm-front { opacity: 0; }
.scan-svg[data-view="front"] .ms[data-view="profile"], .scan-svg[data-view="profile"] .ms[data-view="front"] { display: none; }
.lmx-pts circle { fill: #9fb0cc; opacity: .8; transform-box: fill-box; transform-origin: center; transition: fill .3s, opacity .3s; }
.lmx-pts.popping circle { animation: pop .3s var(--spring) backwards; animation-delay: var(--d, 0s); }
.lmx-pts circle.hl { fill: #fff; opacity: 1; r: 2.6; }
.ms { opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.ms.on { opacity: 1; }
.ms.past { opacity: .16; }
.ms .dr { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.ms.on .dr { stroke-dashoffset: 0; transition: stroke-dashoffset .5s var(--ease) .3s; }
.ms.past .dr, .static-ms .dr { stroke-dashoffset: 0; }
.ms .gd, .ms .rp, .ms .tgw, .ms .m-lab { opacity: 0; transition: opacity .2s; }
.ms.on .rp { opacity: 1; transition: opacity .15s .05s; }
.ms.on .gd, .ms.past .gd { opacity: 1; transition: opacity .2s .18s; }
.ms.on .tgw, .ms.on .m-lab { opacity: 1; transition: opacity .2s .75s; }
.scan-line { opacity: 0; pointer-events: none; }
.inst.scanning .scan-line { animation: scanl 1s var(--ease) forwards; }
@keyframes scanl { 0% { opacity: 0; transform: translateY(-40px); } 10% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(500px); } }
/* Referenzfoto: Linien und Punkte brauchen auf Haut und hellem Grund einen dunklen Saum */
.canvas.ph { background: #0a0c12; }
.ph-svg .view-front, .ph-svg .view-profile { transition: opacity .35s var(--ease); }
.ph-grid { pointer-events: none; }
.ph-svg .lmx-pts circle { fill: #fff; opacity: .78; stroke: rgba(6,7,11,.55); stroke-width: .5; }
.ph-svg .lmx-pts circle.hl { opacity: 1; r: 2.9; stroke: rgba(6,7,11,.7); }
.ph-svg .m-line, .ph-svg .m-arc { filter: drop-shadow(0 0 1.1px rgba(4,5,9,.85)); }
.ph-svg .ms.on .m-line { filter: drop-shadow(0 0 1.1px rgba(4,5,9,.85)) drop-shadow(0 0 3px rgba(220,230,255,.45)); }
.ph-svg .m-dash { stroke: #eef2fb; stroke-opacity: .7; }
.ph-svg .m-ref { stroke: #f2f5fb; stroke-opacity: .95; filter: drop-shadow(0 0 1.1px rgba(4,5,9,.85)); }
.ph-svg .m-dim { stroke: #eef2fb; }
.ph-svg .m-ring { stroke-width: 1.2; }
.ph-svg .m-lab text { fill: #fff; paint-order: stroke; stroke: rgba(4,5,9,.75); stroke-width: 2.2px; stroke-linejoin: round; }
.ph-svg .ms.past { opacity: 0; }
.ph-svg.sum .ms.past { opacity: .3; }
.canvas.ph .canvas-tag { padding: 3px 7px; border-radius: 4px; background: rgba(6,7,11,.62); color: var(--ink-2); backdrop-filter: blur(4px); }

.readout { display: flex; flex-direction: column; padding: 18px 18px 14px; min-width: 0; }
.ro-meta { font-size: 9.5px; line-height: 1.55; }
.ro-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 12px 0 4px; }
.readout .ro-num {
  font: 400 38px/1 var(--mono); font-stretch: 88%; letter-spacing: -.05em; color: #fff;
  font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(210,224,255,.3); white-space: nowrap;
  transition: color .3s, text-shadow .3s;
}
.readout .ro-num.wait { color: var(--faint); text-shadow: none; }
.st { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 9.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.st--in::before { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.st--high::before, .st--low::before { background: var(--plat); box-shadow: 0 0 8px rgba(220,226,238,.6); }
.st--wait::before { animation: blink 1s ease-in-out infinite; }
.band-wrap { margin-top: 16px; }
.band-wrap[hidden] { display: none; }
.band-head, .band-scale { display: flex; justify-content: space-between; gap: 8px; font: 500 9.5px var(--mono); letter-spacing: .06em; color: var(--ink-2); }
.band {
  position: relative; height: 22px; margin: 8px 0 6px;
  background: repeating-linear-gradient(90deg, var(--line-3) 0 1px, transparent 1px calc(100% / 10)) 0 100% / 100% 7px no-repeat;
  border-bottom: 1px solid var(--line-3);
}
.band-range { position: absolute; bottom: 0; height: 7px; background: linear-gradient(90deg, color-mix(in oklab, var(--ok) 35%, transparent), color-mix(in oklab, var(--ok) 65%, transparent), color-mix(in oklab, var(--ok) 35%, transparent)); transition: left .5s var(--ease), width .5s var(--ease); }
.band-mark { position: absolute; bottom: -4px; width: 2px; height: 26px; margin-left: -1px; background: #fff; box-shadow: var(--glow); transition: left .7s var(--spring); }
.band-mark::after { content: ''; position: absolute; top: -6px; left: -4px; border: 5px solid transparent; border-top-color: #fff; border-bottom: 0; }
/* Rechenweg mit Punktlinien */
.calc { margin-top: 14px; padding-top: 8px; border-top: 1px solid var(--line); font: 400 11px/1 var(--mono); color: var(--ink-2); }
.calc > div { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; }
.calc span { color: var(--muted); letter-spacing: .02em; }
.calc i { flex: 1; min-width: 12px; height: 1px; background: radial-gradient(circle, var(--line-3) .7px, transparent 1px) 0 0 / 5px 1px repeat-x; transform: translateY(-2px); }
.calc b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; transition: opacity .35s; }
/* Während die Punkte gesetzt werden, sind die Zahlen im Rechenweg noch zurückgenommen */
[data-inst][data-phase="0"] .band-wrap:not([hidden]) ~ .calc b { opacity: .3; }
.calc small { display: block; margin-top: 6px; font-size: 8.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }

/* Fadenkreuz */
.xh { opacity: 0; transition: opacity .2s; pointer-events: none; }
.xh line { stroke: rgba(220,226,238,.32); stroke-width: .6; stroke-dasharray: 1 3; vector-effect: non-scaling-stroke; }
.xh text { fill: #a9b3c9; font: 500 6.5px var(--mono); letter-spacing: .08em; }
@media (hover: hover) and (pointer: fine) { .canvas:hover .xh { opacity: 1; } }

/* Steuerung */
.inst-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 12px 16px; border-top: 1px solid var(--line); }
.segs { display: flex; gap: 4px; flex: 1 1 200px; min-width: 0; }
.sg { position: relative; flex: 1; height: 28px; padding: 0; border: 0; background: none; display: flex; align-items: flex-end; }
.sg::before { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 2px; border-radius: 2px; background: var(--line-3); }
.sg i { position: absolute; left: 0; top: 5px; height: 2px; width: 0; border-radius: 2px; background: #fff; box-shadow: var(--glow); font-style: normal; }
.sg.done i { width: 100%; background: var(--plat); box-shadow: none; }
.sg span { font: 500 8.5px var(--mono); color: var(--faint); transition: color .2s; }
.sg.on span { color: var(--ink); }
@keyframes segfill { from { width: 0; } to { width: 100%; } }
.playbtn { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-3); border-radius: 50%; background: none; transition: border-color .2s; }
.playbtn:hover { border-color: var(--plat); }
.playbtn svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.playbtn .i-play { display: none; fill: var(--ink); stroke: none; }
.playbtn[aria-pressed="false"] .i-pause { display: none; }
.playbtn[aria-pressed="false"] .i-play { display: block; }
.textbtn { border: 0; background: none; padding: 0; font-size: 12.5px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); transition: text-decoration-color .2s; }
.textbtn:hover { text-decoration-color: currentColor; }

.method { margin-top: auto; padding-top: 16px; font-size: 12px; color: var(--ink-2); }
.method summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.method summary::-webkit-details-marker { display: none; }
.method summary::before { content: '+'; font-family: var(--mono); width: 16px; height: 16px; border: 1px solid var(--line-3); border-radius: 50%; display: grid; place-items: center; font-size: 10px; transition: transform .3s var(--ease); }
.method[open] summary::before { transform: rotate(45deg); }
.method > div { padding-top: 10px; line-height: 1.55; color: var(--muted); }
.method strong { color: var(--ink); font-weight: 600; }

input[type=range] { -webkit-appearance: none; appearance: none; height: 22px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--plat) var(--fill, 50%), var(--line-3) var(--fill, 50%)); border-radius: 2px; }
input[type=range]::-moz-range-track { height: 2px; background: var(--line-3); }
input[type=range]::-moz-range-progress { height: 2px; background: var(--plat); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(255,255,255,.1), var(--glow); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 0; }

/* ---------- Sektionen ---------- */
.sec { position: relative; padding-block: 80px; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec--alt { background: var(--bg-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: end; margin-bottom: 36px; }
.sec-head .h2 { margin-top: 18px; }
.sec-head > p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Face Card ---------- */
.stage { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 48px; align-items: start; }
.fc-wrap { perspective: 1100px; position: sticky; top: 110px; }
.fc {
  --rx: 0deg; --ry: 0deg; position: relative; border-radius: 16px; padding: 22px 22px 18px; color: var(--ink);
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(160,180,235,.16), transparent 60%),
    linear-gradient(160deg, #141925 0%, #0b0e15 55%, #10141e 100%);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.05);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--ease); overflow: hidden; isolation: isolate;
}
.fc.tilting { transition: transform .08s linear; }
/* Chromkante */
.fc::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; z-index: 3; pointer-events: none;
  background: conic-gradient(from 200deg at var(--mx) var(--my), #fff, #6b7389, #e8ecf5, #545b70, #fff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .7; }
/* Hologramm-Folie: folgt dem Zeiger */
.fc-foil { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: color-dodge; opacity: .3; transition: opacity .5s var(--ease);
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.34), transparent 38%),
    conic-gradient(from 90deg at var(--mx) var(--my), rgba(150,180,255,.28), rgba(255,190,235,.22), rgba(170,255,225,.22), rgba(255,235,170,.2), rgba(150,180,255,.28)),
    repeating-linear-gradient(118deg, rgba(255,255,255,.05) 0 1px, transparent 1px 5px);
  background-blend-mode: normal, overlay, normal; }
.fc.tilting .fc-foil { opacity: .62; }
@media (hover: none) { .fc-foil { opacity: .45; animation: foil 9s ease-in-out infinite alternate; } }
@keyframes foil { 0% { --mx: 15%; --my: 10%; } 50% { --mx: 85%; --my: 45%; } 100% { --mx: 40%; --my: 90%; } }
.fc > *:not(.fc-foil) { position: relative; z-index: 1; }
.fc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fc-brand { display: flex; align-items: center; gap: 8px; font-stretch: 125%; font-weight: 700; font-size: 11px; letter-spacing: .22em; }
.fc-brand img { width: 20px; height: 20px; }
.fc-hero { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: end; margin-top: 18px; }
.fc-ovr { font-stretch: 62%; font-weight: 800; font-size: 76px; line-height: .8; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fc-ovr-l { font: 500 9.5px var(--mono); letter-spacing: .2em; color: var(--muted); margin-top: 10px; }
.fc-face { justify-self: end; width: 100px; aspect-ratio: 1; margin-bottom: -6px; opacity: .92; filter: drop-shadow(0 0 10px rgba(200,215,255,.25)); }
.fc-pot { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: rgba(255,255,255,.02); }
.fc-pot .label-mono { font-size: 9.5px; }
.fc-pot b { margin-left: auto; font-stretch: 70%; font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; }
.fc-pot svg { width: 14px; height: 14px; }
.fc-rows { margin-top: 14px; border-top: 1px solid var(--line-2); }
.fc-row {
  width: 100%; display: grid; grid-template-columns: 22px minmax(0, 1fr) 72px 40px; gap: 10px; align-items: center;
  padding: 11px 6px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; border-radius: 6px;
  transition: background-color .2s;
}
.fc-row:hover { background: rgba(255,255,255,.035); }
.fc-row[aria-pressed="true"] { background: rgba(220,226,238,.08); box-shadow: inset 0 0 0 1px rgba(220,226,238,.16); }
.fc-row[aria-pressed="true"] .code { color: #fff; }
.fc-row .code { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in oklab, var(--pc, #545c72) 28%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--pc, #545c72) 70%, transparent); font: 600 9.5px var(--mono); color: #fff; }
.fc-row .nm { font-size: 14.5px; font-weight: 600; }
.fc-row .nm small { display: block; font-size: 10.5px; font-weight: 400; color: var(--muted); margin-top: 1px; }
.fc-row .bar { height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.fc-row .bar i { display: block; height: 100%; background: linear-gradient(90deg, color-mix(in oklab, var(--pc, #8f98ae) 70%, transparent), var(--pl, #fff)); border-radius: 3px; transform-origin: left; animation: grow 1.1s var(--ease) backwards; }
@keyframes grow { from { transform: scaleX(0); } }
.fc-row .sc { font-stretch: 70%; font-weight: 800; font-size: 20px; text-align: right; font-variant-numeric: tabular-nums; }
.fc-bot { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font: 500 9px var(--mono); letter-spacing: .12em; color: var(--faint); text-transform: uppercase; }
.fc-hint { margin-top: 14px; text-align: center; font: 500 9.5px var(--mono); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.on-touch { display: none; }
@media (hover: none) { .on-hover { display: none; } .on-touch { display: inline; } }

/* Detailpanel */
.pd { border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); min-width: 0; }
.pd-head { display: flex; justify-content: space-between; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.pd-body { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.pd-vis { position: relative; border-right: 1px solid var(--line); min-height: 320px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 20px 20px; }
.pd-vis::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 45%, var(--surface) 100%); pointer-events: none; }
.pd-vis svg { position: relative; z-index: 1; width: 100%; max-width: 290px; height: auto; }
.pd-data { padding: 22px 22px 20px; min-width: 0; display: flex; flex-direction: column; }
.pd-title { font-stretch: 110%; font-weight: 700; font-size: 26px; letter-spacing: -.02em; }
.pd-score { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 14px; }
.pd-score .odo { font-stretch: 65%; font-weight: 800; font-size: 52px; line-height: 1; letter-spacing: -.02em; }
.pd-score .of { font: 500 14px var(--mono); color: var(--muted); }
.pd-score .chip { margin-left: auto; align-self: center; flex: 0 1 auto; min-width: 0; white-space: normal; text-align: center; border-radius: 11px; }
/* Ziffern und „/ 10“ nie stauchen – sonst schneidet der Zählstreifen die Zahl ab */
.pd-score .odo, .pd-score .of { flex: none; white-space: nowrap; }
.kv { border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.kv span { color: var(--muted); font-size: 12.5px; }
.kv strong { font-weight: 600; color: var(--ink); }
.pd-note { margin: 14px 0 10px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.pd-data .link { align-self: flex-start; margin-top: 12px; font-size: 13.5px; }

/* Odometer: jede Ziffer ist ein senkrechter Streifen */
.odo { display: inline-flex; overflow: hidden; height: 1em; }
.odo .d { display: inline-block; height: 1em; overflow: hidden; }
.odo .s { display: flex; flex-direction: column; transition: transform .8s var(--spring); }
.odo .s span { display: block; height: 1em; line-height: 1; }

.tail { display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; align-items: center; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.tail > div strong { display: block; font-size: 13.5px; }
.tail > div span { font-size: 13px; color: var(--muted); }
.tail-actions { display: flex; align-items: center; gap: 22px; }

/* ---------- Plan-Simulation ---------- */
.sim-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.sim { margin: 0; border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); overflow: hidden; }
.sim .pd-head { border-bottom-color: var(--line); }
.sim-wk { color: var(--ink); font-variant-numeric: tabular-nums; }
.sim-stage { position: relative; aspect-ratio: 1; max-width: 100%; background: #0a0c12; overflow: hidden; }
.sim-video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; background: #0a0c12; transition: opacity .35s var(--ease); }
.sim-stage.fading .sim-video { opacity: .05; }
.sim-tag { position: absolute; top: 12px; right: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(6,7,11,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font: 500 9px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #e8ecf5; }
.sim-over { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: baseline; gap: 10px; padding: 48px 18px 14px; background: linear-gradient(to bottom, transparent, rgba(6,7,11,.72)); pointer-events: none; }
.sim-over .label-mono { color: #d9dfeb; }
.sim-over b { font: 400 34px/1 var(--mono); font-stretch: 88%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(0,0,0,.5); transition: color .4s; }
.sim-ctrl { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px; border-top: 1px solid var(--line); }
.sim-track { flex: 1; min-width: 0; }
.sim-track input[type=range] { display: block; width: 100%; margin: 0; }
.sim-ticks { position: relative; height: 13px; }
.sim-ticks span { position: absolute; top: 0; transform: translateX(-50%); font: 500 8.5px/1 var(--mono); color: var(--faint); font-variant-numeric: tabular-nums; }
.sim-copy .h2 { margin: 18px 0 14px; }
.sim-copy > p { color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 44ch; }
.sim-steps { list-style: none; margin: 26px 0 22px; padding: 0; border-top: 1px solid var(--line); }
.sim-step { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 8px 16px; padding: 12px 0 11px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); transition: color .3s; }
.sim-sw { font: 500 9.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.sim-bar { grid-column: 1 / -1; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.sim-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--plat); }
.sim-step.on { color: var(--ink); }
.sim-step.on .sim-bar i { background: #fff; box-shadow: var(--glow); }
.sim-step.done { color: var(--ink-2); }
.sim-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: 20px; font-size: 13.5px; color: var(--muted); }
.sim-sum b { font: 400 24px/1 var(--mono); font-stretch: 88%; letter-spacing: -.03em; }
.sim-sum i { font-style: normal; color: var(--faint); }
.sim-sum small { width: 100%; font-size: 11.5px; color: var(--faint); }
.sim-copy > .link { display: inline-block; font-size: 13.5px; }

/* ---------- Plan ---------- */
.plan-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-bottom: 40px; }
.plan-head .h2 { margin: 18px 0 14px; }
.plan-head p { color: var(--ink-2); max-width: 52ch; }
.plan-sel { display: grid; gap: 8px; min-width: 300px; }
.plan-sel button {
  display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 6px;
  background: none; color: var(--ink-2); font-weight: 600; font-size: 14.5px; transition: border-color .2s, background-color .2s, color .2s;
}
.plan-sel button span { font: 500 9.5px var(--mono); letter-spacing: .12em; color: var(--muted); }
.plan-sel button:hover { border-color: var(--line-3); color: var(--ink); }
.plan-sel button[aria-pressed="true"] { border-color: var(--plat); background: rgba(220,226,238,.06); color: #fff; }
.chain { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.chain::before { content: ''; position: absolute; top: 19px; left: 19px; right: 33%; height: 1px; background: linear-gradient(90deg, var(--plat), var(--line-3)); transform-origin: left; animation: grow 1s var(--ease) backwards; }
.node { position: relative; display: flex; flex-direction: column; padding: 0 28px 0 0; min-width: 0; }
.node-dot { position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-3); background: var(--bg-2); display: grid; place-items: center; font: 600 11px var(--mono); color: var(--ink-2); margin-bottom: 22px; }
.node:first-child .node-dot { border-color: var(--plat); color: #fff; }
.node .label-mono { margin-bottom: 10px; }
.node .h3 { margin-bottom: 10px; }
.node p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin-bottom: 18px; }
.node > .link { margin-top: auto; align-self: flex-start; font-size: 13.5px; }
.mini { margin: 0 0 20px; border-top: 1px solid var(--line); max-width: 300px; }
.mini > div { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px solid var(--line); font: 400 10.5px/1.3 var(--mono); letter-spacing: .02em; }
.mini span { color: var(--muted); }
.mini b { font-weight: 500; color: var(--ink-2); text-align: right; }
.mini b.st-on { color: var(--ok); }
.node--out .mini { max-width: none; }
@media (min-width: 961px) { .node:not(.node--out) p { min-height: 3.2em; } }
.kv strong .mono { font-weight: 500; font-size: 14px; color: #fff; }
.node--out { padding: 22px 22px 22px; margin-top: -22px; border: 1px solid var(--line-2); border-radius: 6px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.node--out .node-dot { margin-top: 0; }
.node--out.muted-out { background: var(--surface); }
.node--out .btn { align-self: flex-start; margin-top: auto; }
.honest { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 10px; border: 1px dashed var(--line-3); border-radius: 6px; font: 500 10px/1.4 var(--mono); letter-spacing: .06em; color: var(--ink-2); text-transform: uppercase; }
.plan-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.plan-foot strong { color: var(--ink); font-weight: 600; }

/* ---------- Abschluss ---------- */
.finish { position: relative; overflow: hidden; padding-block: 130px; text-align: center; border-top: 1px solid var(--line); }
.finish-art { position: absolute; left: 50%; top: 50%; width: min(760px, 120vw); transform: translate(-50%, -50%); opacity: .16; pointer-events: none; }
.finish .kicker { justify-content: center; }
.finish .h2 { font-size: clamp(30px, 3.6vw, 50px); margin: 20px auto 18px; max-width: 14ch; }
.finish p { color: var(--ink-2); margin: 0 auto 36px; max-width: 46ch; }
.finish .cta-links { justify-content: center; margin-top: 18px; }
.finish-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 60px; font-size: 13px; color: var(--muted); }

/* ---------- Fußzeile ---------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 32px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot p { font-size: 13px; color: var(--muted); max-width: 32ch; margin-top: 16px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.foot-col strong { font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.foot-col a:hover { color: #fff; }
.foot-bot { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.badge { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-3); border-radius: 999px; background: rgba(9,11,17,.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 9.5px var(--mono); letter-spacing: .14em; color: var(--ink-2); }

/* ---------- Unterseiten ---------- */
.phero { position: relative; overflow: hidden; padding-block: 56px 44px; border-bottom: 1px solid var(--line); }
.phero::before { content: ''; position: absolute; inset: -40% -10% auto 45%; height: 520px; background: radial-gradient(ellipse at center, rgba(150,172,230,.10), transparent 65%); pointer-events: none; }
.phero .display { font-size: clamp(30px, 3.4vw, 46px); margin: 16px 0 16px; max-width: 20ch; }
.phero .lead { max-width: 58ch; }
.phero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: end; }
/* Kleines Datenblatt im Seitenkopf */
.pmeta { position: relative; margin: 0 0 6px; min-width: 260px; border-top: 1px solid var(--line-3); font: 400 10.5px/1.35 var(--mono); }
.pmeta::before { content: ''; position: absolute; left: 0; top: -1px; width: 28px; height: 1px; background: var(--plat); box-shadow: var(--glow); }
.pmeta > div { display: flex; justify-content: space-between; align-items: baseline; gap: 22px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.pmeta dt { color: var(--muted); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.pmeta dd { margin: 0; min-width: 0; color: var(--ink-2); text-align: right; overflow-wrap: anywhere; }
.pmeta dd .v { color: #fff; }
.phero-tick { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 12px); opacity: .7; }
.main { padding-block: 64px 110px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: #fff; }
.panel { position: relative; border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); padding: 28px; min-width: 0; }
.panel > .label-mono { display: block; margin-bottom: 14px; }
.panel .h3 { margin-bottom: 10px; }
.panel p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.panel p + .link, .panel p + .btn, .panel .h3 + .link { margin-top: 16px; }
.panel > .link, .panel > .btn { display: inline-flex; margin-top: 18px; font-size: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-2-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.sp { margin-top: 40px; }
.divtitle { font-stretch: 110%; font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; margin: 72px 0 22px; }

.dia { position: relative; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; display: grid; place-items: center; min-height: 300px; padding: 20px;
  background: radial-gradient(ellipse at 50% 42%, rgba(120,140,200,.10), transparent 70%), linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 22px 22px; background-color: var(--surface); }
.dia::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 50%, var(--surface) 100%); pointer-events: none; }
.dia svg { position: relative; z-index: 1; width: 100%; max-width: 260px; height: auto; }
.dia-cap { position: absolute; left: 12px; bottom: 10px; z-index: 2; padding: 3px 6px; border-radius: 3px; background: var(--surface); }
.dia-corners { position: absolute; inset: 14px; z-index: 2; pointer-events: none;
  background: linear-gradient(var(--line-3), var(--line-3)) 0 0 / 14px 1px, linear-gradient(var(--line-3), var(--line-3)) 0 0 / 1px 14px,
    linear-gradient(var(--line-3), var(--line-3)) 100% 0 / 14px 1px, linear-gradient(var(--line-3), var(--line-3)) 100% 0 / 1px 14px,
    linear-gradient(var(--line-3), var(--line-3)) 0 100% / 14px 1px, linear-gradient(var(--line-3), var(--line-3)) 0 100% / 1px 14px,
    linear-gradient(var(--line-3), var(--line-3)) 100% 100% / 14px 1px, linear-gradient(var(--line-3), var(--line-3)) 100% 100% / 1px 14px;
  background-repeat: no-repeat; }

.ledger { border-top: 1px solid var(--line-2); }
.ledger > * { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ledger .idx { font: 500 11px var(--mono); color: var(--muted); padding-top: 4px; }
.ledger h3 { font-size: 19px; font-weight: 640; letter-spacing: -.01em; margin-bottom: 6px; }
.ledger p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; max-width: 64ch; }
.ledger .val { font: 400 20px var(--mono); letter-spacing: -.03em; white-space: nowrap; }
.ledger .link { font-size: 13.5px; }
/* Folgt aus dem Befund: Pfeil statt Randleiste */
.ctx { position: relative; margin-top: 14px; padding: 12px 16px 12px 40px; border: 1px solid var(--line-2); border-radius: 6px; background: rgba(255,255,255,.018); font-size: 13.5px; color: var(--ink-2); }
.ctx::before { content: '↳'; position: absolute; left: 15px; top: 11px; font: 500 14px/1.4 var(--mono); color: var(--muted); }
.ctx strong { display: block; color: var(--ink); margin-bottom: 4px; font-weight: 600; }

.faq { border-top: 1px solid var(--line-2); }
.faq .method { margin: 0; padding: 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.faq .method summary { display: flex; align-items: baseline; gap: 16px; width: 100%; padding: 20px 0; font-size: 16.5px; color: var(--ink); }
.faq .method summary::before { order: 3; margin-left: auto; align-self: center; flex: none; }
.faq .method summary:hover { color: #fff; }
.faq .method > div { padding: 0 40px 22px 0; font-size: 14.5px; line-height: 1.65; max-width: 62ch; }

.rows { border-top: 1px solid var(--line-2); }
.rows > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr) auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rows strong { font-size: 18px; font-weight: 640; }
.rows p { font-size: 14px; color: var(--ink-2); }
.rows .link { font-size: 13.5px; }

.kvline { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kvline span { color: var(--ink-2); }
.kvline strong { font-weight: 600; }
.kvline .ok { color: var(--ok); }
.kvline .warn { color: var(--warn); }
.checks { border-top: 1px solid var(--line); margin: 18px 0; }

.note { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 6px; background: rgba(255,255,255,.015); font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.note::before { content: 'i'; flex: none; width: 18px; height: 18px; border: 1px solid var(--line-3); border-radius: 50%; display: grid; place-items: center; font: 600 10px var(--mono); color: var(--ink); margin-top: 1px; }

.score-xl { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 6px; }
.score-xl b { font-stretch: 65%; font-weight: 800; font-size: 64px; line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.score-xl span { font: 500 15px var(--mono); color: var(--muted); }
.mval { font: 400 48px/1 var(--mono); letter-spacing: -.06em; margin: 16px 0 8px; }

.steplist { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line-2); counter-reset: s; }
.steplist li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steplist .n { font: 500 11px var(--mono); color: var(--muted); padding-top: 3px; }
.steplist strong { display: block; font-size: 15.5px; font-weight: 640; }
.steplist p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }

.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line-2); margin-bottom: 36px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs button { position: relative; flex: none; border: 0; background: none; padding: 14px 0; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s; }
.tabs a:hover, .tabs button:hover { color: var(--ink); }
.tabs .on { color: #fff; }
.tabs .on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: #fff; box-shadow: var(--glow); }

.paybox { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; margin-top: 64px; padding: 30px; border-radius: 10px; overflow: hidden;
  background: radial-gradient(90% 140% at 100% 0%, rgba(160,180,235,.14), transparent 60%), linear-gradient(135deg, var(--surface-2), var(--surface)); }
.paybox::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: var(--chrome-edge); opacity: .6;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.paybox .h3 { font-size: 23px; margin: 10px 0 8px; }
.paybox p { color: var(--ink-2); font-size: 14px; }

/* Preise */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.price { position: relative; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); overflow: hidden; }
.price.feat { border-color: transparent; background: radial-gradient(90% 70% at 90% 0%, rgba(160,180,235,.16), transparent 60%), linear-gradient(160deg, #141925, #0b0e15); }
.price.feat::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: var(--chrome-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.price .h3 { margin: 12px 0 0; }
.price-n { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 22px; }
.price-n b { font-stretch: 65%; font-weight: 800; font-size: 66px; line-height: .9; font-variant-numeric: tabular-nums; }
.price-n small { font-size: 13px; color: var(--muted); }
.price ul { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); flex: 1; }
.price li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.price li::before { content: ''; position: absolute; left: 2px; top: 18px; width: 7px; height: 4px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.price .btn { align-self: flex-start; }

/* Formulare */
.field-group { margin: 16px 0; }
.lbl { display: block; margin-bottom: 8px; font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg-2); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field::placeholder { color: var(--faint); }
.field:hover { border-color: var(--line-3); }
.field:focus { outline: none; border-color: var(--plat); box-shadow: 0 0 0 4px rgba(220,226,238,.08); }
select.field { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.hint { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.or { display: flex; align-items: center; gap: 14px; margin: 16px 0; font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0; font-size: 13.5px; color: var(--ink-2); }
input[type=checkbox] { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--line-3); border-radius: 5px; background: var(--bg-2); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
input[type=checkbox]::after { content: ''; width: 9px; height: 5px; border-left: 2px solid #07080c; border-bottom: 2px solid #07080c; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .25s var(--spring); }
input[type=checkbox]:checked { background: var(--plat); border-color: var(--plat); }
input[type=checkbox]:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }

/* Anmeldung */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 102px); }
.auth-side { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 56px; border-right: 1px solid var(--line); background: radial-gradient(ellipse at 50% 35%, rgba(130,152,215,.14), transparent 65%), var(--bg-2); }
.auth-side img { position: absolute; left: 50%; top: 42%; width: min(560px, 90%); transform: translate(-50%, -50%); }
.auth-side-copy { position: relative; max-width: 380px; }
.auth-side-copy .h2 { font-size: 30px; margin: 16px 0 10px; }
.auth-side-copy p { color: var(--ink-2); font-size: 15px; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 56px 28px; }
.auth-in { width: 100%; max-width: 400px; }
.auth-in .display { font-size: 40px; margin: 16px 0 12px; }
.auth-in .btn--google { width: 100%; margin: 26px 0 0; }
.auth-in .btn--full { width: 100%; }
.auth-in .fine { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* Ablauf */
.flow { max-width: 1000px; margin: 0 auto; padding: 0 28px 110px; }
.flow-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 48px 0 32px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.flow-top .display { font-size: clamp(30px, 3.4vw, 44px); margin-top: 14px; }
.prog { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.prog-bars { display: flex; gap: 4px; }
.prog-bars i { width: 30px; height: 3px; border-radius: 3px; background: var(--line-3); }
.prog-bars i.on { background: var(--plat); box-shadow: var(--glow); }
.flow .lead { margin-bottom: 28px; }
.flow-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.choice { position: relative; display: flex; flex-direction: column; text-align: left; padding: 26px; min-height: 250px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); transition: border-color .25s, background-color .25s, transform .25s var(--ease); }
.choice:hover { border-color: var(--line-3); transform: translateY(-2px); }
.choice[aria-pressed="true"] { border-color: var(--plat); background: linear-gradient(180deg, rgba(220,226,238,.07), var(--surface)); box-shadow: 0 0 0 4px rgba(220,226,238,.05); }
.choice-ic { width: 64px; height: 64px; margin-bottom: 22px; }
.choice-ic .fl { fill: none; stroke: #e9eefb; stroke-width: 1.4; stroke-linecap: round; }
.choice-ic .ff { fill: none; stroke: #6f7890; stroke-width: 1; }
.choice-t { display: flex; align-items: center; gap: 12px; font-stretch: 105%; font-size: 21px; font-weight: 680; }
.radio { width: 20px; height: 20px; border: 1px solid var(--line-3); border-radius: 50%; display: grid; place-items: center; }
.radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .3s var(--spring); box-shadow: var(--glow); }
.choice[aria-pressed="true"] .radio { border-color: var(--plat); }
.choice[aria-pressed="true"] .radio::after { transform: scale(1); }
.choice p { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.choice .chip { margin-top: auto; align-self: flex-start; }
.photo-box { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); }
.photo-box .dia { min-height: 220px; }
.photo-box .dia svg { max-width: 180px; }
.photo-box .chip { align-self: flex-start; }

/* Wissen & Artikel */
.search { position: relative; max-width: 520px; }
.search .field { padding-left: 44px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); stroke: var(--muted); fill: none; stroke-width: 1.6; }
.kl { border-top: 1px solid var(--line-2); }
.kl > div { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.kl small { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kl strong { font-size: 17px; font-weight: 620; }
.kl .muted { font-size: 13px; }
.article { max-width: 720px; }
.article > p { font-size: 17.5px; line-height: 1.8; color: var(--ink-2); margin-bottom: 22px; }
.article h2 { font-stretch: 108%; font-size: 28px; letter-spacing: -.02em; margin: 56px 0 18px; }
.article .panel { margin: 32px 0; }
.src { margin-top: 48px; padding: 18px 20px; border: 1px dashed var(--line-3); border-radius: 6px; font-size: 13px; color: var(--muted); }

.routine { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.routine > div { flex: 1; }
.routine strong { font-size: 16.5px; font-weight: 640; }
.routine small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.tag { display: inline-flex; margin-top: 12px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-3); font: 500 9.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.tag.on { border-color: var(--plat); color: #fff; }

.ctable { width: 100%; border-collapse: collapse; margin-top: 36px; }
.ctable th, .ctable td { text-align: left; padding: 15px 14px; border-bottom: 1px solid var(--line); }
.ctable th { font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line-2); }
.ctable td { font-size: 14.5px; color: var(--ink-2); }
.ctable td:first-child { color: var(--ink); font-weight: 600; }
.ctable td.n { font: 400 16px var(--mono); color: var(--ink); }
.ctable .delta { font: 500 12px var(--mono); }
.ctable .up { color: var(--s-good); }
.tw { overflow-x: auto; }

/* Dialog & Toast */
.modal-bg { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(4,5,8,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .25s var(--ease); }
.modal { width: min(100%, 480px); padding: 30px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); box-shadow: 0 40px 100px rgba(0,0,0,.7); animation: rise .35s var(--ease); }
.modal .h3 { font-size: 24px; margin-bottom: 8px; }
.modal p { color: var(--ink-2); font-size: 14px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 110; transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; background: var(--plat); color: #07080c; font-size: 13.5px; font-weight: 600; box-shadow: 0 20px 50px rgba(0,0,0,.5); animation: rise .35s var(--spring); white-space: nowrap; }
.hidden { display: none !important; }


.ds-short { display: none; }

/* ---------- Zahlenband ---------- */
.nums { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.nums-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nums-grid > div { display: flex; flex-direction: column; gap: 4px; padding: 30px 24px 28px; border-right: 1px solid var(--line); }
.nums-grid > div:first-child { padding-left: 0; }
.nums-grid > div:last-child { border-right: 0; }
.nums b { font-stretch: 62%; font-weight: 800; font-size: 46px; line-height: .95; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.nums b em { font-style: normal; font-stretch: 100%; font-weight: 300; font-size: .5em; color: var(--muted); margin: 0 .18em; vertical-align: .32em; }
.nums span { font-weight: 600; font-size: 15px; margin-top: 4px; }
.nums small { font: 400 10.5px/1.5 var(--mono); color: var(--muted); }

/* ---------- Pillar-Zusammensetzung ---------- */
.comp { border-top: 1px solid var(--line); margin-bottom: 10px; }
.comp-row { display: grid; grid-template-columns: minmax(0, 1fr) 70px 34px; gap: 12px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); }
.comp-n { font-size: 13px; font-weight: 600; min-width: 0; }
.comp-n small { display: block; font: 400 9.5px/1.4 var(--mono); color: var(--muted); letter-spacing: .02em; }
.comp-bar { height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.comp-bar i { display: block; height: 100%; background: linear-gradient(90deg, color-mix(in oklab, var(--pc, #8f98ae) 70%, transparent), var(--pl, #fff)); transform-origin: left; animation: grow .9s var(--ease) backwards; }
.comp-row b { font-stretch: 70%; font-weight: 800; font-size: 17px; text-align: right; font-variant-numeric: tabular-nums; }
.comp-row.derived { opacity: .75; }
.comp-row.derived .comp-bar i { background: repeating-linear-gradient(90deg, #aab4ca 0 3px, transparent 3px 5px); }
.exs { margin: 4px 0 10px; }
.exs .label-mono { display: block; margin-bottom: 4px; }
.exs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.exs small { display: block; font: 400 9.5px var(--mono); color: var(--muted); }
.exs b { font: 500 13px var(--mono); white-space: nowrap; }
.formula { margin-top: 8px; }
.formula code { display: block; margin-top: 6px; padding: 9px 11px; border: 1px solid var(--line-2); border-radius: 5px; background: var(--bg-2); font: 400 11px/1.55 var(--mono); color: var(--ink-2); overflow-x: auto; }
.kvline .nt { color: var(--ink-2); }

/* ---------- Gemeinsame kleine Bausteine ---------- */
.sc { font-variant-numeric: tabular-nums; }
.up { color: var(--s-good); font-weight: 600; }
.lock-ic { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; vertical-align: -2px; }
.chev { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.xbtn { width: 26px; height: 26px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: none; font-size: 15px; line-height: 1; color: var(--ink-2); }
.xbtn:hover { color: #fff; border-color: var(--line-3); }
.ph1 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.ctable.mt { margin-top: 12px; }
.ctable tr.tot td { color: #fff; border-top: 1px solid var(--line-3); }
.muted-row { opacity: .8; }

/* ---------- DNA-Strang in Analysen, Wissen und Plan (gleiche Stelle, oben rechts) ---------- */
main.has-dna { position: relative; }
.dna { position: absolute; top: 0; right: 0; width: min(880px, 66vw); aspect-ratio: 880 / 360; pointer-events: none; z-index: 0; opacity: .7;
  -webkit-mask-image: radial-gradient(120% 110% at 100% 0%, #000 38%, transparent 78%); mask-image: radial-gradient(120% 110% at 100% 0%, #000 38%, transparent 78%); }
.dna svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 7px rgba(31, 184, 212, .45)); }
main.has-dna > :not(.dna) { position: relative; z-index: 1; }
/* Flächen oben lassen den Strang gedämpft durchscheinen */
main.has-dna { --surface: rgba(13, 16, 23, .76); --bg-2: rgba(9, 11, 17, .62); }
main.has-dna :is(.pcard, .ocard, .card, .search, .ana-btn) { -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15); }
main.has-dna .side { background: #090b11; }
/* Leicht reaktiv: nahe am Strang dreht er sich langsam und leuchtet etwas heller (Steuerung in core.js).
   Auf den ersten beiden Analyse-Schritten läuft die Bewegung automatisch und reagiert nicht auf den Zeiger. */
.dna { transition: opacity .7s var(--ease); }
.dna svg { transition: filter .7s var(--ease); }
.dna-helix { animation: dnaTwist 7s linear infinite; animation-delay: var(--dna-t, 0s); animation-play-state: paused; }
.dna.is-live .dna-helix, main.has-dna:has(> .wf-root) .dna-helix { animation-play-state: running; }
.dna.is-live { opacity: .9; }
.dna.is-live svg { filter: drop-shadow(0 0 11px rgba(31, 184, 212, .62)); }
.dna::after { content: ''; position: absolute; inset: 0; background: radial-gradient(200px circle at var(--mx, 60%) var(--my, 30%), rgba(47, 224, 163, .14), transparent 70%); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.dna.is-live::after { opacity: 1; }
main.has-dna:has(> .wf-root) .dna { animation: dnaBreathe 5.5s ease-in-out var(--dna-b, 0s) infinite; }
main.has-dna:has(> .wf-root) .dna .dna-glow { animation: dnaGlow 5.5s ease-in-out var(--dna-b, 0s) infinite; }
@keyframes dnaTwist { from { transform: translateX(0); } to { transform: translateX(-176px); } }
@keyframes dnaBreathe { 0%, 100% { opacity: .62; } 50% { opacity: .86; } }
@keyframes dnaGlow { 0%, 100% { stroke-opacity: .12; } 50% { stroke-opacity: .24; } }
@media (prefers-reduced-motion: reduce) { .dna-helix, main.has-dna:has(> .wf-root) .dna, main.has-dna:has(> .wf-root) .dna .dna-glow { animation: none !important; } }

/* ---------- Analyse: Pillars → Overall → Reiter → Front + Profil → Werte ---------- */
.appx { display: grid; grid-template-columns: 208px minmax(0, 1fr); min-height: calc(100dvh - var(--top, 86px)); background: linear-gradient(90deg, #090b11 207px, var(--line) 207px 208px, transparent 208px); }
.appmain { min-width: 0; }

.side { position: sticky; top: 58px; align-self: start; height: calc(100dvh - var(--top, 86px)); min-height: 0; display: flex; flex-direction: column; gap: 12px; padding: 16px 10px 12px; border-right: 1px solid var(--line); background: var(--bg-2); overflow-y: auto; }
.side-head { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.side-new { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 8px; font-size: 16px; line-height: 1; color: var(--ink-2); transition: border-color .2s, color .2s; }
.side-new:hover { border-color: var(--line-3); color: #fff; }
.side-list { display: flex; flex-direction: column; gap: 4px; }
.side-item { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 8px; border: 1px solid transparent; border-radius: 10px; transition: background-color .2s, border-color .2s; }
.side-item:hover { background: var(--surface); }
.side-item.on { background: var(--surface); border-color: var(--line-2); }
.side-thumb { display: block; width: 30px; height: 38px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); overflow: hidden; }
.side-thumb svg { display: block; width: 100%; height: 100%; }
.side-thumb .art { filter: none; }
.side-txt { display: flex; flex-direction: column; min-width: 0; }
.side-txt strong { font-size: 12.5px; font-weight: 600; }
.side-txt small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-score { font-size: 15px; font-weight: 700; font-stretch: 90%; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; padding-top: 8px; border-top: 1px solid var(--line); }
.side-foot a { padding: 6px; border-radius: 6px; font-size: 12.5px; color: var(--muted); transition: color .2s; }
.side-foot a:hover { color: var(--ink); }

.ax { max-width: 1320px; margin: 0 auto; padding: 22px 30px 48px; }
.ax--overview { max-width: 1240px; }
.pcards, .pwire { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pcard { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 11px 14px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-align: left; transition: border-color .2s, background-color .2s; }
.pcard:hover { border-color: var(--line-3); }
.pcard.on { border-color: color-mix(in oklab, var(--plat) 50%, transparent); background: var(--surface-2); }
.pc-n { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; color: var(--ink-2); }
.pc-nm { display: inline-flex; align-items: center; gap: 8px; }
.bars-ic { display: inline-flex; align-items: stretch; gap: 2px; height: 12px; }
.bars-ic i { width: 2.5px; border-radius: 1px; background: var(--line-3); }
.bars-ic i.on { background: var(--ink); }
.pc-n .chev { color: var(--faint); transition: transform .25s var(--ease), color .2s; }
.pcard:hover .chev, .pcard.on .chev { color: var(--ink-2); transform: translateX(2px); }
.pc-v, .oc-score { display: flex; align-items: baseline; gap: 3px; }
.pc-v .sc { font-size: 22px; font-weight: 700; font-stretch: 88%; line-height: 1; letter-spacing: -.01em; }
.pc-v small, .oc-score small { font-size: 11px; color: var(--faint); }
.pc-lock { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px 0 7px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 11px; color: var(--ink-2); }
.pc-c { font-size: 11px; color: var(--muted); }
/* Verbindungslinien: jede Pillar-Karte läuft in die Overall-Karte */
.pwire { position: relative; height: 30px; }
.pwire i { position: relative; }
.pwire i::before { content: ''; position: absolute; top: 0; height: 15px; border: 0 solid var(--line-3); }
.pwire i:nth-child(1)::before { left: 50%; right: calc(-100% - 21px); border-width: 0 0 1px 1px; border-bottom-left-radius: 10px; }
.pwire i:nth-child(4)::before { left: calc(-100% - 21px); right: 50%; border-width: 0 1px 1px 0; border-bottom-right-radius: 10px; }
.pwire i:nth-child(2)::before, .pwire i:nth-child(3)::before { left: 50%; border-left-width: 1px; }
.pwire::after { content: ''; position: absolute; left: 50%; top: 14px; bottom: 0; width: 1px; margin-left: -.5px; background: var(--line-3); }

.ocard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: clip; }
.oc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 18px 12px; }
.oc-head > .btn { flex: none; white-space: nowrap; }
.oc-score { gap: 10px; }
.oc-score b { font-size: 32px; font-weight: 700; font-stretch: 88%; line-height: 1; letter-spacing: -.01em; }
.oc-score small { margin-left: -6px; }
.oc-l { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; min-width: 0; }
.oc-of { color: var(--faint); }
.oc-t { align-self: center; margin-right: 4px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
/* Übersicht: Overall Score als eigene Zeile, die Zahl ist das Erste, was man sieht */
.oc-head.oc-head--ov { display: block; padding: 0; }
.oc-top { display: flex; align-items: center; gap: 12px; padding: 13px 18px 12px; border-bottom: 1px solid var(--line); }
.oc-top .bars-ic { height: 16px; gap: 2.5px; }
.oc-top .bars-ic i { width: 3px; }
.oc-title { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.oc-top .oc-of { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.oc-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 40px; padding: 18px 18px 20px; border-bottom: 1px solid var(--line); }
.oc-big { display: flex; align-items: baseline; gap: 6px; }
.oc-big b .sc, .oc-big b.muted { display: block; font-size: 66px; font-weight: 720; font-stretch: 86%; line-height: .86; letter-spacing: -.025em; }
.oc-big b .sc { text-shadow: 0 0 28px color-mix(in oklab, currentColor 30%, transparent); }
.oc-big small { font-size: 17px; color: var(--faint); }
.osc { min-width: 0; max-width: 640px; }
.osc-bar { position: relative; height: 10px; }
.osc-tr, .osc-f, .osc-g { position: absolute; top: 2px; height: 6px; border-radius: 3px; }
/* Overall: neutral track and a single fill colour matching the actual score. */
.osc-tr { left: 0; right: 0; background: var(--line-2); opacity: .16; }
.osc-f { left: 0; background: var(--score-color, var(--s-good)); }
.osc-g { background: repeating-linear-gradient(90deg, rgba(220, 226, 238, .55) 0 3px, transparent 3px 6px); }
.osc-n, .osc-p { position: absolute; top: 50%; width: 6px; height: 18px; margin: -9px 0 0 -3px; border-radius: 3px; }
.osc-n { background: #fff; box-shadow: 0 0 0 2px var(--surface), 0 0 14px rgba(255, 255, 255, .55); }
.osc-p { width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 1.5px solid var(--plat); border-radius: 50%; background: var(--surface); }
.osc-ax { position: relative; height: 14px; margin-top: 8px; }
.osc-ax span { position: absolute; top: 0; transform: translateX(-50%); font: 500 9px var(--mono); color: var(--faint); }
.osc-ax span:first-child { transform: none; }
.osc-ax span:last-child { transform: translateX(-100%); }
.osc-c { display: block; margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.oc-hero .oc-pot { height: 38px; padding: 0 12px 0 15px; }
.oc-hero .oc-pot b { font-size: 17px; }
.oc-hero > .btn { justify-self: end; }
.oc-back { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12.5px; color: var(--ink-2); transition: border-color .2s, color .2s; }
.oc-back:hover { border-color: var(--line-3); color: #fff; }
.oc-back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.oc-pot { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 13px; border: 1px solid var(--line-2); border-radius: 999px; transition: border-color .2s; }
.oc-pot:hover { border-color: var(--line-3); }
.oc-pot b { font-size: 15px; font-weight: 700; }
.oc-pot .chev { color: var(--muted); }
.oc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px 12px; border-bottom: 1px solid var(--line); }
.oc-head--ov + .oc-bar { padding-top: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill, .pts-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: none; font-size: 12.5px; color: var(--ink-2); transition: background-color .2s, color .2s, border-color .2s; }
.pill:hover, .pts-btn:hover { border-color: var(--line-3); color: #fff; }
.pill[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 600; }
.pill .lock-ic { width: 12px; height: 12px; opacity: .7; }
.pts-btn { padding: 0 12px; font-size: 12px; color: var(--muted); }
.pts-btn svg { width: 13px; height: 13px; fill: currentColor; }
.pts-btn[aria-pressed="true"] { border-color: var(--plat); color: var(--ink); }

.oc-body { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 27vw, 380px); align-items: start; }
.faces { min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 16px 18px 18px; }
@media (min-width: 961px) {
  /* Detail: die Seite scrollt durch die Werte, die Gesichter bleiben stehen */
  .faces { position: sticky; top: 70px; height: clamp(380px, calc(100dvh - 372px), 560px); }
}
.face { min-height: 0; margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); overflow: hidden; }
.fsvg { flex: 1; min-height: 0; display: block; width: 100%; }
.fsvg .art { transition: opacity .3s; }
.face.idle .art { opacity: .32; }
.face figcaption { display: flex; align-items: baseline; justify-content: space-between; padding: 9px 13px 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.face figcaption b { font-size: 15px; font-weight: 700; }
.fsvg .ms.on .dr { transition-duration: .7s; transition-delay: .05s; }
.fsvg .ms.on .gd { transition-delay: .15s; }
.fsvg .ms.on .tgw, .fsvg .ms.on .m-lab { transition-delay: .55s; }
/* Bildbereiche der Bildnoten: neutral, nur die Wertmarke trägt die Notenfarbe */
.rg { pointer-events: none; animation: rgIn .35s var(--ease); }
@keyframes rgIn { from { opacity: 0; } }
.rg-f { fill: rgba(220, 226, 238, .09); stroke: rgba(220, 226, 238, .75); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.rg-b { fill: none; stroke: rgba(220, 226, 238, .2); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.rg-l { fill: none; stroke: #e9eefb; stroke-width: 1.2; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.rg-p { fill: #fff; }
.rg.derived .rg-f { stroke-dasharray: 1 3; }
.vtag { transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px)) scale(var(--iz, 1)); }
.vtag rect { fill: rgba(9, 11, 17, .92); stroke: var(--line-3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vtag text { fill: #fff; font: 600 9px var(--mono); letter-spacing: .03em; }
.lmd { cursor: pointer; }
.lmd-hit { fill: transparent; }
.lmd-dot { fill: #9fb0cc; transition: fill .2s; }
.lmd:hover .lmd-dot, .lmd.on .lmd-dot { fill: #fff; }
.lmd-ring { fill: none; stroke: #fff; stroke-width: 1.3; vector-effect: non-scaling-stroke; }

/* Werte: laufen mit der Seite, die Gruppenköpfe bleiben unter der Kopfzeile stehen */
.vlist { position: relative; min-height: 100%; padding: 2px 0 18px; border-left: 1px solid var(--line); }
.vgrp { padding: 4px 10px; }
.vg-h { position: sticky; top: 58px; z-index: 1; display: flex; align-items: baseline; justify-content: space-between; padding: 10px 8px 7px; background: #0d1017; font: 500 10px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.vg-h b { font: 700 14px var(--sans); letter-spacing: 0; }
.vrow { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 8px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); text-align: left; transition: background-color .15s; }
.vrow:hover { background: var(--surface-2); }
.vrow.on { background: var(--surface-3); color: #fff; }
.vr-n { min-width: 0; font-size: 12.5px; line-height: 1.35; }
.vr-v { font: 500 11.5px var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vr-v .sc { font: 700 13px var(--sans); }
.vr-x { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 3px; }
.vx-l { font-size: 11px; line-height: 1.4; color: var(--muted); }
.vrow .mband { flex: none; width: 76px; }
.vrow.sm { padding: 6px 8px; }
.vrow.sm .vr-n { font-size: 12px; }
.vcell.on { border-radius: 8px; background: var(--surface-3); }
.vcell.on > .vrow { background: none; }
.vcell > .vr-x { flex-wrap: wrap; padding: 0 8px 10px; }
.corr-dot { display: inline-block; width: 5px; height: 5px; margin-left: 6px; border-radius: 50%; background: var(--plat); vertical-align: 2px; }
.mband { position: relative; display: block; height: 4px; border-radius: 4px; background: var(--line-2); }
.mband i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: color-mix(in oklab, var(--s-good) 50%, transparent); }
.mband b { position: absolute; top: -3px; width: 2px; height: 10px; margin-left: -1px; border-radius: 1px; background: #fff; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.stepper button { width: 28px; height: 26px; border: 0; background: none; font-size: 14px; color: var(--ink-2); }
.stepper button:hover:not(:disabled) { background: var(--surface-2); color: #fff; }
.stepper button:disabled { color: var(--faint); cursor: default; }
.stepper output { min-width: 34px; text-align: center; font: 500 12px var(--mono); }
.geo29 { width: 100%; }
.geo29 summary { cursor: pointer; font-size: 12px; color: var(--ink-2); }
.geo29 > div { max-height: 220px; margin-top: 6px; overflow-y: auto; }
.vreset { margin: 6px 18px 0; font-size: 12px; }
.vnote { margin: 10px 18px 0; font-size: 12px; color: var(--muted); }
.vnote summary, .fixed summary { display: inline-flex; gap: 6px; cursor: pointer; list-style: none; color: var(--muted); }
.vnote summary::-webkit-details-marker, .fixed summary::-webkit-details-marker, .lv-d summary::-webkit-details-marker { display: none; }
.vnote summary::before, .fixed summary::before { content: '+'; font-family: var(--mono); }
.vnote[open] summary::before, .fixed[open] summary::before { content: '−'; }
.vnote summary:hover, .fixed summary:hover { color: var(--ink); }
.vnote p { margin-top: 8px; line-height: 1.55; }
.vnote code { display: block; margin-top: 8px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg-2); font: 400 10.5px/1.6 var(--mono); color: var(--ink-2); white-space: nowrap; overflow-x: auto; }
.lockbox { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 36px 18px; padding: 26px 18px; border: 1px dashed var(--line-2); border-radius: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }
.lockbox .lock-ic { width: 20px; height: 20px; color: var(--ink-2); }
.lockbox b { font-size: 15px; color: var(--ink); }
.lockbox .btn { margin-top: 8px; }
.lmcard { margin: 10px 10px 4px; padding: 12px 12px 8px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); }
.lmc-h { display: flex; align-items: center; justify-content: space-between; }
.lmc-n { display: block; margin-top: 4px; font-size: 14px; }
.lmc-i { margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.lmc-k { display: block; margin: 12px 0 2px; }
.lmcard .vrow { padding-inline: 0; }
.lmc-more { display: block; padding: 4px 0; font-size: 11.5px; color: var(--faint); }

/* Übersicht: klein und ruhig, die Details öffnen sich über die Pillar-Karten */
.ov-body { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 26px; padding: 18px 18px 20px; }
.ov-left { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ov-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.ov-sum > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ov-sum small { font-size: 11.5px; color: var(--muted); }
.ov-sum > b { display: flex; align-items: baseline; gap: 3px; }
.ov-sum > b .sc { font-size: 24px; font-weight: 700; font-stretch: 88%; line-height: 1; }
.ov-sum > b small { font-size: 11px; color: var(--faint); }
.ov-faces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.oface { margin: 0; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); overflow: hidden; }
.oface .fsvg { flex: none; width: 100%; height: auto; aspect-ratio: 420 / 470; }
.oface .art { transition: opacity .3s; }
.oface.idle .art { opacity: .32; }
.oface figcaption { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 9px 12px 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.oface figcaption > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.oface figcaption small { font-size: 10.5px; line-height: 1.35; color: var(--muted); }
.oface figcaption b { font-size: 17px; font-weight: 700; font-stretch: 90%; }
.ov-lm circle { fill: #eef2fb; stroke: #0d1017; stroke-width: 1; }
.ov-right { min-width: 0; }
.ovp { display: flex; flex-direction: column; gap: 14px; }
.ovp--lock .lockbox { margin: 8px 0; }
.ovp-k { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ovp .comp { margin: -6px 0 0; }
.stk { display: flex; gap: 2px; height: 8px; margin: 8px 0 8px; }
.stk i { min-width: 2px; border-radius: 4px; }
.stk-l { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 11.5px; color: var(--ink-2); }
.stk-l span { display: inline-flex; align-items: center; gap: 6px; }
.stk-l i { width: 8px; height: 8px; border-radius: 50%; }
.ovp-top { display: flex; flex-direction: column; gap: 2px; }
.ovp-top .ovp-k { margin-bottom: 4px; }
.ovp-top .vrow { padding-inline: 0; }
.ovp-top .vr-n small { display: block; margin-top: 1px; font-size: 10.5px; color: var(--muted); }
.ovp-go { align-self: flex-start; margin-top: 2px; }

/* ---------- Wissen: zuerst „Für dich“, dann Bereiche, Leitfäden, alle Themen ---------- */
[hidden] { display: none !important; }
.kx, .px { padding-block: 26px 72px; }
.kx-top, .px-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.px-sub { margin-top: 4px; font-size: 13px; color: var(--muted); }
.search { position: relative; width: min(320px, 100%); }
.search svg { position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-linecap: round; pointer-events: none; }
.search .field { min-height: 38px; padding: 8px 14px 8px 36px; border-radius: 999px; font-size: 13.5px; }
/* Bibliothek: Suche, Bereiche, Regale, Einträge, Leseansicht */
.lib-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.lib-bar { display: flex; align-items: center; gap: 10px; }
.search.lib-search { flex: 1; width: auto; }
.lib-search svg { left: 16px; width: 16px; height: 16px; }
.lib-search .field { min-height: 48px; padding: 10px 46px 10px 44px; border-radius: 14px; background: rgba(13, 16, 23, .8); font-size: 14.5px; }
.lib-search kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; min-width: 24px; height: 24px; border: 1px solid var(--line-3); border-radius: 7px; font: 500 11px var(--mono); color: var(--muted); pointer-events: none; }
.lib-search .field:focus ~ kbd { opacity: 0; }
.lib-sort select { height: 48px; padding: 0 38px 0 15px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(13, 16, 23, .8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23868ea4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center / 14px; color: var(--ink); font-size: 13px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.lib-sort select:hover { border-color: var(--line-3); }
.lib-view { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(9, 11, 17, .8); }
.lib-view button { display: grid; place-items: center; width: 40px; height: 38px; border: 0; border-radius: 10px; background: none; color: var(--muted); transition: background-color .2s, color .2s; }
.lib-view button:hover { color: var(--ink); }
.lib-view button[aria-checked="true"] { background: var(--surface-3); color: #fff; box-shadow: inset 0 0 0 1px var(--line-3); }
.lib-view svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.lib-tabs { position: sticky; top: 58px; z-index: 4; display: flex; gap: 4px; margin: 14px 0 26px; padding: 8px 0; border-bottom: 1px solid var(--line); background: rgba(6, 7, 11, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); overflow-x: auto; scrollbar-width: none; }
.lib-tabs::-webkit-scrollbar { display: none; }
.lt { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: none; font-size: 13px; color: var(--ink-2); white-space: nowrap; transition: background-color .2s, color .2s; }
.lt small { font: 500 10px var(--mono); color: var(--faint); }
.lt:hover { background: var(--surface); color: #fff; }
.lt[aria-pressed="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.lt[aria-pressed="true"] small { color: rgba(6, 7, 11, .55); }
.lt.zero:not([aria-pressed="true"]) { opacity: .4; }
.lt-mk { margin-left: auto; }
.lt-mk svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
/* Einmal oben zusammen: was aus deiner Analyse folgt */
.lsum { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; padding: 12px 14px 12px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: linear-gradient(90deg, rgba(18, 22, 31, .92), rgba(13, 16, 23, .55)); }
.lsum-k { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-3); border-radius: 10px; }
.lsum-k .kic { width: 15px; height: 15px; }
.lsum p { flex: 1; min-width: 0; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.lsum b { font-weight: 600; color: var(--ink); }
.lsum-v { white-space: nowrap; }
.lsum-v .sc { font-weight: 700; }
.lsum-v i { margin: 0 3px; font-style: normal; color: var(--faint); }
.lsum-d { color: var(--faint); }
.lsum .btn { flex: none; }
/* Regale: ein Bereich je Reihe, kurze Bereiche teilen sich eine Reihe */
.lshelves { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 38px 16px; }
.lsh { grid-column: span 4; min-width: 0; --cols: 4; }
.lsh[data-n="3"] { grid-column: span 3; --cols: 3; }
.lsh[data-n="2"] { grid-column: span 2; --cols: 2; }
.lsh[data-n="1"] { grid-column: span 1; --cols: 1; }
.lshelves.is-list .lsh { grid-column: 1 / -1; }
.lsh-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.lsh-h h2 { display: flex; align-items: baseline; gap: 9px; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.lsh-h h2 small, .lcol-h h2 small { font: 500 10px var(--mono); color: var(--faint); }
.lsh-all { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.lsh-all:hover { color: #fff; }
.lsh-all .chev { transition: transform .25s var(--ease); }
.lsh-all:hover .chev { transform: translateX(2px); }
.lsh .lgrid { grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
/* Einträge als Karten */
.lgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lc { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 186px; padding: 15px 16px 14px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(170deg, var(--surface-2), var(--surface) 60%); overflow: hidden; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.lc:hover { border-color: var(--line-3); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
.lc:has(.lc-open:focus-visible) { outline: 1.5px solid var(--plat); outline-offset: 2px; }
.lc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; }
.lc-tr { flex: none; display: inline-flex; align-items: center; gap: 10px; }
.lc-cat { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font: 500 9.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kic { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--plat); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.lc-t { margin: 0; font-size: 15.5px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
.lc-open { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.lc-open::after { content: ''; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.lc-open:focus-visible { outline: none; }
.lc-s { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.lc-m { margin-top: auto; display: flex; align-items: center; padding-top: 8px; font: 500 9.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.lc-fy { display: inline-flex; align-items: center; gap: 6px; font: 500 11px var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); white-space: nowrap; }
.lc-fy::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--plat); box-shadow: 0 0 8px rgba(220, 226, 238, .65); }
.lc-wm { position: absolute; right: -14px; bottom: -16px; width: 92px; height: 92px; stroke-width: .6; opacity: .07; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.lc:hover .lc-wm { opacity: .12; transform: rotate(-6deg) scale(1.04); }
.lc.guide { background: linear-gradient(170deg, rgba(24, 29, 41, .95), var(--surface) 65%); }
.lc.soon { opacity: .72; }
mark { padding: 0 1px; border-radius: 3px; background: rgba(220, 226, 238, .22); color: inherit; }
.lc-rd { display: none; align-items: center; gap: 4px; color: var(--muted); }
.lc-rd::before { content: '·'; margin: 0 5px 0 6px; color: var(--faint); }
.lc-rd svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.is-read .lc-rd { display: inline-flex; }
.lc-hit { margin-right: 7px; font: 500 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
/* Merken */
.lmk { position: relative; z-index: 1; flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; margin: -6px -7px -6px 0; border: 0; border-radius: 8px; background: none; color: var(--faint); transition: color .2s, background-color .2s; }
.lmk:hover { color: var(--ink); background: var(--surface-3); }
.lmk svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.lmk.on { color: var(--ink); }
.lmk.on svg { fill: currentColor; }
.lmk.pop svg { animation: mkPop .35s var(--spring); }
@keyframes mkPop { 50% { transform: scale(1.35); } }
.lmk.big { display: inline-flex; gap: 7px; width: auto; height: 36px; margin: 0; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 12.5px; color: var(--ink-2); }
.lmk.big.on { border-color: var(--line-3); color: #fff; }
/* Einträge als Liste */
.lrows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.lr { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) 200px 86px 28px; align-items: center; gap: 14px; padding: 11px 8px 11px 4px; border-bottom: 1px solid var(--line); transition: background-color .15s; }
.lr:hover { background: rgba(255, 255, 255, .025); }
.lr:has(.lc-open:focus-visible) { outline: 1.5px solid var(--plat); outline-offset: -1px; }
.lr-ic { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); }
.lr-rd { position: absolute; right: -5px; bottom: -5px; display: none; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: var(--plat); box-shadow: 0 0 0 2px var(--bg); }
.lr-rd svg { width: 9px; height: 9px; fill: none; stroke: #07080c; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lr.is-read .lr-rd { display: grid; }
.lr-b { min-width: 0; }
.lr-t { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.lr-s { margin-top: 2px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-m { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px; color: var(--ink-2); }
.lr-m small { font: 500 9.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.lr.soon { opacity: .72; }
/* Sammlung: Kopf mit Beschreibung */
.lcol-h { margin-bottom: 20px; }
.lcol-h h2 { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.lcol-h h2 small { align-self: center; }
.lcol-h p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.lcol-ic { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-3); border-radius: 11px; }
.lcol-ic .kic, .lcol-ic svg { width: 18px; height: 18px; }
.lcol-ic > svg:not(.kic) { fill: var(--plat); stroke: none; }
.l-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; padding: 40px 20px; border: 1px dashed var(--line-2); border-radius: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }
.l-empty b { color: var(--ink); font-weight: 600; }
.l-empty svg { width: 13px; height: 13px; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 1.5; }
/* Reagiert: Einträge erscheinen gestaffelt, bei der Suche nur kurz */
.lib-body.anim :is(.lc, .lr) { animation: lcIn .38s var(--ease) both; animation-delay: calc(var(--i, 0) * 22ms); }
.lib-body.anim-q :is(.lc, .lr) { animation: fadeIn .18s ease both; }
@keyframes lcIn { from { opacity: 0; transform: translateY(8px); } }

/* Leseansicht: Blatt von rechts */
html.k-lock { overflow: hidden; }
.ksheet-root { position: fixed; inset: 0; z-index: 95; }
.ksheet-root.closing { pointer-events: none; }
.ks-back { position: absolute; inset: 0; background: rgba(3, 4, 7, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.ks { position: absolute; top: 0; right: 0; bottom: 0; width: min(640px, 100%); display: flex; flex-direction: column; border-left: 1px solid var(--line-2); background: #0b0e14; box-shadow: -30px 0 90px rgba(0, 0, 0, .55); transform: translateX(104%); transition: transform .38s var(--ease); font: 400 15px/1.55 var(--sans); color: var(--ink); }
.ksheet-root.on .ks-back { opacity: 1; }
.ksheet-root.on .ks { transform: none; }
.ks-bar { display: flex; align-items: center; gap: 8px; padding: calc(12px + env(safe-area-inset-top, 0px)) 18px 12px; border-bottom: 1px solid var(--line); }
.ks-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 10px; background: none; color: var(--ink-2); transition: border-color .2s, color .2s; }
.ks-btn:hover:not(:disabled) { border-color: var(--line-3); color: #fff; }
.ks-btn:disabled { opacity: .3; cursor: default; }
.ks-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ks-pos { margin: 0 auto 0 6px; font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ks-in { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 26px; padding: 30px 36px calc(44px + env(safe-area-inset-bottom, 0px)); }
.ks-cat { display: inline-flex; align-items: center; gap: 8px; font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ks-h h2 { margin-top: 14px; font-size: 32px; font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
.ks-h h2:focus { outline: none; }
.ks-lead { margin-top: 12px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.ks-meta { margin-top: 14px; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.ks-sec h3, .ks-you h3 { margin: 0 0 12px; font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ks-sec > p { font-size: 15px; line-height: 1.65; color: var(--ink); }
.ks-tips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; counter-reset: tip; border-top: 1px solid var(--line); }
.ks-tips li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 0 12px 38px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; counter-increment: tip; }
.ks-tips li::before { content: counter(tip, decimal-leading-zero); position: absolute; left: 0; top: 15px; font: 500 10px var(--mono); color: var(--faint); }
.ks-tips b { font-weight: 600; }
.ks-w { font-size: 12.5px; color: var(--muted); }
.ks-art { align-self: flex-start; gap: 8px; }
.ks-you { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.ks-you h3 { margin-bottom: 6px; }
.ks-you p + p { margin-top: 6px; }
.ks-you .link, .ks-you .textbtn { font-size: 13px; }
.ks-rel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ks-mini { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 12px 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-align: left; transition: border-color .2s; }
.ks-mini:hover { border-color: var(--line-3); }
.ks-mini > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ks-mini b { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.ks-mini small { font-size: 11px; color: var(--muted); }
.ks-mini .chev { color: var(--faint); }
.ks-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.ks-stats > div { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; }
.ks-stats > div + div { border-left: 1px solid var(--line); }
.ks-stats b { font-size: 32px; font-weight: 750; font-stretch: 88%; line-height: 1; letter-spacing: -.02em; }
.ks-stats span { margin-top: 4px; font-size: 13px; }
.ks-stats small { font-size: 11px; color: var(--muted); }
.ks-sw { display: flex; gap: 8px; }
.ks-sw i { width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; background: var(--c); filter: saturate(.7) brightness(.9); }
.ks-f { display: flex; align-items: center; gap: 14px; }
.ks-soon { font-size: 13px; color: var(--muted); }

/* ---------- Mein Plan: Analyse → Potenzial → Plan → Umsetzung → gespeicherte Pläne ---------- */
.px [data-plan-in] { display: flex; flex-direction: column; gap: 16px; }
.px-hw, .px-rest { display: contents; }
.px .px-head { margin-bottom: 6px; }
.seg3 { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2); }
.seg3 button { height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font-size: 12.5px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.seg3 button[aria-checked="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.card { min-width: 0; padding: 16px 18px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.card-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.card-h h2 { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.card-m { font-size: 11.5px; color: var(--muted); }
.card-h .t-count { margin-left: auto; font: 500 12px var(--mono); color: var(--ink-2); }
.card-f { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.card-empty { padding: 6px 0; font-size: 12.5px; color: var(--muted); }

/* Analysewahl: Knopf wie ein Verlaufseintrag (Frontbild, Datum, H A F D, Overall), darunter die Liste */
.anasel { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ana-btn, .ana-opt { display: grid; grid-template-columns: 40px auto auto auto 16px; align-items: center; gap: 14px; text-align: left; }
.ana-btn { padding: 7px 12px 7px 7px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); color: var(--ink); transition: border-color .2s, background-color .2s; }
.ana-btn:hover, .anasel.open .ana-btn { border-color: var(--line-3); background: var(--surface-2); }
.ana-thumb { display: block; width: 40px; height: 50px; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.ana-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ana-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ana-t b { font-size: 13.5px; font-weight: 650; white-space: nowrap; }
.ana-t small { font-size: 11px; color: var(--muted); white-space: nowrap; }
.pmini { display: inline-grid; grid-template-columns: repeat(4, auto); gap: 2px 10px; padding-left: 14px; border-left: 1px solid var(--line); }
.pmini > span { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.pmini small { font: 500 9px var(--mono); color: var(--faint); }
.pmini .sc { font-size: 12.5px; font-weight: 700; }
.ana-ov { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; padding-left: 14px; border-left: 1px solid var(--line); }
.ana-ov small { font: 500 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.ana-ov .sc { font-size: 22px; font-weight: 750; font-stretch: 88%; line-height: 1; }
.ana-chev { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.anasel.open .ana-chev { transform: rotate(180deg); }
.ana-pop { position: absolute; top: calc(100% + 6px); right: 0; min-width: 100%; display: flex; flex-direction: column; gap: 2px; padding: 6px; border: 1px solid var(--line-3); border-radius: 14px; background: rgba(13, 16, 23, .97); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); animation: popIn .18s var(--ease); }
.ana-pop:focus { outline: none; }
.ana-pop:focus-visible .ana-opt.is-act { outline: 1.5px solid var(--plat); outline-offset: -1.5px; }
@keyframes popIn { from { opacity: 0; transform: translateY(-4px); } }
.ana-opt { padding: 7px 10px 7px 7px; border-radius: 10px; cursor: pointer; transition: background-color .15s; }
.ana-opt:hover, .ana-opt.is-act { background: var(--surface-3); }
.ana-ck { display: grid; place-items: center; width: 16px; height: 16px; }
.ana-ck svg { width: 13px; height: 13px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.ana-opt[aria-selected="true"] .ana-ck svg { opacity: 1; }

/* 1 · Potenzial */
.pot-top { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; align-items: center; }
.pot-bot { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 34px; align-items: start; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
/* Messinstrument */
.pgauge { position: relative; margin: 0; width: 100%; max-width: 250px; justify-self: center; }
.pgauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.pg-tk { stroke: var(--line-2); stroke-width: 1; }
.pg-tk.mj { stroke: var(--line-3); stroke-width: 1.4; }
.pg-tk.on { stroke: rgba(220, 226, 238, .45); }
.pg-tk.mj.on { stroke: rgba(220, 226, 238, .8); }
.pg-lb { fill: var(--faint); font: 500 8.5px var(--mono); }
.pg-track { fill: none; stroke: var(--line); stroke-width: 11; stroke-linecap: round; }
.pg-now, .pg-gain, .pg-glow { fill: none; stroke-width: 11; stroke-linecap: round; }
.pg-now { stroke-opacity: .5; stroke-dasharray: 1 2; animation: pgDraw 1.1s var(--ease) .1s both; }
.pg-gain { stroke-dasharray: 1 2; animation: pgDraw .6s var(--ease) 1.1s both; }
.pg-glow { stroke-width: 14; opacity: .8; animation: fadeIn .6s var(--ease) 1.3s both; }
.pg-fat { fill: none; stroke: rgba(220, 226, 238, .6); stroke-width: 11; stroke-dasharray: 1.6 2.2; animation: fadeIn .5s var(--ease) 1.6s both; }
.pg-dot { fill: #fff; stroke: var(--surface); stroke-width: 2; filter: drop-shadow(0 0 5px var(--c)); animation: dotIn .45s var(--spring) 1.55s both; }
.pg-halo { transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-out 2s infinite; opacity: 0; }
@keyframes pgDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes dotIn { from { opacity: 0; transform: scale(.2); } }
@keyframes halo { 0% { opacity: .55; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(3.2); } }
.pg-dot { transform-box: fill-box; transform-origin: center; }
.pg-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding-top: 9%; text-align: center; pointer-events: none; }
.pg-c .label-mono { font-size: 9px; }
.pg-v .sc { display: block; font-size: 50px; font-weight: 750; font-stretch: 86%; line-height: .92; letter-spacing: -.02em; text-shadow: 0 0 26px color-mix(in oklab, currentColor 35%, transparent); font-variant-numeric: tabular-nums; }
.pg-sub { display: inline-flex; align-items: baseline; gap: 6px; font-size: 12px; color: var(--muted); }
.pg-sub .sc { font-weight: 700; }
.pg-sub em { padding: 1px 6px; border: 1px solid var(--line-3); border-radius: 999px; font: 600 10.5px var(--mono); font-style: normal; color: var(--ink); }
.pg-fatl { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 2px; font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.pg-fatl .sc { font-weight: 700; }
/* Verlauf */
.pchart { position: relative; min-width: 0; margin: 0; border-radius: 8px; }
.pchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.pchart:focus-visible { outline-offset: 6px; }
.pc-cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 8px; }
.pc-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.pc-ax { fill: var(--faint); font: 500 9.5px var(--mono); }
.pc-band { fill: url(#pcHatch); animation: fadeIn .8s var(--ease) 1s both; }
.pc-fat { fill: none; stroke: rgba(220, 226, 238, .5); stroke-width: 1.2; stroke-dasharray: 3 3; animation: fadeIn .8s var(--ease) 1s both; }
.pc-area { fill: url(#pcArea); animation: fadeIn 1s var(--ease) .5s both; }
.pc-glow { fill: none; stroke: url(#pcLine); stroke-width: 7; stroke-opacity: .45; stroke-linecap: round; stroke-linejoin: round; animation: fadeIn 1s var(--ease) .9s both; }
.pc-line { fill: none; stroke: url(#pcLine); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; animation: pgDraw 1.3s var(--ease) .15s both; }
.pc-ci { fill: var(--surface); stroke: rgba(220, 226, 238, .7); stroke-width: 1.3; animation: fadeIn .4s var(--ease) 1.2s both; }
.pc-dot { stroke: var(--surface); stroke-width: 2.5; }
.pc-end { transform-box: fill-box; transform-origin: center; animation: dotIn .45s var(--spring) 1.35s both; }
.pc-halo { transform-box: fill-box; transform-origin: center; opacity: 0; animation: halo 2.6s ease-out 2s infinite; }
.pchart.still :is(.pc-band, .pc-fat, .pc-area, .pc-glow, .pc-line, .pc-ci, .pc-end) { animation: none; }
.pc-lab { font: 700 13px var(--sans); animation: fadeIn .5s var(--ease) 1.4s both; }
.pc-lab.sm { font-size: 11px; font-weight: 600; }
.pc-x line { stroke: var(--line-3); stroke-width: 1; }
.pc-xs { fill: var(--plat); stroke: var(--surface); stroke-width: 2; }
.pc-xf { fill: var(--surface); stroke: var(--plat); stroke-width: 1.5; }
.pc-hit { fill: transparent; cursor: crosshair; }
.pc-tip { position: absolute; top: 26px; z-index: 2; display: flex; flex-direction: column; gap: 3px; padding: 7px 10px; border: 1px solid var(--line-3); border-radius: 8px; background: rgba(9, 11, 17, .96); font-size: 11.5px; color: var(--ink-2); white-space: nowrap; pointer-events: none; transform: translateX(12px); }
.pc-tip.flip { transform: translateX(calc(-100% - 12px)); }
.pc-tip b { font-size: 11px; font-weight: 600; color: var(--ink); }
.pc-tip span { display: flex; align-items: center; gap: 2px; }
.pc-tip .sc { font-weight: 700; }
.pc-leg, .pr-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 11px; color: var(--muted); }
.lk-line, .lk-hatch, .lk-g, .lk-dot { display: inline-block; margin-right: 6px; vertical-align: middle; }
.lk-line { width: 14px; height: 2.5px; border-radius: 2px; background: linear-gradient(90deg, color-mix(in oklab, var(--s-good) 55%, transparent), var(--s-good)); box-shadow: 0 0 6px color-mix(in oklab, var(--s-good) 50%, transparent); }
.lk-hatch { width: 14px; height: 8px; border-radius: 2px; background: repeating-linear-gradient(135deg, rgba(220, 226, 238, .55) 0 1.5px, transparent 1.5px 4px); }
.lk-g { width: 14px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, color-mix(in oklab, var(--s-good) 30%, transparent), var(--s-good)); }
.lk-dot { width: 10px; height: 10px; border: 2px solid var(--ink-2); border-radius: 50%; }
/* Schienen je Pillar */
.prs { display: flex; flex-direction: column; gap: 6px; }
.pr { display: grid; grid-template-columns: 84px minmax(0, 1fr) 150px; gap: 16px; align-items: center; min-height: 30px; }
.pr-n { font-size: 12.5px; color: var(--ink-2); }
.pr-bar { position: relative; height: 18px; }
.pr-track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line-3) 0 1px, transparent 1px calc(100% / 6)), var(--line); }
.pr-g, .pr-f { position: absolute; top: 50%; height: 8px; margin-top: -4px; transform-origin: left center; animation: prGrow .9s var(--ease) both; }
.pr-g { border-radius: 4px; background: linear-gradient(90deg, color-mix(in oklab, var(--c0) 25%, transparent), var(--c1)); box-shadow: 0 0 14px color-mix(in oklab, var(--c1) 45%, transparent); animation-delay: calc(var(--i) * 90ms + .25s); }
.pr-f { border-radius: 0 4px 4px 0; background: repeating-linear-gradient(135deg, rgba(220, 226, 238, .5) 0 1.5px, transparent 1.5px 4.5px); animation-delay: calc(var(--i) * 90ms + .9s); }
@keyframes prGrow { from { transform: scaleX(0); } }
.pr-d { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 2px solid var(--c); border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 2px var(--surface); }
.pr-d.to { background: var(--c); box-shadow: 0 0 0 2px var(--surface), 0 0 12px var(--c); animation: dotIn .45s var(--spring) both; animation-delay: calc(var(--i) * 90ms + .9s); }
.pr-v { display: flex; align-items: baseline; gap: 5px; font-size: 13px; white-space: nowrap; }
.pr-v .sc { font-weight: 700; }
.pr-v i { font-style: normal; color: var(--faint); }
.pr-up { margin-left: 2px; font: 600 10.5px var(--mono); font-style: normal; color: var(--ink); }
.pr-v small { margin-left: 3px; font-size: 11px; color: var(--muted); }
.pr-scale { min-height: 12px; }
.pr-scale small { position: absolute; top: 0; transform: translateX(-50%); font: 500 9px var(--mono); color: var(--faint); }
.pr-leg { margin-top: 10px; padding-left: 100px; }
.pot-hn { padding: 10px 12px; border-left: 2px solid var(--line-3); border-radius: 0 8px 8px 0; background: var(--bg-2); font-size: 12px; line-height: 1.55; color: var(--ink-2); }
.pot-hn b { color: var(--ink); font-weight: 600; }
.pot-how { margin: 16px 0 0; }
.how { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 0; padding-left: 18px; line-height: 1.5; }
.how b { font-weight: 600; color: var(--ink-2); }

/* 2 · Plan */
.planb .card-h { align-items: center; }
.planb .seg3 { margin-left: auto; }
.pb-grid { display: grid; grid-template-columns: 164px minmax(0, 1fr); gap: 22px; align-items: start; }
.where { position: sticky; top: 76px; margin: 0; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.where svg { display: block; width: 100%; height: auto; }
.where .art { filter: none; opacity: .7; }
.spot circle { fill: var(--bg); stroke: var(--plat); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.spot text { fill: var(--ink); font: 700 12px var(--sans); text-anchor: middle; }
.spot.st-later circle { stroke-dasharray: 3 3; }
.spot.st-off { opacity: .28; }
.spot.hl circle { fill: var(--plat); }
.spot.hl text { fill: var(--bg); }
.pb-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 6px; }
.pb-hint { max-width: 56ch; font-size: 12px; line-height: 1.5; color: var(--muted); }
.budget { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--muted); }
.budget span { margin-right: 6px; }
.budget button { height: 28px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; background: none; font-size: 12px; color: var(--ink-2); }
.budget button[aria-checked="true"] { border-color: var(--plat); background: var(--surface-3); color: #fff; }
.acts { list-style: none; margin: 0; padding: 0; }
.act { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.act:first-child { border-top: 0; }
.act-n { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border: 1px solid var(--line-3); border-radius: 50%; font: 600 11px var(--sans); color: var(--ink); }
.act.st-later .act-n { border-style: dashed; }
.act.st-off .act-b, .act.st-off .act-n { opacity: .42; }
.act-b { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.act-t { display: flex; align-items: center; gap: 8px; }
.act-t b { font-size: 14px; font-weight: 650; }
.ptag { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border: 1px dashed var(--line-3); border-radius: 999px; font-size: 10.5px; color: var(--ink-2); }
.act-m { font-size: 11.5px; color: var(--muted); }
.act-m .up { font-weight: 700; }
.act-c { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.cc { display: inline-flex; align-items: baseline; gap: 4px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); font-size: 11px; color: var(--ink-2); }
.cc .sc { font-weight: 700; }
.cc i { font-style: normal; color: var(--faint); }
.act-ctl { display: flex; align-items: center; gap: 4px; }
.act-ctl .lv-sw { margin: 0 0 0 6px; }
.ib { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 8px; background: none; color: var(--ink-2); }
.ib svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ib:hover:not(:disabled) { border-color: var(--line-3); color: #fff; }
.ib:disabled { opacity: .3; cursor: default; }
.lv-sw { position: relative; flex: none; width: 36px; height: 21px; margin-top: 2px; border: 1px solid var(--line-3); border-radius: 999px; background: var(--bg-2); transition: background-color .2s, border-color .2s; }
.lv-sw i { position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: var(--muted); transition: transform .25s var(--spring), background-color .2s; }
.lv-sw[aria-checked="true"] { border-color: var(--ink); background: var(--ink); }
.lv-sw[aria-checked="true"] i { transform: translateX(15px); background: var(--bg); }
.picks { display: flex; flex-direction: column; gap: 14px; }
.pick { margin: 0; padding: 0; border: 0; min-width: 0; }
.pick legend { display: flex; align-items: baseline; gap: 8px; margin-bottom: 2px; padding: 0 8px; font-size: 12.5px; font-weight: 650; color: var(--ink); }
.pick legend small { font-weight: 400; color: var(--muted); }
.pk { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto 104px; gap: 12px; align-items: center; padding: 7px 8px; border-radius: 8px; cursor: pointer; transition: background-color .15s; }
.pk:hover { background: var(--surface-2); }
.pk input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pk:focus-within { outline: 1.5px solid var(--plat); outline-offset: -1px; }
.pk-box { display: grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid var(--line-3); border-radius: 6px; transition: background-color .2s, border-color .2s; }
.pk-box svg { width: 11px; height: 11px; fill: none; stroke: var(--bg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--spring); }
.pk.on .pk-box { border-color: var(--ink); background: var(--ink); }
.pk.on .pk-box svg { opacity: 1; transform: none; }
.pk-n { font-size: 13px; }
.pk-v { display: inline-flex; align-items: baseline; gap: 4px; font-size: 12px; }
.pk-v .sc { font-weight: 700; }
.pk-v i { font-style: normal; color: var(--faint); }
.pk-m { font-size: 11px; color: var(--muted); text-align: right; }
.pk-in { cursor: default; opacity: .6; }
.pk-in:hover { background: none; }
.pk-in .pk-box { border-style: dashed; }
.fatrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; margin-top: 12px; padding: 12px 14px; border: 1px dashed var(--line-3); border-radius: 12px; }
.fatrow.on { border-style: solid; background: var(--bg-2); }
.fat-why { margin-top: 2px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.fat-off { margin-top: 12px; font-size: 12px; color: var(--muted); }
.pb-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.ps-t { display: flex; align-items: baseline; gap: 10px; }
.ps-t small { font: 500 9.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ps-t .sc { font-size: 24px; font-weight: 700; font-stretch: 88%; }
.ps-m { font-size: 12.5px; color: var(--ink-2); }
.ps-end { margin-left: auto; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.ps-run { font-size: 12px; color: var(--muted); }
.ps-save { gap: 7px; }
.ps-save svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ps-save.done { border-color: var(--line-2); color: var(--ink-2); cursor: default; }
.ps-save.done:hover { border-color: var(--line-2); }
.ps-save.done svg { stroke-width: 1.8; }

/* Gespeicherte Pläne: Paket aus Analyse (Frontbild, Overall, Pillars) und Plan */
.saved .card-h { align-items: center; }
.sv-new { margin-left: auto; gap: 6px; }
.sv-new svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.svl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sv { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 12px 6px 12px 4px; border-top: 1px solid var(--line); }
.sv:first-child { border-top: 0; }
.sv.on { margin-inline: -8px; padding-inline: 12px 14px; border-radius: 12px; border-top-color: transparent; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.sv.on + .sv { border-top-color: transparent; }
.sv-b { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sv-t { display: flex; align-items: center; gap: 8px; }
.sv-t b { font-size: 14px; font-weight: 650; }
.ptag.run { border-style: solid; border-color: color-mix(in oklab, var(--s-good) 55%, transparent); color: var(--s-good); }
.sv-m { font-size: 11.5px; color: var(--muted); }
.sv-v { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; font-size: 13px; }
.sv-v .sc { font-weight: 700; }
.sv-v i { font-style: normal; color: var(--faint); }
.sv-v small { margin-left: 4px; font-size: 11.5px; color: var(--ink-2); }
.sv-ctl { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 150px; }
.sv-at { margin-right: 4px; font: 500 10px var(--mono); color: var(--faint); }
.sv-ask { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.sv-yes { border-color: color-mix(in oklab, var(--s-bad) 60%, transparent); color: var(--s-bad); }
.sv-yes:hover { border-color: var(--s-bad); }
.ib svg { fill: none; }
.sv-empty { padding: 4px 0 2px; font-size: 12.5px; line-height: 1.5; color: var(--muted); max-width: 70ch; }

/* 3 · Umsetzung */
.run-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.run-grid > .card { display: flex; flex-direction: column; }
.run-grid > .card > .card-f:last-child { margin-top: auto; padding-top: 10px; }
.tasks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.task { width: 100%; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 8px; border: 0; border-radius: 8px; background: none; color: var(--ink); text-align: left; transition: background-color .15s; }
.task:hover { background: var(--surface-2); }
.tk-box { display: grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid var(--line-3); border-radius: 6px; transition: background-color .2s, border-color .2s; }
.tk-box svg { width: 11px; height: 11px; fill: none; stroke: var(--bg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .25s var(--spring); }
.task.on .tk-box { border-color: var(--s-good); background: var(--s-good); }
.task.on .tk-box svg { opacity: 1; transform: none; }
.tk-t { font-size: 13px; }
.task.on .tk-t { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--faint); }
.tk-m { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.ok-t { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--s-good); }
.ok-t svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wdots { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wd { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wd i { width: 22px; height: 22px; border: 1.5px solid var(--line-2); border-radius: 50%; }
.wd.off i { border-style: dashed; }
.wd.done i { border-color: var(--s-good); background: var(--s-good); }
.wd.part i { border-color: var(--s-good); background: linear-gradient(90deg, var(--s-good) 50%, transparent 50%); }
.wd.open i { border-color: var(--ink-2); }
.wd small { font-size: 11px; color: var(--muted); }
.wd.now small { font-weight: 600; color: var(--ink); }
.week .card-f { display: block; }
/* Fortschritt im Plan: Woche als Segmente, Check-ins markiert, erwarteter Overall */
.wk { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.wk-r { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.wk-r > span:last-child { color: var(--muted); }
.wk-bar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; }
.wk-bar i { position: relative; height: 6px; border-radius: 3px; background: var(--line-2); }
.wk-bar i.done { background: color-mix(in oklab, var(--s-good) 55%, transparent); }
.wk-bar i.now { background: var(--s-good); box-shadow: 0 0 10px color-mix(in oklab, var(--s-good) 55%, transparent); }
.wk-bar i.ci::after { content: ''; position: absolute; right: -2.5px; top: -4px; bottom: -4px; width: 1px; background: var(--line-3); }
.wk-o > span:last-child { display: inline-flex; align-items: baseline; gap: 5px; color: var(--ink); }
.wk-o .sc { font-size: 15px; font-weight: 700; }
.wk-o i { font-style: normal; color: var(--faint); }
.wk-o small { font-size: 11px; color: var(--muted); }
.rd { position: relative; display: grid; grid-template-columns: 156px minmax(0, 1fr); column-gap: 14px; row-gap: 8px; align-items: center; }
.rd-over { position: absolute; z-index: 1; left: 170px; right: 0; top: 0; bottom: 0; pointer-events: none; }
.rd-ci { position: absolute; top: 16px; bottom: 30px; border-left: 1px dashed var(--line-3); }
.rd-ci.end { border-left-style: solid; }
.rd-now { position: absolute; top: 0; bottom: 30px; width: 1px; background: var(--plat); }
.rd-now b { position: absolute; top: -1px; left: 5px; font: 500 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.rd-scale, .rd-marks, .rd-track { position: relative; }
.rd-scale { height: 14px; }
.rd-scale small { position: absolute; top: 0; transform: translateX(-50%); font: 500 9.5px var(--mono); color: var(--faint); }
.rd-l { font-size: 12px; color: var(--ink-2); }
.rd-track { height: 18px; }
.rd-build, .rd-hold { position: absolute; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; }
.rd-build { background: var(--line-3); }
.rd-hold { right: 0; background: rgba(220, 226, 238, .4); }
.rd-vis { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; background: var(--plat); }
.rd-track small { position: absolute; top: 50%; transform: translate(7px, -50%); font: 600 9px var(--mono); color: var(--bg); white-space: nowrap; }
.rd-marks { height: 30px; }
.rd-marks span { position: absolute; top: 4px; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.rd-marks span.end { align-items: flex-end; transform: translateX(-100%); }
.rd-marks small { font: 400 9.5px var(--mono); color: var(--muted); }
.road .card-f { justify-content: flex-start; gap: 16px; align-items: center; }
.lk-build, .lk-vis, .lk-hold { display: inline-block; width: 14px; margin-right: 6px; vertical-align: middle; border-radius: 2px; }
.lk-build { height: 2px; background: var(--line-3); }
.lk-vis { height: 8px; background: var(--plat); }
.lk-hold { height: 2px; background: rgba(220, 226, 238, .4); }

/* ---------- Responsiv ---------- */
@media (min-width: 1340px) { .ruler { display: block; } }
@media (max-width: 1100px) {
  .ov-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
  .hero-grid { gap: 36px; }
  .inst-main { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .readout .ro-num { font-size: 36px; }
  .stage { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 32px; }
  .pd-body { grid-template-columns: 1fr; }
  .pd-vis { border-right: 0; border-bottom: 1px solid var(--line); min-height: 260px; }
  .pd-vis svg { max-width: 220px; }
  .sim-grid { gap: 40px; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 44px 64px; }
  .hero-copy .display { font-size: clamp(32px, 6vw, 46px); }
  .sec { padding-block: 80px; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .stage { grid-template-columns: 1fr; }
  .fc-wrap { position: relative; top: 0; max-width: 420px; }
  .pd-body { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .pd-vis { border-right: 1px solid var(--line); border-bottom: 0; }
  .tail { grid-template-columns: 1fr 1fr; }
  .tail-actions { grid-column: 1 / -1; }
  .sim-grid { grid-template-columns: 1fr; }
  .plan-head { grid-template-columns: 1fr; }
  .plan-sel { grid-template-columns: 1fr 1fr; min-width: 0; }
  .chain { grid-template-columns: 1fr; gap: 34px; }
  .chain::before { top: 19px; bottom: 90px; left: 19px; right: auto; width: 1px; height: auto; background: linear-gradient(var(--plat), var(--line-3)); }
  .node { padding: 0 0 0 58px; }
  .node-dot { position: absolute; left: 0; top: 0; margin: 0; }
  .node--out { margin: 0; padding: 22px 22px 22px 70px; }
  .node--out .node-dot { left: 12px; top: 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .grid-2-wide { grid-template-columns: 1fr; gap: 32px; }
  .phero-grid { grid-template-columns: 1fr; gap: 30px; }
  .pmeta { min-width: 0; max-width: 440px; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 760px) {
  .wrap, .narrow { padding-inline: 18px; }
  .flow { padding-inline: 18px; }
  .hdr-in { padding: 0 18px; height: 64px; gap: 14px; }
  .nav, .hdr-end { display: none; }
  .menu-btn { display: block; }
  .mnav { display: flex; flex-direction: column; padding: 8px 18px 24px; border-top: 1px solid var(--line); background: rgba(6,7,11,.96); }
  .mnav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-stretch: 108%; font-weight: 600; }
  .mnav .btn { margin-top: 18px; }
  .demo-strip { font-size: 9px; letter-spacing: .1em; }
  .ds-long { display: none; }
  .ds-short { display: inline; }
  .cta-note { gap: 6px 14px; }
  .cta-note .dot { display: none; }
  .tail-actions .link { align-self: flex-start; }
  .sim-over b { font-size: 28px; }
  .mini { max-width: none; }
  .hero-copy .display { font-size: clamp(30px, 8.6vw, 40px); }
  .lead { font-size: 15px; }
  .btn--google { width: 100%; min-width: 0; }
  .cta-links { justify-content: space-between; }
  .inst-main { grid-template-columns: 1fr; }
  .canvas { border-right: 0; border-bottom: 1px solid var(--line); }
  .face-svg { max-height: 360px; }
  .readout { padding: 18px; }
  .readout .ro-num { font-size: 34px; }
  .steps button { flex-direction: column; gap: 2px; font-size: 11.5px; padding: 11px 2px; }
  .step-text { font-size: 12.5px; padding: 12px 14px; }
  .inst-ctrl { padding: 12px 14px; }
  .sec { padding-block: 64px; }
  .sec-head { margin-bottom: 32px; }
  .fc { padding: 18px 16px 16px; }
  .fc-ovr { font-size: 66px; }
  .fc-face { width: 88px; }
  .pd-body { grid-template-columns: 1fr; }
  .pd-vis { border-right: 0; border-bottom: 1px solid var(--line); min-height: 240px; }
  .pd-head { padding: 12px 16px; }
  .pd-data { padding: 18px 16px; }
  .pd-score .odo { font-size: 46px; }
  .kv > div { grid-template-columns: 1fr; gap: 2px; }
  .tail { grid-template-columns: 1fr; gap: 16px; }
  .tail-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .tail-actions .btn { width: 100%; }
  .plan-sel { grid-template-columns: 1fr; }
  .plan-foot { flex-direction: column; gap: 6px; }
  .finish { padding-block: 90px; }
  .finish .btn--google { width: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-bot { flex-direction: column; gap: 8px; }
  .phero { padding-block: 56px 44px; }
  .main { padding-block: 40px 80px; }
  .grid-2, .choices, .prices { grid-template-columns: 1fr; }
  .ledger > * { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
  .ledger .val { grid-column: 2; }
  .rows > div { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .rows p { grid-column: 1 / -1; grid-row: 2; }
  .kl > div { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; }
  .kl small { grid-column: 1 / -1; }
  .paybox { grid-template-columns: 1fr; padding: 24px; }
  .flow-top { flex-direction: column; align-items: flex-start; }
  .prog { align-items: flex-start; }
  .flow-actions { flex-direction: column-reverse; align-items: stretch; }
  .flow-actions .btn { width: 100%; }
  .ctable thead { display: none; }
  .ctable, .ctable tbody, .ctable tr, .ctable td { display: block; width: 100%; }
  .ctable tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .ctable td { border: 0; padding: 3px 0; }
  .ctable td[data-l]::before { content: attr(data-l) ' · '; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .badge { display: none; }
  .score-xl b { font-size: 52px; }
  .mval { font-size: 40px; }
}
@media (max-width: 400px) {
  .fc-row { grid-template-columns: 20px minmax(0, 1fr) 40px 34px; gap: 8px; }
  .fc-ovr { font-size: 58px; }
  .fc-face { width: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fc { transform: none !important; }
}

/* ---------- Responsiv: App ---------- */
@media (max-width: 1100px) {
  .appx { display: block; height: auto; min-height: 0; background: none; }
  .side { position: static; height: auto; flex-direction: row; align-items: center; gap: 10px; padding: 10px 18px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .side-head { flex-direction: row-reverse; gap: 10px; padding: 0; }
  .side-head .label-mono, .side-foot { display: none; }
  .side-list { flex-direction: row; gap: 6px; }
  .side-item { min-width: 190px; }
  .ax { padding: 16px 18px 28px; }
  .ocard { overflow: visible; }
  .oc-body { display: block; }
  .ov-body { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ov-left { max-width: 560px; }
  .faces { position: sticky; top: 58px; z-index: 3; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #0d1017; }
  .fsvg { flex: none; height: auto; aspect-ratio: 4 / 5; max-height: 36vh; }
  .vlist { overflow: visible; padding-bottom: 8px; border-left: 0; }
  .vg-h { position: static; }
  .pot-top, .pot-bot { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .lshelves, .lgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lsh[data-n="4"] { grid-column: span 3; --cols: 3; }
  .lsh[data-n="4"] .lgrid > :nth-child(n+4) { display: none; }
  .lsh[data-n="1"] { grid-column: 1 / -1; }
  .lsh[data-n="1"] .lc { min-height: 0; }
  .lr { grid-template-columns: 34px minmax(0, 1fr) 150px 28px; }
  .lr-fy { display: none; }
}
@media (max-width: 960px) {
  .nums-grid { grid-template-columns: 1fr 1fr; }
  .nums-grid > div { padding: 22px 18px; border-bottom: 1px solid var(--line); }
  .nums-grid > div:nth-child(odd) { padding-left: 0; }
  .nums-grid > div:nth-child(2n) { border-right: 0; }
  .nums-grid > div:nth-child(n+3) { border-bottom: 0; }
  .pb-grid { grid-template-columns: minmax(0, 1fr); }
  .where { display: none; }
  .oc-hero { grid-template-columns: auto minmax(0, 1fr); column-gap: 28px; }
  .oc-hero > .oc-pot, .oc-hero > .btn { grid-column: 1 / -1; justify-self: start; }
  .run-grid { grid-template-columns: minmax(0, 1fr); }
  .lshelves, .lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lsh[data-n="4"], .lsh[data-n="3"] { grid-column: span 2; --cols: 2; }
  .lsh[data-n="4"] .lgrid > :nth-child(n+3), .lsh[data-n="3"] .lgrid > :nth-child(n+3) { display: none; }
  .lsum { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .nums b { font-size: 38px; }
  .ax { padding: 14px 16px 24px; }
  .faces { top: 64px; gap: 10px; padding: 10px; }
  .oc-head { padding: 12px 14px 10px; }
  .oc-top { padding: 12px 14px 11px; }
  .oc-hero { padding: 16px 14px 18px; }
  .oc-score b { font-size: 28px; }
  .oc-bar { padding: 0 14px 10px; }
  .pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -14px; padding-left: 14px; }
  .pills::-webkit-scrollbar { display: none; }
  .pill { flex: none; padding: 0 12px; }
  .face figcaption { padding: 7px 10px 8px; }
  .vgrp { padding: 4px 6px; }
  .kx-top, .px-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .search { width: 100%; }
  .anasel { align-items: stretch; }
  .ana-btn, .ana-opt { grid-template-columns: 40px minmax(0, 1fr) auto 16px; gap: 10px; }
  .ana-btn .pmini, .ana-opt .pmini { grid-column: 2 / 4; grid-row: 2; justify-self: start; padding-left: 0; border-left: 0; }
  .ana-btn .ana-thumb, .ana-opt .ana-thumb { grid-row: span 2; }
  .ana-ov { grid-column: 3; grid-row: 1; }
  .ana-chev, .ana-ck { grid-column: 4; grid-row: 1 / span 2; }
  .ana-pop { left: 0; }
  /* Bibliothek am Handy: Regale wischen seitlich, Sammlungen einspaltig, Leseansicht ganzseitig */
  .lib-top { flex-direction: row; align-items: flex-end; }
  .lib-bar { flex-wrap: wrap; }
  .search.lib-search { flex-basis: 100%; }
  .lib-search kbd { display: none; }
  .lib-search .field { min-height: 46px; padding-right: 14px; }
  .lib-sort { flex: 1; }
  .lib-sort select { width: 100%; height: 44px; }
  .lib-view button { height: 34px; }
  .lib-tabs { top: 64px; margin: 10px -16px 22px; padding: 8px 16px; }
  .lt-mk { margin-left: 0; }
  .lshelves { display: flex; flex-direction: column; gap: 30px; }
  .lsh .lgrid { display: flex; gap: 12px; margin-inline: -16px; padding: 2px 16px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
  .lsh .lgrid::-webkit-scrollbar { display: none; }
  .lsh .lgrid > .lc { flex: 0 0 78%; scroll-snap-align: start; }
  .lsh[data-n="1"] .lgrid > .lc { flex-basis: 100%; }
  .lsh[data-n] .lgrid > :nth-child(n) { display: flex; }
  .lgrid { grid-template-columns: minmax(0, 1fr); }
  .lc { min-height: 170px; }
  .lr { grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 12px; }
  .lr-m { display: none; }
  .lsum { padding: 12px; }
  .lsum .btn { width: 100%; }
  .lsum-v { white-space: normal; }
  .ks { width: 100%; border-left: 0; }
  .ks-in { padding: 22px 18px calc(34px + env(safe-area-inset-bottom, 0px)); gap: 22px; }
  .ks-h h2 { font-size: 26px; }
  .ks-lead { font-size: 15px; }
  .ks-rel { grid-template-columns: minmax(0, 1fr); }
  .ks-stats { grid-template-columns: minmax(0, 1fr); }
  .ks-stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .pc-ax { font-size: 10.5px; }
  .pc-lab { font-size: 12px; }
  .pr { grid-template-columns: 72px minmax(0, 1fr); row-gap: 0; }
  .pr-v { grid-column: 2; font-size: 12px; }
  .pr-scale { display: none; }
  .pr-leg { padding-left: 0; }
  .planb .card-h { flex-wrap: wrap; }
  .planb .seg3 { margin-left: 0; width: 100%; }
  .seg3 button { flex: 1; }
  .act { grid-template-columns: 22px minmax(0, 1fr); }
  .act-ctl { grid-column: 2; }
  .pk { grid-template-columns: 20px minmax(0, 1fr) auto; row-gap: 2px; }
  .pk-m { grid-column: 2 / -1; text-align: left; }
  .ps-end { margin-left: 0; }
  .sv { grid-template-columns: 40px minmax(0, 1fr); row-gap: 8px; }
  .sv .pmini { grid-column: 2; justify-self: start; padding-left: 0; border-left: 0; }
  .sv-ctl { grid-column: 1 / -1; justify-content: flex-start; min-width: 0; }
  .oc-bar { flex-wrap: nowrap; }
  .pills { flex: 1; min-width: 0; }
  .pts-btn { flex: none; padding: 0 9px; }
  .pts-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .card { padding: 12px 14px 14px; }
  .card-h { flex-wrap: wrap; }
  .task { grid-template-columns: 20px minmax(0, 1fr); row-gap: 2px; }
  .tk-m { grid-column: 2; }
  .rd { grid-template-columns: 70px minmax(0, 1fr); column-gap: 8px; }
  .rd-over { left: 78px; }
  .rd-l { font-size: 11px; }
  .rd-marks span { font-size: 10px; }
  .rd-marks span:not(.end) small { display: none; }
  /* Fahrplan schmal: keine Wochenskala, keine Beschriftung in den Balken, Ende nur als Linie */
  .rd-scale small, .rd-track small, .rd-marks span.end { display: none; }
  .rd-scale { height: 16px; }
  .rd { grid-template-columns: 84px minmax(0, 1fr); }
  .rd-over { left: 92px; }
}
@media (max-width: 560px) {
  .oc-hero { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .oc-big b .sc, .oc-big b.muted { font-size: 58px; }
  .osc { max-width: none; }
  .pcards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pwire { display: none; }
  .ptree { margin-bottom: 12px; }
  .pcard { padding: 10px 12px; }
  .pc-v .sc { font-size: 20px; }
}

/* ==========================================================================
   Konto · Einstellungen (runtime/account.js) – gleiche Inhalte, klar gegliedert
   ========================================================================== */
.acc-hero { border-bottom: 1px solid var(--line); background: radial-gradient(90% 140% at 0% 0%, rgba(220, 226, 238, .06), transparent 60%); }
.acc-hero-in { display: flex; align-items: center; gap: 22px; padding-block: 44px 34px; }
.acc-avatar { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(160deg, #20263a, #0d1017); box-shadow: inset 0 0 0 1px rgba(220, 226, 238, .22), 0 14px 34px -18px rgba(205, 220, 255, .5); font: 700 26px var(--sans); font-stretch: 110%; color: var(--plat); }
.acc-hero-t { min-width: 0; flex: 1; }
.acc-h1 { margin: 6px 0 0; font-size: clamp(26px, 3vw, 36px); font-weight: 720; font-stretch: 108%; letter-spacing: -.03em; line-height: 1.08; overflow-wrap: anywhere; }
.acc-hero-sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.acc-hero-meta { display: flex; gap: 26px; margin: 0; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, .015); }
.acc-hero-meta div { min-width: 0; }
.acc-hero-meta dt { font: 500 9.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.acc-hero-meta dd { margin: 5px 0 0; font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.acc-hero-meta dd.is-pro { color: #fff; font-weight: 650; }
.acc-main { padding-top: 34px; }
.acc-main [data-account-message]:empty { display: none; }
.acc-main [data-account-message] { margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font-size: 13.5px; }
.acc-main > .wrap > .panel { margin-bottom: 22px; }
.acc-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: start; }
.acc-nav { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.acc-nav-i { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 12px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font: 500 13.5px var(--sans); text-align: left; cursor: pointer; transition: background-color .2s, color .2s; }
.acc-nav-i svg, .acc-ic svg, .acc-plan-badge svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.acc-nav-i svg { color: var(--muted); }
.acc-nav-i:hover { background: var(--surface-2); color: #fff; }
.acc-nav-i:focus-visible { outline: 2px solid var(--plat); outline-offset: 1px; }
.acc-nav-i.is-danger { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; padding-top: 12px; color: #d9a3a3; }
.acc-nav-i.is-danger svg { color: #c97f7f; }
.acc-cards { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.acc-card { scroll-margin-top: 84px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); transition: border-color .4s; }
.acc-card.is-flash { animation: accFlash 1.2s var(--ease); }
@keyframes accFlash { 0% { border-color: var(--line-3); box-shadow: 0 0 0 3px rgba(220, 226, 238, .08); } 100% { border-color: var(--line); box-shadow: none; } }
.acc-card-h { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.acc-card-h .h3 { margin: 0; font-size: 18px; }
.acc-card-h p { margin: 5px 0 0; max-width: 62ch; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.acc-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--plat); }
.acc-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.acc-row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.acc-k { font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.acc-v { font-size: 14.5px; color: var(--ink); overflow-wrap: anywhere; }
.acc-inline { display: flex; gap: 10px; }
.acc-inline .field, .acc-select { min-height: 42px; padding: 9px 12px; }
.acc-inline .btn { flex: none; min-height: 42px; }
.acc-select { max-width: 260px; }
.acc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.acc-actions .link { font-size: 13.5px; }
.acc-card button.link { padding: 0 0 2px; border: 0; background-color: transparent; font: inherit; color: var(--ink); font-size: 13.5px; cursor: pointer; }
.acc-card .fine { margin: 8px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); max-width: 70ch; }
.acc-card [role="alert"]:not(.acc-alert) { margin: 10px 0 0; font-size: 13px; color: #f2d29f; }
.acc-plan { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, .02); }
.acc-plan-badge { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 650; color: var(--ink); }
.acc-plan-badge svg { color: var(--plat); }
.acc-card--plan.is-pro .acc-plan { border-color: rgba(220, 226, 238, .3); background: radial-gradient(120% 160% at 0% 0%, rgba(220, 226, 238, .1), transparent 60%); }
.acc-plan-cta { min-height: 40px; }
.acc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.acc-stat { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.acc-num { font-size: 30px; font-weight: 760; font-stretch: 90%; letter-spacing: -.02em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.acc-meter { display: block; height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.acc-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a3acc1, var(--plat)); }
.acc-sub { font-size: 12px; color: var(--muted); }
.acc-fine { margin: 12px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); max-width: 70ch; }
.acc-alert { margin: 12px 0 0; padding: 12px 14px; border: 1px solid rgba(242, 182, 90, .35); border-radius: 10px; background: rgba(242, 182, 90, .06); color: #f2d29f; font-size: 13.5px; }
.acc-sync { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.acc-sync p { margin: 0; font-size: 14px; color: var(--ink); }
.acc-sync .acc-sub { display: block; margin-top: 4px; }
.acc-dot { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--faint); }
.acc-sync.is-ok .acc-dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.acc-sync.is-warn .acc-dot { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.acc-sync.is-bad .acc-dot { background: var(--s-bad); }
.acc-sync.is-busy .acc-dot { background: var(--plat); animation: accPulse 1.2s ease-in-out infinite; }
@keyframes accPulse { 50% { opacity: .3; } }
.acc-sub-block { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.acc-h4 { margin: 0; font-size: 15px; font-weight: 650; }
.acc-text { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); max-width: 70ch; }
.acc-check { margin: 14px 0 6px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.acc-card--danger { border-color: rgba(201, 127, 127, .22); background: linear-gradient(180deg, rgba(201, 127, 127, .04), var(--bg-2)); }
.acc-card--danger .acc-ic { color: #d9a3a3; border-color: rgba(201, 127, 127, .3); background: rgba(201, 127, 127, .06); }
.acc-del summary { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid rgba(201, 127, 127, .4); border-radius: 999px; color: #e6b3b3; font-size: 13.5px; cursor: pointer; list-style: none; }
.acc-del summary::-webkit-details-marker { display: none; }
.acc-del summary:hover { border-color: rgba(220, 140, 140, .7); color: #fff; }
.acc-del[open] summary { margin-bottom: 16px; }
.acc-del form { max-width: 520px; }
.acc-btn-danger { border-color: rgba(201, 127, 127, .55); color: #f0c4c4; }
.acc-btn-danger:hover { background: rgba(201, 127, 127, .12); color: #fff; }
@media (max-width: 960px) {
  .acc-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .acc-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 5px; }
  .acc-nav::-webkit-scrollbar { display: none; }
  .acc-nav-i { width: auto; flex: none; white-space: nowrap; padding: 8px 12px; }
  .acc-nav-i.is-danger { margin-top: 0; border-top: 0; border-radius: 9px; padding-top: 8px; }
  .acc-hero-in { flex-wrap: wrap; }
  .acc-hero-meta { width: 100%; }
}
@media (max-width: 600px) {
  .acc-hero-in { padding-block: 30px 24px; gap: 16px; }
  .acc-avatar { width: 52px; height: 52px; font-size: 21px; }
  .acc-h1 { font-size: 22px; }
  .acc-hero-meta { flex-direction: column; gap: 10px; }
  .acc-hero-meta dd { max-width: none; }
  .acc-card { padding: 20px 16px; border-radius: 14px; }
  .acc-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .acc-inline { flex-direction: column; }
  .acc-stats { grid-template-columns: minmax(0, 1fr); }
  .acc-select { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .acc-card.is-flash, .acc-sync.is-busy .acc-dot { animation: none; } }

/* Konto · Erstkonto und Zustimmung (runtime/account.js essentialAccount) */
.acc-hero--first .acc-avatar { box-shadow: inset 0 0 0 1px rgba(95, 212, 164, .35), 0 14px 34px -18px rgba(95, 212, 164, .45); }
.acc-first-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.acc-first-main, .acc-first-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.acc-first-next { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px; border-radius: 18px; overflow: hidden; isolation: isolate; background: radial-gradient(120% 120% at 100% 0%, rgba(31, 184, 212, .12), transparent 55%), linear-gradient(180deg, var(--surface), var(--bg-2)); box-shadow: inset 0 0 0 1px rgba(220, 226, 238, .14); }
.acc-first-next::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(59, 124, 255, .55), rgba(31, 184, 212, .25) 45%, rgba(47, 224, 163, .5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.acc-first-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #3b7cff, #1fb8d4 55%, #2fe0a3); color: #05070b; box-shadow: 0 14px 34px -14px rgba(31, 184, 212, .75); }
.acc-first-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.acc-first-copy { margin: 0; max-width: 46ch; font-size: 17px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.acc-first-cta { gap: 10px; min-height: 50px; padding-inline: 24px; }
.acc-first-cta i { font-style: normal; transition: transform .25s var(--ease); }
.acc-first-cta:hover i { transform: translateX(3px); }
.acc-first .acc-first-main > .panel { margin: 0; padding: 26px 28px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.acc-first .acc-first-main > .panel .h3 { margin-top: 0; }
.acc-first .acc-first-main > .panel p { color: var(--ink-2); line-height: 1.6; }
.acc-first .acc-first-main > .panel [role="alert"] { color: #f2d29f; }
.acc-first-card .acc-actions .btn { min-height: 40px; }
.acc-first-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.acc-first-links .link { font-size: 13px; }
.acc-first-links button.link { padding: 0 0 2px; border: 0; background-color: transparent; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
@media (max-width: 960px) { .acc-first-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .acc-first-next { padding: 22px 18px; } .acc-first-copy { font-size: 15.5px; } .acc-first-cta { width: 100%; justify-content: center; } .acc-first .acc-first-main > .panel { padding: 20px 16px; } }

/* Seltene Seiten: unbekannte Adresse (main.js), Hilfe und Kontakt (public.js), Zahlungslink (compat.js), gespeicherte Analysen (history.js) */
.nf { padding-block: clamp(56px, 10vh, 120px); }
.nf-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.nf-code { display: flex; align-items: center; gap: clamp(6px, 1.4vw, 16px); font: 700 clamp(84px, 14vw, 156px)/1 var(--sans); font-stretch: 112%; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(220, 226, 238, .55); }
.nf-ring { position: relative; display: block; width: .78em; height: .78em; }
.nf-ring svg { width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.nf-ring circle { fill: none; }
.nf-ring-bg { stroke: rgba(220, 226, 238, .16); stroke-width: 2; }
.nf-ring-fg { stroke: #1fb8d4; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 26 100; animation: nfSpin 3.2s linear infinite; transform-origin: 50px 50px; filter: drop-shadow(0 0 6px rgba(31, 184, 212, .6)); }
.nf-dot { fill: #2fe0a3; stroke: none; transform-origin: 50px 50px; animation: nfSpin 3.2s linear infinite; filter: drop-shadow(0 0 6px rgba(47, 224, 163, .8)); }
@keyframes nfSpin { to { transform: rotate(360deg); } }
.nf-title { margin: 26px 0 0; font-size: clamp(26px, 3.2vw, 38px); font-weight: 720; font-stretch: 108%; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.nf-copy { margin: 12px 0 0; max-width: 48ch; color: var(--muted); font-size: 15px; line-height: 1.6; text-wrap: balance; }
.nf-cta { margin-top: 26px; }
.nf-meta { margin-top: 26px; font: 500 10px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }

.sup-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px 22px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(110% 140% at 100% 0%, rgba(31, 184, 212, .08), transparent 55%), linear-gradient(180deg, var(--surface), var(--bg-2)); }
.sup-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--plat); }
.sup-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sup-body .h3 { margin: 0; }
.sup-mail { margin: 6px 0 0; font: 500 16px var(--mono); color: var(--ink); user-select: all; overflow-wrap: anywhere; }
.sup-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 18px; border-top: 1px solid var(--line); }

.pay-page { padding-block: clamp(40px, 8vh, 96px); }
.pay-card { width: min(620px, 100%); margin: 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 34px 32px 28px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(120% 70% at 50% -10%, rgba(220, 226, 238, .08), transparent 60%), linear-gradient(180deg, var(--surface), var(--bg-2)); box-shadow: 0 40px 100px -50px rgba(0, 0, 0, .9); }
.pay-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 15px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--plat); }
.pay-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pay-title { margin: 8px 0 0; font-size: clamp(26px, 3vw, 34px); font-weight: 720; font-stretch: 108%; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.pay-lead { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.pay-cta { margin-top: 24px; }
.pay-note { margin: 20px 0 0; }
.pay-foot { width: 100%; margin: 26px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; }

.cap-page { padding-block: clamp(40px, 7vh, 80px); }
.cap-head { max-width: 760px; }
.cap-title { margin: 8px 0 0; font-size: clamp(28px, 3.4vw, 42px); font-weight: 740; font-stretch: 108%; letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; }
.cap-lead { margin: 12px 0 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.cap-status { display: inline-flex; align-items: center; gap: 9px; margin: 18px 0 0; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; color: var(--ink-2); }
.cap-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.cap-status.is-ok .cap-dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.cap-status.is-full .cap-dot, .cap-status.is-error .cap-dot { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.cap-status.is-busy .cap-dot { background: var(--plat); animation: accPulse 1.2s ease-in-out infinite; }
.cap-head .note { margin-top: 14px; }
.cap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 28px; }
.cap-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, var(--surface), var(--bg-2)); transition: border-color .2s; }
.cap-card:hover { border-color: var(--line-3); }
.cap-card .btn { grid-column: 1 / -1; justify-self: start; }
.cap-card-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--plat); }
.cap-card-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cap-card-t .h3 { margin: 0; font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cap-card-t p { margin: 4px 0 0; font: 400 11px var(--mono); color: var(--muted); }
.cap-empty { color: var(--muted); }
.cap-note { margin-top: 22px; }
.cap-actions { margin-top: 22px; }
@media (max-width: 600px) {
  .sup-card { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
  .pay-card { padding: 26px 20px 22px; }
}
@media (prefers-reduced-motion: reduce) { .nf-ring-fg, .nf-dot { animation: none; } }

/* E-Mail-Bestätigung: Warteseite, Erfolg und Anmeldung auf einem anderen Gerät */
.as-card { --as-c: var(--plat); --as-soft: rgba(220, 226, 238, .07); max-width: 440px; }
.as-card--wait { --as-c: #5ec8e6; --as-soft: rgba(31, 184, 212, .12); }
.as-card--ended { --as-c: var(--warn); --as-soft: rgba(242, 182, 90, .1); }
.as-card--ok { --as-c: var(--ok); --as-soft: rgba(95, 212, 164, .12); }
.as-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.as-ic { position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--as-soft); border: 1px solid color-mix(in srgb, var(--as-c) 38%, transparent); color: var(--as-c); }
.as-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.as-card--wait .as-ic::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--as-c); opacity: 0; animation: asPing 2.6s var(--ease) var(--as-p, 0s) infinite; }
@keyframes asPing { 0% { opacity: .5; transform: scale(1); } 100% { opacity: 0; transform: scale(1.38); } }
.as-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); line-height: 1.3; }
.as-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--as-c); box-shadow: 0 0 0 3px var(--as-soft); }
.as-card--wait .as-dot { animation: blink 1.6s ease-in-out var(--as-b, 0s) infinite; }
.auth-in.as-card .display { margin: 0 0 12px; text-wrap: balance; }
.as-lead { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.as-email { display: flex; flex-direction: column; gap: 4px; margin: 18px 0 0; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.as-email span { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.as-email strong { font-size: 15px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.as-steps { list-style: none; margin: 14px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.as-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; padding: 14px; }
.as-steps li + li { border-top: 1px solid var(--line); }
.as-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-3); font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.as-card--wait .as-steps li:last-child .as-n, .as-card--ended .as-steps li:last-child .as-n { border-color: var(--as-c); color: var(--as-c); }
.as-steps strong { display: block; margin: 3px 0 4px; font-size: 14px; color: var(--ink); }
.as-steps p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.as-note { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; margin-top: 18px; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.as-note svg { width: 22px; height: 22px; fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.as-note p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.as-note strong { color: var(--ink); font-weight: 600; }
.as-note--step { margin: 18px 0 4px; }
.as-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 24px; }
.as-actions .btn { width: 100%; }
.as-arr { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .as-arr { transform: translateX(3px); }
.as-link { padding: 4px 2px; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 13.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-3); transition: color .2s, text-decoration-color .2s; }
.as-link:hover { color: var(--ink); text-decoration-color: currentColor; }
.as-link:focus-visible { outline: 2px solid var(--plat); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 960px) {
  .auth--status { min-height: 0; }
  .auth--status .auth-form { align-items: flex-start; padding: 36px 20px 56px; }
}
@media (max-width: 420px) {
  .auth-in.as-card .display { font-size: 32px; }
  .as-head { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .as-card--wait .as-ic::after, .as-card--wait .as-dot { animation: none; }
}

/* Wissen: ohne Pro zeigt jede Karte, ob sie frei lesbar ist (Regel unverändert aus runtime/experience.js readable) */
.lacc { flex: none; display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px 0 6px; margin-right: 8px; border: 1px solid; border-radius: 999px; font: 600 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.lacc svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lacc.is-free { color: var(--ok); border-color: rgba(95, 212, 164, .42); background: rgba(95, 212, 164, .08); }
.lacc.is-pro { color: var(--ink-2); border-color: var(--line-3); background: rgba(220, 226, 238, .05); }
.lc.acc-free { border-color: rgba(95, 212, 164, .3); }
.lc.acc-free:hover { border-color: rgba(95, 212, 164, .55); }
.lc.acc-free .lc-m, .lc.acc-pro .lc-m { flex-wrap: wrap; row-gap: 6px; }
.lr .lacc { margin: 5px 0 1px; }
