/* ==========================================================================
   Wertblick – Design-System (Marke 2026-10)
   Schrift: Plus Jakarta Sans (Titel), Geist (Text), Geist Mono (Labels/Zahlen)
   Alle Schriften lokal (SIL Open Font License), kein externer Request.
   Hell und Dunkel folgen dem System.
   ========================================================================== */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/plus-jakarta-sans-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/geist-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/geist-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/geist-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/geist-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/geist-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  color-scheme: light;
  /* Marke: Smaragd-Verlauf mit Goldakzent */
  --marke-1: #0B7D66;
  --marke-2: #19B48C;
  --marke-text: #0A6C58;
  --gold: #E8A63C;
  --gold-soft: #FBEFD7;
  --verlauf: linear-gradient(135deg, var(--marke-1) 0%, var(--marke-2) 100%);
  --glow: rgb(25 180 140 / .38);
  --glow-soft: rgb(25 180 140 / .18);
  --buehne: radial-gradient(42% 55% at 70% 10%, rgb(25 180 140 / .14), transparent 70%), radial-gradient(30% 45% at 5% 90%, rgb(232 166 60 / .12), transparent 70%);

  --bg: #F6F5F2;
  --surface: #FFFFFF;
  --surface-2: #EEECE7;
  --raised: #FFFFFF;
  --glas: rgb(255 255 255 / .72);
  --kopf-grund: rgb(246 245 242 / .82);
  --line: rgb(20 18 16 / .10);
  --line-stark: rgb(20 18 16 / .20);
  --ink: #141412;
  --ink-2: #3D3B37;
  --ink-3: #74716A;
  --accent-soft: #DCF3EC;
  --ok: #0B7A55; --ok-soft: #DCF3EA;
  --warn: #8A4A00; --warn-soft: #FBEBCF;
  --bad: #B3163A; --bad-soft: #FBE4E8;
  --cta: var(--verlauf);
  --cta-ink: #FFFFFF;
  --cta-glow: 0 10px 30px -10px var(--glow);
  --shadow: 0 1px 2px rgb(20 18 16 / .05), 0 16px 40px -18px rgb(20 18 16 / .18);
  --shadow-lg: 0 2px 6px rgb(20 18 16 / .06), 0 30px 70px -24px rgb(20 18 16 / .28);

  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Plus Jakarta Sans", "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --fs-hero: clamp(2.4rem, 1.4rem + 4vw, 4.4rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem);
  --fs-lead: clamp(1.06rem, 1rem + .3vw, 1.25rem);

  --r1: 10px; --r2: 14px; --r3: 20px; --r4: 28px; --pill: 999px;
  --breite: 1180px;
  --dauer: 160ms;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Rückwärtskompatible Aliasse */
  --brand: var(--marke-text);
  --brand-50: var(--accent-soft);
  --accent: var(--gold);
  --radius: var(--r3);
  --radius-sm: var(--r1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --marke-text: #3ED3AB;
    --gold: #F2B955;
    --gold-soft: rgb(242 185 85 / .14);
    --buehne: radial-gradient(42% 55% at 70% 10%, rgb(25 180 140 / .22), transparent 70%), radial-gradient(30% 45% at 5% 90%, rgb(232 166 60 / .12), transparent 70%);
    --bg: #0B0C0C; --surface: #131515; --surface-2: #1C1F1E; --raised: rgb(255 255 255 / .045);
    --glas: rgb(19 21 21 / .72); --kopf-grund: rgb(11 12 12 / .78);
    --line: rgb(255 255 255 / .10); --line-stark: rgb(255 255 255 / .22);
    --ink: #F3F2EE; --ink-2: #CFCCC4; --ink-3: #8F8B82;
    --accent-soft: rgb(25 180 140 / .16);
    --ok: #3ED3AB; --ok-soft: rgb(62 211 171 / .14);
    --warn: #F2B955; --warn-soft: rgb(242 185 85 / .14);
    --bad: #FF7A94; --bad-soft: rgb(255 122 148 / .14);
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 16px 40px -18px rgb(0 0 0 / .6);
    --shadow-lg: 0 2px 6px rgb(0 0 0 / .4), 0 30px 70px -24px rgb(0 0 0 / .7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --marke-text: #3ED3AB; --gold: #F2B955; --gold-soft: rgb(242 185 85 / .14);
  --bg: #0B0C0C; --surface: #131515; --surface-2: #1C1F1E; --raised: rgb(255 255 255 / .045);
  --glas: rgb(19 21 21 / .72); --kopf-grund: rgb(11 12 12 / .78);
  --line: rgb(255 255 255 / .10); --line-stark: rgb(255 255 255 / .22);
  --ink: #F3F2EE; --ink-2: #CFCCC4; --ink-3: #8F8B82;
  --accent-soft: rgb(25 180 140 / .16);
  --ok: #3ED3AB; --ok-soft: rgb(62 211 171 / .14);
  --warn: #F2B955; --warn-soft: rgb(242 185 85 / .14);
  --bad: #FF7A94; --bad-soft: rgb(255 122 148 / .14);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; letter-spacing: -.003em;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--marke-text); text-underline-offset: .18em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: 1.15rem; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: .1em .4em; border-radius: 6px; }

.container { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.small { font-size: .875rem; }
.muted { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }
.auge, .eyebrow {
  display: inline-flex; align-items: center; gap: .5em; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 1rem; padding: .35rem .9rem; border: 1px solid var(--line); border-radius: var(--pill); background: var(--glas);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--verlauf); box-shadow: 0 0 0 4px var(--glow-soft); }
.kicker { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .5rem; }
.wortmarke-akzent { background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--marke-2); outline-offset: 3px; border-radius: 8px; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; cursor: pointer; border: 1px solid transparent;
  padding: .72em 1.35em; border-radius: var(--pill); font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  text-decoration: none; transition: transform var(--dauer) var(--ease), box-shadow var(--dauer), background-color var(--dauer), border-color var(--dauer), filter var(--dauer);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cta); color: var(--cta-ink); box-shadow: var(--cta-glow); }
