/* PutBerry Designsystem: alle Seiten nutzen diese Datei. Farben (tiefes Navy, Anthrazit, Smaragd), Abstände, Radien, Schatten und Bewegung sind Tokens. */
:root {
  /* Hell: Weiß/Graublau mit tiefem Navy als Schrift und Smaragd als Markenfarbe (Kontrast auf Weiß >= 4,5:1) */
  --bg: #f5f7fa; --surface: #ffffff; --surface-2: #eef2f6; --text: #0b1324; --muted: #4f5d72; --border: #dfe5ec; --border-strong: #c5cfdb;
  --brand: #047857; --brand-hover: #065f46; --brand-ink: #ffffff; --brand-soft: #e8f7f1; --accent: #1e3a8a; --accent-soft: #eaf0fb;
  --ok: #15803d; --ok-bg: #ecfdf3; --warn: #b45309; --warn-bg: #fff7e6; --fail: #c62828; --fail-bg: #fff0f0; --danger: #b91c1c; --danger-ink: #ffffff; --unknown: #475569; --unknown-bg: #f1f5f9;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --fs-xs: .8125rem; --fs-sm: .9375rem; --fs-base: 1rem; --fs-lg: 1.125rem; --fs-h3: 1.0625rem; --fs-h2: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); --fs-h1: clamp(1.875rem, 1.3rem + 2.4vw, 3rem);
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 5rem;
  --r-sm: 8px; --r: 12px; --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06); --shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 8px 24px rgba(15, 23, 42, .06);
  --ease: cubic-bezier(.2, .7, .2, 1); --t: 160ms;
  --focus: 0 0 0 3px rgba(4, 120, 87, .45);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1020; --surface: #101827; --surface-2: #182131; --text: #e9eef6; --muted: #a3b1c6; --border: #223047; --border-strong: #33435f;
    --brand: #34d399; --brand-hover: #6ee7b7; --brand-ink: #04261a; --brand-soft: #0c2a22; --accent: #8fb4ff; --accent-soft: #14213b;
    --ok: #34d399; --ok-bg: #0b2a1f; --warn: #fbbf24; --warn-bg: #2b2108; --fail: #ff7b7b; --fail-bg: #3a1618; --unknown: #b6c3d6; --unknown-bg: #17233b;
    --shadow-sm: none; --shadow: 0 8px 24px rgba(0, 0, 0, .35); --focus: 0 0 0 3px rgba(52, 211, 153, .55); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1020; --surface: #101827; --surface-2: #182131; --text: #e9eef6; --muted: #a3b1c6; --border: #223047; --border-strong: #33435f;
    --brand: #34d399; --brand-hover: #6ee7b7; --brand-ink: #04261a; --brand-soft: #0c2a22; --accent: #8fb4ff; --accent-soft: #14213b;
    --ok: #34d399; --ok-bg: #0b2a1f; --warn: #fbbf24; --warn-bg: #2b2108; --fail: #ff7b7b; --fail-bg: #3a1618; --unknown: #b6c3d6; --unknown-bg: #17233b;
  --shadow-sm: none; --shadow: 0 8px 24px rgba(0, 0, 0, .35); --focus: 0 0 0 3px rgba(52, 211, 153, .55); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0; }
h1 { font-size: var(--fs-h1); font-weight: 750; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 650; letter-spacing: -.005em; }
p { margin: 0 0 var(--s3); }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
img, svg { max-width: 100%; }
code, .mono { font-family: var(--mono); font-size: .9em; overflow-wrap: anywhere; }   /* lange Einträge (z. B. _25._tcp.mailserver.…) brechen um statt die Seite auf dem Handy seitlich zu verschieben */
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--s4); }
.narrow { max-width: 720px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -100px; background: var(--surface); color: var(--text); padding: var(--s2) var(--s4); border-radius: var(--r-sm); z-index: 100; border: 1px solid var(--border-strong); }
.skip:focus { top: var(--s2); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.stack > * + * { margin-top: var(--s4); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: var(--s4); }
.logo { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.logo:hover { color: var(--text); }
.logo svg { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: var(--s1); }
.nav-links a { color: var(--muted); text-decoration: none; padding: var(--s2) var(--s3); border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 500; transition: color var(--t), background var(--t); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-tools { display: flex; align-items: center; gap: var(--s2); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; transition: background var(--t); }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--border); padding: var(--s2) var(--s4) var(--s4); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: var(--s3); font-size: var(--fs-base); }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s5); font: inherit; font-weight: 600; font-size: var(--fs-base); border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background var(--t) var(--ease), border-color var(--t), transform var(--t), box-shadow var(--t); white-space: normal; text-align: center; line-height: 1.3; padding-top: 10px; padding-bottom: 10px; max-width: 100%; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover:not(:disabled) { background: var(--brand-hover); color: var(--brand-ink); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
.btn-tertiary { background: transparent; color: var(--brand); padding: 0 var(--s3); }
.btn-tertiary:hover:not(:disabled) { background: var(--brand-soft); }
/* Fester Rotton in beiden Designs: das helle Rot des dunklen Designs (--fail) hätte mit weißer Schrift nur 2,5:1 Kontrast (axe-Fund) */
.btn-danger { background: var(--danger); color: var(--danger-ink); }
.btn-danger:hover:not(:disabled) { filter: brightness(.92); color: var(--danger-ink); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--brand-ink); border-right-color: transparent; animation: spin .7s linear infinite; }
.btn-secondary.loading::after { border-color: var(--text); border-right-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

/* Formulare */
label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--s1); }
.input { width: 100%; min-height: 48px; padding: 0 var(--s4); font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-sm); transition: border-color var(--t), box-shadow var(--t); }
.input::placeholder { color: var(--muted); opacity: .8; }
.input:hover { border-color: var(--muted); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.input[aria-invalid="true"] { border-color: var(--fail); }
.hint { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s1); }

.domain-form { display: flex; gap: var(--s3); }
.domain-form .input { font-size: var(--fs-lg); min-height: 56px; }
.domain-form .btn { min-height: 56px; }
@media (max-width: 560px) { .domain-form { flex-direction: column; } .domain-form .btn { width: 100%; } }

/* Karten, Badges */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: var(--s5); box-shadow: var(--shadow-sm); }
.card + .card { margin-top: var(--s4); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 650; padding: 3px 10px 3px 8px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.badge svg { width: 14px; height: 14px; flex: none; }
.st-ok { color: var(--ok); background: var(--ok-bg); border-color: color-mix(in srgb, var(--ok) 25%, transparent); }
.st-warn { color: var(--warn); background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 25%, transparent); }
.st-fail { color: var(--fail); background: var(--fail-bg); border-color: color-mix(in srgb, var(--fail) 25%, transparent); }
.st-unknown { color: var(--unknown); background: var(--unknown-bg); border-color: var(--border); }

/* Startseite */
.hero { padding: var(--s8) 0 var(--s7); background: radial-gradient(1200px 400px at 50% -10%, var(--brand-soft), transparent 70%); }
.hero h1 { max-width: 18ch; }
.hero .lead { font-size: var(--fs-lg); color: var(--muted); max-width: 56ch; margin: var(--s4) 0 var(--s6); }

.adv { margin-top: var(--s4); }
.adv summary { cursor: pointer; color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s3); }
@media (max-width: 640px) { .adv-grid { grid-template-columns: 1fr; } }
.section { padding: var(--s7) 0; }
.section-head { max-width: 60ch; margin-bottom: var(--s6); }
.section-head p { color: var(--muted); margin-top: var(--s3); }
.grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: var(--s4); }
.feature .ico svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); font-size: var(--fs-sm); margin: var(--s2) 0 0; }

/* Analyse */
.status-card { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; }
.status-card > div:nth-child(2) { flex: 1 1 200px; min-width: 0; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--border-strong); border-top-color: var(--brand); animation: spin .9s linear infinite; flex: none; }
.results { padding: var(--s6) 0; }
.res-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--s4); }
.res-head h2 { word-break: break-all; }
.res-meta { color: var(--muted); font-size: var(--fs-sm); margin-top: var(--s1); }
.verdict { margin-top: var(--s4); padding: var(--s4); border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface-2); }
.counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); margin-top: var(--s4); }
@media (max-width: 640px) { .counts { grid-template-columns: repeat(2, 1fr); } }
.count { padding: var(--s4); border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface); }
.count b { display: block; font-size: 1.75rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.count span { font-size: var(--fs-sm); color: var(--muted); }
.check { animation: rise 280ms var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.check-head { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: center; justify-content: space-between; margin-bottom: var(--s3); }
.check p { margin-bottom: var(--s3); }
.todo { border-left: 3px solid var(--brand); background: var(--brand-soft); padding: var(--s3) var(--s4); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: var(--fs-sm); }
.todo b { display: block; margin-bottom: 2px; }
.tech { margin-top: var(--s3); border-top: 1px solid var(--border); padding-top: var(--s3); }
.tech summary { cursor: pointer; font-weight: 600; font-size: var(--fs-sm); color: var(--brand); list-style: none; display: inline-flex; align-items: center; gap: var(--s2); }
.tech summary::-webkit-details-marker { display: none; }
.tech summary::before { content: "›"; display: inline-block; transition: transform var(--t); font-size: 1.2em; line-height: 1; }
.tech[open] summary::before { transform: rotate(90deg); }
.kv { margin-top: var(--s3); display: grid; gap: var(--s3); }
.kv-row .k { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 650; }
.kv-row .v { display: flex; gap: var(--s2); align-items: flex-start; }
.kv-row pre { margin: 2px 0 0; flex: 1; min-width: 0; padding: var(--s3); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); font-family: var(--mono); font-size: .85rem; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.copy { flex: none; min-height: 36px; padding: 0 var(--s3); font-size: var(--fs-xs); }
.scope { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s5); }
.alert { padding: 2px 0 2px 14px; border: 0; border-left: 3px solid var(--border); border-radius: 0; background: none; color: inherit; display: flex; gap: var(--s3); align-items: flex-start; justify-content: space-between; flex-wrap: wrap; line-height: 1.5; }
.alert .msg { flex: 1 1 240px; }
.alert + .card, .alert + form, .alert + .stack, .form-note + .card { margin-top: var(--s4); }
/* Ruhige Hinweise statt farbig gefüllter Kästen: Text in normaler Farbe, nur eine feine Linie links zeigt die Art an */
.alert.err { border-left-color: var(--fail); }
.alert.good { border-left-color: var(--gold, var(--brand)); }
.alert.info { border-left-color: var(--border); }
.alert.warn { border-left-color: var(--warn); }

/* Angebote */
.plans { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan .price { font-size: 2rem; font-weight: 750; letter-spacing: -.02em; margin: var(--s3) 0 0; }
.plan .unit { color: var(--muted); font-size: var(--fs-sm); }
.plan ul { padding: 0; margin: var(--s4) 0; list-style: none; flex: 1; }
.plan li { padding-left: 26px; position: relative; margin-bottom: var(--s2); font-size: var(--fs-sm); }
.plan li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan .terms { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s3); }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow); }

/* Fußzeile und Inhaltsseiten */
.footer { border-top: 1px solid var(--border); margin-top: var(--s7); padding: var(--s6) 0; color: var(--muted); font-size: var(--fs-sm); }
.footer-inner { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); justify-content: space-between; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
.doc { padding-block: var(--s6); }
.doc h1 { font-size: var(--fs-h2); margin-bottom: var(--s4); }
.doc h2 { font-size: var(--fs-h3); margin: var(--s5) 0 var(--s2); }
.doc table, .table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); }
.table-wrap { position: relative; max-width: 100%; min-width: 0; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-sm); }
.table th, .table td { padding: var(--s3); text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table th { color: var(--muted); font-weight: 600; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em; }

.inline-form { display: inline-block; margin: 0 var(--s2) var(--s2) 0; }
.mon-grid { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: var(--s4) 0; }
.mon-grid .count b { font-size: 1.05rem; word-break: break-word; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .spinner { animation: none; border-top-color: var(--brand); border-right-color: var(--brand); }
}
@media print { .nav, .footer, .btn { display: none; } }
.grid > .card, .plans > .card { margin-top: 0; }
#results, #preise, #funktionen, #monitor-box { scroll-margin-top: 80px; }
.card > h2:first-child { margin-top: 0; }
#res-title:focus { outline: none; box-shadow: none; }

/* ---- Markenakzent: Blau mit petrolgrünem "Signal" (steht für geprüft/verifiziert) ---- */
.hero { background: radial-gradient(900px 360px at 12% -10%, var(--brand-soft), transparent 70%), radial-gradient(700px 300px at 95% 10%, var(--accent-soft), transparent 70%); position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--text) 12%, transparent) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%); opacity: .5; pointer-events: none; }
.hero > .container { position: relative; }
.hero h1 .accent { background: linear-gradient(90deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--fs-xs); font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s3); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.btn-primary { background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 92%, #fff), var(--brand)); }
.feature .ico { background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); color: var(--brand); }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan li::before { border-color: var(--accent); }

