@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: oklch(0.976 0.006 85);
  --paper-2: oklch(0.945 0.008 85);
  --card: oklch(0.992 0.005 85);
  --ink: oklch(0.24 0.012 60);
  --muted: oklch(0.46 0.012 60);
  --faint: oklch(0.6 0.01 70);
  --accent: oklch(0.56 0.14 162);
  --accent-deep: oklch(0.47 0.13 162);
  --accent-2: oklch(0.64 0.18 40);
  --on-accent: oklch(0.99 0 0);
  --mid: oklch(0.64 0.13 72);
  --low: oklch(0.55 0.18 30);
  --line: oklch(0.87 0.008 75);
  --line-strong: oklch(0.8 0.01 75);
  --btn-shadow: oklch(0.2 0.05 162 / 0.45);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 62rem;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
[data-theme="dark"] {
  --paper: oklch(0.17 0.012 60);
  --paper-2: oklch(0.215 0.013 60);
  --card: oklch(0.215 0.013 60);
  --ink: oklch(0.95 0.006 85);
  --muted: oklch(0.73 0.012 85);
  --faint: oklch(0.58 0.012 85);
  --accent: oklch(0.79 0.14 162);
  --accent-deep: oklch(0.7 0.14 162);
  --accent-2: oklch(0.74 0.16 45);
  --on-accent: oklch(0.16 0.02 160);
  --mid: oklch(0.8 0.12 78);
  --low: oklch(0.72 0.16 32);
  --line: oklch(0.3 0.012 60);
  --line-strong: oklch(0.4 0.012 60);
  --btn-shadow: oklch(0 0 0 / 0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
/* Akzent-Linie als fixiertes Band ganz oben (scrollt nicht -> kein Sticky-Header-Ruck). */
body::before {
  content: ""; position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 100; pointer-events: none;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.hl { color: var(--accent-2); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }

/* Header */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 1.6rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 0.72rem; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -0.035em; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-tag { font-family: var(--font); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.28rem; }
.brand:hover { text-decoration: none; }
.brand:hover .brand-logo { filter: brightness(1.08); }
.brand-logo {
  width: 42px; height: 42px; display: block; flex: none;
  margin-bottom: 10px; margin-right: -5px; /* leicht nach oben + näher ans Wortmark */
  background-color: oklch(0.5 0.15 162); /* Deep-Teal Glyph, kachellos */
  -webkit-mask: url("logo_3.png") center / contain no-repeat;
          mask: url("logo_3.png") center / contain no-repeat;
  transition: filter 0.18s ease;
}
.head-right { display: flex; align-items: center; gap: 0.7rem; }
.head-right > a { color: var(--muted); font-size: 0.95rem; font-weight: 600; padding: 0.45rem 0.55rem; border-radius: 8px; }
.head-right > a:hover { color: var(--ink); text-decoration: none; background: var(--paper-2); }
.lang-btn {
  background: var(--card); border: 1px solid var(--line-strong); color: var(--muted);
  border-radius: 9px; padding: 0.45rem 0.7rem; min-width: 2.6rem; cursor: pointer;
  font-size: 0.88rem; font-weight: 700; line-height: 1;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.lang-btn:hover { border-color: var(--accent); color: var(--ink); background: var(--paper-2); }

/* Hero */
.hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) 1.5rem 2.5rem; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-preview { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1.5rem; box-shadow: 0 26px 55px -34px oklch(0.2 0.02 162 / 0.3); }
.hp-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line); }
.hp-url { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92rem; color: var(--ink); }
.hp-tag { font-size: 0.64rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: var(--paper-2); border: 1px solid var(--line); padding: 0.15rem 0.45rem; border-radius: 5px; }
.hp-score-row { display: flex; align-items: baseline; gap: 0.7rem; margin: 0.9rem 0 0.2rem; }
.hp-score-label { font-size: 0.85rem; color: var(--muted); }
.hp-score { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--accent-deep); letter-spacing: -0.03em; }
.hp-score small { font-size: 0.45em; color: var(--faint); font-weight: 700; }
.hp-lines { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 0.6rem; }
.hp-lines li { position: relative; padding-left: 1.15rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.96rem; }
.hp-lines li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; }
.hp-lines li span { color: var(--muted); }
.hp-lines li b { font-weight: 700; }
.hp-ok::before { background: var(--accent); }
.hp-ok b { color: var(--accent-deep); }
.hp-warn::before { background: var(--mid); }
.hp-warn b { color: oklch(0.5 0.13 62); }
.hp-bad::before { background: var(--low); }
.hp-bad b { color: var(--low); }
.hp-foot { font-size: 0.8rem; color: var(--faint); padding-top: 0.85rem; margin-top: 0.4rem; border-top: 1px solid var(--line); }
.eyebrow { margin: 0 0 1.2rem; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
h1 { font-size: clamp(2.7rem, 7vw, 4.6rem); letter-spacing: -0.035em; max-width: 16ch; }
.sub { margin: 1.4rem 0 0; max-width: 52ch; color: var(--muted); font-size: clamp(1.1rem, 2.3vw, 1.35rem); }
.check-band { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem clamp(2rem, 5vw, 3rem); animation: rise 0.7s var(--ease) 0.45s both; }
.check { margin: 0; display: flex; gap: 0.7rem; flex-wrap: wrap; }
.check input {
  flex: 1 1 16rem; background: var(--card); border: 1px solid var(--line-strong); border-radius: 9px;
  color: var(--ink); padding: 0.95rem 1.1rem; font-size: 1.05rem; font-family: var(--font);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.check input::placeholder { color: var(--faint); }
.check input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px oklch(0.5 0.12 168 / 0.12); }
.check button {
  padding: 0.95rem 1.8rem; font-size: 1.05rem;
}
.hint { margin: 0.3rem 0 0; font-size: 0.85rem; color: var(--faint); }

/* Intro-Reveal (einmalig, ruhig gestaffelt) */
.hero-copy .eyebrow { animation: rise 0.7s var(--ease) 0.05s both; }
.hero-copy h1 { animation: rise 0.7s var(--ease) 0.15s both; }
.hero-copy .sub { animation: rise 0.7s var(--ease) 0.28s both; }
.hero-preview { animation: rise 0.8s var(--ease) 0.35s both; }
/* Status-Zeilen der Vorschau starten unsichtbar, JS blendet sie gestaffelt ein */
.hp-lines.building li { opacity: 0; }

/* Progress */
.progress { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; color: var(--muted); }
.spinner { width: 34px; height: 34px; margin: 0 0 1rem; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Result */
.result { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.result.show { animation: rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }

.score-hero {
  display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap;
  padding: clamp(1.6rem, 4vw, 2.4rem); border: 1px solid var(--line); border-radius: 14px; background: var(--card);
}
.gauge {
  --p: 0; width: 150px; aspect-ratio: 1; border-radius: 50%; flex: none;
  background: conic-gradient(var(--ring, var(--accent)) calc(var(--p) * 1%), var(--line) 0);
  display: grid; place-items: center; position: relative;
}
.gauge::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--card); }
.gauge-inner { position: relative; line-height: 1; }
.gauge.s-high { --ring: var(--accent); }
.gauge.s-mid { --ring: var(--mid); }
.gauge.s-low { --ring: var(--low); }
.score-meta { flex: 1 1 14rem; }
.score-num { font-family: var(--display); font-size: clamp(2.4rem, 7vw, 3rem); font-weight: 800; letter-spacing: -0.04em; }
.score-num small { font-size: 0.34em; color: var(--faint); font-weight: 700; }
.score-label { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.4rem; }
.score-site { margin: 0.6rem 0 0; color: var(--muted); font-size: 1.05rem; font-weight: 600; word-break: break-word; }
.s-high { color: var(--accent); }
.s-mid { color: var(--mid); }
.s-low { color: var(--low); }
.brand-miss { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--muted); line-height: 1.45; }
.brand-ok { margin: 0.35rem 0 0; font-size: 0.9rem; color: var(--accent); font-weight: 600; }
.brand-score { margin: 0 0 1rem; }
.brand-score-val { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: 2rem; }
.brand-score-val small { font-size: 0.4em; color: var(--faint); font-weight: 700; }

