/* ============================================================
   Web-Blickwinkel – web-blickwinkel.de
   Dunkles, editoriales Design im Stil des GLSL-Hero:
   Archivo (Variable) + Instrument Serif Italic + Space Mono
   ============================================================ */

/* ---------- Fonts (selbst gehostet) ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('../assets/fonts/archivo-var.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../assets/fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('../assets/fonts/space-mono.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0d;
  --bg-2: #0f0f14;
  --bg-3: #14141b;
  --line: rgba(242, 242, 239, 0.1);
  --line-strong: rgba(242, 242, 239, 0.18);
  --txt: #f2f2ef;
  --muted: rgba(242, 242, 239, 0.7);
  --faint: rgba(242, 242, 239, 0.56);
  --accent: #e0aa4e;
  --accent-soft: rgba(224, 170, 78, 0.12);
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'Space Mono', 'SF Mono', Menlo, monospace;
  --radius: 14px;
  --wrap: 1160px;
  --header-h: 76px;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #14110a; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  display: block;
  margin-bottom: 1.1rem;
}
.serif-line {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  display: block;
}
.section-title {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  margin-bottom: 1rem;
}
.section-title .serif-line { font-size: 0.92em; color: var(--muted); margin-bottom: 0.15em; }
.section-lead {
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.1rem;
}
.section-head { margin-bottom: 3.2rem; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }

section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--txt); color: #101013; }
.btn-primary:hover { background: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-strong); color: var(--txt); }
.btn-ghost:hover { border-color: var(--txt); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #17120a; }
.btn-accent:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 13, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.08rem;
}
.brand svg { width: 26px; height: 26px; }
.brand svg line { stroke: var(--txt); }
.brand svg line.hot { stroke: var(--accent); }
.brand small {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.main-nav { display: flex; align-items: center; gap: 1.9rem; }
.main-nav a {
  text-decoration: none;
  font-size: 0.94rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--txt); }
.main-nav .btn { padding: 0.6rem 1.25rem; font-size: 0.9rem; color: #101013; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--txt);
  margin: 4px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Dropdown-Navigation */
.nav-item { position: relative; }
.nav-btn {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.94rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0;
  transition: color 0.2s ease;
}
.nav-btn:hover, .nav-item.is-open .nav-btn { color: var(--txt); }
.nav-btn .chev {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s ease;
}
.nav-item.is-open .chev, .nav-item:hover .chev { transform: rotate(225deg); margin-top: 2px; }
.nav-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  padding-top: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}
.nav-item:hover .nav-panel,
.nav-item.is-open .nav-panel,
.nav-item:focus-within .nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-panel-inner {
  background: rgba(14, 14, 19, 0.98);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  padding: 0.55rem;
  display: grid;
  gap: 0.15rem;
  min-width: 300px;
}
.nav-panel-inner.is-wide {
  grid-template-columns: 1fr 1fr;
  min-width: 480px;
}
.nav-card {
  display: block;
  text-decoration: none;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.nav-card:hover { background: var(--accent-soft); }
.nav-card b { display: block; font-size: 0.92rem; color: var(--txt); font-weight: 600; }
.nav-card:hover b { color: var(--accent); }
.nav-card span { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 0.1rem; }
.nav-panel-foot {
  grid-column: 1 / -1;
  display: block;
  text-decoration: none;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 0.6rem 0.5rem 0.4rem;
  margin-top: 0.3rem;
  transition: color 0.15s ease;
}
.nav-panel-foot:hover { color: var(--accent); }
.main-nav .is-current, .nav-btn.is-current, .nav-drawer a.is-current { color: var(--accent); }

/* Mobile Drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--bg);
  padding: calc(var(--header-h) + 0.8rem) 1.7rem 3rem;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav-drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer-gh {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 1.7rem 0 0.35rem;
}
.nav-drawer .drawer-gh:first-child { margin-top: 0.4rem; }
.nav-drawer a {
  display: block;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 600;
  padding: 0.5rem 0;
  color: var(--txt);
  border-bottom: 1px solid var(--line);
}
.nav-drawer a:hover { color: var(--accent); }
.nav-drawer .drawer-cta {
  margin-top: 2rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #17120a;
  text-align: center;
  padding: 0.95rem 1rem;
  font-size: 1.05rem;
}
.nav-drawer .drawer-cta:hover { color: #17120a; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 3rem) 24px 6.5rem;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 2;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 10; max-width: 60rem; }
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.9rem);
  font-weight: 650;
  line-height: 1.06;
}
.hero h1 .serif-line {
  font-size: 0.82em;
  color: var(--txt);
  opacity: 0.92;
  margin-bottom: 0.18em;
}
.hero-sub {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  max-width: 40rem;
  margin: 1.7rem auto 2.5rem;
}
.hero-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.hero-facts {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 2.6rem;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0 24px;
}
.hero-facts span { display: flex; align-items: center; gap: 0.55rem; }
.hero-facts span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Stat-Leiste ---------- */
.stats { padding: 0; }
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-inline: 1px solid var(--line);
}
.stat {
  padding: 2.4rem 1.6rem;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  color: var(--txt);
  margin-bottom: 0.3rem;
}
.stat b em { font-style: normal; color: var(--accent); }
.stat span { color: var(--muted); font-size: 0.92rem; line-height: 1.5; display: block; }

/* ---------- Karten (Problem / Leistungen) ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card .card-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--faint);
  display: block;
  margin-bottom: 1.4rem;
}
.card h3 { font-size: 1.28rem; margin-bottom: 0.7rem; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card ul { list-style: none; margin-top: 1.2rem; }
.card ul li {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0.42rem 0 0.42rem 1.5rem;
  position: relative;
  border-top: 1px solid var(--line);
}
.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 12px;
  height: 2px;
  background: var(--accent);
}
.card.is-accent { border-color: rgba(224, 170, 78, 0.35); background: linear-gradient(160deg, var(--accent-soft), var(--bg-3) 55%); }
.card .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(224, 170, 78, 0.4);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 1.3rem;
}

/* ---------- GEO-Sektion ---------- */
.geo-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}
.geo-copy .section-title { margin-bottom: 1.4rem; }
.geo-copy p + p { margin-top: 1rem; }
.geo-copy p { color: var(--muted); }
.geo-copy strong { color: var(--txt); font-weight: 600; }
.geo-points { margin-top: 2rem; display: grid; gap: 0.9rem; }
.geo-points li {
  list-style: none;
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.98rem;
}
.geo-points li b { color: var(--txt); font-weight: 600; }
.geo-points li::before {
  content: '→';
  color: var(--accent);
  font-family: var(--mono);
  flex-shrink: 0;
}

