/* Redesign-Rechner von ADence. Farben und Schriften aus dem Token-System von adence.de */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-wdth-wght-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plexmono-normal-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #0c1626;
  --ink-2: #46536b;
  --ink-3: #8a95ab;
  --line: #dde4ef;
  --blue: #2f4d9e;
  --blue-deep: #223a7c;
  --teal: #2fa3ba;
  --teal-bright: #5fd0e3;
  --teal-ink: #1e7b90;
  --dark: #0a1322;
  --dark-2: #0e1a30;
  --dark-line: rgba(255, 255, 255, .09);
  --dark-text: #b9c4d8;
  --grad: linear-gradient(115deg, var(--blue) 10%, var(--teal-ink) 90%);
  /* Ampel wie bei PageSpeed */
  --good: #0cce6b;
  --mid: #ffa400;
  --bad: #ff4e42;
  --good-ink: #0a8f4a;
  --mid-ink: #b86e00;
  --bad-ink: #cc2f24;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(12, 22, 38, .05), 0 12px 32px -14px rgba(12, 22, 38, .14);
  --shadow-lg: 0 2px 4px rgba(12, 22, 38, .06), 0 30px 60px -20px rgba(34, 58, 124, .28);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --scan: 5.2s; /* Dauer eines Scan-Durchlaufs */
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Scrollbar in ADence-Farben (Firefox) */
  scrollbar-color: #4f7fd0 #e9eef6;
  scrollbar-width: thin;
}
/* Scrollbar in ADence-Farben (Chrome, Safari, Edge) */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #e9eef6; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--blue), var(--teal)); border: 2px solid #e9eef6; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #3a5cb8, #36b6cf); }
::selection { color: #fff; background: var(--teal); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Gegen einsame Schlusswörter: Überschriften ausbalanciert, Fließtext "pretty" */
h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; padding: .6rem 1rem; background: #fff; color: var(--ink); border-radius: 8px; }
.skip:focus { left: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-bright);
}
.eyebrow--dark { color: var(--teal-ink); }

/* ================================================================ Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .8rem 1.4rem;
  font: 600 1rem/1.2 var(--font);
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn span[aria-hidden] { transition: transform .2s ease; }
.btn:hover span[aria-hidden] { transform: translateX(3px); }
.btn--ink { color: #fff; background: var(--ink); box-shadow: 0 8px 20px -10px rgba(12, 22, 38, .6); }
.btn--ink:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn--glow { color: #fff; background: var(--grad); box-shadow: 0 0 0 1px rgba(95, 208, 227, .25), 0 10px 28px -10px rgba(47, 163, 186, .7); }
.btn--glow:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(95, 208, 227, .45), 0 14px 34px -10px rgba(47, 163, 186, .9); }
.btn--ghost { color: #fff; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ================================================================ Navigation */
.nav { position: absolute; inset: 0 0 auto; z-index: 20; padding: 14px var(--gutter) 0; }
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 8px 8px 8px 20px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(221, 228, 239, .9);
  border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgba(12, 22, 38, .25);
}
.nav__brand { display: inline-flex; align-items: center; gap: 1px; color: var(--ink); text-decoration: none; }
.nav__brand img { width: 34px; height: 34px; }
.nav__brandname { font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em; line-height: 1; margin-top: 4px; }
.nav__dot { color: var(--teal); }
.nav__links { display: flex; gap: 1.8rem; margin: 0 auto; }
.nav__links a { color: var(--ink-2); font-size: .95rem; text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { min-height: 44px; padding: .6rem 1.2rem; font-size: .95rem; }

/* ================================================================ 1) Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  padding: 112px var(--gutter) 120px;
  background: #f7f9fd;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__gl, .hero__dots { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* WebGL-Verlauf: wird in niedriger Auflösung gerechnet und weich hochskaliert */
.hero__gl { opacity: 0; transition: opacity 1.2s ease; }
.hero.has-gl .hero__gl { opacity: 1; }
.hero.has-gl .hero__fallback { opacity: 0; }
/* Punktfeld nur unten, zu den Rändern ausgeblendet */
.hero__dots {
  -webkit-mask-image: linear-gradient(180deg, transparent 56%, #000 78%), radial-gradient(ellipse 80% 95% at 50% 100%, #000 50%, transparent 88%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 56%, #000 78%), radial-gradient(ellipse 80% 95% at 50% 100%, #000 50%, transparent 88%);
  mask-composite: intersect;
}
/* Filmkorn (statisch) */
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: .07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* Ersatz ohne WebGL: treibende Farbwolken */
.hero__fallback { position: absolute; inset: 0; transition: opacity 1.2s ease; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; animation: drift 18s ease-in-out infinite alternate; }
.blob--blue { width: 560px; height: 560px; left: -160px; top: -160px; background: #7d93e8; }
.blob--teal { width: 520px; height: 520px; right: -140px; top: 10%; background: #6fd6e6; animation-duration: 22s; animation-delay: -6s; }
.blob--sky { width: 480px; height: 480px; left: 32%; bottom: -260px; background: #a9c4ff; opacity: .45; animation-duration: 26s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-30px, 70px) scale(.95); }
}

.hero__inner { position: relative; width: 100%; max-width: 1040px; margin: 0 auto; text-align: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.8rem;
  padding: .45rem 1.05rem .45rem .85rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-2);
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  box-shadow: 0 8px 24px -14px rgba(12, 22, 38, .35), inset 0 0 0 1px rgba(221, 228, 239, .6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: rise .9s .1s cubic-bezier(.16, 1, .3, 1) both;
}
.badge__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.badge__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--good); opacity: 0; animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }

.hero__title {
  margin: 0 0 1.5rem;
  /* "Was kostet das Redesign" ist ca. 12 Schriftgrößen breit und bleibt in einer Zeile */
  font-size: min(4.8rem, calc((100vw - 2 * var(--gutter)) / 12.4));
  font-weight: 800;
  font-stretch: 104%;
  line-height: 1.02;
  letter-spacing: -.045em;
  color: var(--ink);
}
/* Zeilen gleiten aus einer Maske nach oben */
.hero__title .line { display: block; overflow: hidden; padding: 0 .04em .1em; margin-bottom: -.1em; white-space: nowrap; }
.hero__title .line > span { display: inline-block; animation: line-up 1.25s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.25s + var(--i) * .14s); }
@keyframes line-up { from { transform: translateY(110%) rotate(2deg); } to { transform: none; } }
.hero__title .grad {
  background: linear-gradient(100deg, var(--blue) 0%, #3f7fd6 30%, var(--teal) 60%, #3f7fd6 80%, var(--blue) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: line-up 1.25s cubic-bezier(.16, 1, .3, 1) both, shimmer 9s ease-in-out 1.6s infinite;
  animation-delay: calc(.25s + var(--i) * .14s), 1.6s;
}
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero__lead { max-width: 37rem; margin: 0 auto 2.4rem; text-wrap: balance; font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.6; color: var(--ink-2); animation: rise 1s .55s cubic-bezier(.16, 1, .3, 1) both; }

/* URL-Eingabe: Glas mit umlaufendem Leuchtrahmen */
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.probe { max-width: 640px; margin: 0 auto; animation: rise 1s .7s cubic-bezier(.16, 1, .3, 1) both; }
.probe__field {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px;
  background: rgba(255, 255, 255, .86);
  border-radius: 999px;
  box-shadow: 0 30px 60px -28px rgba(34, 58, 124, .55), 0 0 0 1px rgba(221, 228, 239, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  isolation: isolate;
}
.probe__field::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--spin), transparent 0deg, var(--teal) 70deg, var(--blue) 140deg, transparent 200deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin 4.5s linear infinite;
}
/* weicher Schein unter dem Feld */
.probe__field::after { content: ""; position: absolute; inset: 30% 10% -30%; z-index: -2; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 163, 186, .35), transparent); filter: blur(20px); }
.probe__field:focus-within { box-shadow: 0 30px 60px -28px rgba(34, 58, 124, .6), 0 0 0 4px rgba(47, 163, 186, .2); }
@keyframes spin { to { --spin: 360deg; } }
.probe__icon { flex: 0 0 auto; width: 22px; height: 22px; margin-left: 16px; fill: none; stroke: var(--ink-2); stroke-width: 1.6; }
.probe input { flex: 1 1 auto; min-width: 0; padding: .85rem .75rem; font: 500 1.12rem var(--font); color: var(--ink); background: transparent; border: 0; outline: none; }
.probe input::placeholder { color: var(--ink-3); }
.probe__btn { flex: 0 0 auto; min-height: 54px; padding: .85rem 1.6rem; font-size: 1.02rem; }
.probe__error { margin: .9rem 0 0; color: var(--bad-ink); font-size: .95rem; }