.block-title { margin: 3rem 0 1.3rem; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.ai-lead { margin: -0.7rem 0 1rem; color: var(--muted); max-width: 62ch; font-size: 1.02rem; }

.dims { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 2.2rem; }
.dim { border-top: 1px solid var(--line); padding-top: 0.85rem; }
.dim-top { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; }
.dim-name { font-weight: 600; }
.chip { font-size: 0.82rem; font-weight: 600; padding: 0.28rem 0.7rem; border-radius: 999px; white-space: nowrap; }
.chip b { font-weight: 800; font-variant-numeric: tabular-nums; margin-right: 0.2rem; }
.chip-high { color: var(--accent-deep); background: oklch(0.56 0.14 162 / 0.13); }
.chip-mid { color: oklch(0.5 0.13 62); background: oklch(0.64 0.13 72 / 0.18); }
.chip-low { color: var(--low); background: oklch(0.55 0.18 30 / 0.13); }
.dim-bar { margin: 0.55rem 0 0.5rem; height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.dim-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--accent); transition: width 1s cubic-bezier(0.22, 1, 0.36, 1); }
.dim-bar i.mid { background: var(--mid); }
.dim-bar i.low { background: var(--low); }

.ai-head { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.ai-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.gaps { display: grid; gap: 0.8rem; }
.gap { display: flex; gap: 0.85rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--line); }
.gaps .gap:first-child { border-top: 0; }
.gaps-more { margin: 0.9rem 0 0; color: var(--accent-deep); font-weight: 600; font-size: 0.92rem; }
.sev { flex: none; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; padding: 0.22rem 0.55rem; border-radius: 6px; text-transform: uppercase; margin-top: 0.15rem; }
.sev.high { color: var(--low); background: oklch(0.55 0.17 32 / 0.12); }
.sev.medium { color: var(--mid); background: oklch(0.62 0.12 70 / 0.14); }
.sev.low { color: var(--accent); background: oklch(0.5 0.12 168 / 0.12); }
.gap b { display: block; margin-bottom: 0.1rem; }
.gap span.why { color: var(--muted); font-size: 0.93rem; }