.btn-primary:hover { filter: brightness(1.06); box-shadow: 0 14px 36px -10px var(--glow); transform: translateY(-1px); }
.btn-primary:disabled { filter: grayscale(.6) opacity(.6); box-shadow: none; cursor: not-allowed; transform: none; }
.btn-light { background: #fff; color: var(--marke-1); }
.btn-light:hover { background: #F2FBF8; }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-stark); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-sm { padding: .5em 1em; font-size: .9rem; }
.btn-lg { padding: .95em 1.9em; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link::after { content: " →"; }
.text-btn { background: none; border: 0; padding: 0; color: var(--marke-text); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }

/* ---------- Kopf ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--kopf-grund); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { width: 34px; height: 34px; border-radius: 10px; filter: drop-shadow(0 6px 16px var(--glow-soft)); }
.logo span { display: flex; flex-direction: column; line-height: 1.05; }
.logo strong { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.04em; }
.logo small { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; transition: color var(--dauer), border-color var(--dauer); }
.main-nav a:not(.btn):hover { color: var(--ink); border-color: var(--marke-2); }
.theme-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink-2); }
.theme-btn:hover { color: var(--ink); border-color: var(--line-stark); }
.theme-btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 64px; background: var(--buehne); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-stark), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { margin-bottom: .45em; }
.lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 36rem; margin-bottom: 1.6em; }

.hero-card { background: var(--glas); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: var(--r4); padding: 20px; box-shadow: var(--shadow-lg); }
.hero-card-title { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px 4px; }
.hero-search { position: relative; }
.hero-search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--marke-text); pointer-events: none; }
.hero-search .input-xl { padding-left: 52px; }
.hero-hint { margin: 12px 4px 0; font-size: .9rem; color: var(--ink-3); }
.hero-hint .text-btn { font-size: inherit; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .9rem; color: var(--ink-2); }
.checks li { display: flex; align-items: center; gap: 7px; }
.checks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none; background: var(--verlauf) ; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23000'/%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23000'/%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(30px); opacity: .7; z-index: 0; }
.preview-card { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r4); padding: 26px 26px 22px; box-shadow: var(--shadow-lg); max-width: 440px; margin-left: auto; animation: schweben 7s ease-in-out infinite; }
@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.preview-label { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 6px; }
.preview-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem); letter-spacing: -.04em; margin: 0 0 14px; }
.preview-range { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .8rem; color: var(--ink-3); margin: 8px 0 18px; }
.preview-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.preview-meta small { display: block; font-size: .72rem; color: var(--ink-3); }
.preview-meta b { font-family: var(--mono); font-weight: 500; font-size: .95rem; }
.preview-meta b.ok { color: var(--ok); }
.preview-chip { position: absolute; z-index: 2; top: -14px; right: 22px; background: var(--ink); color: var(--bg); font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: .4rem .8rem; border-radius: var(--pill); box-shadow: var(--shadow); }

.range-bar { position: relative; height: 10px; border-radius: var(--pill); background: var(--surface-2); }
.range-bar span { position: absolute; top: 0; bottom: 0; border-radius: var(--pill); background: var(--verlauf); opacity: .85; }
.range-bar i { position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 4px solid var(--marke-1); transform: translate(-50%, -50%); box-shadow: 0 0 0 4px var(--glow-soft); }

/* ---------- Vertrauens-Leiste ---------- */
.trust-strip { padding: 22px 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-grid > div { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid transparent; border-image: var(--verlauf) 1; }
.trust-grid b { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; font-size: 1.05rem; }
.trust-grid span { font-size: .85rem; color: var(--ink-3); }

/* ---------- Abschnitte ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { text-align: center; margin-bottom: 1.6em; }
.section-title.left { text-align: left; }
.section-intro { text-align: center; max-width: 42rem; margin: -1.2em auto 2.4em; color: var(--ink-2); }
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }

.steps-grid { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: schritt; }
.steps-grid li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); padding: 24px 22px; position: relative; transition: transform var(--dauer) var(--ease), box-shadow var(--dauer); }
.steps-grid li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.steps-grid h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.steps-grid p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.step-no { display: inline-block; font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--marke-text); background: var(--accent-soft); padding: .3rem .6rem; border-radius: var(--pill); }

.factor-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.factor-list li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: baseline; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); padding: 14px 18px; }
.factor-list b { font-family: var(--font-display); letter-spacing: -.02em; }
.factor-list span { color: var(--ink-2); font-size: .92rem; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 44px 18px 0; font-weight: 600; font-family: var(--font-display); letter-spacing: -.01em; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--mono); color: var(--ink-3); transition: transform var(--dauer), background var(--dauer); }
.faq details[open] summary::after { content: "–"; background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq p { color: var(--ink-2); margin: 0 0 20px; max-width: 64ch; }

.cta-band { position: relative; margin: 0 20px 40px; border-radius: var(--r4); background: var(--verlauf); color: #fff; padding: 72px 0; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 20%, rgb(255 255 255 / .18), transparent 70%); }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.cta-inner h2 { color: #fff; margin: 0; max-width: 24ch; }
.cta-inner p { color: rgb(255 255 255 / .85); margin: 0; max-width: 46ch; }

/* ---------- Eingaben ---------- */
.input {
  width: 100%; border: 1px solid var(--line-stark); border-radius: var(--r2); background: var(--surface); color: var(--ink);
  padding: 12px 14px; font-size: 1rem; line-height: 1.3; transition: border-color var(--dauer), box-shadow var(--dauer);
}
.input::placeholder { color: var(--ink-3); }
.input:hover { border-color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--marke-2); box-shadow: 0 0 0 4px var(--glow-soft); }
.input-xl { padding: 18px 20px; font-size: 1.1rem; border-radius: var(--r3); }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%2374716A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
textarea.input { resize: vertical; min-height: 90px; }
.input-unit { position: relative; }
.input-unit .input { padding-right: 56px; }
.input-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-family: var(--mono); font-size: .85rem; pointer-events: none; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.field { margin-bottom: 20px; }
.field-label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.field.invalid .input, .field.invalid .seg { border-color: var(--bad); }
.error { color: var(--bad); font-size: .85rem; margin: 6px 0 0; }
.hint { font-size: .85rem; color: var(--ink-3); margin: 6px 0 0; }
.hint-warn { color: var(--warn); background: var(--warn-soft); border-radius: var(--r1); padding: 8px 10px; }
.auto-badge { font-family: var(--mono); font-weight: 500; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--marke-text); background: var(--accent-soft); padding: .2rem .55rem; border-radius: var(--pill); cursor: help; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-item { position: relative; cursor: pointer; }
.seg-item input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg-item span { display: flex; flex-direction: column; gap: 2px; padding: 11px 16px; border-radius: var(--r2); border: 1px solid var(--line-stark); background: var(--surface); font-size: .95rem; line-height: 1.3; transition: border-color var(--dauer), background var(--dauer), box-shadow var(--dauer); }
.seg-item b { font-weight: 600; }
.seg-item small { font-size: .78rem; color: var(--ink-3); }
.seg-item:hover span { border-color: var(--ink-3); }
.seg-item input:checked + span { border-color: var(--marke-1); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--marke-1); }
.seg-item input:focus-visible + span { outline: 2px solid var(--marke-2); outline-offset: 2px; }
.seg-sm .seg-item span { padding: 8px 13px; font-size: .88rem; }
.seg-desc { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.seg-desc .seg-item span { height: 100%; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-stark); border-radius: var(--r2); background: var(--surface); overflow: hidden; }
.stepper button { width: 44px; height: 46px; border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; color: var(--ink-2); transition: background var(--dauer); }
.stepper button:hover:not(:disabled) { background: var(--surface-2); color: var(--ink); }
.stepper button:disabled { color: var(--line-stark); cursor: not-allowed; }
.stepper output { min-width: 56px; text-align: center; font-family: var(--mono); font-weight: 500; font-size: 1.05rem; }

.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .95rem; padding: 10px 0; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--marke-1); flex: none; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r2); font-size: .92rem; margin-bottom: 22px; border: 1px solid transparent; }
.notice svg { flex: none; margin-top: 1px; }
.notice b { display: block; margin-bottom: 2px; }
.notice-ok { background: var(--ok-soft); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 25%, transparent); }
.notice-ok b, .notice-ok div { color: var(--ink); }
.notice-info { background: var(--surface-2); color: var(--ink-2); }
.notice-bad { background: var(--bad-soft); color: var(--bad); }
.notice .sources { display: block; margin-top: 6px; font-size: .78rem; color: var(--ink-3); }