/* Drei Belege unter dem Feld */
.proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; margin: 2.2rem 0 0; padding: 0; list-style: none; animation: rise 1s .9s cubic-bezier(.16, 1, .3, 1) both; }
.proof li { display: flex; flex-direction: column; align-items: center; line-height: 1.3; }
.proof b { font-size: .95rem; font-weight: 700; }
.proof span { font-size: .84rem; color: var(--ink-2); }
.proof li + li { position: relative; }
.proof li + li::before { content: ""; position: absolute; left: -18px; top: 15%; bottom: 15%; width: 1px; background: rgba(12, 22, 38, .12); }

/* Scroll-Hinweis unten im Hero */
.scrollcue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  transform: translateX(-50%);
  animation: fade-in 1s 1.6s both;
}
.scrollcue i { position: relative; width: 22px; height: 34px; border: 1.5px solid currentColor; border-radius: 12px; opacity: .7; }
.scrollcue i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--teal); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ================================================================ 2) Scanner-Sektion (dunkel) */
.lab {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 128px) var(--gutter);
  color: #fff;
  background:
    radial-gradient(700px 420px at 15% 20%, rgba(47, 77, 158, .45), transparent 65%),
    radial-gradient(600px 420px at 90% 90%, rgba(30, 123, 144, .35), transparent 65%),
    var(--dark);
}
/* Raster wie auf adence.de */
.lab::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
/* Leuchtende Kante oben trennt die Sektion klar vom Hero */
.lab::after { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(95, 208, 227, .7), transparent); }
.lab__inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.stage { position: relative; perspective: 1600px; }
.scanner {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(23, 38, 66, .92), rgba(12, 22, 40, .95));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(95, 208, 227, .06), 0 0 70px -20px rgba(47, 163, 186, .45);
  /* Kippung nimmt beim Scrollen ab (--tilt per JS) */
  transform: rotateY(var(--tilt, 10deg)) rotateX(3deg);
  transform-origin: 70% 50%;
  will-change: transform;
}
.scanner__bar { display: flex; align-items: center; gap: 7px; padding: 13px 15px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.scanner__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.scanner__address {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 10px;
  padding: 5px 13px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--dark-text);
  white-space: nowrap;
  text-overflow: ellipsis;
  background: rgba(255, 255, 255, .05);
  border-radius: 999px;
}
.scanner__lock { margin-right: .45rem; font-size: .6rem; color: var(--good); vertical-align: 2px; }
.scanner__screen { position: relative; overflow: hidden; padding: 20px; aspect-ratio: 16 / 11.5; }

/* Gezeichnete Website */
.wire { margin-bottom: 16px; }
.wire b { display: block; height: 10px; margin-bottom: 9px; border-radius: 3px; background: rgba(185, 196, 216, .2); }
.wire b.is-thin { height: 6px; background: rgba(185, 196, 216, .12); }
.wire--nav { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.wire--nav b { width: 10%; height: 7px; margin: 0; }
.wire--nav b:first-child { width: 18%; height: 10px; margin-right: auto; background: linear-gradient(90deg, var(--blue), var(--teal)); opacity: .7; }
.wire--nav span { width: 12%; height: 18px; border-radius: 999px; background: rgba(95, 208, 227, .35); }
.wire--hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: center; padding: 6px 0; }
.wire--hero .wire__text b { height: 15px; }
.wire--hero .wire__text b.is-thin { height: 7px; margin-top: 4px; }
.wire__btn { display: block; width: 36%; height: 22px; margin-top: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--teal)); opacity: .75; }
.wire__img { border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); padding: 16% 22%; }
.wire__img svg { width: 100%; fill: rgba(185, 196, 216, .22); }
.wire--cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wire--cards span { height: 70px; border-radius: 10px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .06); }
.w-100 { width: 100%; } .w-95 { width: 95%; } .w-90 { width: 90%; } .w-70 { width: 70%; } .w-50 { width: 50%; } .w-40 { width: 40%; }

/* Scan-Strahl (nur transform) */
.scanner__beam { position: absolute; inset: 0; pointer-events: none; animation: sweep var(--scan) cubic-bezier(.45, .05, .55, .95) infinite; will-change: transform; }
.scanner__beam span {
  position: absolute;
  inset: 0 0 auto;
  height: 90px;
  transform: translateY(-90px);
  background: linear-gradient(180deg, rgba(95, 208, 227, 0), rgba(95, 208, 227, .16));
  border-bottom: 2px solid var(--teal-bright);
  box-shadow: 0 6px 24px rgba(95, 208, 227, .6);
}
@keyframes sweep {
  0% { transform: translateY(0); opacity: 0; }
  6%, 88% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* Messwerte, die erscheinen, wenn der Strahl vorbeikommt */
.tag {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 4px 9px;
  font-family: var(--mono);
  font-size: .72rem;
  color: #dff6fa;
  white-space: nowrap;
  background: rgba(10, 19, 34, .9);
  border: 1px solid rgba(95, 208, 227, .45);
  border-radius: 6px;
  opacity: 0;
  animation: tag-pop var(--scan) linear infinite;
  animation-delay: calc(var(--at) * var(--scan));
}
.tag::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--teal-bright); vertical-align: 1px; }
.tag--warn { border-color: rgba(255, 164, 0, .55); }
.tag--warn::before { background: var(--mid); }
.tag--ok { border-color: rgba(12, 206, 107, .55); }
.tag--ok::before { background: var(--good); }
@keyframes tag-pop {
  0% { opacity: 0; transform: translateY(5px) scale(.95); }
  3%, 55% { opacity: 1; transform: none; }
  62%, 100% { opacity: 0; transform: translateY(-4px); }
}