/* KI-Antwort-Mockup */
.ai-mock {
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.ai-mock-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.ai-mock-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  display: inline-block;
}
.ai-mock-body { padding: 1.5rem 1.4rem 1.7rem; font-size: 0.95rem; }
.ai-q {
  color: var(--txt);
  font-weight: 600;
  background: rgba(242, 242, 239, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.2rem;
}
.ai-a { color: var(--muted); line-height: 1.65; }
.ai-a .cite {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.78rem;
  border: 1px solid rgba(224, 170, 78, 0.4);
  border-radius: 6px;
  padding: 0.05rem 0.45rem;
  white-space: nowrap;
}
.ai-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.6rem;
  position: relative;
}
.step::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--accent);
}
.step .step-num {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Vergleich ---------- */
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare th, .compare td {
  padding: 1.05rem 1.3rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--faint);
  background: var(--bg-3);
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { color: var(--txt); font-weight: 600; width: 24%; }
.compare td { color: var(--muted); }
.compare .col-us { background: rgba(224, 170, 78, 0.07); color: var(--txt); }
.compare thead .col-us { color: var(--accent); }
.compare .no { color: var(--faint); }
.compare .yes::before { content: '✓  '; color: var(--accent); }

/* ---------- Prinzipien ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem 2rem; }
.principle h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.principle h3::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
  transform: translateY(-4px);
}
.principle p { color: var(--muted); font-size: 0.94rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 0.2rem;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 1.3rem;
  color: var(--faint);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq .faq-a { padding: 0 0.2rem 1.5rem; color: var(--muted); font-size: 0.98rem; max-width: 40rem; }

/* ---------- Kontakt ---------- */
.contact { text-align: center; }
.contact .section-title { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
.contact .section-lead { margin: 0 auto 2.6rem; }
.contact-actions { display: flex; justify-content: center; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.8rem; }
.contact-channels {
  display: flex;
  justify-content: center;
  gap: 2.4rem;
  flex-wrap: wrap;
  font-size: 0.98rem;
  color: var(--muted);
}
.contact-channels a { color: var(--txt); text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: border-color 0.2s ease, color 0.2s ease; }
.contact-channels a:hover { color: var(--accent); border-color: var(--accent); }
.contact-note { margin-top: 2.2rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--txt); }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.legal { padding-top: calc(var(--header-h) + 4rem); max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.25rem; margin: 2.2rem 0 0.6rem; }
.legal p, .legal address { color: var(--muted); font-style: normal; }
.legal a { color: var(--txt); }

/* ---------- Reveals ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: 0.1s; }
.reveal[data-delay='2'] { transition-delay: 0.2s; }
.reveal[data-delay='3'] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ai-cursor { animation: none; }
}
/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .grid-3 { grid-template-columns: 1fr; }
  .geo-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .stats .wrap { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .steps { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .hero { padding-bottom: 3.5rem; }
  .hero-facts {
    position: static;
    margin-top: 2.6rem;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Unterseiten-Komponenten
   ============================================================ */

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 4.5rem) 0 4.5rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 90% 70% at 50% -20%, rgba(224, 170, 78, 0.07), transparent 60%),
    var(--bg);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  max-width: 46rem;
}
.page-hero h1 .serif-line { font-size: 0.85em; color: var(--muted); margin-bottom: 0.15em; }
.page-hero .section-lead { margin-top: 1.4rem; }
.page-hero .hero-cta { justify-content: flex-start; margin-top: 2.2rem; }

.breadcrumb {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.breadcrumb a { color: var(--faint); text-decoration: none; transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--line-strong); }
.breadcrumb [aria-current] { color: var(--muted); }

/* ---------- Karten-Link ---------- */
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent);
  text-decoration: none;
}
.card-more:hover .arrow { transform: translateX(3px); }
.card-more .arrow { transition: transform 0.2s ease; }