details.more, .components { border: 1px solid var(--line); border-radius: var(--r3); padding: 0 20px; margin-bottom: 22px; background: var(--surface); }
details.more > summary, .components > summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 10px; }
details.more > summary::-webkit-details-marker, .components > summary::-webkit-details-marker { display: none; }
details.more > summary::before, .components > summary::before { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(-45deg); transition: transform var(--dauer); flex: none; margin-left: 2px; }
details.more[open] > summary::before, .components[open] > summary::before { transform: rotate(45deg); }
.more-body { padding: 4px 0 6px; border-top: 1px solid var(--line); margin-top: 0; padding-top: 20px; }
.components-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.components-grid .field { margin-bottom: 12px; }
.components .hint { padding-bottom: 14px; }

/* ---------- Autovervollständigung ---------- */
.ac { position: relative; }
.ac-list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); box-shadow: var(--shadow-lg); z-index: 30; max-height: 320px; overflow: auto; text-align: left; }
.ac-list li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: var(--r1); cursor: pointer; font-size: .95rem; color: var(--ink); }
.ac-list li svg { color: var(--ink-3); flex: none; }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: var(--accent-soft); }
.ac-list li[aria-selected="true"] svg { color: var(--marke-text); }
.ac-empty { color: var(--ink-3); cursor: default !important; background: none !important; }