/* Report-Anforderung (Gratis-Lead-Magnet) */
.req { display: flex; flex-direction: column; gap: 0.9rem; max-width: 34rem; }
#req-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.req-send input:focus { outline: none; border-color: var(--accent); }
.cf-box { margin: 0.2rem 0; min-height: 65px; }
.req-send { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.req-send input { flex: 1 1 14rem; background: var(--card); border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); padding: 0.85rem 1rem; }
.req button { padding: 0.85rem 1.5rem; }

/* Primaer-Button (Check + Report): mit Tiefe statt flach */
.check button, .req button {
  border: 0; border-radius: 10px; color: var(--on-accent); font-weight: 700; cursor: pointer;
  white-space: nowrap; font-family: var(--font);
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.22), 0 10px 22px -10px var(--btn-shadow);
  transition: transform 0.12s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.16s ease, filter 0.16s ease;
}
.check button:hover, .req button:hover {
  filter: brightness(1.05); transform: translateY(-1px);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.25), 0 16px 30px -10px var(--btn-shadow);
}
.check button:active, .req button:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.18), 0 6px 14px -8px var(--btn-shadow);
}
.check button:disabled, .req button:disabled { opacity: 0.55; cursor: default; filter: none; transform: none; }
.check button:focus-visible, .req button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.req-status { flex-basis: 100%; margin: 0.3rem 0 0; font-size: 0.9rem; min-height: 1.1em; }
.req-consent { flex-basis: 100%; margin: 0.2rem 0 0; font-size: 0.78rem; color: var(--muted); line-height: 1.4; }
.req-consent a { color: var(--muted); text-decoration: underline; }
.req-status.ok {
  display: flex; align-items: center; gap: 0.55rem;
  margin-top: 0.6rem; padding: 0.85rem 1.05rem;
  border-radius: 10px;
  background: color-mix(in oklch, var(--accent) 12%, var(--card));
  border: 1px solid color-mix(in oklch, var(--accent) 30%, var(--line));
  color: var(--accent-deep); font-size: 1.05rem; font-weight: 600; line-height: 1.4;
}
.req-status.ok::before {
  content: ""; flex: none; width: 1.35rem; height: 1.35rem;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.3 14.4l-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.3 14.4l-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.req-status.err { color: var(--low); }

.again { display: inline-block; margin: 2.2rem 0 0; color: var(--muted); }
.error-box {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 0 0 1.5rem; padding: 0.95rem 1.15rem;
  border-radius: 12px;
  background: color-mix(in oklch, var(--mid) 12%, var(--card));
  border: 1px solid color-mix(in oklch, var(--mid) 34%, var(--line));
  color: var(--ink); font-size: 0.98rem; line-height: 1.45;
}
.error-box::before {
  content: ""; flex: none; width: 1.4rem; height: 1.4rem;
  background: var(--mid);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' x2='12' y1='9' y2='13'/%3E%3Cline x1='12' x2='12.01' y1='17' y2='17'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' x2='12' y1='9' y2='13'/%3E%3Cline x1='12' x2='12.01' y1='17' y2='17'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Auf-einen-Blick-Zusammenfassung (AEO: leicht von KI zitierbar) */
.glance { max-width: 50rem; margin: clamp(2.5rem, 6vw, 4rem) auto 0; padding: 0 1.5rem; }
.glance h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin-bottom: 0.7rem; }
.glance p { margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.2rem); max-width: 62ch; }