/* ---------- Vorher/Nachher-Slider ---------- */
.ba {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  container-type: inline-size;
  touch-action: pan-y;
}
.ba-old, .ba-new { position: absolute; inset: 0; }
.ba-new { clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--accent);
  z-index: 5;
  pointer-events: none;
  transform: translateX(-1px);
}
.ba-handle::after {
  content: '⇆';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #17120a;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}
.ba-tag {
  position: absolute;
  top: 12px;
  z-index: 4;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  pointer-events: none;
}
.ba-tag-old { left: 12px; background: rgba(10, 10, 13, 0.72); color: #e8e2d0; border: 1px solid rgba(232, 226, 208, 0.35); }
.ba-tag-new { right: 12px; background: var(--accent); color: #17120a; }
.ba-caption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--faint);
  text-align: center;
}
.ba-metrics {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
.ba-metrics span {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.ba-metrics b { color: var(--accent); font-weight: 600; }

/* ---------- Website-Mockups im Slider ---------- */
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; }
.mock-chrome {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2.2cqw 2.6cqw;
  background: #1c1c22;
  font-family: var(--mono);
  font-size: 2.1cqw;
  color: rgba(242, 242, 239, 0.45);
}
.mock-chrome i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: rgba(242, 242, 239, 0.25); display: inline-block; }
.mock-chrome span { margin-left: 1.6cqw; }
/* Alt */
.mock-old-body {
  flex: 1;
  background: #e9e3d1;
  color: #33302a;
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
  padding: 3cqw 4cqw;
  overflow: hidden;
}
.mock-old-header {
  font-size: 4.6cqw;
  font-weight: 700;
  color: #5a2d82;
  text-shadow: 1px 1px 0 #fff;
  background: linear-gradient(#cfc7ae, #b8ae90);
  border: 2px outset #fff;
  padding: 1.6cqw;
}
.mock-old-nav {
  font-size: 2.3cqw;
  color: #1436c9;
  text-decoration: underline;
  background: #f5f0e0;
  border: 1px solid #a89f85;
  padding: 1cqw;
  margin-top: 1cqw;
  white-space: nowrap;
  overflow: hidden;
}
.mock-old-welcome { font-size: 3.4cqw; font-style: italic; color: #b0311c; margin-top: 2.6cqw; }
.mock-old-text { font-size: 2.6cqw; margin-top: 1.8cqw; line-height: 1.5; }
.mock-old-box {
  border: 2px dashed #b0311c;
  background: #fff9c9;
  font-size: 2.4cqw;
  padding: 1.6cqw;
  margin-top: 2.4cqw;
}
.mock-old-meta { font-size: 2.1cqw; color: #6d6552; margin-top: 2.6cqw; }
/* Neu */
.mock-new-body {
  flex: 1;
  background: linear-gradient(170deg, #101015, #0a0a0d 70%);
  color: var(--txt);
  padding: 3cqw 5cqw;
  overflow: hidden;
}
.mock-new-nav { display: flex; align-items: center; gap: 1.6cqw; font-size: 2.4cqw; font-weight: 700; }
.mock-new-nav span { width: 5cqw; height: 0.8cqw; border-radius: 99px; background: rgba(242, 242, 239, 0.28); }
.mock-new-nav span:first-of-type { margin-left: auto; }
.mock-new-body { text-align: center; }
.mock-new-h1 { font-size: 5.2cqw; font-weight: 650; letter-spacing: -0.02em; line-height: 1.12; margin: 5cqw auto 0; max-width: 60cqw; }
.mock-new-sub { font-size: 2.5cqw; color: var(--muted); margin: 2cqw auto 0; max-width: 52cqw; line-height: 1.5; }
.mock-new-cta {
  display: inline-block;
  background: var(--accent);
  color: #17120a;
  font-size: 2.4cqw;
  font-weight: 700;
  border-radius: 99px;
  padding: 1.4cqw 3.4cqw;
  margin-top: 3cqw;
}
.mock-new-cards { display: flex; gap: 2cqw; margin-top: 4.4cqw; }
.mock-new-cards i {
  flex: 1;
  height: 9cqw;
  border-radius: 1.4cqw;
  background: rgba(242, 242, 239, 0.06);
  border: 1px solid rgba(242, 242, 239, 0.12);
}

/* ---------- SERP-Animation ---------- */
.serp {
  background: #f4f4f2;
  color: #1f1f24;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  max-width: 640px;
  margin: 0 auto;
}
.serp-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid rgba(31, 31, 36, 0.12);
}
.serp-logo { font-weight: 700; letter-spacing: -0.02em; }
.serp-q {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(31, 31, 36, 0.18);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.92rem;
  color: #3a3a40;
}
.serp-list { list-style: none; padding: 1.1rem 1.4rem 1.3rem; position: relative; }
.serp-item {
  height: 58px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 0 0.9rem;
  border-radius: 10px;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s, box-shadow 0.4s ease 1.5s, background 0.4s ease 1.5s;
}
.serp-item:last-child { margin-bottom: 0; }
.serp-item b { font-size: 0.92rem; font-weight: 600; color: #1a3fae; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp-item span { font-size: 0.78rem; color: #55555c; }
.serp.is-run .serp-item:not(.is-you) { transform: translateY(70px); }
.serp.is-run .serp-item.is-you {
  transform: translateY(-280px);
  background: rgba(224, 170, 78, 0.14);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.serp-note { text-align: center; margin-top: 1rem; font-size: 0.85rem; color: var(--faint); }

/* ---------- Klickverteilungs-Diagramm ---------- */
.ctr { max-width: 640px; margin: 0 auto; display: grid; gap: 0.9rem; }
.ctr-row { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 1rem; }
.ctr-row > span { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.ctr-row i {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 30px;
  width: 0;
  min-width: 2.6rem;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(224, 170, 78, 0.35), var(--accent));
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  padding-right: 0.6rem;
}
.ctr-row:nth-child(2) i { transition-delay: 0.12s; }
.ctr-row:nth-child(3) i { transition-delay: 0.24s; }
.ctr-row:nth-child(4) i { transition-delay: 0.36s; }
.ctr-row:nth-child(5) i { transition-delay: 0.48s; }
.ctr-row b { font-family: var(--mono); font-size: 0.75rem; font-weight: 400; color: #17120a; white-space: nowrap; }
.ctr.is-run .ctr-row i { width: var(--w); }
.ctr-note { font-size: 0.85rem; color: var(--faint); text-align: center; margin-top: 0.6rem; }

/* ---------- Gestern/Heute-Panels (GEO) ---------- */
.panels-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: stretch; }
.panel {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}
.panel.is-accent { border-color: rgba(224, 170, 78, 0.35); }
.panel-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  display: block;
  margin-bottom: 1.2rem;
}
.panel.is-accent .panel-label { color: var(--accent); }
.panel h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.fake-links { display: grid; gap: 0.65rem; }
.fake-links i {
  display: block;
  height: 9px;
  border-radius: 99px;
  background: rgba(90, 130, 235, 0.4);
}
.fake-links i:nth-child(2n) { width: 82%; }
.fake-links i:nth-child(3n) { width: 64%; }
.panel .ai-a { font-size: 0.92rem; }
.source-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.1rem; }
.source-chips span {
  font-family: var(--mono);
  font-size: 0.72rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  color: var(--muted);
}
.source-chips .you { border-color: var(--accent); color: var(--accent); }

/* ---------- Datei-Karte (llms.txt) ---------- */
.file-card {
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.file-bar {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.file-card pre {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--muted);
  padding: 1.3rem 1.4rem;
  overflow-x: auto;
  white-space: pre;
}
.file-card pre b { color: var(--txt); font-weight: 400; }
.file-card pre .ok { color: var(--ps-good); }
.file-card pre .hot { color: var(--accent); }

/* ---------- Plattform-Chips ---------- */
.platform-chips { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }
.platform-chips span {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  color: var(--muted);
}

/* ---------- Branchen-Raster ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.branch-card {
  display: block;
  text-decoration: none;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.branch-card:hover { transform: translateY(-4px); border-color: rgba(224, 170, 78, 0.45); }
.branch-card h3 { font-size: 1.08rem; margin-bottom: 0.4rem; display: flex; justify-content: space-between; gap: 1rem; }
.branch-card h3::after { content: '→'; color: var(--accent); font-family: var(--mono); }
.branch-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Verwandte Seiten ---------- */
.related { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.related a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.related a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Footer mit Spalten ---------- */
.footer-cols {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 0.9fr 0.9fr;
  gap: 2rem;
  align-items: start !important;
  padding-bottom: 2.4rem;
}
.footer-col p {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.9rem;
}
.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.22rem 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--txt); }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { font-family: var(--sans); font-size: 0.9rem; text-transform: none; letter-spacing: 0; color: var(--muted); max-width: 16rem; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--faint);
}

@media (max-width: 960px) {
  .panels-2 { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .branch-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .serp-item b { font-size: 0.82rem; }
}

/* ---------- PageSpeed-Vergleich (echte Messwerte) ---------- */
@property --pv {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}
:root {
  --ps-good: #3ecf6a;
  --ps-warn: #f5a742;
  --ps-bad: #ef5350;
}
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  max-width: 920px;
  margin: 0 auto;
}
.ps-card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  text-align: center;
}
.ps-card.is-good { border-color: rgba(62, 207, 106, 0.35); }
.ps-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}
.ps-card.is-good .ps-tag { color: var(--ps-good); border-color: rgba(62, 207, 106, 0.4); }
.ps-gauge {
  position: relative;
  width: 128px;
  height: 128px;
  margin: 1.7rem auto 0.7rem;
}
.ps-gauge i, .ps-mini i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--gc) var(--pv), rgba(242, 242, 239, 0.08) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
  --pv: 0%;
  transition: --pv 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.js-run.is-run .ps-gauge i, .js-run.is-run .ps-mini i { --pv: var(--p); }
.ps-gauge b {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--gc);
}
.ps-gauge-label {
  display: block;
  font-size: 0.85rem;
  color: var(--faint);
  margin-bottom: 1.5rem;
}
.ps-minis {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  margin-bottom: 1.8rem;
}
.ps-mini { width: 72px; }
.ps-mini .ring {
  position: relative;
  width: 52px;
  height: 52px;
  margin: 0 auto 0.45rem;
}
.ps-mini i {
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
}
.ps-mini b {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gc);
}
.ps-mini span {
  display: block;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 1.4;
}
.ps-metrics { border-top: 1px solid var(--line); text-align: left; }
.ps-metrics > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.ps-metrics > div:last-child { border-bottom: 0; }
.ps-metrics b { font-family: var(--mono); font-weight: 400; white-space: nowrap; }
.ps-metrics b.good { color: var(--ps-good); }
.ps-metrics b.warn { color: var(--ps-warn); }
.ps-metrics b.bad { color: var(--ps-bad); }
.ps-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--faint);
  max-width: 40rem;
  margin: 1.6rem auto 0;
}
@media (max-width: 700px) {
  .ps-grid { grid-template-columns: 1fr; }
}