/* ---------- Angaben prüfen ---------- */
.wizard { padding: 36px 0 72px; background: var(--buehne); }
.wizard-container { max-width: 820px; }
.wizard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 16px; }
.btn-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--ink-2); font-weight: 500; cursor: pointer; padding: 6px 10px 6px 4px; border-radius: var(--pill); }
.btn-back:hover { background: var(--surface-2); color: var(--ink); }
.mini-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.mini-steps li { padding: .35rem .75rem; border-radius: var(--pill); border: 1px solid var(--line); color: var(--ink-3); background: var(--surface); }
.mini-steps li.done { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.mini-steps li.active { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.wizard-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r4); padding: 28px 30px; box-shadow: var(--shadow); }
.wizard-note { text-align: center; color: var(--ink-3); font-size: .85rem; margin-top: 16px; }
.details-head { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; }
.details-map { position: relative; width: 150px; height: 100px; border-radius: var(--r2); overflow: hidden; flex: none; background: var(--surface-2); }
.details-map img { width: 100%; height: 100%; object-fit: cover; }
.details-address { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; margin: 0 0 4px; }
.details-head .muted { margin: 0 0 2px; }
.details-title { font-size: 1.5rem; margin: 0 0 18px; }
.wizard-actions { margin-top: 10px; }
.map-pin { position: absolute; left: 50%; top: 50%; width: 26px; height: 34px; transform: translate(-50%, -100%); filter: drop-shadow(0 4px 6px rgb(0 0 0 / .3)); }
.map-pin path { fill: var(--marke-1); }
.loading-overlay { display: flex; align-items: center; gap: 16px; padding: 28px 0 10px; color: var(--ink-2); }
.dot-spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--marke-2); animation: drehen .9s linear infinite; flex: none; }
.dot-spinner.inline { display: inline-block; width: 14px; height: 14px; border-width: 2px; vertical-align: -2px; margin-right: 6px; }
@keyframes drehen { to { transform: rotate(360deg); } }