/* FAQ */
.faq { max-width: 50rem; margin: clamp(3.5rem, 8vw, 5.5rem) auto 0; padding: 0 1.5rem; }
.faq h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 1.4rem; }
.faq-list { display: grid; }
.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; font-family: var(--display); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.8rem 0 0; color: var(--muted); max-width: 64ch; }

/* Footer */
.site-foot { max-width: var(--maxw); margin: clamp(4rem, 9vw, 6rem) auto 0; padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem 3rem; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem 3rem; }
.foot-brand .brand { font-size: 1.2rem; }
.foot-brand p { margin: 0.9rem 0 0; max-width: 32ch; color: var(--muted); font-size: 0.92rem; }
.foot-col { display: flex; flex-direction: column; gap: 0.6rem; }
.foot-col h4, .foot-col h3 { margin: 0 0 0.3rem; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); font-weight: 700; font-family: var(--font); }
.foot-col a { color: var(--muted); font-size: 0.95rem; }
.foot-col a:hover { color: var(--ink); }
.foot-social { margin: 0.7rem 0 0; font-size: 0.9rem; }
.foot-social a { color: var(--muted); }
.foot-social a:hover { color: var(--ink); }
.foot-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.85rem; }
.foot-bottom p { margin: 0; }

/* Legal */
.legal { max-width: 50rem; margin: 2.5rem auto 0; padding: 0 1.5rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 0.5rem; }
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; font-family: var(--display); font-weight: 700; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; }
.legal .legal-source { color: var(--faint); font-size: 0.82rem; margin-top: 0.5rem; }
.legal-back { display: inline-block; margin: 2.5rem 0 0; color: var(--muted); }