/* ---------- Über mich ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
  align-items: center;
}
.about-photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.about-photo img { display: block; width: 100%; height: auto; }
.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 13, 0.6), transparent 38%);
  pointer-events: none;
}
.about-photo figcaption {
  position: absolute;
  left: 1.3rem;
  bottom: 1.2rem;
  z-index: 2;
}
.about-photo figcaption span {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.about-photo figcaption b { display: block; font-size: 1.15rem; letter-spacing: -0.01em; }
.about-copy p { color: var(--muted); }
.about-copy p + p { margin-top: 1rem; }
.about-copy strong { color: var(--txt); font-weight: 600; }
.about-copy .section-title { margin-bottom: 1.4rem; }
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin: 2.1rem 0 2.3rem;
}
.about-fact { border-top: 1px solid var(--line-strong); padding-top: 0.9rem; position: relative; }
.about-fact::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 34px;
  height: 2px;
  background: var(--accent);
}
.about-fact b {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}
.about-fact b em { font-style: normal; color: var(--accent); }
.about-fact span { display: block; font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .about-photo { max-width: 420px; }
}
@media (max-width: 600px) {
  .about-facts { grid-template-columns: 1fr; gap: 1rem; }
  .file-card pre { font-size: 0.68rem; }
}

/* ============================================================
   Design-Konfigurator
   ============================================================ */
.konf-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2.2rem;
  align-items: start;
}
.konf-panel { order: -1; }
.konf-panel {
  position: sticky;
  top: calc(var(--header-h) + 1.2rem);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  display: grid;
  gap: 1.6rem;
}
.konf-panel fieldset { border: 0; padding: 0; margin: 0; }
.konf-panel legend {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
  padding: 0;
}

/* Farbschema-Swatches */
.k-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; }
.k-swatch {
  background: none;
  border: 0;
  cursor: pointer;
  text-align: center;
  padding: 0;
  color: var(--muted);
}
.k-swatch i {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto 0.35rem;
  border-radius: 50%;
  background: conic-gradient(var(--s2) 0 120deg, var(--s1) 120deg 360deg);
  border: 2px solid var(--line-strong);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.k-swatch span { font-size: 0.66rem; line-height: 1.3; display: block; }
.k-swatch:hover i { transform: scale(1.08); }
.k-swatch[aria-pressed='true'] i { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224, 170, 78, 0.25); }
.k-swatch[aria-pressed='true'] span { color: var(--txt); }