/* ---------- Berechnung ---------- */
.processing { padding: 110px 0; background: var(--buehne); }
.spinner { width: 64px; height: 64px; margin: 0 auto 28px; border-radius: 50%; background: conic-gradient(var(--marke-2), var(--marke-1), transparent 70%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px)); animation: drehen 1s linear infinite; }
.processing h2 { font-size: 1.6rem; }
.processing-steps { list-style: none; margin: 24px auto 0; padding: 0; max-width: 420px; text-align: left; display: grid; gap: 8px; }
.processing-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r2); border: 1px solid var(--line); background: var(--surface); color: var(--ink-3); font-size: .95rem; transition: color var(--dauer), border-color var(--dauer); }
.processing-steps li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-stark); flex: none; }
.processing-steps li.active { color: var(--ink); border-color: var(--marke-2); }
.processing-steps li.active::before { border-color: var(--marke-2); border-top-color: transparent; animation: drehen .8s linear infinite; }
.processing-steps li.done { color: var(--ink-2); }
.processing-steps li.done::before { background: var(--verlauf); border-color: transparent; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23000'/%3E%3Cpath d='M5 9.3l2.6 2.6 5.4-5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%23000'/%3E%3Cpath d='M5 9.3l2.6 2.6 5.4-5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- Resultat ---------- */
.result { padding: 32px 0 80px; background: var(--buehne); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); padding: 22px 24px; margin-bottom: 16px; }
.card h2 { font-size: 1.1rem; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.card h3 { font-size: .95rem; margin: 16px 0 8px; }
.card-title-note { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; margin-left: auto; }
.result-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.result-head h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 0 0 4px; }
.result-head p { margin: 0; color: var(--ink-2); }
.result-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.hero-result { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r4); padding: 28px 30px 24px; margin-bottom: 16px; box-shadow: var(--shadow-lg); }
.hero-result::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -220px; background: radial-gradient(closest-side, var(--glow-soft), transparent); pointer-events: none; }
.hero-result-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; }
.value-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.value-main { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 1.6rem + 3.2vw, 3.9rem); letter-spacing: -.045em; line-height: 1; margin: 0 0 18px; }
.value-range { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .82rem; color: var(--ink-2); margin-top: 10px; }
.value-range small { display: block; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-family: var(--mono); }
.confidence { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.confidence .lights { display: inline-flex; gap: 3px; }
.confidence .lights i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-stark); }
.conf-high .lights i { background: var(--ok); }
.conf-medium .lights i:nth-child(-n+2) { background: var(--warn); }
.conf-low .lights i:first-child { background: var(--bad); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kpi { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r2); padding: 14px 16px; }
.kpi small { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.kpi b { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; }
.kpi .sub { font-size: .8rem; color: var(--ink-3); }
.conf-reasons { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.conf-reasons li { font-size: .78rem; color: var(--ink-2); background: var(--surface-2); padding: .25rem .65rem; border-radius: var(--pill); }
.portal-note { margin: 14px 0 0; }

.fazit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.fazit > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }
.fazit .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--marke-text); }
.fazit .ico.neg { background: var(--bad-soft); color: var(--bad); }
.fazit .ico.gold { background: var(--gold-soft); color: var(--gold); }
.fazit small { display: block; font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.fazit b { font-weight: 600; font-size: .95rem; letter-spacing: -.01em; }
.fazit p { margin: 0; font-size: .82rem; color: var(--ink-2); }

.result-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: start; }
.result-col > .card:last-child { margin-bottom: 0; }

.factor-rows { display: grid; gap: 8px; }
.factor-row { display: grid; grid-template-columns: 1fr 120px 74px; gap: 12px; align-items: center; font-size: .92rem; }
.factor-row small { display: block; font-size: .76rem; color: var(--ink-3); }
.factor-bar { position: relative; height: 8px; background: var(--surface-2); border-radius: var(--pill); }
.factor-bar::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--line-stark); }
.factor-bar span { position: absolute; top: 0; bottom: 0; border-radius: var(--pill); }
.factor-bar .pos { left: 50%; background: var(--verlauf); }
.factor-bar .neg { right: 50%; background: var(--bad); opacity: .8; }
.factor-val { font-family: var(--mono); font-weight: 500; font-size: .85rem; text-align: right; }
.factor-val.pos { color: var(--ok); }
.factor-val.neg { color: var(--bad); }
.factor-more { margin-top: 10px; }

.chart { width: 100%; height: auto; font-family: var(--mono); font-size: 11px; }
.chart text { fill: var(--ink-3); }
.chart text.val { fill: var(--ink); font-weight: 500; }
.chart .line { stroke: var(--marke-1); }
.chart .dot { fill: var(--marke-1); }
.chart .dot.last { fill: var(--gold); }
.chart .bar { fill: var(--marke-1); }
.chart .bar.highlight { fill: var(--gold); }
.chart .grad-start { stop-color: var(--marke-2); }
.chart-note { font-size: .78rem; color: var(--ink-3); margin: 8px 0 0; }