/* Artikel-/Content-Seiten (z. B. /geo) — einheitliche Lesespalte, linksbuendig mit Header */
.article { max-width: var(--maxw); margin: 2rem auto 0; padding: 0 1.5rem; }
.article > * { max-width: 72ch; }
.article > h1 { max-width: none; }
.crumb { font-size: 0.85rem; color: var(--faint); margin: 0 0 1.2rem; }
.crumb a { color: var(--muted); }
.article h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; line-height: 1.06; }
.article .lead { margin: 1.2rem 0 0; font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); }
.article h2 { font-size: clamp(1.4rem, 3.2vw, 1.85rem); margin: 2.6rem 0 0; }
.article h3 { font-size: 1.12rem; margin: 1.5rem 0 0; font-family: var(--display); font-weight: 700; }
.article p { margin: 0.8rem 0 0; line-height: 1.75; color: var(--ink); }
.article ul { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.65rem; }
.article ul li { position: relative; padding-left: 1.7rem; color: var(--ink); line-height: 1.6; }
.article ul li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.6rem; height: 0.6rem; border-radius: 3px; background: var(--accent); }
.glance-box { margin: 1.9rem 0 0; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.glance-box h2 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.glance-box p { margin: 0; color: var(--muted); }
.cmp { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.96rem; }
.cmp th, .cmp td { text-align: left; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); font-weight: 700; }
.cmp tbody td:first-child { font-weight: 600; }
.geo-cta { margin: 2.8rem 0 0; padding: 1.8rem; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--paper-2); text-align: center; }
.geo-cta p { margin: 0 auto 1rem; color: var(--muted); }
.geo-cta .btn { display: inline-flex; align-items: center; border: 0; border-radius: 10px; padding: 0.85rem 1.6rem; font-weight: 700; color: #fff; background: linear-gradient(180deg, oklch(0.54 0.14 162), oklch(0.45 0.13 162)); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.22), 0 10px 22px -10px var(--btn-shadow); transition: filter 0.16s, transform 0.12s; }
.geo-cta .btn:hover { text-decoration: none; filter: brightness(1.05); transform: translateY(-1px); }
.article .faq-list { margin-top: 0.5rem; }
.article .faq-list details { border-top: 1px solid var(--line); padding: 1.05rem 0; }
.article .faq-list details:last-child { border-bottom: 1px solid var(--line); }
.article .faq-list summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; }
.article .faq-list summary::-webkit-details-marker { display: none; }
.article .faq-list summary::after { content: "+"; color: var(--accent); font-weight: 700; font-family: var(--display); }
.article .faq-list details[open] summary::after { content: "–"; }
.article .faq-list details p { margin: 0.7rem 0 0; color: var(--muted); }
.article pre { margin: 1rem 0 0; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow-x: auto; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.88rem; line-height: 1.6; color: var(--ink); }
.article :not(pre) > code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.9em; background: var(--paper-2); padding: 0.1rem 0.35rem; border-radius: 5px; }