/* ---- Ergebnis-Dashboard ---- */
.summary { display: grid; grid-template-columns: 1fr; gap: var(--s4); margin-top: var(--s4); }
.headline { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s5); border-radius: var(--r); border: 1px solid; }
.headline .big { font-size: clamp(1.25rem, 1.05rem + 1vw, 1.65rem); font-weight: 750; letter-spacing: -.01em; line-height: 1.2; }
.headline svg { width: 36px; height: 36px; flex: none; margin-top: 2px; }
.headline p { margin: var(--s2) 0 0; color: var(--text); font-size: var(--fs-sm); }
.headline.st-ok { background: var(--ok-bg); } .headline.st-warn { background: var(--warn-bg); } .headline.st-fail { background: var(--fail-bg); } .headline.st-unknown { background: var(--unknown-bg); }
.priority { padding: var(--s5); }
.priority h3 { margin-bottom: var(--s3); }
.priority ol { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s2); counter-reset: p; }
.priority li { counter-increment: p; display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; padding: var(--s3); border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface-2); }
.priority li::before { content: counter(p); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-strong); font-size: var(--fs-xs); font-weight: 700; flex: none; }
.priority a { font-weight: 600; color: var(--text); text-decoration: none; flex: 1 1 200px; }
.priority a:hover { text-decoration: underline; }
.group-title { margin: var(--s6) 0 var(--s3); font-size: var(--fs-lg); }
.check { border-left: 4px solid var(--border-strong); }
.check.st-fail-card { border-left-color: var(--fail); } .check.st-warn-card { border-left-color: var(--warn); } .check.st-unknown-card { border-left-color: var(--unknown); } .check.st-ok-card { border-left-color: var(--ok); }
.block { margin-top: var(--s4); }
.block-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s1); }
.block p { margin: 0; }
.steps { margin: var(--s2) 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: var(--s2); }
.steps li { counter-increment: s; display: flex; gap: var(--s3); font-size: var(--fs-sm); }
.steps li::before { content: counter(s); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: var(--fs-xs); margin-top: 1px; }
.note { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s3); }
.check-actions { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.ok-list { padding: 0; overflow: hidden; }
.ok-item { padding: var(--s4) var(--s5); border-bottom: 1px solid var(--border); }
.ok-item:last-child { border-bottom: 0; }
.ok-item .check-head { margin-bottom: var(--s2); }
.ok-item p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: var(--s5); transform: translateX(-50%); background: var(--text); color: var(--bg); padding: var(--s3) var(--s5); border-radius: 999px; font-size: var(--fs-sm); box-shadow: var(--shadow); z-index: 60; max-width: calc(100% - 2rem); animation: rise 200ms var(--ease) both; }
@media (max-width: 640px) { .kv-row .v { flex-direction: column; } .kv-row .copy { align-self: flex-start; } .kv-row pre { width: 100%; } }

.dom-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }   /* Spalte nie breiter als der Platz (lange Webhook-Adressen schoben die Seite auf dem Handy seitlich) */
.dom-list > li { min-width: 0; }
.dom-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; align-items: center; padding: .75rem 0; border-top: 1px solid var(--border); }
.dom-row b { overflow-wrap: anywhere; }  /* lange Domains umbrechen, Sätze nur an Wortgrenzen */
.inline-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.inline-form .input { flex: 1 1 12rem; min-width: 0; }
.kv-row .v code { overflow-wrap: anywhere; word-break: break-all; min-width: 0; }
.kv-row .v { min-width: 0; }

.dom-main { flex: 1 1 14rem; min-width: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; align-items: baseline; }
.dom-main > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }  /* lange Webhook-Adressen und Ereignislisten brechen auf dem Handy um */
.dom-more { flex: 1 1 100%; }
.dom-more summary { cursor: pointer; color: var(--muted); font-size: var(--fs-sm); padding: .25rem 0; }
.dom-more .stack { padding-top: .5rem; }
.grp-title { margin: var(--s5) 0 var(--s2); font-size: var(--fs-md, 1.05rem); }
.filter-form { margin-bottom: var(--s4); }
.filter-form select, .filter-form .input { min-height: 44px; }
.tick { display: flex; gap: .6rem; align-items: center; cursor: pointer; min-height: 44px; }
.tick.hidden { display: none; }
.tick input { width: 1.25rem; height: 1.25rem; flex: none; }

/* =====================================================================
   V8: Premium-Cybersecurity-Design (Navy/Anthrazit, Electric Blue, Smaragd). Alle Farben bleiben Tokens (siehe oben).
   ===================================================================== */
.nav-links a.nav-cta { background: var(--brand); color: var(--brand-ink); font-weight: 650; }
.nav-links a.nav-cta:hover, .nav-links a.nav-cta[aria-current="page"] { background: var(--brand-hover); color: var(--brand-ink); box-shadow: none; border-radius: var(--r-sm); }
.nav-links a:focus-visible, .nav-links a[aria-current="page"]:focus-visible, .nav-links a.nav-cta:focus-visible { box-shadow: var(--focus); border-radius: var(--r-sm); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linklike:hover { color: var(--text); }
.st-error { color: var(--unknown); background: var(--unknown-bg); border: 1px dashed var(--border-strong); }
.check.st-error-card { border-left-color: var(--unknown); border-left-style: dashed; }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 60ch; }
.tally { font-size: var(--fs-xs) !important; color: var(--muted) !important; }

/* Hero mit Prüfbereichen */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s6); align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 20ch; }

.scan { padding: var(--s4); backdrop-filter: blur(6px); }

.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }

@keyframes pulse { 50% { opacity: .45; } }

/* Abschnitte */
.steps-3 { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: none; }
.steps-3 .card { margin-top: 0; position: relative; }

.steps-3 p { color: var(--muted); font-size: var(--fs-sm); margin: var(--s2) 0 0; }

.faq { display: grid; gap: var(--s2); }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); padding: 0 var(--s4); }
.faq-item summary { cursor: pointer; padding: var(--s3) 0; font-weight: 600; }
.faq-item p { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 var(--s3); }
.counts { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }

/* Seitenkopf der Inhaltsseiten */
.page-head { padding: var(--s7) 0 var(--s5); background: radial-gradient(900px 300px at 10% -20%, var(--brand-soft), transparent 70%); }
.page-head h1 { max-width: 24ch; }
.page-head .lead { margin-top: var(--s3); }
.page-head .alert { margin-top: var(--s4); }
.section-title { margin: var(--s7) 0 var(--s4); font-size: var(--fs-h2); }

/* Preisseite */
.pricing { padding-bottom: var(--s7); }
.iv-toggle { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); margin: var(--s4) 0 var(--s5); }
.iv-btn { padding: 8px 18px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: var(--fs-sm); transition: background var(--t), color var(--t); }
.iv-btn:hover { color: var(--text); }
.iv-btn[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }
.save-chip { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: var(--fs-xs); background: var(--accent-soft); color: var(--accent); }
.iv-btn[aria-pressed="true"] .save-chip { background: var(--brand-ink); color: var(--brand); }
.plans-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.plan { position: relative; }
.plan .recommend { position: absolute; top: -12px; left: var(--s5); background: var(--accent); color: var(--brand-ink); font-size: var(--fs-xs); font-weight: 700; padding: 2px 12px; border-radius: 999px; }
.plan h2, .plan h3 { font-size: var(--fs-lg); }
.price-main { font-size: 2.25rem; font-weight: 750; letter-spacing: -.02em; }
.price-main small { font-size: var(--fs-sm); font-weight: 500; color: var(--muted); letter-spacing: 0; }
.billing { font-size: var(--fs-sm); color: var(--muted); margin: var(--s2) 0 0; min-height: 3.2em; }
.plan-cta { display: grid; gap: var(--s2); }
.pricing[data-iv="month"] .only-year, .pricing[data-iv="year"] .only-month { display: none !important; }
.price-note { margin-top: var(--s4); }
.report-card { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); justify-content: space-between; margin-top: var(--s5); }
.report-card > div:first-child { flex: 1 1 320px; }
.report-price { font-size: 1.75rem; font-weight: 750; }
.order { margin-top: var(--s5); border-color: var(--brand); }
.order[hidden] { display: none; }
.order-summary { padding: var(--s3) var(--s4); border-radius: var(--r-sm); background: var(--brand-soft); font-size: var(--fs-sm); }
.compare th[scope="row"] { font-weight: 500; }
.compare td, .compare th:not(:first-child) { text-align: center; }
.compare .yes { color: var(--ok); display: inline-grid; }
.compare .yes svg { width: 20px; height: 20px; }
.compare .no { color: var(--muted); }

/* Wissen */
.knowledge { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s6); padding-block: var(--s5) var(--s7); align-items: start; }
@media (max-width: 800px) { .knowledge { grid-template-columns: 1fr; } }
.toc { position: sticky; top: 80px; }
@media (max-width: 800px) { .toc { position: static; } }   /* auf schmalen Bildschirmen nicht über den Artikeln liegen lassen */
.toc ol { margin: var(--s2) 0 0; padding-left: 1.1rem; font-size: var(--fs-sm); display: grid; gap: var(--s2); }
.know { padding: var(--s5) 0; border-bottom: 1px solid var(--border); scroll-margin-top: 80px; }
.know h2 { margin-bottom: var(--s3); }
.know p, .know li { max-width: 68ch; }
.know code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }

/* Werbung: reservierte Höhe verhindert Layout-Verschiebungen; immer als "Anzeige" gekennzeichnet */
.ad-slot { margin: var(--s5) 0; padding: var(--s2); border: 1px dashed var(--border-strong); border-radius: var(--r-sm); background: var(--surface); contain: layout; overflow: hidden; }
.ad-label { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--s2); }
.ad-preview { display: grid; place-items: center; min-height: 160px; color: var(--muted); font-size: var(--fs-sm); text-align: center; padding: var(--s4); }

/* Einwilligung */
.consent { position: fixed; z-index: 90; left: var(--s4); right: var(--s4); bottom: var(--s4); max-width: 640px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r); padding: var(--s5); box-shadow: var(--shadow); animation: rise 220ms var(--ease) both; }
.consent h2 { font-size: var(--fs-lg); margin-bottom: var(--s3); }
.consent p { font-size: var(--fs-sm); }
.consent .btn-row .btn { flex: 1 1 160px; }

/* Skeleton-Laden (nur für echte Ladezustände) */

@keyframes shimmer { to { transform: translateX(100%); } }

/* Dezentes Einblenden beim Scrollen (nur mit JS, nur ohne reduzierte Bewegung) */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.card, .btn { transition-property: background, border-color, transform, box-shadow, color; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; }  .consent { animation: none; } }

.func-list { list-style: none; margin: var(--s3) 0 0; padding: 0; display: grid; gap: var(--s3); font-size: var(--fs-sm); }
.func-list li { padding-left: 24px; position: relative; }
.func-list li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* V8: Layout-Container dürfen nie breiter als der Viewport werden (breite Tabellen scrollen intern) */
main, main > *, .container, .pricing, .section { min-width: 0; max-width: 100%; }

/* V8: DMARC-Berichte */
.dm-chart { width: 100%; height: 160px; display: block; border-bottom: 1px solid var(--border); }
.dm-chart .bar-ok { fill: var(--ok); } .dm-chart .bar-fail { fill: var(--fail); }
.legend { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 4px 0 12px; vertical-align: baseline; }
.legend.ok { background: var(--ok); } .legend.fail { background: var(--fail); }
.btn.is-active { border-color: var(--brand); color: var(--text); background: var(--surface-2); }
pre.code { padding: var(--s3); border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); overflow-x: auto; white-space: pre-wrap; word-break: break-all; }

/* Sprachumschalter und Hinweis auf nur deutsche Inhalte */