/* Schwebende Glas-Karten */
.float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px 10px 10px;
  color: #fff;
  background: rgba(20, 34, 58, .88);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7);
  animation: bob 6s ease-in-out infinite;
  transition: opacity .4s;
}
.float b { display: block; font-size: .95rem; line-height: 1.2; }
.float small { display: block; font-size: .78rem; color: var(--dark-text); }
.float__icon { display: grid; place-items: center; flex: 0 0 auto; width: 32px; height: 32px; font-weight: 700; color: #fff; background: var(--grad); border-radius: 9px; }
.float__icon--warn { background: linear-gradient(135deg, #ffb340, #ff6a4d); }
.float--a { left: -28px; bottom: 36px; }
.float--b { right: -20px; top: -22px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Live-Modus während der echten Prüfung */
.scanner__live {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(180deg, rgba(10, 19, 34, 0) 0%, rgba(10, 19, 34, .8) 45%, rgba(10, 19, 34, .96) 100%);
  opacity: 0;
  transition: opacity .5s ease;
}
.stage.is-live .scanner__live { opacity: 1; }
.stage.is-live .tag { animation: none; opacity: 0; }
.stage.is-live .float { opacity: 0; }
.scanner__count { font-weight: 800; font-stretch: 112%; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.scanner__count small { margin-left: .5rem; font-size: .32em; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: var(--dark-text); }
.scanner__ticker { list-style: none; margin: 12px 0 0; padding: 0; font-family: var(--mono); font-size: .76rem; color: var(--dark-text); }
.scanner__ticker li { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; opacity: .45; }
.scanner__ticker li:last-child { opacity: 1; color: var(--teal-bright); }

/* Prüfschritte */
.panel__title { margin: 0 0 1.8rem; font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; font-stretch: 104%; line-height: 1.12; letter-spacing: -.025em; }
.steps { position: relative; margin: 0; padding: 0; list-style: none; counter-reset: step; }
/* Verbindungslinie zwischen den Schritten */
.steps::before { content: ""; position: absolute; left: 15px; top: 18px; bottom: 18px; width: 1px; background: linear-gradient(180deg, rgba(95, 208, 227, .5), rgba(255, 255, 255, .08)); }
.steps li { position: relative; display: grid; gap: 2px; padding: 9px 0 9px 50px; counter-increment: step; transition: opacity .3s; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 9px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  font: 500 .78rem var(--mono);
  color: var(--teal-bright);
  background: var(--dark-2);
  border: 1px solid rgba(95, 208, 227, .35);
  border-radius: 50%;
  transition: background-color .3s, border-color .3s, color .3s, box-shadow .3s;
}
.steps b { font-size: 1.05rem; font-weight: 700; }
.steps span { font-size: .92rem; color: var(--dark-text); }
/* Während der Prüfung: erledigt, aktiv, wartend */
.lab.is-running .steps li { opacity: .45; }
.lab.is-running .steps li.is-active,
.lab.is-running .steps li.is-done { opacity: 1; }
.steps li.is-active::before { color: var(--dark); background: var(--teal-bright); border-color: var(--teal-bright); box-shadow: 0 0 0 6px rgba(95, 208, 227, .15); animation: pulse 1.4s ease-in-out infinite; }
.steps li.is-done::before { content: "✓"; color: #fff; background: var(--teal-ink); border-color: var(--teal-ink); }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(95, 208, 227, .05); } }
.panel__run { margin-top: 1.6rem; }
.meter { height: 6px; overflow: hidden; background: rgba(255, 255, 255, .1); border-radius: 999px; }
.meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--teal-bright)); border-radius: inherit; transition: width .5s ease; }
.panel__counter { margin: .8rem 0 0; font-family: var(--mono); font-size: .86rem; color: var(--dark-text); }
.panel__demo { margin: 1.6rem 0 0; }
.panel__demo a { font-weight: 600; color: var(--teal-bright); text-decoration: none; }
.panel__demo a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lab.is-running .panel__demo { display: none; }
.run__error { margin-top: 1.4rem; padding: 1.1rem 1.3rem; background: rgba(255, 78, 66, .1); border: 1px solid rgba(255, 78, 66, .35); border-radius: var(--radius-sm); }
.run__error p { margin: 0 0 1rem; color: #ffc9c4; }

.notes { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.notes li { position: relative; margin-bottom: .6rem; padding: .8rem 1rem .8rem 2.6rem; color: var(--ink-2); background: #eef3fb; border-radius: var(--radius-sm); }
.notes li::before { content: "i"; position: absolute; left: 1rem; top: .85rem; display: grid; place-items: center; width: 18px; height: 18px; font: 600 .7rem var(--mono); color: #fff; background: var(--blue); border-radius: 50%; }
.notes--dark li { color: var(--dark-text); background: rgba(255, 255, 255, .06); }

/* ================================================================ 3) Ergebnis */
.result { padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 10vw, 128px); }
.result__head { margin-bottom: 1rem; }
.result__title { margin: 0; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; font-stretch: 106%; line-height: 1.08; letter-spacing: -.03em; overflow-wrap: anywhere; }
.result__title span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.block--quote > .eyebrow { margin-bottom: .5rem; }
.block--quote > .block__title { margin-bottom: 1.4rem; }
.demo-flag { display: inline-block; margin: 0 0 1.4rem; padding: .45rem .9rem; font-family: var(--mono); font-size: .8rem; color: var(--teal-ink); background: #e3f4f7; border-radius: 999px; }

/* Kostenvoranschlag */
.quote {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(47, 77, 158, .55), transparent 70%),
    radial-gradient(500px 300px at 100% 100%, rgba(30, 123, 144, .35), transparent 70%),
    var(--dark);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}
.quote::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(95, 208, 227, .7), transparent); }
.quote__main { padding: clamp(28px, 4.5vw, 56px); }
.quote__host { margin: 0 0 .4rem; font-family: var(--mono); font-size: .92rem; color: var(--dark-text); overflow-wrap: anywhere; }
.quote__price { margin: 0; font-size: clamp(3rem, 8vw, 5.6rem); font-weight: 800; font-stretch: 116%; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.quote__from { margin-right: .22em; font-size: .38em; font-weight: 700; font-stretch: 100%; letter-spacing: 0; color: var(--dark-text); vertical-align: .55em; }
.quote__price.is-text { font-size: clamp(1.8rem, 4vw, 2.6rem); font-stretch: 104%; letter-spacing: -.02em; line-height: 1.15; }
.quote__note { margin: .9rem 0 2rem; font-size: .95rem; color: var(--dark-text); }
.quote__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.quote__scope { padding: clamp(28px, 4.5vw, 56px); background: rgba(255, 255, 255, .04); border-left: 1px solid var(--dark-line); }
.quote__scopehead { margin: 0 0 1.1rem; font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-bright); }
.quote__scope ul { margin: 0; padding: 0; list-style: none; }
.quote__scope li { display: flex; gap: .8rem; padding: .65rem 0; color: #e7edf7; border-bottom: 1px dashed rgba(255, 255, 255, .12); }
.quote__scope li:last-child { border-bottom: 0; }
.quote__scope li::before { content: "✓"; flex: 0 0 auto; color: var(--teal-bright); font-weight: 700; }

/* Projektanfrage im Rechner */
.inquiry { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); margin-top: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 1px 2px rgba(12, 22, 38, .04), 0 24px 50px -30px rgba(34, 58, 124, .45); scroll-margin-top: 24px; }
.inquiry[hidden] { display: none; }
.inquiry:focus { outline: none; }
.inquiry__aside { padding: clamp(26px, 3.6vw, 44px); color: #fff; background: radial-gradient(420px 260px at 0% 0%, rgba(47, 77, 158, .6), transparent 70%), radial-gradient(360px 240px at 100% 100%, rgba(30, 123, 144, .45), transparent 70%), var(--dark); }
.inquiry__aside .eyebrow { margin-bottom: .5rem; color: var(--teal-bright); }
.inquiry__title { margin: 0 0 .8rem; font-size: clamp(1.3rem, 2.3vw, 1.7rem); font-weight: 800; font-stretch: 104%; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
.inquiry__lead { margin: 0 0 1.4rem; font-size: .95rem; line-height: 1.55; color: var(--dark-text); }
.inquiry__facts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.inquiry__facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; font-size: .88rem; color: #dbe4f2; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; }
.inquiry__facts b { color: #fff; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.inquiry__form, .inquiry__done { padding: clamp(24px, 3.4vw, 40px); }
.inquiry__done[hidden] { display: none; }
.inquiry__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: .86rem; font-weight: 650; color: var(--ink); }
.field__label b { color: var(--teal-ink); }
.field__label small { font-weight: 500; color: var(--ink-3); }
.field__input { width: 100%; min-height: 48px; padding: .7rem .95rem; font: 1rem/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.field__input:hover { border-color: #c7d3e6; }
.field__input:focus { border-color: var(--teal); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(47, 163, 186, .18); }
.field__input[aria-invalid="true"] { border-color: #cc2f24; box-shadow: 0 0 0 3px rgba(204, 47, 36, .12); }
textarea.field__input { min-height: 132px; resize: vertical; }
.inquiry__consent { display: flex; gap: .7rem; align-items: flex-start; margin: 1.1rem 0 0; font-size: .84rem; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.inquiry__consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.inquiry__consent a { color: var(--ink-2); }
.inquiry__status { min-height: 1.3em; margin: .8rem 0 0; font-size: .88rem; color: #cc2f24; }
.inquiry__status:empty { min-height: 0; margin: 0; }
.inquiry__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.3rem; }
.btn--plain { color: var(--ink-2); background: transparent; box-shadow: none; }
.btn--plain:hover { color: var(--ink); }
.inquiry__done { display: flex; flex-direction: column; justify-content: center; }
.inquiry__done .inquiry__title { color: var(--ink); }
.inquiry__done .inquiry__lead { color: var(--ink-2); }
.inquiry__check { display: grid; width: 56px; height: 56px; margin-bottom: 1rem; place-items: center; color: #fff; background: #0a8f4a; border-radius: 50%; box-shadow: 0 12px 26px -12px rgba(10, 143, 74, .8); }
.inquiry__check svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) {
  .inquiry { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .inquiry__grid { grid-template-columns: minmax(0, 1fr); }
  .inquiry__actions .btn--glow { width: 100%; }
  .inquiry__actions .btn--plain { width: 100%; }
}

/* Ergebnis teilen: Link, PDF, E-Mail */
.share { margin-top: 20px; padding: clamp(22px, 3.2vw, 36px); background: linear-gradient(180deg, #ffffff, #f9fbfe); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 1px 2px rgba(12, 22, 38, .04), 0 18px 40px -26px rgba(34, 58, 124, .35); }
.share[hidden] { display: none; }
.share__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .6rem 2.5rem; margin-bottom: clamp(18px, 2.4vw, 26px); }
.share__head .eyebrow { margin-bottom: .35rem; }
.share__title { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; font-stretch: 104%; letter-spacing: -.02em; line-height: 1.15; }
.share__lead { max-width: 30rem; margin: 0; font-size: .95rem; color: var(--ink-2); }
.share__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.share__tile { position: relative; display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.share__tile:hover { border-color: #c7d3e6; box-shadow: 0 14px 30px -22px rgba(34, 58, 124, .5); transform: translateY(-2px); }
.share__icon { display: grid; width: 44px; height: 44px; margin-bottom: 14px; place-items: center; color: #fff; background: var(--grad); border-radius: 13px; box-shadow: 0 8px 18px -10px rgba(30, 123, 144, .8); }
.share__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.share__name { margin: 0 0 .3rem; font-size: 1.05rem; font-weight: 750; letter-spacing: -.01em; }
.share__text { flex: 0 0 auto; min-height: 3em; margin: 0 0 1.1rem; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
/* Eingabe und Knopf als eine zusammenhängende Pille */
/* E-Mail-Kachel über die ganze Breite: Text links, Felder rechts in einer Reihe */
.share__tile--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 2.1fr); column-gap: 18px; align-items: start; }
.share__tile--wide .share__icon { grid-row: span 2; margin: 0; }
.share__tile--wide .share__name { grid-column: 2; }
.share__tile--wide .share__text { grid-column: 2; min-height: 0; margin: 0; }
.share__tile--wide .share__form { grid-column: 3; grid-row: 1 / span 2; }
.share__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 8px; }
.share__row .share__field { padding: 3px; }
.share__row .share__input { height: 36px; }
.share__row .share__copy { height: 36px; }
.share__line { min-width: 0; height: 44px; padding: 0 .9rem; font: .95rem var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.share__line:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47, 163, 186, .18); }
.share__field { display: flex; align-items: center; gap: 4px; min-width: 0; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s ease, box-shadow .2s ease; }
.share__field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47, 163, 186, .18); }
.share__input { flex: 1 1 auto; min-width: 0; height: 42px; padding: 0 .4rem 0 .9rem; font: .95rem var(--font); color: var(--ink); background: transparent; border: 0; outline: none; }
.share__input--link { font-family: var(--mono); font-size: .78rem; color: var(--ink-2); text-overflow: ellipsis; }
.share__copy { flex: 0 0 auto; height: 42px; padding: 0 1.15rem; font: 600 .92rem var(--font); color: var(--ink); background: #fff; border: 0; border-radius: 999px; box-shadow: 0 1px 2px rgba(12, 22, 38, .08), inset 0 0 0 1px var(--line); cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.share__copy:hover { box-shadow: 0 4px 12px -6px rgba(12, 22, 38, .3), inset 0 0 0 1px var(--ink-3); }
.share__copy.is-done { color: #fff; background: #0a8f4a; box-shadow: none; }
.share__copy--ink { color: #fff; background: var(--ink); box-shadow: none; }
.share__copy--ink:hover { background: var(--blue-deep); box-shadow: none; }
.share__copy:disabled { opacity: .6; cursor: progress; }
.share__action { width: 100%; min-height: 52px; }
.btn--line { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1px var(--ink-3); transform: translateY(-1px); }
.share__status { min-height: 1.3em; margin: .55rem 0 0; font-size: .84rem; color: var(--ink-2); }
.share__status:empty { min-height: 0; margin: 0; }
.share__status.is-ok { color: #0a8f4a; }
.share__status.is-error { color: #cc2f24; }
.share__legal { margin: .7rem 0 0; font-size: .74rem; line-height: 1.45; color: var(--ink-3); }
.share__legal a { color: inherit; }
.share__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 980px) {
  .share__grid { grid-template-columns: minmax(0, 1fr); }
  .share__tile { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
  .share__icon { grid-row: span 2; margin: 0; }
  .share__tile > :not(.share__icon) { grid-column: 2; }
  .share__text { min-height: 0; margin-bottom: .9rem; }
  .share__tile--wide .share__form { grid-column: 2; grid-row: auto; }
  .share__tile--wide .share__text { margin-bottom: .9rem; }
  .share__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .share__row .share__field { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .share__tile { display: flex; }
  .share__row { grid-template-columns: minmax(0, 1fr); }
  .share__icon { margin-bottom: 12px; }
}

.block { margin-top: clamp(56px, 7vw, 96px); }
.block__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.6rem; }
.block__head .eyebrow { margin-bottom: .5rem; }
.block__title { margin: 0 0 .5rem; font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; font-stretch: 104%; letter-spacing: -.02em; line-height: 1.15; }
.block__head .block__title { margin: 0; }
.block__lead { max-width: 46rem; margin: 0 0 1.5rem; color: var(--ink-2); }
.block--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.block--split .block__title { margin-bottom: 1rem; font-size: clamp(1.25rem, 2vw, 1.5rem); }
.card { padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.block--pending { padding: 1.2rem 1.4rem; color: var(--ink-2); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-sm); }
.block--pending p { margin: 0; }

/* Umschalter Mobil/Desktop */
.toggle { display: inline-flex; padding: 4px; background: #e7ecf5; border-radius: 999px; }
.toggle__btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .45rem 1.1rem; font: 600 .95rem var(--font); color: var(--ink-2); background: transparent; border: 0; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.toggle__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.toggle__btn[aria-selected="true"] { color: var(--ink); background: #fff; box-shadow: 0 4px 12px -6px rgba(12, 22, 38, .35); }

/* ---------------------------------------------------------------- Analyse: Kopf und Bento-Raster */
.result { position: relative; overflow: hidden; }
/* zarter Hintergrund wie im Hero */
.result::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 900px;
  background:
    radial-gradient(600px 360px at 12% 0%, rgba(125, 147, 232, .22), transparent 70%),
    radial-gradient(520px 340px at 92% 8%, rgba(111, 214, 230, .22), transparent 70%);
  pointer-events: none;
}
.result > .wrap { position: relative; }
/* Bericht-Kopf: Einordnung links, Bewertung je Bereich rechts */
.report {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.report--single { grid-template-columns: minmax(0, 1fr); }
.report__main {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.4vw, 44px);
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
}
/* feines Raster und Leuchten im Hintergrund der Karte */
.report__main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(47, 77, 158, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 77, 158, .05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000 10%, transparent 70%);
  pointer-events: none;
}
.report__main > * { position: relative; }
.report__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1.1rem;
  padding: .32rem .8rem .32rem .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--good-ink);
  background: rgba(12, 206, 107, .1);
  border-radius: 999px;
}
.report__badge span { display: grid; place-items: center; width: 20px; height: 20px; font-size: .7rem; color: #fff; background: var(--good); border-radius: 50%; animation: pop-in .6s cubic-bezier(.34, 1.56, .64, 1) .3s both; }
@keyframes pop-in { from { transform: scale(0); } to { transform: scale(1); } }
.report .eyebrow { margin-bottom: .5rem; }
.report .result__title { font-size: clamp(1.9rem, 3.6vw, 3rem); overflow-wrap: normal; }
/* Domain nie mitten im Namen umbrechen, nur notfalls bei sehr langen Domains */
.report .result__title span { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.report__summary { max-width: 46rem; margin: 1.2rem 0 0; font-size: 1.05rem; line-height: 1.65; color: var(--ink-2); }
.report__check {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 32px);
  color: #fff;
  background:
    radial-gradient(420px 260px at 0% 0%, rgba(47, 77, 158, .55), transparent 70%),
    radial-gradient(380px 260px at 100% 100%, rgba(30, 123, 144, .4), transparent 70%),
    var(--dark);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}
.report__checktitle { margin: 0 0 1.2rem; font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-bright); }
.report__checknote { margin: auto 0 0; padding-top: 1rem; font-size: .82rem; color: var(--dark-text); }
/* Balken je Bereich */
.meters { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.meter-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; }
.meter-row__label { font-weight: 600; }
.meter-row__label small { display: block; font-weight: 400; font-size: .8rem; color: var(--dark-text); }
.meter-row__value { font-size: 1.6rem; font-weight: 800; font-stretch: 108%; font-variant-numeric: tabular-nums; color: var(--c, #fff); }
.meter-row__bar { grid-column: 1 / -1; height: 8px; overflow: hidden; background: rgba(255, 255, 255, .1); border-radius: 99px; }
.meter-row__bar span { display: block; height: 100%; width: 0; background: var(--c, var(--teal-bright)); border-radius: inherit; box-shadow: 0 0 14px var(--c, transparent); transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
.meter-row.is-good { --c: #2ee38a; } .meter-row.is-mid { --c: #ffb21e; } .meter-row.is-bad { --c: #ff6a5e; }
.result__title { margin: 0; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; font-stretch: 106%; line-height: 1.05; letter-spacing: -.035em; overflow-wrap: anywhere; }
.result__title span { background: linear-gradient(100deg, var(--blue), #3f7fd6 45%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.3rem 0 0; padding: 0; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .9rem; font-size: .88rem; color: var(--ink-2); background: rgba(255, 255, 255, .75); border: 1px solid var(--line); border-radius: 999px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.facts b { color: var(--ink); font-weight: 700; }

.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
/* Kennzahlen als kompakte Reihe über die volle Breite */
.bento__stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .bento__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bcard--perf { grid-column: span 2; }
.bcard--tech { grid-column: span 2; }
.bcard--shot { grid-column: span 2; display: flex; flex-direction: column; }
/* Ohne Screenshot nimmt die Ladezeit-Karte die volle Breite, Kreise und Messwerte nebeneinander */
.bento--noshot .bcard--perf { grid-column: 1 / -1; }
.bento--noshot .perf { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
.bento--noshot .perf__metrics { border-top: 0; }

/* Design-Note */
.shot__score { display: flex; align-items: baseline; gap: .35rem; padding: .35rem .9rem; border-radius: 999px; background: var(--cbg, #eef1f6); }
.shot__score b { font-size: 1.5rem; font-weight: 800; font-stretch: 108%; color: var(--ci, var(--ink)); }
.shot__score span { font-size: .8rem; color: var(--ink-2); }
.shot__score.is-good { --ci: var(--good-ink); --cbg: rgba(12, 206, 107, .12); }
.shot__score.is-mid { --ci: var(--mid-ink); --cbg: rgba(255, 164, 0, .14); }
.shot__score.is-bad { --ci: var(--bad-ink); --cbg: rgba(255, 78, 66, .12); }

/* Geräte: Desktop-Browser mit Handy davor */
.devices { position: relative; margin: .2rem 0 1.4rem; padding-right: 15%; }
.device--desktop { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 50px -28px rgba(12, 22, 38, .45); }
.device__bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #f3f5f9; border-bottom: 1px solid var(--line); }
.device__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d7dde8; }
.device__bar span { flex: 1; min-width: 0; margin-left: 6px; padding: 2px 10px; overflow: hidden; font-size: .72rem; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; background: #fff; border-radius: 99px; }
.device--desktop .device__screen { aspect-ratio: 16 / 10; overflow: hidden; background: #eef1f6; }
.device__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
/* Ganze Seite: beim Überfahren langsam nach unten scrollen */
.device--desktop.is-full img { transition: object-position 6s ease-in-out; }
.device--desktop.is-full:hover img { object-position: bottom center; }
.device--phone { position: absolute; right: 0; bottom: -18px; width: 24%; padding: 6px; background: #0c1626; border-radius: 22px; box-shadow: 0 24px 40px -18px rgba(12, 22, 38, .6); }
.device--phone .device__screen { aspect-ratio: 9 / 18; overflow: hidden; border-radius: 16px; background: #eef1f6; }
.devices.is-phone-only { padding-right: 0; display: flex; justify-content: center; }
.devices.is-phone-only .device--phone { position: relative; right: auto; bottom: auto; width: 42%; }
.shot__list { display: grid; gap: .55rem; margin: .4rem 0 0; padding: 0; list-style: none; }
.shot__list li { position: relative; padding-left: 1.7rem; font-size: .95rem; line-height: 1.45; }
.shot__list li::before { content: "!"; position: absolute; left: 0; top: .1rem; display: grid; place-items: center; width: 18px; height: 18px; font: 700 .68rem var(--mono); color: #fff; background: var(--mid); border-radius: 50%; }
.shot__list--good li::before { content: "✓"; background: var(--good); }
.shot__list--good { margin-top: .8rem; padding-top: .8rem; border-top: 1px dashed var(--line); }
.bcard--features { grid-column: span 2; }

/* Karte mit Lichtschein unter der Maus und leuchtendem Rand */
.bcard {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .35s ease;
}
.bcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 163, 186, .12), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
}
.bcard::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 163, 186, .9), rgba(47, 77, 158, .35) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.bcard:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(12, 22, 38, .05), 0 26px 50px -24px rgba(34, 58, 124, .35); }
.bcard:hover::before, .bcard:hover::after { opacity: 1; }
.bcard__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; margin-bottom: 1.4rem; }
.bcard__kicker { margin: 0 0 .35rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); }
.bcard__title { margin: 0 0 .8rem; font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 800; font-stretch: 104%; letter-spacing: -.015em; line-height: 1.2; }
.bcard__head .bcard__title { margin: 0; }
.bcard__lead { margin: 0 0 .8rem; color: var(--ink-2); font-size: .95rem; }

/* Kennzahl-Kachel: Icon und Bezeichnung oben, große Zahl, Erklärung */
.bstat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 12px; align-content: start; }
.bstat__icon { grid-row: 1; display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: var(--grad); border-radius: 11px; box-shadow: 0 10px 20px -10px rgba(47, 77, 158, .7); }
.bstat__icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bstat.is-warn .bstat__icon { background: linear-gradient(135deg, #ffb340, #ff6a4d); box-shadow: 0 10px 20px -10px rgba(255, 106, 77, .7); }
.bstat__label { grid-row: 1; grid-column: 2; align-self: center; font-weight: 700; line-height: 1.25; }
.bstat__value { grid-column: 1 / -1; margin-top: 1rem; font-size: clamp(2.2rem, 3vw, 2.7rem); font-weight: 800; font-stretch: 110%; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.bstat__sub { grid-column: 1 / -1; margin-top: .35rem; font-size: .88rem; color: var(--ink-2); }
.bstat.is-warn .bstat__sub { color: var(--mid-ink); }
.bstat .bstat__parts, .bstat .bstat__bar { grid-column: 1 / -1; }
.bstat__parts { display: flex; flex-wrap: wrap; gap: 6px; margin: .7rem 0 0; padding: 0; list-style: none; }
.bstat__parts li { padding: .2rem .6rem; font-size: .8rem; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 99px; }
.bstat__parts b { color: var(--ink); font-weight: 700; }
.bstat__bar { height: 6px; margin-top: .7rem; overflow: hidden; background: #edf1f7; border-radius: 99px; }
.bstat__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffb340, #ff6a4d); border-radius: inherit; transition: width 1.4s cubic-bezier(.2, .7, .2, 1) .3s; }
.bstat.is-in .bstat__bar span { width: var(--w); }

/* PageSpeed in der großen Karte */
.perf { display: grid; gap: 22px; }
.perf__rings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.perf__rings .ring__svg { width: 92px; height: 92px; }
.perf__rings .ring__num { font-size: 1.65rem; }
.perf__rings .ring__label { font-size: .92rem; }
.perf__metrics { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.perf__error { position: relative; margin: 0; padding: 1.1rem 1.3rem 1.1rem 3rem; color: var(--ink-2); background: #fff8eb; border: 1px solid #f4dcae; border-radius: var(--radius-sm); }
.perf__error::before { content: "!"; position: absolute; left: 1.1rem; top: 1.15rem; display: grid; place-items: center; width: 20px; height: 20px; font: 700 .75rem var(--mono); color: #fff; background: var(--mid); border-radius: 50%; }
.metric { display: grid; grid-template-columns: 14px 1fr auto; gap: 12px; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.metric:last-child { border-bottom: 0; }
.metric__label { display: block; font-weight: 600; line-height: 1.3; }
.metric__hint { display: block; font-size: .82rem; color: var(--ink-2); line-height: 1.35; }
.metric__value { font-size: 1.1rem; font-weight: 800; font-stretch: 108%; font-variant-numeric: tabular-nums; }
/* heute -> Ziel */
.metric__values { display: flex; align-items: center; gap: 10px; text-align: right; }
.metric__now, .metric__goal { display: grid; gap: 1px; min-width: 64px; }
.metric__now small, .metric__goal small { font: 500 .66rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.metric__goal b { font-size: 1rem; font-weight: 750; color: #0a8f4a; white-space: nowrap; }
.metric__arrow { color: var(--ink-3); font-weight: 700; }
.perf__lead { margin: 0 0 .6rem; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 480px) {
  .metric { grid-template-columns: 14px 1fr; }
  .metric__values { grid-column: 2; justify-content: flex-start; text-align: left; }
}
/* Symbole wie bei PageSpeed: Dreieck schlecht, Quadrat mittel, Kreis gut */
.metric__icon { width: 12px; height: 12px; }
.metric.is-bad .metric__icon { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 12px solid var(--bad); }
.metric.is-mid .metric__icon { background: var(--mid); }
.metric.is-good .metric__icon { background: var(--good); border-radius: 50%; }
.metric.is-bad .metric__value { color: var(--bad-ink); }
.metric.is-mid .metric__value { color: var(--mid-ink); }
.metric.is-good .metric__value { color: var(--good-ink); }
.bcard--perf .legend { margin-top: 1rem; }

/* Umschalter Mobil/Desktop */
.toggle { display: inline-flex; padding: 4px; background: #e9eef6; border-radius: 999px; }
.toggle__btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 38px; padding: .4rem 1rem; font: 600 .92rem var(--font); color: var(--ink-2); background: transparent; border: 0; border-radius: 999px; cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s; }
.toggle__btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.toggle__btn[aria-selected="true"] { color: var(--ink); background: #fff; box-shadow: 0 4px 12px -6px rgba(12, 22, 38, .35); }

/* Einblenden: Karten gleiten gestaffelt herein */
.bento .reveal { transform: translateY(24px) scale(.98); }
.bento .reveal.is-in { transform: none; }

/* Kreise wie bei PageSpeed */
.rings { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.ring { display: flex; flex-direction: column; align-items: center; text-align: center; }
.rings .ring { padding: 24px 12px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.ring__svg { position: relative; width: 104px; height: 104px; }
.ring__svg svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__bg { fill: var(--cbg, #eef1f6); }
.ring__value { fill: none; stroke: var(--c, var(--blue)); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1.4s cubic-bezier(.2, .7, .2, 1); }
.ring__num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; font-stretch: 108%; color: var(--ci, var(--ink)); font-variant-numeric: tabular-nums; }
.ring__label { margin-top: .75rem; font-weight: 700; line-height: 1.25; }
.ring__hint { margin-top: .2rem; font-size: .84rem; color: var(--ink-2); }
.ring.is-good { --c: var(--good); --ci: var(--good-ink); --cbg: rgba(12, 206, 107, .1); }
.ring.is-mid { --c: var(--mid); --ci: var(--mid-ink); --cbg: rgba(255, 164, 0, .1); }
.ring.is-bad { --c: var(--bad); --ci: var(--bad-ink); --cbg: rgba(255, 78, 66, .1); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 1.1rem 0 0; font-size: .86rem; color: var(--ink-2); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 7px; vertical-align: -1px; }
.legend .legend__bad::before { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--bad); }
.legend__mid::before { background: var(--mid); }
.legend__good::before { background: var(--good); border-radius: 50%; }

/* Technik */
.tech__row { display: grid; grid-template-columns: 8.5rem 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tech__row:last-child { border-bottom: 0; }
.tech__group { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.tech__names { display: flex; flex-wrap: wrap; gap: 6px 14px; font-weight: 600; }
.tech__names small { margin-left: .3rem; font-family: var(--mono); font-weight: 500; font-size: .78rem; color: var(--teal-ink); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: .5rem 1rem; font-weight: 600; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; }
.chips li.is-empty { font-weight: 400; color: var(--ink-2); }

/* Befund und Lösung */
.fixes__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 1.4rem; }
.fixes__head .eyebrow { margin-bottom: .5rem; }
.fixes__head .block__title { margin: 0; }
.fixes__count { margin: 0; font-size: .92rem; color: var(--ink-2); }
.fixes__count b { color: var(--ink); }
.findings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: fix; }
.finding {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  counter-increment: fix;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
/* Bei ungerader Anzahl wird die erste (dringendste) Karte breit */
.findings > .finding:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.findings > .finding:first-child:nth-last-child(odd) .finding__text { font-size: 1.18rem; }
.finding:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(12, 22, 38, .05), 0 26px 50px -24px rgba(34, 58, 124, .35); }
/* farbige Kante links je Dringlichkeit */
.finding::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--sev, var(--blue)); }
.finding--high { --sev: var(--bad); --sev-bg: rgba(255, 78, 66, .1); --sev-ink: var(--bad-ink); }
.finding--medium { --sev: var(--mid); --sev-bg: rgba(255, 164, 0, .12); --sev-ink: var(--mid-ink); }
.finding--low { --sev: #4f7fd0; --sev-bg: rgba(79, 127, 208, .1); --sev-ink: var(--blue); }
.finding__problem { padding: 20px 22px 16px 26px; }
.finding__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: .6rem; }
.finding__sev { padding: .18rem .6rem; font-size: .74rem; font-weight: 700; color: var(--sev-ink); background: var(--sev-bg); border-radius: 99px; }
.finding__area { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.finding__num { margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--ink-3); }
.finding__num::before { content: counter(fix, decimal-leading-zero); }
.finding__text { margin: 0; font-size: 1.04rem; font-weight: 700; line-height: 1.4; }
.finding__fix {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding: 14px 22px 16px 26px;
  font-size: .95rem;
  line-height: 1.45;
  color: #0f4f5e;
  background: linear-gradient(90deg, rgba(47, 163, 186, .1), rgba(47, 163, 186, .03));
  border-top: 1px dashed rgba(47, 163, 186, .35);
}
.finding__fix::before { content: "→"; flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; font-size: .8rem; font-weight: 700; color: #fff; background: var(--teal); border-radius: 50%; transition: transform .3s ease; }
.finding:hover .finding__fix::before { transform: translateX(3px); }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ================================================================ Footer */
/* ================================================================ Rechtstexte (Datenschutz) */
.legal { padding: clamp(110px, 14vw, 150px) var(--gutter) clamp(56px, 8vw, 96px); }
.legal__inner { max-width: 760px; margin: 0 auto; font-size: 1rem; line-height: 1.7; color: var(--ink-2); }
.legal h1 { margin: .2rem 0 1rem; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; font-stretch: 104%; letter-spacing: -.025em; line-height: 1.1; color: var(--ink); }
.legal h2 { margin: 2.6rem 0 .8rem; font-size: clamp(1.2rem, 2.4vw, 1.45rem); font-weight: 750; letter-spacing: -.015em; line-height: 1.25; color: var(--ink); scroll-margin-top: 24px; }
.legal h3 { margin: 1.6rem 0 .4rem; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.legal p, .legal ul, .legal address { margin: 0 0 1rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .35rem; }
.legal address { font-style: normal; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.legal a:not(.btn) { color: var(--blue); text-underline-offset: 2px; overflow-wrap: anywhere; }
.legal strong { color: var(--ink); }
.legal code { font-size: .88em; padding: 1px 6px; color: var(--teal-ink); background: #eaf6f9; border-radius: 5px; }
.legal__lead { font-size: 1.1rem; color: var(--ink-2); }
.legal__toc { margin: 1.8rem 0 .5rem; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.legal__toc ol { columns: 2; column-gap: 2rem; margin: 0; padding-left: 1.2rem; font-size: .95rem; }
.legal__toc li { margin: 0 0 .3rem; break-inside: avoid; }
.legal__toc a { color: var(--ink); text-decoration: none; }
.legal__toc a:hover { color: var(--blue); text-decoration: underline; }
.legal__box { margin: 1.2rem 0; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 0 14px 14px 0; }
.legal__box h3 { margin-top: 0; }
.legal__box p:last-child { margin-bottom: 0; }
.legal__table { margin: 0 0 1rem; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.legal__table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .92rem; }
.legal__table th, .legal__table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__table th { font-weight: 700; color: var(--ink); background: #f7f9fc; }
.legal--error .legal__inner { min-height: 38vh; }
.legal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
.share-lock { display: grid; gap: 8px; max-width: 520px; margin-top: 1.6rem; font-weight: 600; color: var(--ink); }
.share-lock__row { display: flex; flex-wrap: wrap; gap: 10px; }
.share-lock__row .share__line { flex: 1 1 220px; height: 48px; }
.share-lock__error { margin: 0; font-weight: 500; color: var(--bad-ink); }
.legal__link { padding: 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 2px; background: none; border: 0; cursor: pointer; }
@media (max-width: 600px) {
  .legal__toc ol { columns: 1; }
}

.footer { color: var(--dark-text); background: var(--dark); padding: 56px var(--gutter) 64px; border-top: 1px solid var(--dark-line); }
.footer__inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 32px; font-size: .95rem; }
.footer .nav__brand { color: #fff; }
.footer__claim { margin: 1rem 0 0; }
.footer__contact { font-style: normal; line-height: 1.8; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__links { display: flex; flex-direction: column; gap: .4rem; }

/* ================================================================ Responsive */
@media (max-width: 980px) {
  .scrollcue { display: none; }
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
  .lab__inner { grid-template-columns: 1fr; }
  .scanner { transform: none; }
  .float--a { left: 8px; }
  .float--b { right: 8px; }
  .quote { grid-template-columns: 1fr; }
  .quote__scope { border-left: 0; border-top: 1px solid var(--dark-line); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcard--perf, .bcard--tech, .bcard--features, .bcard--shot, .bento__stats { grid-column: 1 / -1; }
  .bento--noshot .perf { grid-template-columns: 1fr; }
  .block--split { grid-template-columns: 1fr; }
  .report { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav__inner { padding: 7px 7px 7px 14px; }
  .nav__cta { padding: .55rem .95rem; font-size: .88rem; }
  .nav__cta span { display: none; }
  .hero { padding-top: 100px; padding-bottom: 64px; }
  .badge { margin-bottom: 1.4rem; font-size: .82rem; }
  .probe__field { flex-wrap: wrap; border-radius: 26px; }
  .probe input { flex: 1 1 60%; }
  .probe__btn { flex: 1 1 100%; }
  .proof { gap: 14px; flex-direction: column; }
  .proof li + li::before { display: none; }
  .scanner__screen { padding: 14px; }
  .wire--cards span { height: 44px; }
  .float--b { display: none; }
  .tag { font-size: .62rem; }
  .perf__rings { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .findings { grid-template-columns: 1fr; }
  .bento__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bstat__value { font-size: 1.9rem; }
  .bstat__label { font-size: .9rem; }
  .tech__row { grid-template-columns: 1fr; gap: 4px; }
  .footer__inner { grid-template-columns: 1fr; }
}
/* Niedrige Bildschirme (Laptop): Hero kompakter, damit alles in die Bildschirmhöhe passt */
@media (max-height: 760px) and (min-width: 700px) {
  .hero { padding-top: 96px; padding-bottom: 84px; }
  .hero__title { font-size: min(3.9rem, calc((100vw - 2 * var(--gutter)) / 12.4)); }
  .proof { margin-top: 1.6rem; }
  .hero__lead { margin-bottom: 1.6rem; }
}

/* Nach-oben-Knopf: feste Breite und Höhe (Safari), Klasse statt hidden-Attribut */
/* ================================================================ Cookie-Hinweis */
.consent { position: fixed; inset: auto 0 0; z-index: 60; padding: 0 var(--gutter) max(18px, env(safe-area-inset-bottom)); pointer-events: none; }
.consent[hidden], .consent [hidden] { display: none !important; }
.consent__box { pointer-events: auto; max-width: 760px; max-height: calc(100vh - 36px); margin: 0 auto; padding: 24px 26px; overflow-y: auto; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 24px 60px -20px rgba(12, 22, 38, .45); }
.consent__title { margin: 0 0 .4rem; font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.consent__text { margin: 0 0 1rem; font-size: .92rem; line-height: 1.55; color: var(--ink-2); }
.consent__settings { display: grid; gap: 10px; margin-bottom: 1rem; }
.consent__cat { padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.consent__cat p { margin: .35rem 0 0; font-size: .86rem; line-height: 1.5; color: var(--ink-2); }
.consent__cathead { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.consent__always { font-size: .8rem; font-weight: 600; color: var(--good-ink); }
.consent__services { display: block; margin-top: .25rem; font-size: .8rem; color: var(--ink-3); }
/* Schalter */
.consent__switch { position: relative; flex: 0 0 auto; width: 44px; height: 26px; }
.consent__switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.consent__switch span { position: absolute; inset: 0; background: #cfd7e4; border-radius: 99px; transition: background-color .2s ease; }
.consent__switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(12, 22, 38, .3); transition: transform .2s ease; }
.consent__switch input:checked + span { background: var(--blue); }
.consent__switch input:checked + span::after { transform: translateX(18px); }
.consent__switch input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent__btn { flex: 1 1 0; min-height: 44px; padding: .6rem 1rem; font-size: .92rem; }
.consent__links { margin: .9rem 0 0; font-size: .8rem; color: var(--ink-3); }
.consent__links a { color: inherit; }
.footer__btn { padding: 0; font: inherit; color: inherit; text-align: left; background: none; border: 0; cursor: pointer; }
.footer__btn:hover { color: #fff; }
@media (max-width: 600px) {
  .consent__box { padding: 20px 18px; border-radius: 18px; }
  .consent__actions { flex-direction: column; }
  .consent__btn { flex: 0 0 auto; }
}

.totop {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  color: #fff;
  background: var(--dark);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(95, 208, 227, .35), 0 12px 28px -10px rgba(12, 22, 38, .7);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.9);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background-color .2s ease;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s, background-color .2s ease; }
.totop:hover { background: var(--blue-deep); }
.totop svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.totop:hover svg { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tag { opacity: 1; }
  .scanner__beam { display: none; }
  .hero__title .line > span { transform: none; }
  .reveal { opacity: 1; transform: none; }
  .share__tile:hover { transform: none; }
}

/* Eingebunden auf einer anderen Website (iframe): Kopf, Fuß und Nach-oben-Knopf der Seite drumherum reichen */
.is-embed .nav, .is-embed .footer, .is-embed .totop, .is-embed .skip { display: none !important; }
.is-embed body { background: transparent; }
/* Keine Höhen in Bildschirm-Einheiten im iframe: sonst wächst die Seite mit dem Rahmen mit (Endlosschleife beim Anpassen der Höhe) */
.is-embed .hero { min-height: 0; padding-top: 48px; }