.summary-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font-size: .9rem; }
.summary-list dt { color: var(--ink-3); }
.summary-list dt small { display: block; font-size: .75rem; }
.summary-list dd { margin: 0; font-weight: 500; text-align: right; }
.summary-list dd small { display: block; font-weight: 400; color: var(--ink-3); font-size: .78rem; }
.rent-basis dd { font-family: var(--mono); font-weight: 400; font-size: .85rem; }
.rent-value { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.03em; margin: 0 0 4px; }
.rent-gross { font-size: .92rem; margin: 0 0 12px; }
.rent-gross small { color: var(--ink-3); }

.mini-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.mini-table th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); }
.mini-table td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.mini-table td small { display: block; color: var(--ink-3); font-size: .75rem; }
.mini-table .num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.badge { display: inline-block; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .55rem; border-radius: var(--pill); background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.badge.pos { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.neg { background: var(--bad-soft); color: var(--bad); }

.map-preview { position: relative; border-radius: var(--r2); overflow: hidden; margin-bottom: 16px; background: var(--surface-2); aspect-ratio: 2 / 1; }
.map-preview img { width: 100%; height: 100%; object-fit: cover; }
.map-credit { position: absolute; right: 8px; bottom: 6px; font-family: var(--mono); font-size: .62rem; color: #fff; background: rgb(0 0 0 / .45); padding: 2px 6px; border-radius: 4px; }
.scores { display: grid; gap: 10px; }
.score-row { display: grid; grid-template-columns: 1fr 110px 44px; gap: 12px; align-items: center; font-size: .92rem; }
.score-row small { display: block; font-size: .76rem; color: var(--ink-3); }
.score-row b { font-family: var(--mono); font-weight: 500; font-size: .85rem; text-align: right; }
.score-track { height: 8px; border-radius: var(--pill); background: var(--surface-2); overflow: hidden; }
.score-track span { display: block; height: 100%; background: var(--verlauf); border-radius: var(--pill); }
.extra-title { margin-top: 18px; }
.extra-list { margin-top: 4px; }
.extra-list dd { text-align: left; font-weight: 400; }

/* Details-Akkordeon im Resultat */
.detail-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); margin-bottom: 10px; }
.detail-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
.detail-group > summary::-webkit-details-marker { display: none; }
.detail-group > summary .summary-val { margin-left: auto; font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--ink-2); text-align: right; }
.detail-group > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform var(--dauer); flex: none; margin: 0 4px 4px 6px; }
.detail-group[open] > summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.detail-group > summary:hover { background: var(--surface-2); border-radius: var(--r3); }
.detail-group[open] > summary:hover { border-radius: var(--r3) var(--r3) 0 0; }
.detail-body { padding: 4px 20px 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.detail-body > p:last-child { margin-bottom: 0; }
.details-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 12px; }
.details-title-row h2 { margin: 0; font-size: 1.1rem; }

.szenario { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.szenario > div { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r2); padding: 14px 16px; }
.szenario small { display: block; font-size: .78rem; color: var(--ink-3); margin-bottom: 4px; }
.szenario b { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; }
.szenario .delta { font-family: var(--mono); font-size: .8rem; margin-left: 6px; }
.szenario .delta.pos { color: var(--ok); }
.szenario .delta.neg { color: var(--bad); }
.szenario p { margin: 6px 0 0; font-size: .82rem; color: var(--ink-2); }

.feedback-card { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.feedback-card h2 { margin: 0; font-size: 1rem; }
.feedback-card form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.fb-verdicts { display: flex; gap: 6px; }

.lead-card { background: linear-gradient(135deg, var(--surface) 0%, var(--accent-soft) 100%); border-color: color-mix(in srgb, var(--marke-2) 30%, transparent); }
.lead-card h2 { font-size: 1.25rem; }
.lead-card .field { margin-bottom: 14px; }
.lead-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lead-intro p { margin: 0; color: var(--ink-2); max-width: 48ch; }
.hp { position: absolute; left: -9999px; }

.method p { font-size: .88rem; color: var(--ink-2); }
.method h3 { margin-top: 14px; }

.share-box { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.share-box .input { font-family: var(--mono); font-size: .82rem; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: .7rem 1.1rem; border-radius: var(--pill); font-size: .9rem; z-index: 50; box-shadow: var(--shadow-lg); animation: toast-in var(--dauer) var(--ease); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 8px); } }