/* Eigene Farben */
.k-custom { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.k-color {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--muted);
}
.k-color input[type='color'] {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.k-color input[type='color']::-webkit-color-swatch-wrapper { padding: 0; }
.k-color input[type='color']::-webkit-color-swatch { border: 1px solid var(--line-strong); border-radius: 50%; }

/* Options-Pills (Form, Schrift) */
.k-opts { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.k-opt { position: relative; }
.k-opt input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.k-opt label {
  display: inline-block;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.k-opt input:checked + label {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.k-opt input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Zusammenfassung */
.k-summary {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  display: grid;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.k-summary b { color: var(--txt); font-weight: 400; }
.k-actions { display: grid; gap: 0.6rem; margin-top: 0.6rem; }
.k-actions .btn { justify-content: center; font-size: 0.9rem; padding: 0.8rem 1.2rem; }

/* ---------- Vorschau-Seite ---------- */
.k-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  container-type: inline-size;
}
.k-site {
  --pv-bg: #0b0b0e;
  --pv-surface: #16161c;
  --pv-line: #26262c;
  --pv-text: #f4f4f2;
  --pv-muted: #b0b0ab;
  --pv-accent: #e0aa4e;
  --pv-on-accent: #17120a;
  --pv-r-btn: 999px;
  --pv-r-card: 20px;
  --pv-font-head: 'Archivo', system-ui, sans-serif;
  background: var(--pv-bg);
  color: var(--pv-text);
  padding: 0 5cqw 5cqw;
  transition: background-color 0.45s ease, color 0.45s ease;
}
.k-site * { transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, border-radius 0.45s ease; }
.k-nav {
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 3cqw 0;
  border-bottom: 1px solid var(--pv-line);
  font-size: 2.4cqw;
}
.k-nav > b { font-family: var(--pv-font-head); font-size: 2.9cqw; letter-spacing: -0.01em; }
.k-nav nav { display: flex; gap: 3cqw; margin-left: auto; color: var(--pv-muted); }
.k-btn {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 650;
  font-size: 2.3cqw;
  border: 1px solid transparent;
  border-radius: var(--pv-r-btn);
  padding: 1.4cqw 3.4cqw;
  cursor: pointer;
}
.k-btn-primary { background: var(--pv-accent); color: var(--pv-on-accent); }
.k-btn-ghost { background: transparent; color: var(--pv-text); border-color: var(--pv-line); }
.k-hero { text-align: center; padding: 7cqw 4cqw 6cqw; }
.k-kicker {
  display: inline-block;
  font-size: 1.9cqw;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pv-accent);
  margin-bottom: 2cqw;
}
.k-hero h3 {
  font-family: var(--pv-font-head);
  font-size: 6cqw;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 60cqw;
  margin: 0 auto;
}
.k-hero p { font-size: 2.5cqw; color: var(--pv-muted); max-width: 54cqw; margin: 2.4cqw auto 3.6cqw; line-height: 1.6; }
.k-cta { display: flex; justify-content: center; gap: 2cqw; }
.k-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; }
.k-card {
  background: var(--pv-surface);
  border: 1px solid var(--pv-line);
  border-radius: var(--pv-r-card);
  padding: 3.4cqw 3cqw;
}
.k-card i {
  display: block;
  width: 5cqw;
  height: 5cqw;
  border-radius: calc(var(--pv-r-card) * 0.45 + 2px);
  background: var(--pv-accent);
  opacity: 0.9;
  margin-bottom: 2.2cqw;
}
.k-card b { display: block; font-family: var(--pv-font-head); font-size: 2.8cqw; margin-bottom: 0.8cqw; }
.k-card span { font-size: 2.2cqw; color: var(--pv-muted); line-height: 1.5; }
.k-strip {
  display: flex;
  gap: 2cqw;
  margin-top: 2.4cqw;
  background: var(--pv-surface);
  border: 1px solid var(--pv-line);
  border-radius: var(--pv-r-card);
  padding: 3cqw;
}
.k-input {
  flex: 1;
  background: var(--pv-bg);
  border: 1px solid var(--pv-line);
  border-radius: var(--pv-r-btn);
  color: var(--pv-text);
  font-size: 2.3cqw;
  padding: 1.4cqw 3cqw;
  min-width: 0;
}
.k-input::placeholder { color: var(--pv-muted); }
.k-foot {
  margin-top: 3cqw;
  padding-top: 2.4cqw;
  border-top: 1px solid var(--pv-line);
  font-size: 1.9cqw;
  color: var(--pv-muted);
  text-align: center;
}
.k-note { margin-top: 1rem; font-size: 0.85rem; color: var(--faint); text-align: center; }

@media (max-width: 960px) {
  .konf-grid { grid-template-columns: 1fr; }
  .konf-preview {
    position: sticky;
    top: var(--header-h);
    z-index: 20;
    background: var(--bg);
    padding: 0.6rem 0 0.4rem;
    box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.9);
  }
  /* Vorschau mobil kompakt halten, damit die Regler darunter Platz haben
     und nicht hinter der klebenden Vorschau verschwinden */
  .konf-preview .k-frame {
    max-height: 44vh;
    overflow: hidden;
    position: relative;
  }
  .konf-preview .k-frame::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 42px;
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 13, 0.85));
    pointer-events: none;
  }
  .konf-preview .k-note { margin: 0.4rem 0 0; font-size: 0.72rem; }
  .konf-panel { position: static; order: 0; }
  .k-swatches { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   Website-Check: Ladezeit-Duell, Selbsttest, KI-Quiz
   ============================================================ */
.duel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.duel-pane {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
}
.duel-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.duel-screen {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #f2f0ea;
  overflow: hidden;
}
.duel-skel { position: absolute; inset: 0; padding: 7%; }
.duel-skel i {
  display: block;
  border-radius: 6px;
  background: #ddd8cc;
  margin-bottom: 4%;
  opacity: 0;
}
.duel-skel i.show { opacity: 1; animation: skel 1.2s ease infinite; }
@keyframes skel { 50% { opacity: 0.55; } }
.duel-skel .s-nav { height: 8%; width: 100%; }
.duel-skel .s-h { height: 14%; width: 70%; }
.duel-skel .s-t1 { height: 5%; width: 90%; }
.duel-skel .s-t2 { height: 5%; width: 84%; }
.duel-skel .s-img { height: 34%; width: 100%; }
.duel-final { position: absolute; inset: 0; padding: 6% 7%; opacity: 0; transition: opacity 0.4s ease; background: #faf8f3; color: #1c1c22; }
.duel-pane.is-done .duel-final { opacity: 1; }
.duel-final .f-nav { display: flex; align-items: center; gap: 4%; font-weight: 700; font-size: 2.6cqw; }
.duel-final .f-nav i { margin-left: auto; width: 16%; height: 2.6cqw; border-radius: 99px; background: #d9d4c8; }
.duel-final h4 { font-size: 5cqw; letter-spacing: -0.02em; line-height: 1.15; margin: 6% 0 3%; }
.duel-final p { font-size: 2.6cqw; color: #55554f; max-width: 80%; }
.duel-final .f-btn {
  display: inline-block;
  margin-top: 5%;
  background: var(--accent);
  color: #17120a;
  font-weight: 700;
  font-size: 2.6cqw;
  border-radius: 99px;
  padding: 2% 5%;
}
.duel-pane { container-type: inline-size; }
.duel-spin {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px;
  border: 3px solid rgba(0, 0, 0, 0.12);
  border-top-color: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  opacity: 0;
}
.duel-pane.is-loading .duel-spin { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.duel-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.95rem;
}
.duel-stat b { font-weight: 400; font-size: 1.25rem; }
.duel-stat .good { color: var(--ps-good); }
.duel-stat .bad { color: var(--ps-bad); }
.duel-stat .warn { color: var(--ps-warn); }
.duel-actions { text-align: center; margin-top: 2rem; }
.duel-quote {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--muted);
  margin-top: 2.2rem;
}

/* PSI-Selbsttest */
.psi-row {
  display: flex;
  gap: 0.8rem;
  max-width: 40rem;
  margin: 0 auto;
}
.psi-row input {
  flex: 1;
  min-width: 0;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--txt);
  font-size: 1rem;
  padding: 0.9rem 1.4rem;
  font-family: var(--sans);
}
.psi-row input::placeholder { color: var(--faint); }
.psi-row input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.psi-legend {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 44rem;
  margin: 2.4rem auto 0;
}
.psi-legend div {
  border-top: 1px solid var(--line-strong);
  padding-top: 0.8rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.psi-legend b { display: block; font-family: var(--mono); font-weight: 400; color: var(--txt); margin-bottom: 0.2rem; font-size: 0.8rem; }

/* KI-Quiz */
.quiz { max-width: 46rem; margin: 0 auto; display: grid; gap: 1.5rem; }
.quiz-q { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.quiz-q p { font-weight: 600; margin-bottom: 0.7rem; font-size: 0.98rem; }
.quiz-q p span { font-family: var(--mono); color: var(--accent); font-weight: 400; margin-right: 0.5rem; font-size: 0.85rem; }
.quiz-result {
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-3);
  padding: 2rem 1.6rem;
  margin-top: 1rem;
}
.quiz-result .ps-gauge { margin-top: 0.4rem; }
.quiz-verdict { max-width: 30rem; margin: 0.8rem auto 1.4rem; color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   Festpreis-Rechner
   ============================================================ */
.calc-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2.2rem; align-items: start; }
.calc-form { display: grid; gap: 1.8rem; }
.calc-form fieldset { border: 0; padding: 0; margin: 0; }
.calc-form legend {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
  padding: 0;
}
.calc-hint { font-size: 0.85rem; color: var(--faint); margin-top: 0.5rem; }
.calc-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.2rem);
  background: var(--bg-3);
  border: 1px solid rgba(224, 170, 78, 0.4);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  text-align: center;
}
.calc-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}
.calc-price {
  font-family: var(--mono);
  font-size: clamp(1.25rem, 4.6vw, 1.9rem);
  line-height: 1.25;
  color: var(--accent);
  margin: 0.7rem 0 0.2rem;
  overflow-wrap: break-word;
}
.calc-monthly { font-size: 0.9rem; color: var(--muted); min-height: 1.4em; }
.calc-items {
  text-align: left;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 1.2rem;
  padding-top: 1rem;
  display: grid;
  gap: 0.3rem;
}
.calc-items span { display: flex; justify-content: space-between; gap: 1rem; }
.calc-items b { font-family: var(--mono); font-weight: 400; color: var(--txt); white-space: nowrap; }
.calc-aside .k-actions { margin-top: 1.4rem; }
.calc-note { font-size: 0.78rem; color: var(--faint); margin-top: 1rem; line-height: 1.5; }