/* Fehlende Betreiberangabe (operator_info.py): bewusst auffällig, damit sie vor dem Livegang nicht übersehen wird */
mark.placeholder { background: var(--fail-bg); color: var(--fail); border: 1px dashed var(--fail); border-radius: 4px; padding: 0 4px; font-family: ui-monospace, monospace; font-size: .9em; }
/* Verlaufsband der Prüfergebnisse (app.history_strip): nur echte Ergebnisse */
.history-strip { margin: var(--s3) 0 var(--s4); max-width: 100%; overflow-x: auto; }
.history-strip svg { display: block; max-width: none; }
.history-strip .hs-ok { fill: var(--ok); }
.history-strip .hs-warn { fill: var(--warn); }
.history-strip .hs-fail { fill: var(--fail); }
.history-strip .hs-unknown { fill: var(--unknown); opacity: .55; }
.history-strip figcaption { margin-top: var(--s2); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s3); }
.grid-2 label, form.stack > label { display: flex; flex-direction: column; gap: var(--s1); font-weight: 500; }

/* Betreiberansicht: Bereiche (Tabs), Bestätigungscode, Ticketverlauf */
.tabbar { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0; border-bottom: 1px solid var(--border); padding-bottom: var(--s2); }
.tab { font: inherit; font-weight: 600; padding: 8px 14px; border-radius: var(--r-sm); border: 1px solid var(--border); background: transparent; color: inherit; cursor: pointer; }
.tab:hover { border-color: var(--brand); }
.tab.active, .tab[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.tab:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.stepup { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-bottom: var(--s3); }
.stepup .input { max-width: 9rem; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.internal { border-style: dashed; }
.msg-item { border-bottom: 1px solid var(--border); padding-bottom: var(--s2); }
.b2b-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.b2b-fields legend { font-weight: 600; padding: 0; margin: var(--s3) 0 var(--s2); }
/* Tarifvergleich auf dem Telefon: alle vier Spalten ohne seitliches Wischen sichtbar (vorher war die Agency-Spalte abgeschnitten) */
@media (max-width: 560px) {
  .compare { font-size: var(--fs-xs); }
  .compare th, .compare td { padding: var(--s2) 4px; }
  .compare thead th { letter-spacing: 0; font-size: 10px; }
  .compare th[scope="row"] { text-transform: none; letter-spacing: 0; font-size: var(--fs-xs); hyphens: auto; overflow-wrap: anywhere; }
  .compare .yes svg { width: 16px; height: 16px; }
}

/* =====================================================================
   V10 „Violett“: nach der Vorlage des Betreibers – dunkles Violett-Blau, leuchtende Lila-Akzente.
   Schrift Inter (liegt in /static, keine Google-Server). Beide Designs sind bewusst dunkel.
   ===================================================================== */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/static/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(/static/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(/static/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url(/static/inter-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url(/static/inter-latin-800-normal.woff2) format("woff2"); }
:root, :root[data-theme="dark"], :root[data-theme="light"] {
  --bg: #070B16; --surface: #0E1526; --surface-2: #131C31; --text: #FCF9F5; --muted: #A9B3C6; --border: #1F2A44; --border-strong: #2C3A5A;
  --brand: #C9A266; --brand-hover: #DDBD89; --brand-ink: #FFFFFF; --brand-soft: #16203A; --accent: #D9BC8C; --accent-soft: #18233F;
  --violet: #C9A266; --violet-2: #D2AE6E; --glow: rgba(217, 188, 140, .45);
  --ok: #4ADE80; --ok-bg: #0F2A1E; --warn: #FBBF24; --warn-bg: #2B210B; --fail: #F87171; --fail-bg: #351619; --unknown: #A9B3C6; --unknown-bg: #131C31;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --fs-h1: clamp(2.25rem, 1.4rem + 3.4vw, 3.6rem);
  --r-sm: 8px; --r: 14px; --r-lg: 18px;
  --shadow-sm: none; --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  --focus: 0 0 0 3px rgba(210, 174, 110, .6);
  color-scheme: dark;
}
body { background: radial-gradient(1100px 600px at 70% -10%, rgba(184, 146, 90, .22), transparent 60%), var(--bg); background-attachment: fixed; }
h1, h2, h3 { font-family: var(--font); letter-spacing: -.02em; }
h1 { font-weight: 800; line-height: 1.08; } h2 { font-weight: 700; }
a { color: var(--accent); }
::selection { background: rgba(210, 174, 110, .45); color: #fff; }

/* Kopfzeile */
.nav { background: rgba(10, 16, 31, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.logo { font-size: 1.35rem; font-weight: 700; } .logo svg { width: 32px; height: 32px; }
.nav-links a { color: #EDE6DA; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: transparent; color: #fff; box-shadow: none; }
.nav-links a.nav-cta { background: linear-gradient(135deg, var(--violet), var(--violet-2)); color: #fff; border-radius: 10px; box-shadow: 0 8px 24px -10px var(--glow); }

/* Knöpfe */
.btn { border-radius: 10px; font-weight: 600; }
.btn-primary { background: linear-gradient(135deg, var(--violet), var(--violet-2)); color: #fff; box-shadow: 0 10px 30px -12px var(--glow); }
.btn-primary:hover:not(:disabled) { background: linear-gradient(135deg, #DDBD89, #E7CFA6); color: #fff; box-shadow: 0 14px 34px -10px var(--glow); }
.btn-arrow::after { content: "→"; margin-left: 10px; transition: transform 160ms; }
.btn-arrow:hover::after { transform: translateX(3px); }
.btn-outline { background: transparent; color: #fff; border: 1px solid #9C8460; }
.btn-outline:hover { background: rgba(217, 188, 140, .12); color: #fff; }
.btn-secondary { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }
.btn-tertiary { color: var(--accent); }
.input { background: rgba(17, 26, 48, .8); border-color: var(--border-strong); border-radius: 10px; color: var(--text); }
.input:focus { border-color: var(--violet-2); }

/* Startseite: Kopfbereich */
.hero.hero-v { padding: var(--s7) 0 var(--s6); background: none; }
.hero.hero-v::before { content: none; }
.hero-v .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--s6); }
.pill { display: inline-block; padding: 6px 14px; border: 1px solid var(--border-strong); border-radius: 999px; background: rgba(23, 35, 64, .7); color: #ECE5D8; font-size: .85rem; font-weight: 500; margin-bottom: var(--s5); }
.hero-v h1 { max-width: none; }
.hero-v h1 .accent { background: linear-gradient(90deg, #D9BC8C, #D9BC8C 60%, #E8D2A6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-v .lead { color: #C9D1E0; max-width: 46ch; margin: var(--s5) 0 var(--s5); }
.hero-v .domain-form { flex-direction: column; gap: var(--s3); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero-actions .btn { min-height: 52px; padding-inline: var(--s5); }
.checks-inline { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); padding: 0; margin: var(--s5) 0 0; color: #ECE5D8; font-size: .95rem; }
.checks-inline li::before, .check-list li::before { content: ""; display: inline-block; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); margin-right: 10px; }
.check-list li::before { color: #fff; background: none; }
.hero-v .adv summary { color: var(--muted); }

/* Schild mit schwebenden Prüf-Karten */
.hero-visual { position: relative; min-height: 460px; }

@keyframes pb-float { 50% { transform: translate(-50%, calc(-50% - 8px)); } }

   
 
 
 

/* Leistungszeile */
.feature-row { padding: var(--s5) 0 var(--s7); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: var(--r-lg); background: rgba(17, 26, 48, .55); }
.feature-grid article { padding: var(--s5); }
.feature-grid article + article { border-left: 1px solid var(--border); }
.feature-grid .fi { width: 34px; height: 34px; color: var(--violet-2); margin-bottom: var(--s3); }
.feature-grid h3 { font-size: 1.05rem; margin-bottom: var(--s2); }
.feature-grid p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Laptop-Abschnitt */
.control { border-top: 1px solid var(--border); background: radial-gradient(800px 400px at 20% 60%, rgba(184, 146, 90, .18), transparent 70%); }
.control-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s7); align-items: center; }
.control h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.15; }
.check-list { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: var(--s3); font-size: 1.05rem; }
.check-list li::before { width: 9px; height: 5px; border-color: #fff; margin-right: 14px; box-shadow: 0 0 0 7px var(--violet); border-radius: 1px; }
.laptop { margin: 0; }
.laptop .screen { border: 10px solid #1A202E; border-bottom-width: 14px; border-radius: 16px 16px 4px 4px; background: #0C1322; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 60px -20px var(--glow); overflow: hidden; }
.laptop .base { height: 14px; margin: 0 -6%; border-radius: 0 0 14px 14px; background: linear-gradient(#363E50, #181F30); }
.mini-app { display: grid; grid-template-columns: 34% 1fr; min-height: 230px; font-size: .72rem; }
.mini-side { display: grid; align-content: start; gap: 6px; padding: 12px; border-right: 1px solid var(--border); color: var(--muted); }
.mini-side b { color: #fff; margin-bottom: 6px; } .mini-side .on { color: #fff; background: var(--surface-2); border-radius: 6px; padding: 3px 6px; margin-inline: -6px; }
.mini-main { padding: 12px; } .mini-h { color: #fff; font-weight: 600; margin-bottom: 8px; }
.mini-ring { display: flex; align-items: center; gap: 10px; } .mini-ring svg { width: 64px; height: 64px; } .mini-ring span { display: grid; color: var(--muted); } .mini-ring b { color: #fff; font-size: 1rem; }
  

/* Übrige Abschnitte und Karten im dunklen Design */
.card { background: rgba(17, 26, 48, .7); border-color: var(--border); border-radius: var(--r); box-shadow: none; }
.section-head p, .feature p, .steps-3 p { color: var(--muted); }

.plan.featured { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet), 0 20px 50px -20px var(--glow); }
.badge { border-radius: 999px; }
.table th { color: var(--muted); }
.footer { border-top-color: var(--border); }

@media (max-width: 900px) {
  .hero-v .hero-grid, .control-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; order: -1; }
  .feature-grid { grid-template-columns: 1fr 1fr; } .feature-grid article + article { border-left: 0; } .feature-grid article { border-top: 1px solid var(--border); } .feature-grid article:nth-child(-n+2) { border-top: 0; } .feature-grid article:nth-child(even) { border-left: 1px solid var(--border); }
}
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } .feature-grid article:nth-child(even) { border-left: 0; } .feature-grid article:nth-child(2) { border-top: 1px solid var(--border); } .hero-actions .btn { width: 100%; }  }

.checks-inline { gap: var(--s2) var(--s4); font-size: .9rem; flex-wrap: nowrap; } .checks-inline li { white-space: nowrap; }
@media (max-width: 1100px) { .checks-inline { flex-wrap: wrap; } }

.check-list li { position: relative; padding-left: 36px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 22px; margin: -11px 0 0; transform: none; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--violet-2)); box-shadow: 0 0 14px -2px var(--glow); }
.check-list li::after { content: ""; position: absolute; left: 7px; top: 50%; width: 8px; height: 4px; margin-top: -4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.control .lead { margin-top: var(--s3); }
.hero.hero-v { overflow: hidden; }
@media (max-width: 900px) { .hero-visual { order: 0; min-height: 360px; margin-top: var(--s4); } }

/* ---- V10.1: 1:1 nach Vorlage ---- */
.container { max-width: 1200px; }
/* Kopfzeile */
.nav { background: rgba(8, 13, 26, .9); }
.nav-inner { min-height: 76px; gap: var(--s5); }
.logo span { font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; }
.logo svg { width: 36px; height: 36px; }
.nav-links { gap: var(--s4); margin-left: var(--s6); margin-right: auto; }
.nav-links > a, .dd > summary { color: #F5EFE5; font-size: .95rem; font-weight: 500; padding: 8px 4px; }
.nav-links > a:hover, .dd > summary:hover { color: #fff; background: none; }
.dd { position: relative; }
.dd > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; }
.dd > summary::-webkit-details-marker { display: none; }
.dd .chev { width: 14px; height: 14px; opacity: .8; transition: transform 160ms; }
.dd[open] .chev { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 220px; display: grid; gap: 2px; padding: 8px; background: #131F3A; border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7); z-index: 60; }
.dd-menu.dd-right { left: auto; right: 0; min-width: 160px; }
.dd-menu a { color: #F5EFE5; text-decoration: none; padding: 9px 12px; border-radius: 8px; font-size: .95rem; }
.dd-menu a:hover, .dd-menu a[aria-current="page"] { background: rgba(217, 188, 140, .16); color: #fff; }
.dd-lang > summary { color: #F5EFE5; } .dd-lang .globe { width: 18px; height: 18px; margin-right: 2px; }
.nav-tools { gap: var(--s3); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; border-radius: 10px; }
.nav-tools .btn-outline { border-color: #A88E62; }
.nav-tools .nav-cta { background: linear-gradient(135deg, #C9A266, #D2AE6E); color: #fff; box-shadow: 0 8px 26px -10px var(--glow); }
@media (max-width: 1100px) { .dd-lang, .nav-tools .btn-outline { display: none; } }
@media (max-width: 900px) {
  .nav-links { margin: 0; } .nav-links.open { display: flex; } .nav-tools .nav-cta { display: none; }
  .dd-menu { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 12px; }
}

/* Kopfbereich */
.hero.hero-v { padding: 64px 0 56px; }
.hero-v .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
.pill { font-size: .82rem; font-weight: 600; padding: 6px 14px; margin-bottom: 22px; }
.hero-v h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 3.85rem); line-height: 1.08; letter-spacing: -.03em; }
.hero-v .lead { font-size: 1.12rem; line-height: 1.6; margin: 22px 0 30px; max-width: 48ch; color: #D7DEEA; }
.hero-actions .btn { min-height: 54px; padding-inline: 26px; font-size: 1rem; }
.hero-actions .btn-outline { border-color: #B49A6E; }
.check-reveal { display: none; max-width: 560px; margin-top: var(--s4); flex-direction: row; flex-wrap: wrap; gap: var(--s3); }
.check-reveal.open { display: flex; animation: rise 260ms cubic-bezier(.16, 1, .3, 1) both; }
.check-reveal .domain-field { flex: 1 1 260px; } .check-reveal .btn { min-height: 52px; }
.check-reveal .adv { flex-basis: 100%; margin-top: 0; }
html:not(.js) .check-reveal { display: flex; }
.checks-inline { margin-top: 28px; gap: 28px; font-size: .95rem; color: #FAF6EE; }
.checks-inline li::before { width: 13px; height: 7px; margin-right: 10px; }

/* Schild-Grafik mit vier Karten */
.hero-visual { min-height: 500px; }

.hv-card { position: absolute; display: grid; gap: 6px; padding: 14px 20px 14px 18px; min-width: 128px; border-radius: 12px; background: rgba(18, 28, 52, .82); border: 1px solid #977A48; backdrop-filter: blur(8px); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06); }
.hv-card b { color: #fff; font-size: 1.05rem; font-weight: 700; }
.hv-card span { display: inline-flex; align-items: center; gap: 8px; color: #D7F7E2; font-size: 1rem; }
.hv-card svg { width: 17px; height: 17px; color: #4ADE80; }
.hv-card.p1 { left: 6%; top: 4%; } .hv-card.p2 { right: 0; top: 10%; } .hv-card.p3 { left: 0; bottom: 20%; } .hv-card.p4 { right: 2%; bottom: 20%; }

/* Leistungszeile */
.feature-row { padding: 8px 0 64px; }
.feature-grid { background: rgba(15, 24, 44, .55); border-color: #212E4D; border-radius: 16px; }
.feature-grid article { padding: 28px 26px; }
.feature-grid .fi { width: 38px; height: 38px; color: #D9BC8C; margin-bottom: 16px; }
.feature-grid h3 { font-size: 1.08rem; font-weight: 700; }

/* Laptop */
.control { border-top: 0; padding: 48px 0 96px; }
.control-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 72px; }
.laptop { position: relative; padding: 0 4%; }
.laptop .lid { background: linear-gradient(#272E40, #181D28); border-radius: 18px 18px 6px 6px; padding: 14px 14px 18px; box-shadow: 0 0 0 1px #364056 inset, 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 90px -30px var(--glow); }
.laptop .screen { border: 0; border-radius: 6px; overflow: hidden; background: #0A1120; box-shadow: none; }
.laptop .base { position: relative; height: 18px; margin: 0 -4%; border-radius: 2px 2px 16px 16px; background: linear-gradient(#5B5772, #272E40 60%, #181D28); box-shadow: 0 18px 30px -10px rgba(0, 0, 0, .8); }
.laptop .base span { position: absolute; left: 50%; top: 0; width: 16%; height: 7px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #272E40; }
.mini-app { grid-template-columns: 30% 1fr; min-height: 250px; font-size: .7rem; }
.mini-side b { display: flex; align-items: center; gap: 6px; } .mini-side b svg { width: 16px; height: 16px; }
.mini-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .mini-acct { color: var(--muted); font-size: .62rem; }
.mini-stats { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--border); border-radius: 8px; }
.mini-ring svg { width: 70px; height: 70px; } .mini-ring { position: relative; } .mini-ring span { position: absolute; inset: 0 auto 0 0; width: 70px; display: grid; place-content: center; text-align: center; font-size: .55rem; } .mini-ring b { font-size: .95rem; }
.mini-chart { width: 100%; height: 60px; }
.mini-table { margin-top: 10px; border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; }
.mini-th, .mini-tr { display: flex; justify-content: space-between; padding: 5px 0; } .mini-th { color: var(--muted); } .mini-tr { border-top: 1px solid var(--border); color: #ECE5D8; } .mini-tr .ok { color: var(--ok); }
.control h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); letter-spacing: -.025em; }
.check-list { gap: 14px; }
@media (max-width: 900px) { .hero-visual { min-height: 420px; } .control-grid { gap: 40px; } }
@media (max-width: 560px) { .hv-card { min-width: 0; padding: 10px 12px; } .hv-card b { font-size: .95rem; } .hv-card span { font-size: .88rem; } .hero-visual { min-height: 360px; } }
.hero-v h1 { font-size: clamp(2.1rem, .9rem + 3.1vw, 3.45rem); }
@media (min-width: 901px) { .hero-v h1 { white-space: nowrap; } }
.control-grid > * { min-width: 0; } .control { overflow: hidden; }

/* ---- V10.2: räumliches Schild, stärkeres Licht, saubere Handy-Ansicht ---- */
/* Licht im Kopfbereich: violetter Schein hinter dem Schild, Lichtbänder quer durch */
.hero.hero-v { position: relative; isolation: isolate; }
.hero.hero-v::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(520px 420px at 74% 46%, rgba(217, 188, 140, .42), transparent 70%),
    radial-gradient(380px 300px at 80% 40%, rgba(227, 201, 157, .22), transparent 70%),
    radial-gradient(700px 360px at 100% 0%, rgba(210, 174, 110, .30), transparent 70%),
    radial-gradient(600px 300px at 60% 100%, rgba(156, 122, 69, .25), transparent 70%); }
.hero-waves { position: absolute; z-index: -1; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; opacity: .85;
  filter: drop-shadow(0 0 4px rgba(227, 201, 157, .8)) drop-shadow(0 0 14px rgba(217, 188, 140, .6));
  -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 52%); mask-image: linear-gradient(90deg, transparent 18%, #000 52%); }

.sym { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Schild in Schrägansicht mit sichtbarer Kante */
.s3d { position: absolute; left: 50%; top: 50%; width: 270px; height: 297px; margin: -150px 0 0 -135px; perspective: 900px; }
.s3-glow { position: absolute; inset: -30% -40%; border-radius: 50%; background: radial-gradient(closest-side, rgba(210, 174, 110, .6), rgba(184, 146, 90, .25) 55%, transparent 80%); filter: blur(10px); }
.s3 { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-30deg) rotateX(6deg) rotateZ(-2deg); animation: pb-turn 9s ease-in-out infinite; }
@keyframes pb-turn { 50% { transform: rotateY(-22deg) rotateX(4deg) rotateZ(-2deg) translateY(-8px); } }
.s3 > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.s3 .ex { transform: translateZ(calc(var(--i) * -2.2px)); color: #1B2F5D; fill: currentColor; }
.s3 .ex:nth-child(-n+3) { color: #D9BC8C; } .s3 .ex:nth-child(n+4):nth-child(-n+8) { color: #846B40; } .s3 .ex:nth-child(14) { color: #C9A266; }
.s3 .face { transform: translateZ(0); filter: drop-shadow(0 0 10px rgba(227, 201, 157, .55)); }
.s3 .env { transform: translateZ(26px); filter: drop-shadow(0 10px 18px rgba(13, 23, 45, .7)); }

.hero-visual { min-height: 520px; }
.hv-card { z-index: 2; }
.hv-card.p1 { left: 4%; top: 6%; } .hv-card.p2 { right: 0; top: 12%; } .hv-card.p3 { left: 2%; bottom: 16%; } .hv-card.p4 { right: 0; bottom: 14%; }
@media (prefers-reduced-motion: reduce) { .s3 { animation: none; } }

/* Tablet und Handy: alles untereinander, nichts gequetscht */
@media (max-width: 900px) {
  .hero-v .hero-grid, .control-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero.hero-v { padding: 36px 0 24px; }
  .hero-v h1 { white-space: normal; font-size: clamp(1.9rem, 1rem + 4.6vw, 2.9rem); }
  .hero-v .lead { font-size: 1.02rem; margin: 18px 0 24px; }
  .hero-visual { order: 0; min-height: 440px; margin-top: 8px; }
  .hero.hero-v::after { background: radial-gradient(360px 300px at 50% 72%, rgba(217, 188, 140, .45), transparent 70%), radial-gradient(500px 260px at 100% 0%, rgba(210, 174, 110, .25), transparent 70%); }
  .hero-waves { top: auto; bottom: 0; height: 520px; -webkit-mask-image: none; mask-image: none; opacity: .7; }
  .control-grid > .laptop { order: 2; }
  .control { padding: 32px 0 64px; }
}
@media (max-width: 560px) {
  .pill { font-size: .75rem; padding: 5px 12px; margin-bottom: 18px; }
  .hero-actions { flex-direction: column; } .hero-actions .btn { width: 100%; justify-content: center; }
  .checks-inline { gap: 10px 22px; margin-top: 20px; }
  .hero-visual { min-height: 380px; }
  .s3d { transform: scale(.74); }
  .hv-card { padding: 10px 14px; min-width: 0; gap: 3px; } .hv-card b { font-size: .92rem; } .hv-card span { font-size: .85rem; } .hv-card svg { width: 15px; height: 15px; }
  .hv-card.p1 { left: 0; top: 4%; } .hv-card.p2 { right: 0; top: 10%; } .hv-card.p3 { left: 0; bottom: 12%; } .hv-card.p4 { right: 0; bottom: 6%; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid article { padding: 20px 16px; border-top: 1px solid var(--border); }
  .feature-grid article:nth-child(-n+2) { border-top: 0; }
  .feature-grid article:nth-child(even) { border-left: 1px solid var(--border); }
  .feature-grid .fi { width: 30px; height: 30px; margin-bottom: 12px; }
  .feature-grid h3 { font-size: .98rem; } .feature-grid p { font-size: .86rem; }
  .laptop { padding: 0 2%; } .laptop .lid { padding: 8px 8px 10px; border-radius: 12px 12px 4px 4px; }
  .mini-app { grid-template-columns: 1fr; min-height: 0; font-size: .66rem; }
  .mini-side, .mini-acct { display: none; }
  .control h2 { font-size: 1.75rem; }
}
/* V10.2 Feinschliff */
.s3d { width: 310px; height: 341px; margin: -172px 0 0 -155px; }

.hv-card.p1 { left: 10%; top: 3%; } .hv-card.p3 { left: 6%; bottom: 14%; }
.control h2 { text-wrap: balance; }
@media (max-width: 900px) { .hv-card.p1 { left: 4%; } .hv-card.p3 { left: 2%; } }
@media (max-width: 560px) {
  .s3d { transform: scale(.66); }
  .hv-card.p1 { left: 0; top: 2%; } .hv-card.p3 { left: 0; bottom: 12%; }
  .feature-grid { width: auto; margin-inline: var(--s4); padding: 0; grid-template-columns: 1fr; }
  .feature-grid article { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 18px; border-left: 0 !important; border-top: 1px solid var(--border); }
  .feature-grid article:first-child { border-top: 0; } .feature-grid article:nth-child(2) { border-top: 1px solid var(--border); }
  .feature-grid .fi { grid-row: 1 / 3; margin: 2px 0 0; }
  .feature-grid h3 { margin-bottom: 4px; font-size: 1rem; } .feature-grid p { font-size: .9rem; }
}
@media (max-width: 900px) { .feature-grid { width: auto; margin-inline: var(--s4); padding: 0; } }
/* V10.3: Ring als saubere Ellipse vor/hinter dem Schild, Häkchen obenauf, mehr Leuchten */
.s3 { animation: none; transform: rotateY(-30deg) rotateX(6deg) rotateZ(-2deg); }
.s3d { animation: pb-hover 7s ease-in-out infinite; }
@keyframes pb-hover { 50% { translate: 0 -9px; } }
.s3d .ring { position: absolute; left: -40%; width: 180%; top: 38.7%; height: 54.5%; overflow: visible;
  filter: drop-shadow(0 0 6px #F6EDDE) drop-shadow(0 0 16px #D9BC8C) drop-shadow(0 0 34px rgba(210, 174, 110, .9)); }
.s3d .ring.back { z-index: 0; opacity: .85; } .s3 { z-index: 1; } .s3d .ring.front { z-index: 2; } 
.s3d .ok2 { position: absolute; z-index: 3; left: 47.7%; top: 51%; width: 27.7%; height: auto;
  filter: drop-shadow(0 0 10px #F6EDDE) drop-shadow(0 0 26px rgba(227, 201, 157, .95)) drop-shadow(0 0 50px rgba(210, 174, 110, .7)); }
.s3 .face { filter: drop-shadow(0 0 14px rgba(238, 223, 196, .75)) drop-shadow(0 0 40px rgba(210, 174, 110, .6)); }
.s3-glow { inset: -45% -60%; background: radial-gradient(closest-side, rgba(227, 201, 157, .7), rgba(217, 188, 140, .38) 45%, rgba(184, 146, 90, .12) 70%, transparent 85%); filter: blur(14px); }
.hero.hero-v::after { background:
    radial-gradient(560px 460px at 74% 46%, rgba(217, 188, 140, .55), transparent 70%),
    radial-gradient(400px 320px at 78% 44%, rgba(238, 223, 196, .22), transparent 70%),
    radial-gradient(760px 380px at 100% 0%, rgba(210, 174, 110, .36), transparent 70%),
    radial-gradient(640px 320px at 60% 100%, rgba(156, 122, 69, .32), transparent 70%); }
.hero-waves { opacity: 1; filter: drop-shadow(0 0 4px rgba(238, 223, 196, .9)) drop-shadow(0 0 16px rgba(210, 174, 110, .75)); }
@media (max-width: 900px) { .hero.hero-v::after { background: radial-gradient(400px 340px at 50% 74%, rgba(217, 188, 140, .55), transparent 70%), radial-gradient(500px 260px at 100% 0%, rgba(210, 174, 110, .3), transparent 70%); } }
@media (prefers-reduced-motion: reduce) { .s3d { animation: none; } }
.s3d .ring, .s3d .ok2 { max-width: none; }
/* V10.4: Briefumschlag mittig im Schild (weniger Abstand nach vorn, leicht nach rechts) */
.s3 .env { transform: translateZ(12px) translateX(10px) translateY(6px); }
.s3d .ok2 { left: 52%; top: 52.5%; }

/* =====================================================================
   V11 Kundenbereich: App-Rahmen nach Vorlage (Seitenleiste, Kopfzeile, Panels)
   ===================================================================== */
.app-page { background: radial-gradient(900px 500px at 85% -10%, rgba(184, 146, 90, .16), transparent 60%), var(--bg); }
.app { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.app-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 22px; padding: 22px 14px; background: #0B1326; border-right: 1px solid var(--border); overflow-y: auto; }
.app-side .logo { padding: 0 8px; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.app-side .logo span { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.app-side .logo svg { width: 32px; height: 32px; }
.side-nav { display: grid; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: #C9D1E0; text-decoration: none; font-size: .95rem; font-weight: 500; }
.side-nav a svg { width: 18px; height: 18px; flex: none; opacity: .9; }
.side-nav a:hover { background: rgba(217, 188, 140, .1); color: #fff; }
.side-nav a[aria-current="page"] { background: linear-gradient(90deg, rgba(217, 188, 140, .32), rgba(217, 188, 140, .14)); color: #fff; box-shadow: inset 0 0 0 1px rgba(217, 188, 140, .25); }
.side-badge { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--violet); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }

 
.app-col { min-width: 0; display: flex; flex-direction: column; }
.app-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: flex-end; gap: 16px; min-height: 68px; padding: 0 32px; background: rgba(10, 16, 31, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.side-btn { display: none; margin-right: auto; }
.top-right { display: flex; align-items: center; gap: 18px; }
.top-bell { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #F5EFE5; }
.top-bell:hover { background: rgba(217, 188, 140, .12); color: #fff; }
.top-bell svg { width: 20px; height: 20px; }
.top-bell .dot { position: absolute; top: 9px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: #DABD8C; box-shadow: 0 0 0 2px #070B16, 0 0 10px #DABD8C; }
.top-acct > summary { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; color: #F5EFE5; font-size: .92rem; font-weight: 500; padding: 4px 6px; border-radius: 10px; }
.top-acct > summary::-webkit-details-marker { display: none; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #C9A266, #D9BC8C); color: #fff; font-size: .78rem; font-weight: 700; }
.top-acct .dd-menu form { margin: 0; } .top-acct .dd-menu .linklike { width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; color: #F5EFE5; font-size: .95rem; }
.top-acct .dd-menu .linklike:hover { background: rgba(217, 188, 140, .16); color: #fff; }
.app-main { width: 100%; max-width: 1240px; padding: 28px 32px 64px; margin: 0; }
.app-main > h1 { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 20px; }
.app-main > .card, .app-main .panel { margin-bottom: 18px; }
.panel { background: rgba(17, 26, 48, .72); border: 1px solid var(--border); border-radius: 16px; padding: 22px 24px; }
.panel h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 12px; }

.period > summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border-strong); background: rgba(23, 35, 64, .7); color: #F5EFE5; font-size: .88rem; }
.period > summary::-webkit-details-marker { display: none; }

/* Dashboard */
.dash-top { display: grid; grid-template-columns: auto minmax(180px, 1fr) minmax(0, 1.6fr); gap: 32px; align-items: center; }
.ring { position: relative; width: 150px; height: 150px; }
.ring svg { width: 100%; height: 100%; }
.ring-bg { fill: none; stroke: #1D2B4D; stroke-width: 10; }
.ring-fg { fill: none; stroke: #22C55E; stroke-width: 10; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(34, 197, 94, .6)); }
.ring-warn .ring-fg { stroke: #FBBF24; filter: drop-shadow(0 0 6px rgba(251, 191, 36, .5)); } .ring-fail .ring-fg { stroke: #F87171; filter: drop-shadow(0 0 6px rgba(248, 113, 113, .5)); }
.ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-txt b { font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -.02em; } .ring-txt span { font-size: .78rem; color: var(--muted); }
.dash-counts h2 { margin: 0; } .dash-counts > p { margin: 2px 0 12px; }
.lv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .95rem; color: #ECE5D8; }
.lv-list li { display: flex; align-items: center; gap: 10px; } .lv-list b { min-width: 1.2em; }
.ev-ic { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none; }
.ev-ic svg { width: 14px; height: 14px; }
.ev-ic.st-ok { background: rgba(34, 197, 94, .18); color: #4ADE80; } .ev-ic.st-warn { background: rgba(251, 191, 36, .18); color: #FBBF24; }
.ev-ic.st-fail { background: rgba(248, 113, 113, .18); color: #F87171; } .ev-ic.st-unknown { background: rgba(210, 192, 162, .16); color: var(--muted); }
.dash-trend { min-width: 0; } .trend { width: 100%; height: 130px; display: block; }
.chart-empty { margin: 0; }
.ev-list { list-style: none; padding: 0; margin: 0; }
.ev-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); font-size: .93rem; color: #ECE5D8; }
.ev-list li:first-child { border-top: 0; }
.ev-txt { flex: 1; min-width: 0; overflow-wrap: anywhere; } .ev-list time { color: var(--muted); font-size: .85rem; white-space: nowrap; }

/* Domain-Seite */
.crumbs { display: flex; align-items: center; gap: 8px; margin: -8px 0 16px; font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: #fff; } .crumbs span { color: #fff; font-weight: 600; }
.crumbs .chev { width: 14px; height: 14px; transform: rotate(-90deg); }
.dom-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dom-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.dom-id h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.4rem; margin: 0 0 2px; overflow-wrap: anywhere; }
.dom-id p { margin: 0; }
.dom-globe { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #182648; color: #E8D2A6; flex: none; }
.dom-globe svg { width: 22px; height: 22px; }
.pill-st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: 0; }
.pill-st.st-ok { background: rgba(34, 197, 94, .16); color: #4ADE80; } .pill-st.st-warn { background: rgba(251, 191, 36, .16); color: #FBBF24; }
.pill-st.st-fail { background: rgba(248, 113, 113, .16); color: #F87171; } .pill-st.st-unknown { background: rgba(210, 192, 162, .14); color: #C9D1E0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; border-bottom: 1px solid var(--border); }
.tabs a { padding: 10px 14px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: .93rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: #fff; } .tabs a[aria-current] { color: #fff; border-bottom-color: var(--violet-2); }
.chk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }

.chk-top, .chk-val { background: rgba(17, 26, 48, .72); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.chk-top b { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 1rem; }
.chk-top b svg { width: 17px; height: 17px; color: #D9BC8C; }
.chk-top span { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: .92rem; color: #ECE5D8; }
.chk-top span svg { width: 15px; height: 15px; }
  
 
.chk-val span { display: block; font-size: .78rem; color: var(--muted); } .chk-val b { display: block; margin-top: 4px; color: #fff; font-size: .98rem; overflow-wrap: anywhere; }

/* Berichte */
.rep-name { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.rep-name svg { width: 20px; height: 20px; color: #F87171; flex: none; }
.icon-link { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: #F5EFE5; }
.icon-link:hover { background: rgba(217, 188, 140, .14); color: #fff; } .icon-link svg { width: 18px; height: 18px; }
.app-main .table th { font-size: .78rem; text-transform: none; letter-spacing: 0; }

/* Tablet und Handy: Seitenleiste als ausklappbares Menü */
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .app-side { position: fixed; z-index: 60; left: 0; top: 0; width: 272px; transform: translateX(-100%); transition: transform 220ms cubic-bezier(.16, 1, .3, 1); box-shadow: 20px 0 50px rgba(0, 0, 0, .5); }
  .app-side.open { transform: none; }
  .side-btn { display: grid; }
  .app-top { padding: 0 16px; }
  .app-main { padding: 22px 16px 48px; }
  .dash-top { grid-template-columns: auto 1fr; } .dash-trend { grid-column: 1 / -1; }
  .chk-grid { grid-template-columns: 1fr 1fr; }
  
}
@media (max-width: 560px) {
  .acct-name { display: none; }
  .dash-top { grid-template-columns: 1fr; justify-items: start; gap: 20px; } .ring { width: 130px; height: 130px; }
  
  .panel { padding: 18px 16px; }
  .ev-list li { flex-wrap: wrap; } .ev-list time { width: 100%; padding-left: 34px; }
}
@media (prefers-reduced-motion: reduce) { .app-side { transition: none; } }
 .app-main > h1.sr-only + .crumbs { margin-top: 0; font-size: 1.05rem; }

.icon-link .chev { transform: rotate(-90deg); }
.panel > .table-wrap { border: 0; border-radius: 0; margin: -6px -8px; }

/* =====================================================================
   V12 Kundenbereich 1:1 nach Vorlage
   ===================================================================== */
.app { grid-template-columns: 232px minmax(0, 1fr); }
.app-side { background: #091020; gap: 26px; padding: 22px 12px; }
.app-side .logo { padding: 2px 10px 0; }
.app-side .logo span { font-size: 1.3rem; }
.side-nav { gap: 6px; }
.side-nav a { padding: 11px 14px; font-size: .9rem; color: #E4D9C6; border-radius: 10px; }
.side-nav a svg { width: 17px; height: 17px; opacity: .85; }
.side-nav a[aria-current="page"] { background: linear-gradient(90deg, #866C40, #20376E); color: #fff; box-shadow: 0 6px 18px -8px rgba(184, 146, 90, .7); }
.side-badge { background: #9C8460; min-width: 20px; height: 20px; font-size: .72rem; }
.app-top { min-height: 64px; padding: 0 32px; background: transparent; backdrop-filter: none; border-bottom: 0; justify-content: space-between; }
.app-page .app-top { position: static; }
.top-left { min-width: 0; }
.top-left .crumbs { margin: 0; font-size: 1.05rem; }
.top-left .crumbs a { color: var(--muted); } .top-left .crumbs span { color: #fff; font-weight: 600; }
.top-right { gap: 14px; }
.top-sep { width: 1px; height: 26px; background: var(--border); }
.top-bell .dot { background: #E8D2A6; box-shadow: 0 0 0 2px #070B16, 0 0 10px #E8D2A6; top: 8px; right: 9px; }
.avatar { width: 34px; height: 34px; background: linear-gradient(135deg, #C9A266, #D9BC8C); font-size: .74rem; }
.acct-name { font-size: .88rem; }
.top-acct .dd-menu { min-width: 220px; }
.app-main { padding: 10px 32px 56px; max-width: 1280px; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.app-head > h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.app-main > .app-head.sub, .app-head.sub { justify-content: flex-end; margin: -6px 0 14px; }

.panel { background: #10182B; border: 1px solid #1D2A47; border-radius: 16px; padding: 22px 26px; box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .8); }
.period > summary { background: #162340; border: 1px solid #253457; padding: 10px 16px; border-radius: 10px; font-size: .88rem; gap: 14px; }

/* Dashboard */
.dash-top { grid-template-columns: 170px minmax(170px, .8fr) minmax(0, 1.6fr); gap: 36px; padding: 24px 30px; }
.ring { width: 158px; height: 158px; }
.ring-bg { stroke: #1D3A2B; stroke-width: 9; }
.ring-fg { stroke-width: 9; }
.ring-txt b { font-size: 2.15rem; }
.ring-txt span { font-size: .8rem; color: #E4D9C6; }
.dash-counts h2 { font-size: 1rem; margin: 0 0 4px; }
.dash-counts > p { margin: 0 0 14px; color: #D7DEEA; font-size: .95rem; }
.lv-list { gap: 12px; font-size: .95rem; }
.lv-list b { min-width: 0; }
.n-ok { color: #fff; } .n-warn { color: #FBBF24; } .n-fail { color: #F87171; }
.ev-ic { width: 22px; height: 22px; }
.ev-ic svg { width: 12px; height: 12px; stroke-width: 3; }
.ev-ic.st-ok { background: #22C55E; color: #fff; } .ev-ic.st-warn { background: #F59E0B; color: #101A33; }
.ev-ic.st-fail { background: #EF4444; color: #fff; } .ev-ic.st-unknown { background: #2C3A5A; color: #ECE5D8; }
.trend { height: 150px; }
.tr-grid { stroke: #1F2A44; stroke-width: 1; stroke-dasharray: 2 4; }
.tr-lab { fill: #7D8AA3; font-size: 8px; font-family: var(--font); }
.ev-list li { padding: 13px 4px; font-size: .9rem; border-top-color: #1D2A47; }
.ev-list time { font-size: .82rem; }
.panel > h2 { font-size: 1rem; margin-bottom: 8px; }
.empty .btn-row { margin-top: 14px; }

/* Domain-Seite */
.dom-head { padding: 20px 24px; margin-bottom: 18px; }
.dom-globe { width: 48px; height: 48px; border-radius: 50%; background: #1D2945; color: #D7DEEA; }
.dom-id h2 { font-size: 1.45rem; margin: 0 0 4px; gap: 12px; }
.dom-when { margin: 0; color: var(--muted); font-size: .82rem; }
.dom-when .sep { margin: 0 10px; color: #846B3F; }
.dom-acts { display: flex; align-items: center; gap: 10px; }
.dom-acts form { margin: 0; }
.dom-acts .btn { min-height: 42px; padding: 0 22px; }
.pill-st { padding: 3px 10px; border-radius: 6px; font-size: .76rem; }
.pill-st.st-ok { background: #22C55E; color: #052E16; }
.kebab > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid #253457; color: #F5EFE5; }
.kebab > summary::-webkit-details-marker { display: none; }
.kebab > summary svg { width: 18px; height: 18px; }
.dom-acts .kebab > summary svg { transform: rotate(90deg); }
.rep-acts .kebab > summary { width: 32px; height: 32px; border: 0; }
.kebab .dd-menu { min-width: 190px; }
.kebab .dd-menu form { margin: 0; }
.dd-menu .linklike { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; color: #F5EFE5; font-size: .92rem; }
.dd-menu .linklike:hover { background: rgba(217, 188, 140, .16); color: #fff; }
.dd-label { display: block; padding: 6px 12px 4px; color: var(--muted); font-size: .78rem; }
.tabs { gap: 4px; margin: 0 0 18px; border-bottom: 1px solid #1D2A47; padding-left: 4px; }
.tabs a { padding: 10px 18px 12px; font-size: .9rem; color: #DACCB3; border-bottom-width: 2px; }
.tabs a[aria-current] { color: #fff; border-image: linear-gradient(90deg, #C9A266, #D9BC8C) 1; border-bottom: 2px solid; font-weight: 600; }
.chk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; }
.chk-top, .chk-val { background: #10182B; border: 1px solid #1D2A47; border-radius: 12px; padding: 16px 18px; }
.chk-top { border-color: #1D2A47 !important; }
.chk-top b { gap: 8px; font-size: 1.02rem; }
.chk-ic { display: inline-grid; place-items: center; width: 20px; height: 20px; }
.chk-ic svg { width: 18px; height: 18px; }
.ic-dmarc, .ic-spf, .ic-dkim, .ic-starttls { color: #D9BC8C; }   /* Kategorie-Symbol neutral in Gold; die Farbe des Zustands trägt nur die Statuszeile */
.chk-top span { gap: 8px; margin-top: 6px; font-size: 1rem; color: #FAF6EF; }
.chk-top span svg { width: 16px; height: 16px; stroke-width: 3; }
.chk-top.st-ok span svg { color: #22C55E; } .chk-top.st-warn span svg { color: #FBBF24; } .chk-top.st-fail span svg { color: #F87171; }
.chk-top.st-unknown span svg { color: var(--muted); }
.chk-val span { font-size: .8rem; color: var(--muted); }
.chk-val b { font-size: 1rem; margin-top: 4px; }

/* Berichte */
.tabs-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.tabs-row .tabs { margin: 0; flex: 1; border-bottom: 0; }
.create-dd > summary { list-style: none; min-height: 44px; padding: 0 22px; display: inline-flex; align-items: center; }
.create-dd > summary::-webkit-details-marker { display: none; }
.create-dd .dd-menu { min-width: 240px; }
.table-panel { padding: 8px 10px; }
.rep-table th { color: #D7DEEA; font-weight: 600; font-size: .82rem; background: transparent; border-bottom: 1px solid #1D2A47; }
.rep-table td { border-bottom: 1px solid #131C31; padding-top: 14px; padding-bottom: 14px; vertical-align: middle; }
.rep-table tr:last-child td { border-bottom: 0; }
.rep-name svg { width: 22px; height: 22px; color: #F87171; }
.rep-acts { white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.empty-row { padding: 18px 16px; margin: 0; }

/* Einstellungen */
.set-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.set-grid .panel h2 { font-size: 1.02rem; margin-bottom: 14px; }
.set-grid label { color: var(--muted); font-size: .85rem; font-weight: 500; }
.set-grid .input { background: #0C1324; border-color: #253457; }
.set-grid .input[readonly] { color: #ECE5D8; }
.plan-box .plan-name { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; }
.plan-box .plan-name b { font-size: 1.45rem; color: #fff; }
.plan-box .pill-st { font-size: .82rem; padding: 4px 14px; border-radius: 999px; }
.plan-box p { color: #D7DEEA; margin: 0 0 10px; font-size: .92rem; }
.plan-box .btn { margin-top: 6px; }
.abo-switch { margin: 0 0 16px; }

@media (max-width: 960px) {
  .app-top { padding: 0 16px; }
  .app-page .app-top { position: sticky; top: 0; background: rgba(10, 16, 31, .92); backdrop-filter: blur(10px); }
  .app-main { padding: 14px 16px 48px; }
  .dash-top { grid-template-columns: auto 1fr; gap: 24px; } .dash-trend { grid-column: 1 / -1; }
  .chk-grid { grid-template-columns: 1fr 1fr; }
  .chk-grid > .chk-top:nth-child(1) { order: 1; } .chk-grid > .chk-val:nth-child(5) { order: 2; }
  .chk-grid > .chk-top:nth-child(2) { order: 1; } .chk-grid > .chk-val:nth-child(6) { order: 2; }
  .chk-grid > .chk-top:nth-child(3) { order: 3; } .chk-grid > .chk-val:nth-child(7) { order: 4; }
  .chk-grid > .chk-top:nth-child(4) { order: 3; } .chk-grid > .chk-val:nth-child(8) { order: 4; }
  .set-grid { grid-template-columns: 1fr; }
  .tabs-row { flex-direction: column; align-items: stretch; }
}
@media (max-width: 560px) {
  .top-left .crumbs { font-size: .92rem; }
  .top-sep { display: none; }
  .dash-top { grid-template-columns: 1fr; padding: 20px 18px; }
  .dom-head { flex-direction: column; align-items: stretch; }
  .dom-acts .btn { flex: 1; }
  .dom-acts form { flex: 1; display: flex; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; }
  .tabs a { white-space: nowrap; padding: 10px 12px; }
  .rep-table th:nth-child(3), .rep-table td:nth-child(3) { display: none; }
}
.app-side { padding: 22px 14px; }
.side-nav a { margin: 0; }
.sr-focus:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; border: 0; }
.set-grid form.stack { gap: 14px; }
.app { grid-template-columns: 250px minmax(0, 1fr); }
.side-nav a { gap: 11px; padding: 11px 12px; min-width: 0; }
.side-nav a > span:not(.side-badge) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app { grid-template-columns: 264px minmax(0, 1fr); }
.side-nav a { font-size: .9rem; }
@media (max-width: 960px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .app-side { padding: 22px 14px; }
}
@media (max-width: 560px) {
  .dom-head { gap: 16px; }
  .dom-id { align-items: flex-start; }
  .dom-id h2 { font-size: 1.25rem; }
  .dom-when .sep { display: none; }
  .dom-when { display: grid; gap: 2px; }
  .top-left .crumbs a, .top-left .crumbs .chev { display: none; }
}
.sr-only.sr-focus:focus { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; padding: 0 18px; }

/* Sprachauswahl mit 28 Sprachen: Liste scrollt statt die Seite zu sprengen; Fußzeile als Auswahl für kleine Bildschirme */
.dd-lang .dd-menu { max-height: min(70vh, 520px); overflow-y: auto; }
.dd-lang .dd-menu a[aria-current], .foot-lang-list a[aria-current], .dd-sublist a[aria-current] { font-weight: 600; }
.foot-lang summary { cursor: pointer; }
.foot-lang-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 16px; margin-top: 8px; }
.dd-sub summary { cursor: pointer; padding: 8px 12px; }
.dd-sublist { display: grid; max-height: 50vh; overflow-y: auto; padding-left: 12px; }

/* Eigene Angebote (statt Fremdwerbung): ruhig, im Stil der Seite, ohne Animation */
.promo-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s5); align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: var(--r);
  padding: var(--s5) var(--s6); box-shadow: var(--shadow-sm); margin: var(--s6) 0; }
.promo-title { font-size: var(--fs-h3); margin: 0 0 var(--s2); }
.promo-text { margin: 0; color: var(--muted, inherit); max-width: 60ch; }
.promo-alt { margin: var(--s3) 0 0; font-size: var(--fs-sm); color: var(--muted, inherit); }
.promo-cta { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s3); text-align: right; }
.promo-price { margin: 0; font-size: var(--fs-sm); white-space: nowrap; }
.promo-price b { font-size: var(--fs-lg); }
.promo-vat { display: block; font-size: var(--fs-xs); color: var(--muted); }
.promo-section { padding-top: 0; }
@media (max-width: 720px) {
  .promo-card { grid-template-columns: 1fr; padding: var(--s5); }
  .promo-cta { align-items: stretch; text-align: left; }
  .promo-cta .btn { text-align: center; }
}

/* Hinweis während einer angekündigten Wartung (selten; normale Updates laufen ohne Unterbrechung) */
.maint-banner { background: var(--warn-bg); color: var(--text); border-bottom: 1px solid var(--border); padding: var(--s2) var(--s4);
  text-align: center; font-size: var(--fs-sm); }

/* KI-Assistent im Hilfe-Center (immer als KI gekennzeichnet) */
.ai-card h2 .badge { font-size: var(--fs-xs); vertical-align: middle; }
.ai-answer:empty { display: none; }
.ai-answer { border-left: 3px solid var(--brand); padding: var(--s3) var(--s4); background: var(--surface-2); border-radius: var(--r-sm); }
.ai-answer p { margin: 0 0 var(--s2); }
.ai-answer p:last-child { margin-bottom: 0; }
.ai-answer.wait { color: var(--muted); }
.ai-answer.err { border-left-color: var(--fail); }
.trial-note { font-size: var(--fs-sm); color: var(--ok); margin: var(--s2) 0 0; }

/* =====================================================================
   Premium-Ebene „Tresor bei Nacht“ (Redesign 2026-11-21, docs/design/REDESIGN_PLAN.md)
   Nachtblau, Anthrazit, Champagnergold; Serifen-Headlines; Bewegungs-Tokens. Steht bewusst zuletzt und überschreibt.
   ===================================================================== */
:root, :root[data-theme="dark"], :root[data-theme="light"] {
  --bg: #070B16; --surface: #0E1526; --surface-2: #131C31; --text: #EEF1F6; --muted: #A9B3C6;
  --border: rgba(217, 188, 140, .14); --border-strong: rgba(217, 188, 140, .30);
  --brand: #D9BC8C; --brand-hover: #E7CFA6; --brand-ink: #14110A; --brand-soft: #1A1913; --accent: #D9BC8C; --accent-soft: rgba(217, 188, 140, .12);
  --violet: #C9A266; --violet-2: #D9BC8C; --glow: rgba(217, 188, 140, .32);
  --gold: #D9BC8C; --gold-deep: #B8925A; --ice: #C7DCF2; --cyan: #5CC2D6; --navy: #0A1020; --midnight: #0F1A33; --anthracite: #1B2130;
  --font-display: "PB Serif", "Noto Serif Display", Georgia, "Times New Roman", serif;
  --dur-1: 120ms; --dur-2: 200ms; --dur-3: 320ms; --dur-4: 600ms; --dur-5: 1200ms;
  --ease-out: cubic-bezier(.2, .7, .1, 1); --ease-scene: cubic-bezier(.6, 0, .2, 1); --stagger: 60ms;
}
body { background: var(--bg); }
h1, h2, .h-display { font-family: var(--font-display); font-weight: 400; letter-spacing: -.012em; }
h1 { font-weight: 500; }
a { color: var(--gold); }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

.btn { transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out), box-shadow var(--dur-3) var(--ease-out); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn-primary, .btn-primary:hover:not(:disabled) { color: var(--brand-ink); }
.btn-primary { background: linear-gradient(180deg, #E8CFA3 0%, #D2B07A 55%, #BF9A60 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 28px -14px rgba(217, 188, 140, .7); border: 0; }
.btn-primary:hover:not(:disabled) { background: linear-gradient(180deg, #F0DBB5 0%, #DDBD89 55%, #C8A469 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 14px 34px -12px rgba(217, 188, 140, .8); }
.btn-outline, .btn-secondary { background: rgba(7, 11, 22, .35); color: var(--text); border: 1px solid rgba(238, 241, 246, .42); }
.btn-outline:hover, .btn-secondary:hover:not(:disabled) { background: rgba(238, 241, 246, .08); color: #fff; border-color: rgba(238, 241, 246, .7); }
.nav-tools .btn-outline { border-color: rgba(238, 241, 246, .42); }
.pill { background: rgba(7, 11, 22, .55); border-color: var(--border-strong); color: #E9DCC4; letter-spacing: .02em; }

/* Hero „Tresor bei Nacht“: Szene füllt den Bereich, Text liegt links auf ruhigem Grund. */
.hero.hero-vault { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 7vw, 104px); min-height: min(88vh, 820px); display: flex; align-items: center; }
.hero-vault > .container { position: relative; z-index: 2; width: 100%; }
.hero-vault .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero-scene { position: absolute; inset: 0; z-index: 0; background: #00040c url(/static/hero-shield-1600.webp) 78% 50% / cover no-repeat; }
.hero-scene::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 11, 22, .94) 0%, rgba(7, 11, 22, .78) 34%, rgba(7, 11, 22, .18) 62%, rgba(7, 11, 22, 0) 78%),
              linear-gradient(0deg, var(--bg) 0%, rgba(7, 11, 22, 0) 22%); }
.hero-vault h1 { font-size: clamp(2.2rem, 1rem + 2.9vw, 3.35rem); line-height: 1.08; letter-spacing: -.016em; color: #F4F1EA; hyphens: manual; overflow-wrap: normal; }
.hero-vault h1 .accent { background: none; -webkit-text-fill-color: currentColor; color: var(--gold); }
.hero-vault .lead { color: #DCE2EC; font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); line-height: 1.65; max-width: 46ch; }
.hero-vault .checks-inline li { color: #C9D1E0; }
.hero-vault .checks-inline li::before { border-color: var(--gold); }
@media (max-width: 900px) {
  .hero.hero-vault { min-height: 0; padding-top: 48px; align-items: flex-start; }
  .hero-vault .hero-grid { grid-template-columns: 1fr; }
  /* Bild über die volle Breite (vorher rechtsbündig mit 92vw – links blieb ein schwarzer Streifen; Rückmeldung Betreiber 2026-11-23) */
  .hero-scene { background-image: linear-gradient(180deg, rgba(7, 11, 22, 0) 45%, var(--bg) 99%), url(/static/hero-shield-mobile.webp);
                 background-color: var(--bg); background-position: 50% 0, 50% 0; background-size: 100% 100vw, 100% auto; background-repeat: no-repeat; }
  .hero-scene::after { background: linear-gradient(180deg, rgba(7, 11, 22, 0) 0%, rgba(7, 11, 22, .15) 26%, rgba(7, 11, 22, .85) 44%, var(--bg) 60%); }
  .hero-vault .hero-main { padding-top: min(50vw, 360px); }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

/* Kopfzeile in der neuen Farbwelt */
.site-header, header.nav, .nav { background: rgba(7, 11, 22, .78); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid rgba(217, 188, 140, .10); }
.nav-tools .nav-cta, .nav-links a.nav-cta { background: linear-gradient(180deg, #E8CFA3 0%, #D2B07A 55%, #BF9A60 100%); color: var(--brand-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 22px -12px rgba(217, 188, 140, .7); }
.nav-tools .nav-cta:hover, .nav-links a.nav-cta:hover { background: linear-gradient(180deg, #F0DBB5 0%, #DDBD89 55%, #C8A469 100%); color: var(--brand-ink); }
.hero-actions .btn-outline, .hero-vault .btn-outline { border-color: rgba(238, 241, 246, .42); }
.hero-actions .btn-outline:hover { border-color: rgba(238, 241, 246, .75); }
.hero-vault .hero-grid > * { min-width: 0; }
.hero-vault h1 { overflow-wrap: break-word; }

/* Hero-Bild: dezente Tiefe (Zeiger-Parallax über --px/--py aus hero.js) und ein langsamer Lichtschimmer auf dem Schild. */
@media (min-width: 901px) { .hero-scene { background-position: calc(78% + var(--px, 0) * -14px) calc(50% + var(--py, 0) * -10px); transform: scale(1.03); } }
.hero-scene::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; opacity: .0;
  background: radial-gradient(38% 46% at 70% 44%, rgba(242, 208, 150, .38), rgba(242, 208, 150, 0) 70%);
  animation: vault-glow 9s var(--ease-scene) 1.2s infinite alternate; }
@keyframes vault-glow { from { opacity: .0; transform: translate3d(-1.5%, 0, 0); } to { opacity: .55; transform: translate3d(1.5%, -1%, 0); } }
.hero-vault .hero-main > * { animation: vault-rise var(--dur-4) var(--ease-out) both; }
.hero-vault .hero-main > :nth-child(2) { animation-delay: 60ms; } .hero-vault .hero-main > :nth-child(3) { animation-delay: 120ms; }
.hero-vault .hero-main > :nth-child(4) { animation-delay: 180ms; } .hero-vault .hero-main > :nth-child(n+5) { animation-delay: 240ms; }
@keyframes vault-rise { from { transform: translate3d(0, 10px, 0); } to { transform: none; } }
.hero-vault .checks-inline { gap: 28px; }
.hero-vault .checks-inline li { font-size: .92rem; }

/* Leistungsleiste: ruhig, Goldlinien statt Kacheln */
.feature-row { background: linear-gradient(180deg, var(--bg), #0A0F1D); }
.feature-row .feature-grid { background: rgba(14, 21, 38, .55); border: 1px solid var(--border); border-radius: 18px; backdrop-filter: blur(6px); }
.feature-row article { border-color: var(--border) !important; }
.feature-row .fi { color: var(--gold); }
.feature-row h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; letter-spacing: 0; color: #F4F1EA; }
.feature-row p { color: var(--muted); }

/* Abschnitt mit Büro-Bild (ersetzt das Laptop-Mockup mit Beispieldaten) */
.section.control { padding: clamp(72px, 9vw, 128px) 0; background: #0A0F1D; }
.control-grid { align-items: center; gap: clamp(32px, 5vw, 72px); }
.office-photo { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(217, 188, 140, .18);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset; aspect-ratio: 12 / 7; }
.office-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-5) var(--ease-out); }
.office-photo:hover img { transform: scale(1.02); }
.control h2 { font-size: clamp(1.9rem, 1.1rem + 2.2vw, 2.9rem); line-height: 1.1; color: #F4F1EA; }
.control .lead { color: var(--muted); }
.control .check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 28px; }
.control .check-list li { color: #D7DEEA; }
.control .check-list li::before { border-color: var(--gold); box-shadow: 0 0 0 7px rgba(217, 188, 140, .14); }
@media (max-width: 700px) { .control .check-list { grid-template-columns: 1fr; } }

/* Abschluss-Banner mit Terrassen-Bild */
.vault-banner { padding: 0 0 clamp(72px, 8vw, 112px); background: #0A0F1D; }
.vault-banner-inner { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid rgba(217, 188, 140, .22);
  min-height: 260px; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(90deg, rgba(7, 11, 22, .92) 0%, rgba(7, 11, 22, .6) 45%, rgba(7, 11, 22, .15) 100%), url(/static/terrace-1600.webp) center / cover no-repeat; }
.vault-banner-inner::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 188, 140, .8), transparent); }
.vault-banner h2 { margin: 0; font-size: clamp(1.8rem, 1rem + 2.4vw, 2.8rem); color: #F4F1EA; max-width: 18ch; }
@media (max-width: 700px) { .vault-banner-inner { background-image: linear-gradient(180deg, rgba(7, 11, 22, .55), rgba(7, 11, 22, .9)), url(/static/terrace-800.webp); } }

@media (prefers-reduced-motion: reduce) {
  .hero-scene::before, .hero-vault .hero-main > * { animation: none; }
  .hero-scene { transform: none; }
  .office-photo img { transition: none; }
}
.feature-row { padding-bottom: 0; } .section.control { padding-top: clamp(56px, 6vw, 88px); }
/* Kopfzeilen-Button erst nach dem Hero (vermeidet doppeltes „Kostenlos prüfen“); klappt ohne Lücke ein. */
.nav-tools .nav-cta { max-width: 280px; white-space: nowrap; overflow: hidden;
  transition: max-width var(--dur-3) var(--ease-out), opacity var(--dur-3) var(--ease-out), padding var(--dur-3) var(--ease-out), margin var(--dur-3) var(--ease-out); }
.hero-in-view .nav-tools .nav-cta { max-width: 0; opacity: 0; padding-left: 0; padding-right: 0; margin-left: calc(-1 * var(--s3)); border-width: 0; pointer-events: none; }
.vault-banner .btn-outline { background: rgba(7, 11, 22, .45); border-color: rgba(217, 188, 140, .55); color: #F4F1EA; }
.vault-banner .btn-outline:hover { background: rgba(217, 188, 140, .12); border-color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .nav-tools .nav-cta { transition: none; } }
.vault-banner-text { max-width: 34rem; } .vault-banner-sub { margin: 10px 0 0; color: #D7DEEA; font-size: 1.02rem; }
.hero-vault .checks-inline { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 32px; max-width: 600px; margin-top: 26px; } @media (max-width: 520px) { .hero-vault .checks-inline { grid-template-columns: 1fr; gap: 10px; } }

/* Schrift: öffentliche Seiten durchgehend in der Serifenschrift (Betreiberentscheidung 2026-11-22, Variante A).
   Kundenbereich (body.app-page), Formularfelder, Tabellen, Code und Prüfergebnisse bleiben in Inter – dort zählt Lesbarkeit. */
:root { --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
/* Fließtext in der Textschrift derselben Familie (kräftigere Striche, für kleine Größen gemacht); Überschriften bleiben in der
   Display-Schrift. Vorher lief auch der Fließtext in der Display-Schrift – zu dünn und auf dem Handy schlecht lesbar. */
:root { --font-text: "PB Serif Text", "Noto Serif", Georgia, "Times New Roman", serif; }
body:not(.app-page):not(.app-ui) { --font: var(--font-text); font-size: 1.0625rem; }
body:not(.app-page):not(.app-ui) .btn, body:not(.app-page):not(.app-ui) .nav-links a, body:not(.app-page):not(.app-ui) .nav-tools .btn { font-weight: 500; letter-spacing: .01em; }
/* Lesbarkeit (Rückmeldung Betreiber: Schrift auf dem Handy zu dünn): Fließtext im mittleren Schnitt, Zwischenüberschriften kräftiger */
body:not(.app-page):not(.app-ui) .lead, body:not(.app-page) p, body:not(.app-page) li { font-weight: 500; }
body:not(.app-page):not(.app-ui) :is(h2, h3, .h-display) { font-weight: 500; }
body:not(.app-page):not(.app-ui) :is(input, select, textarea, table, .domain-form, #results, #live, .order, .order-form, .kv-row, .adv, .hint) { font-family: var(--font-ui); }
.btn-arrow::after { content: none; }
@media (min-width: 900px) { .vault-banner h2 { white-space: nowrap; max-width: none; } }

/* Kundenbereich: aktiver Menüpunkt ruhig mit Goldkante statt Verlauf; Hinweis-Punkt und Abzeichen in Gold */
.app-side .side-nav a[aria-current="page"] { background: rgba(217, 188, 140, .10); color: #F4F1EA; box-shadow: inset 2px 0 0 var(--gold), inset 0 0 0 1px rgba(217, 188, 140, .18); }
.app-side .side-nav a[aria-current="page"] svg { color: var(--gold); opacity: 1; }
.side-badge { background: var(--gold); color: var(--brand-ink); }

/* Öffentliche Seiten: keine Etiketten über Überschriften, ruhige Tabellenköpfe, elegante Linklisten im Hilfe-Center */
body:not(.app-page):not(.app-ui) .page-head .eyebrow { display: none; }
.table th, .compare th { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 500; color: #C9D1E0; }
body:not(.app-page):not(.app-ui) ul.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
body:not(.app-page):not(.app-ui) ul.plain li { padding: 8px 0; border-bottom: 1px solid rgba(217, 188, 140, .08); }
body:not(.app-page):not(.app-ui) ul.plain li:last-child { border-bottom: 0; }
body:not(.app-page):not(.app-ui) ul.plain a { color: #EEF1F6; text-decoration: none; }
body:not(.app-page):not(.app-ui) ul.plain a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
body:not(.app-page):not(.app-ui) ul.plain .small, body:not(.app-page):not(.app-ui) ul.plain .muted { color: var(--muted); margin-left: 6px; }

/* Keine Lichthöfe hinter Kopfzeile/Konto und keine Farbverläufe in Schrift: ruhige, einheitliche Flächen (Betreiber 2026-11-22) */
body, .app-page { background: var(--bg); background-attachment: scroll; }
.control { background: #0A0F1D; }
.hero h1 .accent, .hero-v h1 .accent, .hero-vault h1 .accent { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: var(--gold); color: var(--gold); }
.avatar { background: var(--gold); color: var(--brand-ink); box-shadow: none; }
.top-bell .dot { box-shadow: 0 0 0 2px var(--bg); }

/* Abzeichen immer in Inter (auch in Serifen-Überschriften), Anmelde-/Registrierungsformulare schmal und mittig,
   Rechtstexte mit angenehmer Zeilenlänge */
.badge { font-family: var(--font-ui); letter-spacing: 0; }
body.auth main.doc { max-width: 560px; margin-left: auto; margin-right: auto; }
body.auth main.doc > h1 { text-align: center; }
.container.narrow.doc { max-width: 820px; }
.container.narrow.doc p, .container.narrow.doc li { line-height: 1.75; }
body.auth main.container.doc, body.auth main.doc.narrow { max-width: 540px; }

/* Passwortregeln unter dem Feld: rot bis erfüllt, dann grün mit Haken (Kontrast ≥ 4.5:1 auf hellem und dunklem Grund) */
.pw-rules { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: .9rem; font-family: var(--font-ui); }
.pw-rules li { display: flex; align-items: center; gap: 8px; }
.pw-rules li::before { content: "✕"; display: inline-block; width: 1.1em; text-align: center; font-weight: 700; }
.pw-rules li.ok::before { content: "✓"; }
.pw-rules li.bad { color: #FF8F87; }
.pw-rules li.ok { color: #7EDC9A; }
body.app-page .pw-rules li.bad, body.app-ui .pw-rules li.bad { color: var(--fail, #B42318); }
body.app-page .pw-rules li.ok, body.app-ui .pw-rules li.ok { color: var(--ok, #1E7B3C); }

/* Ruhige Bestätigungen (statt grüner Kasten): Haken in Gold, Text in normaler Farbe, feine Trennlinie */
.form-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 4px; padding: 0 0 14px; border-bottom: 1px solid rgba(217, 188, 140, .2);
  color: #DCE2EC; font-size: .98rem; line-height: 1.5; }
.form-note-ico { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--gold); }
body.app-page .form-note, body.app-ui .form-note { color: var(--text, #1B2130); border-bottom-color: rgba(138, 106, 53, .25); }
.confirm-card { text-align: center; align-items: center; }
.confirm-ico { width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(217, 188, 140, .45); display: grid; place-items: center;
  color: var(--gold); background: rgba(217, 188, 140, .06); margin: 4px auto 2px; }
.confirm-ico svg { width: 28px; height: 28px; }
.confirm-addr { font-weight: 600; color: #F4F1EA; word-break: break-all; margin: 0; }
.confirm-card > p { max-width: 46ch; margin-left: auto; margin-right: auto; }
.confirm-resend { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; border-top: 1px solid rgba(217, 188, 140, .18);
  padding-top: 14px; width: 100%; }

/* Zwei-Faktor-Einrichtung: QR-Code (weißer Grund, auch im dunklen Design scanbar) und Schlüssel zum Abtippen */
.qr-box { display: flex; justify-content: center; }
.qr-box svg.qr { width: 200px; height: 200px; border-radius: 8px; border: 1px solid var(--border); background: #fff; }
.qr-manual summary { cursor: pointer; color: var(--muted); font-size: var(--fs-sm); }
.qr-manual[open] summary { margin-bottom: var(--s2); }
.qr-key { font-size: 1rem; letter-spacing: .03em; word-break: normal; overflow-wrap: normal; user-select: all; }
.mfa-cancel { margin-top: var(--s3); }
.nowrap { white-space: nowrap; }
.dom-main .badge { white-space: normal; max-width: 100%; }   /* lange Zustandshinweise (z. B. abgeschalteter Webhook) brechen um */

/* Betreiberansicht: Dashboard (Kennzahlen, Meldungen, Diagramme). Diagrammfarben geprüft (Farbsehschwäche, Kontrast auf --surface). */
:root { --c-1: #B8892F; --c-2: #1F97B3; --c-3: #D55181; --c-grid: rgba(217, 188, 140, .10); --c-axis: #8C97AB; --c-avg: #C7DCF2; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 8px 0 20px; }
@media (max-width: 1000px) { .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .kpi-grid { grid-template-columns: 1fr; } }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; min-width: 0; }
.kpi-label { margin: 0; color: var(--muted); font-size: .85rem; font-weight: 500; }
.kpi-value { margin: 6px 0 2px; font-family: var(--font-display); font-size: 2.1rem; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi-sub { margin: 0; color: var(--muted); font-size: .82rem; }
.kpi-state.st-ok .kpi-value { color: var(--text); }
.kpi-state.st-warn { border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
.kpi-state.st-fail { border-color: color-mix(in srgb, var(--fail) 55%, transparent); }
.dash-ok { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; margin: 0 0 20px; }
.dash-ok .dot, .dash-alert .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.dash-alerts { display: grid; gap: 8px; margin: 0 0 20px; }
.dash-alert { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--warn); border-radius: 10px; padding: 10px 14px; }
.dash-alert.err { border-left-color: var(--fail); }
.dash-alert.warn .dot { background: var(--warn); } .dash-alert.err .dot { background: var(--fail); }
.dash-alert .msg { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.dash-alert .btn { min-height: 34px; padding: 0 12px; }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px 14px; min-width: 0; }
.dash-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.dash-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.dash-card h2 { font-size: 1.15rem; margin: 0; }
.dash-headline { margin: 0; color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--c-grid); stroke-width: 1; }
.chart .axis { fill: var(--c-axis); font-size: 11px; font-family: var(--font-ui); }
.chart .bar { fill: var(--c-1); }
.chart .bar-now { fill: #D9BC8C; }
.chart .avg { stroke: var(--c-avg); stroke-width: 1.5; stroke-dasharray: 4 4; }
.chart .avg-label { fill: var(--c-avg); font-size: 11px; font-family: var(--font-ui); }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit:hover, .chart .hit:focus { fill: rgba(217, 188, 140, .06); outline: none; }
.dash-tip { position: absolute; z-index: 60; pointer-events: none; background: #1B2130; color: var(--text); border: 1px solid var(--border-strong); border-radius: 8px; padding: 6px 10px; font-size: .82rem; opacity: 0; transition: opacity 120ms; white-space: nowrap; }
.dash-tip.on { opacity: 1; }
.dash-table { margin-top: 8px; } .dash-table summary { color: var(--muted); font-size: .82rem; cursor: pointer; }
.plan-bars { display: grid; gap: 14px; margin-top: 6px; }
.plan-row { display: grid; grid-template-columns: minmax(130px, 180px) minmax(0, 1fr) 48px; grid-template-areas: "name track num" ". detail detail"; align-items: center; gap: 4px 14px; }
.plan-name { grid-area: name; display: flex; align-items: center; gap: 8px; font-weight: 500; }
.plan-track { grid-area: track; display: flex; gap: 2px; height: 14px; background: rgba(255, 255, 255, .03); border-radius: 4px; overflow: hidden; }
.plan-seg { height: 100%; border-radius: 4px; }
.plan-trial { background: repeating-linear-gradient(135deg, var(--seg) 0 3px, transparent 3px 7px); border: 1px solid var(--seg); box-sizing: border-box; }
.plan-num { grid-area: num; text-align: right; font-family: var(--font-display); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.plan-detail { grid-area: detail; color: var(--muted); font-size: .8rem; }
.plan-legend { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; margin: 4px 0 0; flex-wrap: wrap; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: var(--c-axis); }
.swatch-trial { background: repeating-linear-gradient(135deg, var(--c-axis) 0 3px, transparent 3px 6px); border: 1px solid var(--c-axis); margin-left: 10px; }
.dash-tech { margin-top: 24px; } .dash-tech > summary { cursor: pointer; font-weight: 500; color: var(--muted); padding: 8px 0; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 8px; }
.tech-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.tech-card h3 { margin: 0 0 8px; font-size: 1rem; }
.dash-more > summary { cursor: pointer; color: var(--muted); font-size: .88rem; padding: 4px 2px; }
.dash-more[open] { display: grid; gap: 8px; }
.stepup { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 14px; }
.stepup label { font-size: .82rem; color: var(--muted); font-weight: 500; }
.stepup .input { width: 130px; min-height: 38px; }
@media (max-width: 700px) {
  .tabbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
  .tabbar .tab { flex: none; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 14px; } .kpi-value { font-size: 1.55rem; } .kpi-sub { font-size: .75rem; }
  .plan-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name num" "track track" "detail detail"; }
  .dash-card { padding: 14px; }
}
.check-row { display: flex; align-items: center; gap: 10px; } .check-row input { width: 18px; height: 18px; }
.brand-logo { display: block; max-width: 260px; max-height: 90px; background: #fff; padding: 8px; border-radius: 8px; margin: 6px 0; }
.input-color { width: 72px; min-height: 44px; padding: 4px; }