/* ---------- Fuss ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; color: var(--ink-2); font-size: .92rem; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.footer-grid h4 { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; font-weight: 500; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--marke-text); }
.logo-footer { margin-bottom: 10px; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Unterseiten / Admin ---------- */
.page { padding: 56px 0 80px; }
.page h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.page h2 { font-size: 1.25rem; margin-top: 1.6em; }
.placeholder { background: var(--warn-soft); color: var(--warn); padding: 12px 16px; border-radius: var(--r2); font-size: .9rem; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); margin-bottom: 24px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-table th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tr:last-child td { border-bottom: 0; }
.comp-form { margin-bottom: 20px; }
.comp-form .grid-3 { gap: 0 14px; }

/* ---------- Druck ---------- */
.print-only { display: none; }
@media print {
  :root { --bg: #fff; --surface: #fff; --buehne: none; --shadow: none; --shadow-lg: none; }
  body { font-size: 11pt; color: #000; }
  .site-header, .site-footer, #landing, #details, #processing, .result-actions, .lead-card, .feedback-card, .no-print, .share-box, .factor-more, .theme-btn { display: none !important; }
  .print-only { display: block; }
  .print-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #0B7D66; padding-bottom: 8px; margin-bottom: 14px; }
  .result { padding: 0; }
  .result-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card, .hero-result, .detail-group { break-inside: avoid; box-shadow: none; }
  .detail-group > summary::after { display: none; }
  .detail-group:not([open]) > .detail-body { display: block; }
  .hero-result::before { display: none; }
}
/* Druck: geschlossene Details trotzdem zeigen (Browser rendern nur mit open) */
@media print { details.detail-group { display: block; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { display: none; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .result-grid, .hero-result-grid { grid-template-columns: 1fr; }
  .fazit { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .hero { padding: 44px 0 40px; }
  .section { padding: 60px 0; }
  .main-nav a:not(.btn) { display: none; }
  .logo small { display: none; }
  .main-nav { gap: 10px; }
  .steps-grid, .trust-grid, .grid-2, .grid-3, .components-grid { grid-template-columns: 1fr; }
  .factor-list li { grid-template-columns: 1fr; gap: 2px; }
  .wizard-card { padding: 20px 18px; border-radius: var(--r3); }
  .hero-result { padding: 22px 18px; }
  .card { padding: 18px 16px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .factor-row { grid-template-columns: 1fr 90px 64px; gap: 8px; }
  .score-row { grid-template-columns: 1fr 80px 44px; }
  .result-head { align-items: flex-start; }
  .cta-band { margin: 0 12px 24px; padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .details-head { flex-direction: column; align-items: flex-start; }
  .details-map { width: 100%; height: 140px; }
  .mini-steps li:not(.active) { display: none; }
  .feedback-card form { margin-left: 0; }
  .detail-group > summary { padding: 14px 16px; }
  .detail-body { padding: 14px 16px 16px; }
}
@media (max-width: 420px) {
  .kpis { grid-template-columns: 1fr; }
  .result-actions .btn { flex: 1 1 auto; }
}

/* ==========================================================================
   Ergänzungen 2026-10: Kacheln, Kennzahlen, Chips, Formular-Layout, Resultat-Icons
   ========================================================================== */
.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; padding: .3rem .65rem; border-radius: var(--pill); border: 1px solid var(--line); background: var(--glas); color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--verlauf); }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); padding: 18px; transition: transform var(--dauer) var(--ease), box-shadow var(--dauer), border-color var(--dauer); }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--marke-2) 40%, var(--line)); }
.tile b { display: block; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; font-size: 1.02rem; margin-bottom: 4px; }
.tile span:not(.tile-icon) { font-size: .86rem; color: var(--ink-2); line-height: 1.45; }
.tile-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--marke-text); border: 1px solid color-mix(in srgb, var(--marke-2) 30%, transparent); }
.tile-icon svg { width: 22px; height: 22px; }
.trust-strip { background: transparent; border-bottom: 0; padding: 0 0 8px; margin-top: -36px; position: relative; z-index: 2; }

.section-why { padding-top: 72px; }
.section-why .section-title { margin-bottom: 1.2em; max-width: 22ch; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.why-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); padding: 24px 22px; }
.why-card .tile-icon { margin-bottom: 16px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stats li { border-top: 2px solid var(--line); padding-top: 16px; }
.stats b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); letter-spacing: -.04em; line-height: 1; background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stats span { display: block; font-size: .92rem; color: var(--ink); }
.stats small { display: block; font-size: .74rem; color: var(--ink-3); margin-top: 6px; }
.step-icon { width: 26px; height: 26px; color: var(--marke-text); margin-top: 14px; }
.steps-grid h3 { margin-top: 8px; }