@media (max-width: 960px) {
  .duel-grid { grid-template-columns: 1fr; }
  .psi-legend { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-aside { position: static; }
}

/* Grid-Kinder dürfen unter ihre Inhaltsbreite schrumpfen, sonst drücken
   breite Inhalte (z. B. pre-Blöcke) die Spalte über den Viewport hinaus */
.geo-grid > *, .konf-grid > *, .calc-grid > *, .duel-grid > *, .about-grid > * { min-width: 0; }

/* ---------- Responsive Spalten-Varianten ---------- */
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.grid-2col { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
@media (max-width: 960px) {
  .steps--3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2col { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .steps--3 { grid-template-columns: 1fr; }
  .psi-row { flex-direction: column; }
  .psi-row .btn { justify-content: center; }
}

/* ---------- Mobil: kein horizontales Scrollen ----------
   Vergleichstabellen werden zu gestapelten Karten,
   Log-Karten brechen um statt zu scrollen */
@media (max-width: 700px) {
  .compare-scroll { overflow: visible; border: 0; border-radius: 0; }
  .compare { min-width: 0; }
  .compare thead { display: none; }
  .compare, .compare tbody { display: block; }
  .compare tr {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--bg-3);
  }
  .compare tr:last-child { margin-bottom: 0; }
  .compare td {
    display: block;
    width: auto;
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.1rem;
  }
  .compare tr td:last-child { border-bottom: 0; }
  .compare td:first-child {
    width: auto;
    background: rgba(224, 170, 78, 0.09);
    color: var(--txt);
    font-weight: 600;
  }
  .compare td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    margin-bottom: 0.25rem;
  }
  .compare td[data-label="Web-Blickwinkel"]::before { color: var(--accent); }
  .file-card pre {
    font-size: 0.66rem;
    white-space: pre-wrap;
    word-break: break-word;
  }
}

/* ---------- Röntgenblick (Mensch / Google / KI) ---------- */
.xr .k-site { position: relative; }
.xr-tag {
  position: absolute;
  z-index: 5;
  font-family: var(--mono);
  font-size: 1.7cqw;
  letter-spacing: 0.08em;
  padding: 0.7cqw 1.6cqw;
  border-radius: 99px;
  white-space: nowrap;
  display: none;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.xr-g { background: #2f56c9; color: #fff; }
.xr-k { background: var(--accent); color: #17120a; }
.xr[data-mode='google'] .xr-g { display: block; }
.xr[data-mode='ki'] .xr-k { display: block; }
.xr[data-mode='google'] .k-hero h3,
.xr[data-mode='google'] .k-nav > b,
.xr[data-mode='google'] .k-card b {
  outline: 2px dashed #2f56c9;
  outline-offset: 3px;
}
.xr[data-mode='ki'] .k-hero p,
.xr[data-mode='ki'] .k-card {
  outline: 2px solid rgba(224, 170, 78, 0.75);
  outline-offset: 3px;
}
.xr-info { display: grid; gap: 0.9rem; }
.xr-info[hidden] { display: none; }
.xr-info p { color: var(--muted); font-size: 0.92rem; }
.xr-info .geo-points li span { font-size: 0.9rem; }

/* ---------- Persönliche Angebots-Seite ---------- */
.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}
.offer-meta span {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  color: var(--muted);
}
.offer-meta b { color: var(--accent); font-weight: 400; }
.offer-list { list-style: none; display: grid; gap: 0.55rem; }
.offer-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.offer-list li::before { content: '✓'; position: absolute; left: 0; color: var(--ps-good); }
@media print {
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-header, .btn, .cform, .nav-drawer, .consent-overlay, .contact-note { display: none !important; }
  /* Jede Sektion beginnt auf einer eigenen PDF-Seite und wird nie zerschnitten */
  main > section {
    padding: 2rem 0;
    break-after: page;
    page-break-after: always;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  main > section:last-of-type { break-after: auto; page-break-after: auto; }
  .k-frame, .calc-aside, .offer-list, .offer-meta, .geo-grid > * {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .page-hero { border-bottom: 0; }
  .site-footer { break-inside: avoid; page-break-inside: avoid; }
}

/* ---------- Kontaktformular ---------- */
.cform {
  max-width: 40rem;
  margin: 0 auto 2.6rem;
  text-align: left;
  display: grid;
  gap: 1rem;
}
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cform label { display: block; font-size: 0.85rem; color: var(--muted); }
.cform input[type='text'], .cform input[type='email'], .cform input[type='tel'], .cform textarea {
  width: 100%;
  margin-top: 0.4rem;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--txt);
  font: inherit;
  font-size: 1rem;
  padding: 0.85rem 1.1rem;
}
.cform textarea { resize: vertical; min-height: 130px; }
.cform :is(input, textarea):focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.cform-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cform-check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.85rem; color: var(--muted); cursor: pointer; }
.cform-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.cform-check a { color: var(--txt); }
.cform .btn { justify-content: center; }
.cform-status { min-height: 1.4em; font-size: 0.95rem; text-align: center; margin: 0; }
.cform-status.ok { color: var(--ps-good); }
.cform-status.err { color: var(--ps-bad); }
@media (max-width: 600px) {
  .cform-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Einwilligungs-Banner (Consent)
   ============================================================ */
body.consent-open { overflow: hidden; }
/* Hinter dem Vollbild-Blur darf sich nichts bewegen, sonst wird die
   Unschärfe bei jedem Frame neu berechnet (Hauptthread-Kosten) */
body.consent-open :is(header, main, footer) *,
body.consent-open :is(header, main, footer) *::before,
body.consent-open :is(header, main, footer) *::after {
  animation-play-state: paused !important;
}
.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(8, 8, 11, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: consentIn 0.35s ease;
}
@keyframes consentIn { from { opacity: 0; } }
.consent-box {
  max-width: 34rem;
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem 1.6rem;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
  outline: none;
}
.consent-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.consent-box h2 { font-size: 1.35rem; margin-bottom: 0.7rem; }
.consent-box p { color: var(--muted); font-size: 0.93rem; line-height: 1.65; }
.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.5rem;
}
.consent-actions .btn {
  justify-content: center;
  font-size: 0.95rem;
  padding: 0.9rem 1rem;
  border: 0;
}
.consent-accept { background: var(--accent); color: #17120a; }
.consent-accept:hover { filter: brightness(1.08); transform: translateY(-2px); }
.consent-decline { background: var(--txt); color: #101013; }
.consent-decline:hover { background: #fff; transform: translateY(-2px); }
.consent-links {
  text-align: center;
  margin-top: 1.2rem;
  font-size: 0.8rem !important;
  color: var(--faint) !important;
}
.consent-links a { color: var(--muted); }
.consent-links a:hover { color: var(--accent); }
@media (max-width: 520px) {
  .consent-actions { grid-template-columns: 1fr; }
  .consent-overlay { align-items: flex-end; padding: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .consent-overlay { animation: none; }
}

/* ---------- Preis-Pakete ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.price-card.is-featured {
  border-color: rgba(224, 170, 78, 0.5);
  background: linear-gradient(165deg, var(--accent-soft), var(--bg-3) 55%);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #17120a;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.price-for { color: var(--faint); font-size: 0.88rem; min-height: 2.6em; }
.price-num {
  font-family: var(--mono);
  font-size: 2rem;
  margin: 1.3rem 0 0.15rem;
}
.price-num em { font-style: normal; font-size: 0.55em; color: var(--muted); }
.price-card.is-featured .price-num { color: var(--accent); }
.price-range { font-size: 0.85rem; color: var(--faint); margin-bottom: 1.4rem; }
.price-card ul { list-style: none; margin-bottom: 1.8rem; }
.price-card ul li {
  color: var(--muted);
  font-size: 0.94rem;
  padding: 0.45rem 0 0.45rem 1.5rem;
  position: relative;
  border-top: 1px solid var(--line);
}
.price-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 12px;
  height: 2px;
  background: var(--accent);
}
.price-card ul li b { color: var(--txt); font-weight: 600; }
.price-card .btn { margin-top: auto; justify-content: center; }

/* Immer inklusive */
.inclusive-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  max-width: 52rem;
  margin: 0 auto;
}
.inclusive-strip span {
  font-size: 0.88rem;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
}
.inclusive-strip span::before { content: '✓  '; color: var(--accent); }

/* ROI-Rechnung */
.roi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.roi-card {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.4rem;
  position: relative;
}
.roi-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--accent);
}
.roi-card .roi-who {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.7rem;
}
.roi-card p { color: var(--muted); font-size: 0.96rem; }
.roi-card p b { color: var(--txt); font-weight: 600; }

/* Betreuungs-Band */
.care-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2.2rem;
}
.care-band h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.care-band p { color: var(--muted); font-size: 0.96rem; }
.care-price { text-align: center; }
.care-price b { display: block; font-family: var(--mono); font-weight: 400; font-size: 2rem; }
.care-price b em { font-style: normal; font-size: 0.5em; color: var(--muted); }
.care-price span { display: block; font-size: 0.85rem; color: var(--faint); margin-top: 0.3rem; }

@media (max-width: 960px) {
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .roi-grid { grid-template-columns: 1fr; gap: 2rem; }
  .care-band { grid-template-columns: 1fr; gap: 1.6rem; }
}
/* Lange deutsche Komposita (Suchmaschinenoptimierung, Sichtbarkeits-Projekt)
   sprengen auf schmalen Displays sonst die Zeile und damit die Seitenbreite.
   hyphens braucht das lang-Attribut, das im html-Tag gesetzt ist. */
h1, h2, h3, h4, .section-title, .wz-q, .k-hero h3 {
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ============================================================
   Anfrage-Ablauf (anfrage.html)
   ============================================================ */
.section-tight { padding-bottom: 1.4rem; }
.section-top-0 { padding-top: 0; }

/* Elemente mit eigenem display (Knoepfe, Flex-Labels) ignorieren sonst
   das hidden-Attribut, mit dem die Schrittsteuerung arbeitet. */
.wz [hidden] { display: none !important; }

.wz {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-2);
  padding: clamp(1.2rem, 3vw, 2.4rem);
  max-width: 980px;
  margin: 0 auto;
}

/* ---- Fortschritt ---- */
.wz-head { margin-bottom: 1.8rem; }
.wz-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-bottom: 1rem;
}
.wz-step {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--faint);
  transition: color 0.25s ease;
}
.wz-step b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.wz-step.is-active { color: var(--txt); }
.wz-step.is-active b { background: var(--accent); color: #191922; border-color: var(--accent); }
.wz-step.is-done { color: var(--muted); }
.wz-step.is-done b { border-color: var(--accent); color: var(--accent); }

.wz-bar {
  height: 3px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.wz-bar i {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.35s ease;
}
.wz-count {
  margin: 0.7rem 0 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---- Schritte ---- */
.wz-pane { display: none; }
.wz-pane.is-active { display: block; animation: wz-in 0.3s ease both; }
@keyframes wz-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.wz-q {
  font-size: clamp(1.35rem, 3.4vw, 1.9rem);
  line-height: 1.2;
  margin: 0 0 0.5rem;
}
.wz-intro { color: var(--muted); margin: 0 0 1.6rem; max-width: 62ch; }
.wz-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 0.7rem;
}
.wz-label i { font-style: normal; text-transform: none; letter-spacing: 0; }
.wz-hint { font-size: 0.85rem; color: var(--faint); margin: 0.7rem 0 0; }
.wz-sub { margin-top: 1.8rem; min-width: 0; }

/* ---- Große Auswahlflächen ---- */
.wz-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}
.wz-choices-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.wz-choice { display: block; cursor: pointer; min-width: 0; }
.wz-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wz-choice-in {
  display: block;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  background: var(--bg);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.wz-choice-in b { display: block; font-size: 1.02rem; margin-bottom: 0.35rem; }
.wz-choice-in span { display: block; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.wz-choice:hover .wz-choice-in { border-color: var(--faint); }
.wz-choice input:checked + .wz-choice-in {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--bg));
}
.wz-choice input:focus-visible + .wz-choice-in { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- Pillen ---- */
.wz-pills { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.wz-pill { cursor: pointer; }
.wz-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wz-pill span {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.wz-pill:hover span { border-color: var(--faint); color: var(--txt); }
.wz-pill input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: #191922;
  font-weight: 600;
}
.wz-pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- Ankreuzfelder ---- */
.wz-check {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.wz-check:last-child { border-bottom: 0; }
.wz-check input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.wz-check span { font-size: 0.88rem; color: var(--muted); line-height: 1.55; min-width: 0; }
.wz-check span b { display: block; color: var(--txt); font-size: 0.98rem; font-weight: 600; margin-bottom: 0.15rem; }

/* ---- Eingabefelder ---- */
.wz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.wz-field { display: block; min-width: 0; margin-bottom: 1.2rem; }
.wz-field > span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.wz-field > span b { color: var(--accent); }
.wz-field > span i { font-style: normal; color: var(--faint); font-size: 0.8rem; }
.wz-field input, .wz-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  color: var(--txt);
  font: inherit;
  font-size: 0.98rem;
}
.wz-field textarea { resize: vertical; min-height: 110px; }
.wz-field :is(input, textarea):focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}
.wz-consent { margin-top: 1.4rem; }
.wz-error {
  margin: 1.1rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--ps-bad);
  border-radius: 12px;
  background: color-mix(in srgb, var(--ps-bad) 12%, transparent);
  color: var(--txt);
  font-size: 0.9rem;
}

/* ---- Stil-Schritt ---- */
.wz-design {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: start;
}
.wz-design-panel { min-width: 0; }
.wz-design-panel .wz-label { margin-top: 1.5rem; }
.wz-design-panel .wz-label:first-child { margin-top: 0; }
.wz-design-panel .k-swatches { margin-bottom: 0; }
.wz-design-preview { min-width: 0; position: sticky; top: 90px; }

/* ---- Fußleiste mit Preis ---- */
.wz-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.wz-price { min-width: 0; }
.wz-price-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.wz-price b {
  display: block;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  color: var(--accent);
  line-height: 1.25;
  margin: 0.15rem 0;
}
.wz-price-note { display: block; font-size: 0.78rem; color: var(--faint); }
.wz-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-left: auto; }

/* ---- Bestätigung ---- */
.wz-done { text-align: center; animation: wz-in 0.4s ease both; }
.wz-done-mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 1.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  color: #191922;
  background: var(--accent);
}
.wz-done h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 0 0 0.8rem; }
.wz-done-lead {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.wz-vorgang {
  border: 1px solid var(--accent);
  border-radius: 18px;
  padding: 1.5rem 1.2rem;
  background: color-mix(in srgb, var(--accent) 7%, var(--bg));
  max-width: 460px;
  margin: 0 auto 2rem;
}
.wz-vorgang > span {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.wz-vorgang b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(1.4rem, 5vw, 2rem);
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0.5rem 0 0.7rem;
  word-break: break-word;
}
.wz-vorgang small { display: block; font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

.wz-summary {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.wz-sum-row {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.wz-sum-row:last-child { border-bottom: 0; }
.wz-sum-row span { color: var(--faint); }
.wz-sum-row b { color: var(--txt); font-weight: 600; word-break: break-word; }

.wz-done-person {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  justify-content: center;
  text-align: left;
  flex-wrap: wrap;
}
.wz-done-person img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.wz-done-person b { display: block; font-size: 1.02rem; }
.wz-done-person span { display: block; font-size: 0.86rem; color: var(--muted); margin: 0.15rem 0 0.3rem; }
.wz-done-person a { color: var(--accent); font-family: var(--mono); font-size: 0.9rem; }

/* ---- Mobil: alles untereinander, nichts läuft seitlich heraus ---- */
@media (max-width: 860px) {
  .wz-design { grid-template-columns: 1fr; }
  .wz-design-preview { position: static; order: -1; }
}
@media (max-width: 600px) {
  .wz { padding: 1.1rem; border-radius: 16px; }
  .wz-steps { gap: 0.4rem 0.9rem; }
  .wz-step { font-size: 0.76rem; gap: 0.4rem; }
  .wz-step b { width: 22px; height: 22px; font-size: 0.7rem; }
  .wz-foot { flex-direction: column; align-items: stretch; }
  .wz-actions { margin-left: 0; }
  .wz-actions .btn { flex: 1 1 auto; justify-content: center; }
  .wz-sum-row { grid-template-columns: 1fr; gap: 0.2rem; }
  .wz-done-person { justify-content: flex-start; }
}
@media (max-width: 420px) {
  .wz-step span, .wz-step { font-size: 0.72rem; }
}

/* Fachabsätze auf den Branchenseiten: zusammenhängender Fließtext,
   den auch automatisierte Content-Extraktion am Stück erfasst. */
.fach-prose { max-width: 46rem; }
.fach-prose p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.3rem;
}
.fach-prose p:last-child { margin-bottom: 0; }

/* Zusammenfassender Fließtext unter Card-Rastern. Die Cards bleiben optisch
   unverändert, dieser Absatz gibt automatisierter Content-Extraktion (KI-Suche)
   denselben Inhalt am Stück, statt in einzelne Kacheln zersplittert. */
.geo-summary {
  max-width: 46rem;
  margin: 2.8rem 0 0;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ============================================================
   Prüfstand (#messwerte): der visuelle Höhepunkt der Startseite.
   Feines Messraster + Kalibrier-Kanten in Gold, davor die echte
   Kernzahl in Übergröße. Mono ist auf dieser Seite die Stimme
   der Messwerte, deshalb trägt sie auch die große Zahl.
   ============================================================ */
.section-lab {
  background:
    repeating-linear-gradient(to right, rgba(224, 170, 78, 0.045) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(to bottom, rgba(224, 170, 78, 0.045) 0 1px, transparent 1px 56px),
    #0d0d13;
  border-block: 1px solid rgba(224, 170, 78, 0.3);
}
.section-lab .section-head { margin-bottom: 2.2rem; }

.lab-hero { text-align: center; margin: 0 auto 3.6rem; }
.lab-metric {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.lab-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  color: var(--muted);
  margin: 1.1rem 0 0.4rem;
}
.lab-line b { font-weight: 400; color: var(--ps-warn); }
.lab-value {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(4.2rem, 13vw, 8.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin: 0;
}
.lab-value small { font-size: 0.34em; margin-left: 0.14em; }

/* ============================================================
   Tresor (#sicherheit): direkt nach dem Höhepunkt wird es still.
   Dunkler als die Seite selbst, unten die Bilanzzeile mit hohlen
   Nullen: was nicht existiert, kann niemand angreifen.
   ============================================================ */
.section-vault {
  background: #060609;
  border-block: 1px solid var(--line);
}
.vault-ledger {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 2rem 3.4rem;
  margin-top: 3.4rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}
.vault-zero b {
  display: block;
  /* Archivo statt Mono: die Mono-Null trägt einen Punkt in der Mitte
     und wirkt als Umriss wie ein Icon, nicht wie eine Ziffer. */
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(3.8rem, 8vw, 5.6rem);
  line-height: 1;
  color: var(--txt);
}
@supports (-webkit-text-stroke: 1px #fff) {
  .vault-zero b {
    color: transparent;
    -webkit-text-stroke: 2px rgba(242, 242, 239, 0.55);
  }
}
.vault-zero span {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.vault-caption {
  margin: 0 0 0.4rem auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 22ch;
  text-align: right;
}
@media (max-width: 700px) {
  .vault-ledger { gap: 1.6rem 2.4rem; }
  .vault-caption {
    margin: 0.4rem 0 0;
    text-align: left;
    max-width: none;
  }
}

/* ============================================================
   Garantie + Selbsttest im Prüfstand (#messwerte)
   ============================================================ */
.lab-proof {
  max-width: 920px;
  margin: 2.6rem auto 0;
  text-align: center;
}
.lab-garantie {
  border: 1px solid rgba(224, 170, 78, 0.45);
  border-radius: 16px;
  background: rgba(224, 170, 78, 0.06);
  padding: 1.5rem 1.7rem 1.4rem;
}
.lab-garantie-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(224, 170, 78, 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 0.9rem;
}
.lab-garantie p {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--txt);
  font-size: 1.02rem;
  line-height: 1.65;
}
.lab-garantie b { color: var(--accent); }
.lab-selftest { margin-top: 1.3rem; }

/* ============================================================
   Verlust-Rechner (website-check.html)
   ============================================================ */
.vl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  max-width: 980px;
  margin: 0 auto;
  align-items: stretch;
}
.vl-form {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-2);
  padding: 1.8rem;
}
.vl-field { margin-bottom: 1.7rem; }
.vl-field:last-child { margin-bottom: 0; }
.vl-field > label {
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.7rem;
}
.vl-slider {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.vl-slider input[type='range'] {
  flex: 1 1 auto;
  min-width: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.vl-slider b {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--accent);
  white-space: nowrap;
  min-width: 5.2ch;
  text-align: right;
}
.vl-field small {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: var(--faint);
  line-height: 1.55;
}
.vl-result {
  border: 1px solid rgba(239, 83, 80, 0.35);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(239, 83, 80, 0.07), transparent 45%),
    var(--bg-2);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
}
.vl-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.vl-sum {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  color: var(--ps-bad);
  margin: 0.5rem 0 1.1rem;
  overflow-wrap: anywhere;
}
.vl-details {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}
.vl-details li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.3rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.vl-details li:last-child { border-bottom: 0; }
.vl-details li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.vl-note {
  font-size: 0.8rem;
  color: var(--faint);
  line-height: 1.6;
  margin: auto 0 1.2rem;
}
.vl-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.vl-cta .btn { flex: 1 1 auto; justify-content: center; }
@media (max-width: 860px) {
  .vl-grid { grid-template-columns: 1fr; }
}