/* Befund / Report-Verfeinerungen */
.score-eyebrow { margin: 0 0 0.15rem; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.score-interp { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.95rem; }
.interp-row { display: block; }
.interp-row + .interp-row { margin-top: 0.2rem; }
.gap-body { display: flex; flex-direction: column; gap: 0.2rem; }
.gap-fix { margin-top: 0.35rem; font-size: 0.92rem; color: var(--ink); }
.gap-fix-label { color: var(--accent-deep); font-weight: 700; }
.befund { margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.5rem; background: var(--card); }
.befund p { margin: 0; font-size: 1.15rem; }
.preview { margin-top: 3rem; padding: clamp(1.8rem, 4vw, 2.8rem); border: 1px solid var(--line-strong); border-radius: 16px; background: var(--paper-2); }
.preview h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.preview .lead { margin: 0.7rem 0 1rem; color: var(--muted); max-width: 52ch; }
.preview-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.preview-list li { position: relative; padding-left: 2rem; color: var(--ink); font-size: 1rem; }
.preview-list li::before {
  content: ""; position: absolute; left: 0; top: 0.1em; width: 1.3rem; height: 1.3rem;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.3 14.4l-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm-1.3 14.4l-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.preview-andmore { margin: 0.9rem 0 0; color: var(--muted); font-weight: 600; }
.preview-more { margin: 1.4rem 0; color: var(--muted); font-size: 0.92rem; }

@media (max-width: 56rem) {
  .hero { grid-template-columns: 1fr; }
  .hero-preview { max-width: 30rem; }
  .dims { grid-template-columns: 1fr; }
}

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ===================== Header v2 (sticky + Segmented-Control + CTA) ===================== */
.site-head { position: sticky; top: 0; z-index: 60; background: var(--paper); transition: box-shadow 0.2s ease; }
/* Beim Scrollen NUR Elevation (kein Höhen-/Padding-Wechsel -> kein Zittern). */
.site-head.scrolled { box-shadow: 0 10px 28px -20px oklch(0.2 0.02 162 / 0.55); }
.nav-links { display: flex; align-items: center; gap: 0.1rem; }
.nav-links a { font-size: 0.95rem; font-weight: 800; color: var(--muted); padding: 0.45rem 0.65rem; border-radius: 8px; }
.nav-links a:hover { color: var(--ink); background: var(--paper-2); text-decoration: none; }
.nav-links a[aria-current] { color: var(--ink); font-weight: 700; }
.seg { display: inline-flex; align-items: center; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 3px; box-shadow: inset 0 1px 2px oklch(0 0 0 / 0.05); }
.seg-btn { border: 0; background: transparent; color: var(--muted); border-radius: 9px; padding: 0.42rem 0.6rem; font-weight: 700; font-size: 0.84rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; gap: 0.34rem; text-decoration: none; transition: color 0.15s ease, background 0.15s ease; }
.seg-btn:hover { color: var(--ink); text-decoration: none; }
.seg-btn.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px oklch(0 0 0 / 0.1), 0 0 0 1px var(--line); }
.seg-btn svg { width: 16px; height: 16px; display: block; }
.seg-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg-div { width: 1px; height: 18px; background: var(--line); margin: 0 4px; }
@media (max-width: 52rem) { .nav-links { display: none; } }
@media (max-width: 40rem) { .seg-btn { padding: 0.4rem 0.5rem; } }

/* ===================== Result: Score-Trio + Verdict ===================== */
.scorecard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin: 0 0 1.6rem; }
.scard { position: relative; border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 1.5rem 1.3rem 1.4rem; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 22px 50px -40px oklch(0.2 0.02 162 / 0.45); }
.scard.lead { border-color: color-mix(in oklch, var(--accent) 40%, var(--line)); }
.scard .ring { position: relative; width: 124px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gc, var(--accent)) calc(var(--p, 0) * 1%), var(--line) 0); }
.scard .ring::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--card); }
.scard .ring .n { position: relative; font-family: var(--display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.scard .ring .n small { font-size: 0.32em; color: var(--faint); font-weight: 700; }
.scard.s-high .ring { --gc: var(--accent); } .scard.s-high .n { color: var(--accent-deep); }
.scard.s-mid .ring { --gc: var(--mid); } .scard.s-mid .n { color: oklch(0.5 0.13 62); }
.scard.s-low .ring { --gc: var(--low); } .scard.s-low .n { color: var(--low); }
.scard .lbl { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--ink); margin: 1rem 0 0.15rem; }
.scard .meth { font-size: 0.8rem; color: var(--faint); }
.scard .note { font-size: 0.88rem; color: var(--muted); margin: 0.5rem 0 0; line-height: 1.45; }
.scard .pill { position: absolute; top: 0.9rem; right: 0.9rem; font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent-deep); background: oklch(0.56 0.14 162 / 0.13); padding: 0.2rem 0.45rem; border-radius: 5px; }
.verdict { margin: 0 0 0.4rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); display: flex; gap: 0.7rem; align-items: flex-start; font-size: 1.02rem; line-height: 1.55; }
.verdict .vlabel { font-weight: 800; color: var(--accent-deep); white-space: nowrap; }
.result-note { margin: 0.4rem 0 0; color: var(--mid); font-size: 0.88rem; line-height: 1.5; }
@media (max-width: 48rem) { .scorecard-grid { grid-template-columns: 1fr; } }