/* Formular zweispaltig mit Seitenkarte */
.wizard-container { max-width: 1080px; }
.wizard-card { background: transparent; border: 0; padding: 0; box-shadow: none; }
.wizard-grid { display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: start; }
.wizard-side { position: sticky; top: 84px; display: grid; gap: 14px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r3); overflow: hidden; }
.side-map { position: relative; height: 170px; background: var(--surface-2); }
.side-map img { width: 100%; height: 100%; object-fit: cover; }
.side-body { padding: 16px 18px 18px; }
.side-body .kicker { margin-bottom: 4px; }
.side-address { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; margin: 0 0 6px; line-height: 1.25; }
.found { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.found li { font-size: .78rem; padding: .25rem .6rem; border-radius: var(--pill); background: var(--accent-soft); color: var(--marke-text); font-weight: 500; }
.found li.neutral { background: var(--surface-2); color: var(--ink-2); }
.found-title { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.side-note { font-size: .78rem; color: var(--ink-3); margin: 14px 0 0; }
.wizard-main { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r4); padding: 26px 28px 24px; box-shadow: var(--shadow); }
.form-section { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; margin: 28px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-section.first { border-top: 0; padding-top: 0; margin-top: 18px; }
.form-section .num { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--ink); color: var(--bg); flex: none; }
.form-section small { font-family: var(--font); font-weight: 400; font-size: .82rem; color: var(--ink-3); margin-left: auto; letter-spacing: 0; text-align: right; }
.seg-item.seg-ico span { flex-direction: row; align-items: center; gap: 10px; padding: 12px 18px; }
.seg-item.seg-ico svg { width: 22px; height: 22px; flex: none; color: var(--marke-text); }
.wizard-actions { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.wizard-actions .btn { flex: 1 1 260px; }
.wizard-actions .muted { font-size: .82rem; flex: 1 1 200px; margin: 0; }
.loading-overlay.big { padding: 60px 0; justify-content: center; }
.text-btn.small { font-size: .85rem; }
@media (max-width: 980px) {
  .wizard-grid { grid-template-columns: 1fr; }
  .wizard-side { position: static; }
  .side-map { height: 120px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .trust-strip { margin-top: 0; padding-top: 24px; }
}
@media (max-width: 700px) {
  .tiles, .stats { grid-template-columns: 1fr; }
  .wizard-main { padding: 20px 16px; border-radius: var(--r3); }
  .wizard-actions .btn { flex-basis: 100%; }
  .form-section small { flex-basis: 100%; margin-left: 36px; text-align: left; }
}

/* Resultat: Icons in Kennzahlen und Detailgruppen, Genauigkeits-Balken */
.kpi { position: relative; padding-right: 50px; }
.kpi b { font-size: 1.12rem; white-space: nowrap; }
.kpi .sub { display: block; margin-top: 4px; line-height: 1.3; }
.kpi .kpi-ico { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--marke-text); }
.kpi .kpi-ico svg { width: 16px; height: 16px; }
.detail-group > summary .g-ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--marke-text); flex: none; }
.detail-group > summary .g-ico svg { width: 16px; height: 16px; }
.conf-bar { display: inline-flex; gap: 3px; vertical-align: middle; }
.conf-bar i { width: 14px; height: 6px; border-radius: 3px; background: var(--line-stark); }
.conf-high .conf-bar i { background: var(--ok); }
.conf-medium .conf-bar i:nth-child(-n+2) { background: var(--warn); }
.conf-low .conf-bar i:first-child { background: var(--bad); }
.hero-result-grid { gap: 36px; }
.value-main { background: linear-gradient(120deg, var(--ink) 0%, var(--ink) 55%, var(--marke-text) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-head .kicker { display: flex; align-items: center; gap: 8px; }
.result-head .kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--verlauf); }
@media print { .value-main { color: #000; background: none; } }

/* Preis-Check */
.price-check { display: flex; gap: 10px; align-items: stretch; max-width: 460px; margin-bottom: 12px; }
.price-check .input-unit { flex: 1; }
.verdict { border-radius: var(--r2); padding: 14px 16px; border: 1px solid var(--line); background: var(--surface-2); }
.verdict b { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }
.verdict p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.verdict-pos { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 30%, transparent); }
.verdict-pos b, .verdict-ok b { color: var(--ok); }
.verdict-ok { background: var(--accent-soft); border-color: color-mix(in srgb, var(--marke-2) 30%, transparent); }
.verdict-warn { background: var(--warn-soft); } .verdict-warn b { color: var(--warn); }
.verdict-neg { background: var(--bad-soft); } .verdict-neg b { color: var(--bad); }
@media (max-width: 700px) { .price-check { flex-direction: column; } }