/* ===================== Result-Buttons (primär + ghost) ===================== */
.result-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin: 2rem 0 0; }
.rbtn { border: 0; border-radius: 10px; padding: 0.82rem 1.4rem; font-weight: 700; font-size: 1rem; font-family: var(--font); cursor: pointer; display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none; }
.rbtn-primary { color: var(--on-accent); background: linear-gradient(180deg, var(--accent), var(--accent-deep)); box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.22), 0 10px 22px -10px var(--btn-shadow); transition: transform 0.12s var(--ease), filter 0.16s ease; }
.rbtn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); text-decoration: none; }
.rbtn-ghost { background: var(--card); border: 1px solid var(--line-strong); color: var(--ink); }
.rbtn-ghost:hover { border-color: var(--accent); text-decoration: none; }

/* ===================== Progress: gestaffelte Schritte ===================== */
.prog-card { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 1.8rem 1.9rem; max-width: 34rem; box-shadow: 0 30px 60px -45px oklch(0.2 0.02 162 / 0.5); }
.prog-site { font-family: ui-monospace, Menlo, monospace; font-size: 0.92rem; color: var(--muted); margin: 0 0 0.2rem; }
.prog-head { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-size: 1.4rem; margin: 0 0 1.3rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.steps li { display: flex; align-items: center; gap: 0.8rem; font-size: 1.0rem; color: var(--faint); }
.steps li .sic { flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-strong); box-sizing: border-box; }
.steps li b { font-weight: 600; }
.steps li.done { color: var(--ink); }
.steps li.done .sic { border-color: transparent; background: var(--accent); }
.steps li.done .sic::after { content: ""; width: 0.5rem; height: 0.28rem; border-left: 2px solid var(--on-accent); border-bottom: 2px solid var(--on-accent); transform: rotate(-45deg) translateY(-1px); }
.steps li.active { color: var(--ink); }
.steps li.active b { color: var(--accent-deep); }
.steps li.active .sic { border-color: var(--accent); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.steps li .ssub { display: block; font-size: 0.82rem; color: var(--faint); margin-top: 1px; font-weight: 400; }
.prog-bar { height: 6px; border-radius: 999px; background: var(--paper-2); overflow: hidden; margin: 1.5rem 0 0; }
.prog-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-deep)); transition: width 0.5s var(--ease); }

@media (max-width: 40rem) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 34rem) {
  .check { flex-direction: column; gap: 0.6rem; margin-top: 0; }
  .check input { flex: none; width: 100%; font-size: 1rem; padding: 0.8rem 1rem; }
  .check button, .req button { width: 100%; padding: 0.85rem 1.4rem; font-size: 1rem; }
  .req input { font-size: 1rem; padding: 0.75rem 0.95rem; }
  .score-hero { flex-direction: column; text-align: center; }
  h1 { font-size: clamp(2.2rem, 9vw, 2.7rem); }
  .sub { font-size: 1.08rem; }
  .site-head { padding: 1.1rem 1.1rem; }
  .brand { font-size: 1.4rem; gap: 0.55rem; }
  .brand-logo { width: 37px; height: 37px; }
  .head-right { gap: 0.45rem; }
  .head-right > a { padding: 0.4rem 0.45rem; font-size: 0.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .dim-bar i { transition: none; }
}
