/* ============================================================
   IMEI24 - Stylesheet (ohne Framework)
   Aufbau: Tokens · Basis · Typo · Bausteine · Seiten · Report · Druck
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #515154;
  --ink-3: #86868b;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .14);

  --accent: #2d5bff;
  --accent-press: #1e44d6;
  --accent-tint: rgba(45, 91, 255, .09);
  --accent-ink: #1e44d6;

  --ok: #1a7f37;
  --ok-tint: rgba(26, 127, 55, .1);
  --warn: #b25000;
  --warn-tint: rgba(255, 149, 0, .14);
  --danger: #d70015;
  --danger-tint: rgba(255, 59, 48, .1);

  /* Deep-Report-Bühne: bewusst dunkel in beiden Modi */
  --deep-bg: #0b0d12;
  --deep-surface: rgba(255, 255, 255, .06);
  --deep-line: rgba(255, 255, 255, .12);
  --deep-ink: #f5f5f7;
  --deep-ink-2: rgba(245, 245, 247, .72);
  --deep-glow: rgba(45, 91, 255, .45);

  --nav-bg: rgba(251, 251, 253, .72);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 3px rgba(0, 0, 0, .04);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .07);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, .05), 0 28px 64px rgba(0, 0, 0, .12);

  --container: 1080px;
  --gutter: max(16px, env(safe-area-inset-left));
  --nav-h: 56px;

  /* Kritisch gedämpft (keine Überschwinger) - Standard für UI */
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 120ms;
  --t-med: 280ms;

  color-scheme: light dark;
}

/* Dunkel: per Systemeinstellung (außer „Hell“ gewählt) oder manuell per data-theme="dark".
   Der Schalter in der Navigation setzt data-theme auf <html> (assets/js/app.js). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000;
    --bg-alt: #0d0d0f;
    --surface: #1c1c1e;
    --surface-2: #2c2c2e;
    --ink: #f5f5f7;
    --ink-2: #a1a1a6;
    --ink-3: #6e6e73;
    --line: rgba(255, 255, 255, .1);
    --line-2: rgba(255, 255, 255, .18);

    --accent: #5b82ff;
    --accent-press: #7d9cff;
    --accent-tint: rgba(91, 130, 255, .16);
    --accent-ink: #9db4ff;

    --ok: #30d158;
    --ok-tint: rgba(48, 209, 88, .14);
    --warn: #ff9f0a;
    --warn-tint: rgba(255, 159, 10, .16);
    --danger: #ff453a;
    --danger-tint: rgba(255, 69, 58, .16);

    --deep-bg: #101320;
    --nav-bg: rgba(0, 0, 0, .66);
    --shadow-md: 0 0 0 1px rgba(255, 255, 255, .06), 0 12px 32px rgba(0, 0, 0, .5);
    --shadow-lg: 0 0 0 1px rgba(255, 255, 255, .08), 0 28px 64px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
  :root:not([data-theme="light"]) .logo { filter: invert(1) hue-rotate(180deg) saturate(1.4); }
}
:root[data-theme="dark"] {
  --bg: #000000;
  --bg-alt: #0d0d0f;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --ink: #f5f5f7;
  --ink-2: #a1a1a6;
  --ink-3: #6e6e73;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);

  --accent: #5b82ff;
  --accent-press: #7d9cff;
  --accent-tint: rgba(91, 130, 255, .16);
  --accent-ink: #9db4ff;

  --ok: #30d158;
  --ok-tint: rgba(48, 209, 88, .14);
  --warn: #ff9f0a;
  --warn-tint: rgba(255, 159, 10, .16);
  --danger: #ff453a;
  --danger-tint: rgba(255, 69, 58, .16);

  --deep-bg: #101320;
  --nav-bg: rgba(0, 0, 0, .66);
  --shadow-md: 0 0 0 1px rgba(255, 255, 255, .06), 0 12px 32px rgba(0, 0, 0, .5);
  --shadow-lg: 0 0 0 1px rgba(255, 255, 255, .08), 0 28px 64px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }
/* Logo ist schwarz auf transparent: aufhellen, Blau bleibt Blau */
:root[data-theme="dark"] .logo { filter: invert(1) hue-rotate(180deg) saturate(1.4); }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font: 400 1.0625rem/1.55 var(--font);
  letter-spacing: -.011em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
code, .mono { font-family: var(--font-mono); font-size: .92em; letter-spacing: 0; }
code { padding: .08em .38em; border-radius: 6px; background: var(--accent-tint); color: var(--accent-ink); white-space: nowrap; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
::selection { background: color-mix(in srgb, var(--accent) 25%, transparent); }
svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: .6rem 1rem; border-radius: var(--r-sm); background: var(--ink); color: var(--bg); }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.muted { color: var(--ink-3); }

/* ---------- Typografie: Tracking & Zeilenhöhe je Größe ---------- */
.display {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.4rem + 4.6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 700;
  text-wrap: balance;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -.028em;
  font-weight: 700;
  text-wrap: balance;
}
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.019em; font-weight: 600; }
h4 { font-size: 1rem; line-height: 1.35; letter-spacing: -.012em; font-weight: 600; }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3125rem); line-height: 1.45; letter-spacing: -.016em; color: var(--ink-2); text-wrap: pretty; }
.eyebrow {
  font-size: .8125rem; line-height: 1.3; font-weight: 600; letter-spacing: .01em;
  color: var(--accent-ink); margin-bottom: .75rem;
}
.eyebrow--light { color: #9db4ff; }
.eyebrow--brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface-2); --btn-ink: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: .65rem 1.25rem;
  border: 0; border-radius: 980px;
  background: var(--btn-bg); color: var(--btn-ink);
  font-size: 1rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.2;
  cursor: pointer; text-decoration: none !important;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease), opacity var(--t-fast);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn svg { width: 1.1em; height: 1.1em; stroke-width: 2.2; transition: transform var(--t-med) var(--ease-out); }
/* Feedback beim Drücken - sofort, nicht erst beim Loslassen */
.btn:active:not(:disabled) { transform: scale(.97); transition-duration: 60ms; }
.btn:hover:not(:disabled) svg { transform: translateX(2px); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.btn--primary { --btn-bg: var(--accent); --btn-ink: #fff; }
.btn--primary:hover:not(:disabled) { --btn-bg: var(--accent-press); }
.btn--light { --btn-bg: #fff; --btn-ink: #0b0d12; }
.btn--light:hover:not(:disabled) { --btn-bg: #e8ecff; }
.btn--ghost-light { --btn-bg: rgba(255, 255, 255, .1); --btn-ink: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.btn--ghost-light:hover:not(:disabled) { --btn-bg: rgba(255, 255, 255, .16); }
.btn--ghost { --btn-bg: transparent; --btn-ink: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--sm { min-height: 32px; padding: .35rem .9rem; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: .85rem 1.6rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* ---------- Navigation: transluzentes Material ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow var(--t-med) var(--ease);
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 1.5rem; }
.nav__brand { display: flex; align-items: center; flex-shrink: 0; }
.nav__brand .logo { height: 30px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav__link { font-size: .875rem; color: var(--ink-2); letter-spacing: -.005em; display: inline-flex; align-items: center; gap: .4rem; }
.nav__link:hover { color: var(--ink); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav__pill { font-size: .6875rem; font-weight: 600; letter-spacing: .01em; padding: .15rem .45rem; border-radius: 980px; background: var(--accent-tint); color: var(--accent-ink); }
.nav__toggle { display: none; }
/* Untermenü (Geräte): Desktop als Klapp-Panel, mobil als eingerückte Liste */
.nav__group { position: relative; }
.nav__group-btn { border: 0; background: none; padding: 0; font: inherit; font-size: .875rem; cursor: pointer; }
.nav__group-btn:hover, .nav__group-btn[aria-expanded="true"], .nav__group-btn.is-current { color: var(--ink); }
.nav__group-btn.is-current { font-weight: 500; }
.nav__chev { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-fast) var(--ease-out); }
.nav__group-btn[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__sub { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; }
.nav__sub strong { font-weight: 500; color: var(--ink); }
.nav__sub small { font-size: .8125rem; color: var(--ink-3); }
.nav__sub[aria-current="page"] strong { color: var(--accent-ink); }
@media (min-width: 821px) {
  .nav__menu {
    position: absolute; top: calc(100% + .75rem); left: 50%; min-width: 250px; padding: .4rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, -4px);
    transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), visibility 0s linear var(--t-fast);
  }
  /* Brücke, damit das Panel beim Hinüberfahren mit der Maus offen bleibt */
  .nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; }
  .nav__group.is-open .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
  .nav__sub { padding: .6rem .75rem; border-radius: var(--r-sm); }
  .nav__sub:hover { background: var(--surface-2); }
}
.theme-btn {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin-left: -.5rem;
  border: 0; border-radius: 50%; background: none; color: var(--ink-2); cursor: pointer;
  transition: background-color var(--t-fast), transform var(--t-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.theme-btn:hover { background: var(--surface-2); color: var(--ink); }
.theme-btn:active { transform: scale(.92); transition-duration: 60ms; }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn [data-icon] { display: none; }
:root:not([data-theme]) .theme-btn [data-icon="system"],
:root[data-theme="light"] .theme-btn [data-icon="light"],
:root[data-theme="dark"] .theme-btn [data-icon="dark"] { display: block; }

@media (max-width: 820px) {
  .nav__links {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1rem;
    background: var(--nav-bg);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 var(--line);
    transform-origin: top right;
    opacity: 0; transform: translateY(-8px) scale(.98); visibility: hidden;
    transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav__link { font-size: 1.0625rem; padding: .85rem 0; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav__link:last-child { border-bottom: 0; }
  .nav__group-btn { width: 100%; justify-content: space-between; font-size: 1.0625rem; text-align: left; }
  .nav__group:last-child .nav__group-btn:not([aria-expanded="true"]) { border-bottom: 0; }
  .nav__menu { display: none; padding-left: 1rem; border-bottom: 1px solid var(--line); }
  .nav__group.is-open .nav__menu { display: block; }
  .nav__sub { padding: .65rem 0; font-size: 1rem; }
  .nav__menu .nav__sub:last-child { border-bottom: 0; }
  .nav__cta { margin-left: auto; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; margin-right: -10px;
    border: 0; background: none; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 18px; height: 1.5px; border-radius: 1px; background: var(--ink); transition: transform var(--t-med) var(--ease-out); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
}
@media (max-width: 380px) { .nav__cta { display: none; } .nav__toggle { margin-left: auto; } }

/* ---------- Brotkrümel ---------- */
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; padding-top: 1.25rem; font-size: .8125rem; color: var(--ink-3); }
.crumb a { color: var(--ink-2); }
.crumb > * + *::before { content: "›"; margin-right: .35rem; color: var(--ink-3); }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(4rem, 3rem + 4vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section--alt { background: var(--bg-alt); }
.sec-head { max-width: 680px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-2); font-size: 1.125rem; line-height: 1.5; text-wrap: pretty; }

.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

.card { padding: 1.75rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.section--alt .card { box-shadow: none; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.card .badge + h3 { margin-top: 1rem; }
.card__icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 1.25rem; border-radius: 12px; background: var(--accent-tint); color: var(--accent-ink); }
.card--link { display: block; color: inherit; transition: box-shadow var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.card--link:hover { text-decoration: none; box-shadow: var(--shadow-md); }
.card--link:active { transform: scale(.99); }
.card--link h3 { color: var(--ink); }
.chips--left { justify-content: flex-start; margin-top: 0; }
.card__icon svg { width: 22px; height: 22px; }
.card__icon--danger { background: var(--danger-tint); color: var(--danger); }
.card__num { font-family: var(--font-mono); font-size: .875rem; color: var(--accent-ink) !important; margin-bottom: .75rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) clamp(3rem, 2rem + 4vw, 5rem); }
.hero--compact { padding-top: clamp(1.5rem, 1rem + 3vw, 3rem); }
.hero__inner { max-width: calc(760px + 2 * var(--gutter)); text-align: center; }
.hero .lead { max-width: 620px; margin: 1.25rem auto 0; }
.hero__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: 1.5rem; padding: 0; list-style: none; font-size: .875rem; color: var(--ink-2); }
.hero__facts li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__facts li::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--ok); -webkit-mask: var(--check) center/contain no-repeat; mask: var(--check) center/contain no-repeat; }
:root { --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------- Checker ---------- */
.checker {
  margin-top: 2.25rem; padding: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-lg);
  text-align: left;
}
.checker__label { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; font-size: .875rem; font-weight: 600; letter-spacing: -.005em; }
.luhn { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; color: var(--ink-3); font-size: .8125rem; white-space: nowrap; }
.luhn__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background-color var(--t-fast); }
.luhn.is-ok { color: var(--ok); } .luhn.is-ok .luhn__dot { background: var(--ok); }
.luhn.is-bad { color: var(--danger); } .luhn.is-bad .luhn__dot { background: var(--danger); }

.checker__input {
  width: 100%; min-height: 64px; padding: .75rem 1.1rem;
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  background: var(--surface-2); color: var(--ink);
  font: 500 clamp(1.25rem, 1rem + 1.6vw, 1.75rem)/1.2 var(--font-mono);
  letter-spacing: .04em; font-variant-numeric: tabular-nums;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.checker__input::placeholder { color: var(--ink-3); opacity: .55; }
.checker__input:focus { outline: none; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-tint); }
.checker__input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-tint); }

.decode { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 6fr) minmax(3.5rem, 2.4fr); gap: .5rem; margin-top: .75rem; }
.decode__seg { padding: .55rem .7rem; border-radius: var(--r-sm); background: var(--surface-2); min-width: 0; }
.decode__key { display: block; font-size: .6875rem; font-weight: 500; color: var(--ink-3); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.decode__val { display: block; margin-top: .15rem; font-family: var(--font-mono); font-size: .9375rem; letter-spacing: .08em; color: var(--ink); overflow: hidden; text-overflow: clip; white-space: nowrap; }
.decode__val.is-dim { color: var(--ink-3); }

.checker__submit { width: 100%; margin-top: 1rem; }
.checker__foot { margin-top: .9rem; font-size: .8125rem; line-height: 1.5; color: var(--ink-3); text-align: center; }
.checker__foot a { color: var(--ink-2); text-decoration: underline; }
.hcaptcha-slot { position: fixed; bottom: 0; right: 0; z-index: 60; }

/* ---------- Ergebnis ---------- */
.result { margin-top: 1.25rem; }
.result > * { animation: rise var(--t-med) var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

.rcard { border-radius: var(--r-lg); background: var(--surface-2); padding: 1.25rem; }
.rcard__head { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.rcard__device { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-sm); }
.rcard__device svg { width: 20px; height: 20px; }
.rcard__title { flex: 1 1 10rem; min-width: 0; }
.rcard__title h3 { font-size: 1.125rem; overflow-wrap: anywhere; }
.rcard__title p { font-size: .875rem; color: var(--ink-2); }

.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 980px; font-size: .8125rem; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; }
.badge svg { width: 14px; height: 14px; stroke-width: 2.6; }
.badge--ok { background: var(--ok-tint); color: var(--ok); }
.badge--warn { background: var(--warn-tint); color: var(--warn); }
.badge--danger { background: var(--danger-tint); color: var(--danger); }
.badge--muted { background: var(--surface); color: var(--ink-2); }

.spec { margin-top: 1rem; border-radius: var(--r-md); background: var(--surface); }
.spec__row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; font-size: .9375rem; }
.spec__row + .spec__row { border-top: 1px solid var(--line); }
.spec__k { color: var(--ink-2); }
.spec__v { font-family: var(--font-mono); font-size: .875rem; text-align: right; overflow-wrap: anywhere; }
.spec__v.is-bad { color: var(--danger); font-family: var(--font); font-weight: 500; }

.rcard__sub { margin: 1.25rem 0 .6rem; font-size: .8125rem; font-weight: 600; color: var(--ink-2); letter-spacing: .005em; }
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.bl-cell { padding: .8rem .9rem; border-radius: var(--r-md); background: var(--surface); min-width: 0; }
.bl-cell .k { font-size: .75rem; color: var(--ink-3); }
.bl-cell .v { margin-top: .2rem; font-weight: 600; font-size: 1rem; letter-spacing: -.01em; overflow-wrap: anywhere; }
.is-ok { color: var(--ok); } .is-warn { color: var(--warn); } .is-bad { color: var(--danger); }
@media (max-width: 460px) { .bl-grid { grid-template-columns: 1fr 1fr; } .bl-cell:first-child { grid-column: 1 / -1; } }

.inline-error { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding: .8rem 1rem; border-radius: var(--r-md); background: var(--warn-tint); color: var(--warn); font-size: .9375rem; }
.inline-error svg { width: 18px; height: 18px; flex: none; }
.inline-error span { flex: 1; min-width: 12rem; }
.inline-error .btn { --btn-bg: var(--surface); --btn-ink: var(--ink); }

.sk { display: inline-block; width: 7rem; height: .9em; border-radius: 6px; vertical-align: middle; background: linear-gradient(90deg, var(--line) 25%, var(--line-2) 50%, var(--line) 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.result__again { display: flex; justify-content: center; margin-top: 1rem; }

/* ---------- Blacklist-Seite: Erklärung zum Ergebnis ---------- */
.explain { margin-top: 1rem; padding: 1.25rem 1.4rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), inset 4px 0 0 var(--explain-c, var(--line)); text-align: left; }
.explain--ok { --explain-c: var(--ok); }
.explain--warn { --explain-c: var(--warn); }
.explain--bad { --explain-c: var(--danger); background: var(--danger-tint); }
.explain h4 { font-size: 1.0625rem; line-height: 1.3; letter-spacing: -.012em; font-weight: 600; color: var(--ink); text-wrap: balance; }
.explain p { margin-top: .4rem; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.explain ul { margin: .8rem 0 0; padding-left: 1.1rem; display: grid; gap: .45rem; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.explain li strong { color: var(--ink); font-weight: 600; }
@media (max-width: 460px) { .explain { padding: 1.1rem 1.15rem; } }
.page-updated { margin-top: 1.25rem; font-size: .8125rem; }
.faq-more { margin-top: 1.5rem; text-align: center; font-size: .9375rem; }

/* ---------- Deep-Angebot im Ergebnis ---------- */
.upsell {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: 1rem; padding: 1.5rem;
  border-radius: var(--r-lg);
  background: var(--deep-bg); color: var(--deep-ink);
}
.upsell::before {
  content: ""; position: absolute; z-index: -1; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, var(--deep-glow), transparent); opacity: .8;
}
.upsell__eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: #9db4ff; }
.upsell h4 { margin-top: .4rem; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.2; letter-spacing: -.022em; font-weight: 700; color: #fff; text-wrap: balance; }
.upsell p { margin-top: .5rem; font-size: .9375rem; line-height: 1.5; color: var(--deep-ink-2); }
.locked { margin: 1.1rem 0 0; padding: 0; list-style: none; border-radius: var(--r-md); background: var(--deep-surface); box-shadow: inset 0 0 0 1px var(--deep-line); }
.locked li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 1rem; font-size: .9375rem; }
.locked li + li { border-top: 1px solid var(--deep-line); }
.locked__v { display: inline-flex; align-items: center; gap: .4rem; font-size: .8125rem; color: var(--deep-ink-2); white-space: nowrap; }
.locked__v::before { content: ""; width: 4.5rem; height: .7em; border-radius: 4px; background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.06)); filter: blur(1.5px); }
.locked__v svg { width: 14px; height: 14px; }
.upsell__buy { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.25rem; }
.upsell__buy .btn { flex: 1 1 14rem; }
.upsell__price { display: flex; flex-direction: column; font-size: .8125rem; color: var(--deep-ink-2); }
.upsell__price b { font-size: 1.375rem; color: #fff; letter-spacing: -.02em; }
.upsell__trust { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .75rem; color: var(--deep-ink-2); }
.upsell__trust a { color: var(--deep-ink-2); text-decoration: underline; }
@media (max-width: 460px) {
  .upsell { padding: 1.25rem; }
  .upsell__buy { flex-direction: column; align-items: stretch; gap: .75rem; }
  .upsell__buy .btn { flex: none; white-space: nowrap; padding-inline: 1rem; }
  .upsell__price { flex-direction: row; align-items: baseline; gap: .4rem; }
  .locked__v::before { width: 2.5rem; }
}
.upsell__err { margin-top: .75rem; font-size: .875rem; color: #ffb4ad; }
.upsell--muted { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.upsell--muted::before { content: none; }
.upsell--muted p { color: var(--ink-2); }

/* ---------- Hinweise ---------- */
.notice { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--r-md); background: var(--accent-tint); color: var(--ink); text-align: left; font-size: .9375rem; line-height: 1.5; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: .1rem; color: var(--accent-ink); }
.notice p { margin: 0 !important; color: inherit !important; }
.notice--center { max-width: 760px; margin: 2.5rem auto 0; }
.hero .notice { margin-bottom: 2rem; }

/* ---------- Warum prüfen ---------- */
.checklist-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem;
  margin-top: 1.25rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--r-lg); background: var(--bg-alt);
}
.checklist-card h3 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); letter-spacing: -.022em; }
.checklist-card p:not(.eyebrow) { margin-top: .6rem; color: var(--ink-2); }
@media (max-width: 760px) { .checklist-card { grid-template-columns: 1fr; gap: 1.25rem; } }
.steps-list { counter-reset: s; margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.steps-list li { counter-increment: s; position: relative; padding: .8rem 1rem .8rem 3.1rem; border-radius: var(--r-md); background: var(--surface); font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.steps-list li strong { color: var(--ink); font-weight: 600; }
.steps-list li::before { content: counter(s); position: absolute; left: 1rem; top: .8rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; }

/* ---------- Deep-Report-Bühne ---------- */
.deep { position: relative; overflow: hidden; isolation: isolate; background: var(--deep-bg); color: var(--deep-ink); padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.deep::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -30%; width: 70vmax; aspect-ratio: 1; background: radial-gradient(closest-side, var(--deep-glow), transparent 70%); opacity: .55; }
.deep__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (max-width: 880px) { .deep__inner { grid-template-columns: 1fr; } }
.deep h2 { color: #fff; }
.deep__lead { margin-top: 1.1rem; font-size: 1.125rem; line-height: 1.5; color: var(--deep-ink-2); }
.deep .checklist { margin-top: 1.5rem; }
.deep__prices { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.deep__prices span { padding: .4rem .8rem; border-radius: 980px; background: var(--deep-surface); box-shadow: inset 0 0 0 1px var(--deep-line); font-size: .8125rem; color: var(--deep-ink-2); }
.deep__prices b { color: #fff; font-weight: 600; margin-left: .2rem; }
.deep__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.deep__fine { margin-top: 1rem; font-size: .8125rem; color: var(--deep-ink-2); }

.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 1.75rem; font-size: .9375rem; line-height: 1.45; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--accent-tint) var(--check-blue) center/62% no-repeat; }
.checklist--light li { color: var(--deep-ink); }
.checklist--light li::before { background-color: rgba(91, 130, 255, .25); background-image: var(--check-white); }
:root {
  --check-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d5bff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --check-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Beispiel-Report */
.sample { margin: 0; }
.sample__card {
  position: relative; padding: 1.5rem; border-radius: var(--r-xl);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px var(--deep-line), 0 30px 80px rgba(0, 0, 0, .45);
  transform: rotate(1.2deg);
}
.sample__tag { position: absolute; top: 1rem; right: 1rem; padding: .2rem .6rem; border-radius: 980px; background: rgba(255,255,255,.12); font-size: .6875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--deep-ink-2); }
.sample__hero { display: flex; gap: 1rem; align-items: center; }
.sample__device { width: 44px; height: 72px; flex: none; border-radius: 12px; background: linear-gradient(160deg, #3a3f4b, #15171d); box-shadow: inset 0 0 0 2px rgba(255,255,255,.12); }
.sample__eyebrow { font-size: .75rem; color: #9db4ff; font-weight: 600; }
.sample__model { font-size: 1.375rem; font-weight: 700; letter-spacing: -.022em; color: #fff; }
.sample__imei { font-family: var(--font-mono); font-size: .75rem; color: var(--deep-ink-2); }
.sample__verdict { display: flex; align-items: center; gap: .5rem; margin-top: 1.25rem; padding: .7rem .9rem; border-radius: var(--r-md); font-weight: 600; font-size: .9375rem; }
.sample__verdict svg { width: 18px; height: 18px; }
.sample__verdict--warn { background: rgba(255, 159, 10, .16); color: #ffb340; }
.sample__rows { margin-top: .75rem; }
.sample__rows div { display: flex; justify-content: space-between; padding: .55rem .1rem; font-size: .875rem; border-bottom: 1px solid var(--deep-line); }
.sample__rows dt { color: var(--deep-ink-2); }
.sample__rows dd { font-weight: 600; color: #fff; }
.sample__rows .is-ok { color: #30d158; } .sample__rows .is-warn { color: #ffb340; }
.sample__reason { margin-top: 1rem; font-size: .8125rem; line-height: 1.5; color: var(--deep-ink-2); }
.sample figcaption { margin-top: 1.25rem; text-align: center; font-size: .8125rem; color: var(--deep-ink-2); }

/* ---------- Angebot auf Herstellerseiten ---------- */
.offer {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem); border-radius: var(--r-xl);
  background: var(--deep-bg); color: var(--deep-ink);
}
.offer::before { content: ""; position: absolute; z-index: -1; left: -20%; bottom: -60%; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, var(--deep-glow), transparent); opacity: .6; }
.offer h2 { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); }
.offer__copy > p:not(.eyebrow) { margin: .9rem 0 1.25rem; color: var(--deep-ink-2); }
.offer__buy { padding: 1.5rem; border-radius: var(--r-lg); background: var(--deep-surface); box-shadow: inset 0 0 0 1px var(--deep-line); text-align: center; }
.offer__price { font-size: 2.5rem; font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1; }
.offer__price-note { margin: .4rem 0 1.25rem; font-size: .8125rem; color: var(--deep-ink-2); }
.offer__how { margin-top: .9rem; font-size: .8125rem; color: var(--deep-ink-2); }
.offer__how a { color: #fff; text-decoration: underline; }
@media (max-width: 760px) { .offer { grid-template-columns: 1fr; } }

/* ---------- Marken-Kacheln ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .75rem; }
.tile {
  position: relative; display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1rem; border-radius: var(--r-md); background: var(--surface); color: var(--ink);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease);
}
.tile:hover { text-decoration: none; box-shadow: var(--shadow-md); }
.tile:active { transform: scale(.98); transition-duration: 60ms; }
.tile__logo { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--c, #333); color: #fff; font-weight: 700; font-size: .8125rem; letter-spacing: -.01em; }
.tile__logo--sm { width: 22px; height: 22px; border-radius: 6px; font-size: .625rem; }
.tile__text { display: flex; flex-direction: column; min-width: 0; }
.tile__name { font-weight: 600; font-size: .9375rem; letter-spacing: -.012em; }
.tile__meta { font-size: .75rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__deep { margin-left: auto; padding: .15rem .45rem; border-radius: 980px; background: var(--accent-tint); color: var(--accent-ink); font-size: .6875rem; font-weight: 600; }
.tile__deep--inline { margin: 0 .1rem; vertical-align: .1em; }
.tiles__sub { margin: 2.5rem 0 1rem; font-size: .9375rem; color: var(--ink-2); font-weight: 600; }

/* ---------- Pakete (Deep-Report-Seite) ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.plan { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.plan__head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.plan__head h3 { flex: 1; }
.plan__price { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; }
.plan .checklist { flex: 1; }
.plan .checklist li { color: var(--ink-2); }
.plan__link { margin-top: 1.25rem; font-size: .875rem; font-weight: 500; }
.plan--all { background: var(--bg-alt); box-shadow: none; }

/* ---------- Vergleich ---------- */
.compare-wrap { max-width: 820px; margin-inline: auto; overflow-x: auto; border-radius: var(--r-lg); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.compare th, .compare td { padding: .85rem 1rem; text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-size: .8125rem; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.compare tbody tr + tr td { border-top: 1px solid var(--line); }
.compare .compare__deep { color: var(--accent-ink); }
.compare td:last-child { background: var(--accent-tint); }
.compare .yes { color: var(--ok); font-weight: 600; }
.compare .no { color: var(--ink-3); }
.compare tfoot td { border-top: 1px solid var(--line-2); font-weight: 600; }
.compare .muted { font-weight: 400; font-size: .8125rem; }

/* ---------- Schritte ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.step { counter-increment: step; padding: 1.75rem; border-radius: var(--r-lg); background: var(--bg-alt); }
.section--alt .step { background: var(--surface); }
.step::before { content: counter(step); display: grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: 1rem; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 700; font-size: .875rem; }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--ink-2); font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; }
.faq__item { border-radius: var(--r-md); background: var(--surface); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.014em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { width: 12px; height: 12px; flex: none; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-3px) rotate(45deg); transition: transform var(--t-med) var(--ease-out); }
.faq__item[open] .faq__chev { transform: translateY(2px) rotate(225deg); }
.faq__body { padding: 0 1.25rem 1.2rem; color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size var(--t-med) var(--ease-out), content-visibility var(--t-med) allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
:root { interpolate-size: allow-keywords; }

/* ---------- CTA-Band ---------- */
.cta-band { padding: clamp(2.5rem, 2rem + 3vw, 4rem) 1.5rem; border-radius: var(--r-xl); background: var(--bg-alt); text-align: center; }
.cta-band p { margin: .75rem auto 1.75rem; max-width: 520px; color: var(--ink-2); font-size: 1.125rem; }
.section--alt + .section--tight .cta-band { background: var(--surface); }

/* ---------- Werbeflächen ---------- */
.ad { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: 1.5rem var(--gutter); }
.ad__label { font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.ad__inner { display: flex; justify-content: center; align-items: center; width: 100%; max-width: 728px; overflow: hidden; }
/* Platz reservieren, damit nichts springt (CLS) */
.ad--banner .ad__inner { min-height: 100px; max-width: 728px; }
@media (min-width: 760px) { .ad--banner .ad__inner { min-height: 90px; } }
.ad--rect .ad__inner { min-height: 250px; max-width: 336px; }
.ad__placeholder { display: grid; place-items: center; width: 100%; height: 100%; min-height: inherit; border: 1.5px dashed var(--line-2); border-radius: var(--r-sm); color: var(--ink-3); font-size: .8125rem; text-align: center; }
.ad--banner .ad__placeholder { min-height: 100px; } .ad--rect .ad__placeholder { min-height: 250px; }

/* ---------- Footer ---------- */
.footer { padding-block: 3rem 2rem; background: var(--bg-alt); font-size: .8125rem; color: var(--ink-2); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
.footer__brand .logo { height: 28px; width: auto; margin-bottom: .9rem; }
.footer__brand p { max-width: 320px; line-height: 1.5; }
.footer__col { display: flex; flex-direction: column; gap: .55rem; align-items: flex-start; }
.footer__col h4 { font-size: .8125rem; color: var(--ink); margin-bottom: .2rem; }
.footer__col a, .footer__link-btn { color: var(--ink-2); }
.footer__link-btn { padding: 0; border: 0; background: none; cursor: pointer; font-size: inherit; text-align: left; }
.footer__col a:hover, .footer__link-btn:hover { color: var(--ink); text-decoration: underline; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1.25rem; color: var(--ink-3); }
.footer__legal a { color: var(--ink-2); }

/* ---------- Fließtext & Rechtliches ---------- */
.prose { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { color: var(--ink); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: .25rem; }
.prose h3 { color: var(--ink); margin-top: 2rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: .18em; }
.section--doc { padding-top: 2rem; }
.doc-head { margin-bottom: 2.5rem; }
.doc-head h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem); line-height: 1.08; letter-spacing: -.03em; }
.doc-head__meta { margin-top: .75rem; font-size: .875rem; color: var(--ink-3); }
.prose--legal { font-size: 1rem; overflow-wrap: anywhere; }

/* ============================================================
   Report-Seite
   ============================================================ */
.section--report { padding-top: 1.5rem; }
.report { max-width: 820px; margin-inline: auto; }
.report__state { padding: clamp(2.5rem, 2rem + 4vw, 4.5rem) 1.5rem; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-md); text-align: center; }
.report__state h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-top: 1.25rem; }
.report__state p { max-width: 460px; margin: .75rem auto 0; color: var(--ink-2); }
.report__state-action { margin-top: 1.75rem; }
.report__state-ic { width: 44px; height: 44px; margin-inline: auto; color: var(--warn); }
.report__state--bad .report__state-ic { color: var(--danger); }
.report__spinner { width: 40px; height: 40px; margin-inline: auto; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.report__progress { max-width: 280px; height: 4px; margin: 1.5rem auto 0; border-radius: 4px; background: var(--line); overflow: hidden; }
.report__progress i { display: block; height: 100%; width: 40%; border-radius: inherit; background: var(--accent); animation: indet 1.4s var(--ease) infinite; }
@keyframes indet { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

.report__card { border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-md); overflow: hidden; }
.report__print-head { display: none; }
.report__hero { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); background: var(--bg-alt); }
.report__img { width: 72px; height: 96px; object-fit: contain; flex: none; }
.report__device { width: 56px; height: 88px; flex: none; border-radius: 14px; background: linear-gradient(160deg, var(--surface-2), var(--line-2)); box-shadow: inset 0 0 0 2px var(--line); }
.report__hero-text { flex: 1; min-width: 14rem; }
.report__eyebrow { font-size: .8125rem; font-weight: 600; color: var(--accent-ink); }
.report__model { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); line-height: 1.1; letter-spacing: -.028em; margin-top: .2rem; }
.report__config { color: var(--ink-2); margin-top: .25rem; }
.report__imei { margin-top: .4rem; font-size: .8125rem; color: var(--ink-3); }
.report__verdict { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 980px; font-weight: 600; font-size: 1rem; }
.report__verdict svg { width: 20px; height: 20px; stroke-width: 2.4; }
.report__hero--ok .report__verdict { background: var(--ok-tint); color: var(--ok); }
.report__hero--warn .report__verdict { background: var(--warn-tint); color: var(--warn); }
.report__hero--danger .report__verdict { background: var(--danger-tint); color: var(--danger); }
.report__reasons { margin: 0; padding: 1.1rem clamp(1.5rem, 1rem + 2vw, 2.25rem) 1.1rem calc(clamp(1.5rem, 1rem + 2vw, 2.25rem) + 1.1rem); font-size: .9375rem; line-height: 1.55; border-bottom: 1px solid var(--line); }
.report__reasons li + li { margin-top: .3rem; }
.report__reasons--warn { background: var(--warn-tint); }
.report__reasons--danger { background: var(--danger-tint); }
.report__section { padding: 1.5rem clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.report__section + .report__section { border-top: 1px solid var(--line); }
.report__section-h { font-size: .8125rem; font-weight: 600; color: var(--ink-2); letter-spacing: .005em; margin-bottom: .6rem; }
.report__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); column-gap: 2rem; }
.report__row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.report__k { color: var(--ink-2); }
.report__v { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.report__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem clamp(1.5rem, 1rem + 2vw, 2.25rem); background: var(--bg-alt); font-size: .8125rem; color: var(--ink-3); }
.report__foot-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.report__foot svg { width: 18px; height: 18px; }

/* ---------- Druck / PDF ---------- */
@media print {
  @page { margin: 14mm; }
  :root { color-scheme: light; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .nav, .footer, .crumb, .ad, .skip, .report__foot-actions, #cc-main { display: none !important; }
  .section--report { padding: 0; }
  .report__card { box-shadow: none; border: 1px solid #ddd; }
  .report__print-head { display: flex; justify-content: space-between; padding: 0 0 8pt; font-size: 9pt; color: #555; border-bottom: 1px solid #ddd; margin-bottom: 8pt; }
  .report__print-brand { font-weight: 700; color: #000; }
  .report__hero, .report__foot { background: #f5f5f7 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .report__verdict, .report__reasons { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .report__section { break-inside: avoid; }
  .logo { filter: none !important; }
}

/* ---------- Bewegung, Transparenz, Kontrast ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .result > * { animation: none; }
  .sample__card { transform: none; }
  .nav__links { transform: none !important; }
  .sk { animation: none; }
  .report__spinner { animation: spin 1.6s linear infinite !important; animation-duration: 1.6s !important; animation-iteration-count: infinite !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .nav__links { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sample__card { background: #1b1f2b; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(0, 0, 0, .3); --line-2: rgba(0, 0, 0, .5); --ink-2: var(--ink); --ink-3: #555; }
  .card, .faq__item, .tile, .plan, .checker { box-shadow: 0 0 0 1px var(--line-2); }
}

/* Nur für Screenreader */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 460px) { .decode__key--long { display: none; } }
@media (min-width: 461px) { .decode__key--short { display: none; } }

/* Andere Hersteller (Herstellerseiten) */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2rem; }
.chip { padding: .4rem .85rem; border-radius: 980px; background: var(--surface); color: var(--ink-2); font-size: .875rem; box-shadow: inset 0 0 0 1px var(--line); transition: transform var(--t-fast) var(--ease-out); }
.chip:hover { color: var(--ink); text-decoration: none; }
.chip:active { transform: scale(.96); transition-duration: 60ms; }
.prose .checklist { margin-top: .75rem; }

/* Kleine Zeile über der Haupt-Headline (Teil der H1, trägt das Keyword) */
.display__kicker { display: block; margin-bottom: .9rem; font-size: .8125rem; line-height: 1.3; font-weight: 600; letter-spacing: .01em; color: var(--accent-ink); }
.hero__links { margin-top: 1.5rem; font-size: .9375rem; color: var(--ink-3); }

/* Werbefläche mit nur einer Variante: auf der anderen Gerätegröße ganz ausblenden.
   Grenze = AD_DESKTOP_MIN in build.mjs */
@media (max-width: 759.98px) { .ad--desktop-only { display: none; } }
@media (min-width: 760px) { .ad--mobile-only { display: none; } }

/* ---------- Ratgeber ---------- */
.prose--guide h2 { margin-top: 3rem; scroll-margin-top: 5rem; }
.prose--guide h3 { scroll-margin-top: 5rem; }
.prose--guide ul, .prose--guide ol { padding-left: 1.35rem; }
.prose--guide li + li { margin-top: .4rem; }
.prose--guide li::marker { color: var(--ink-3); }
.prose--guide .notice { margin-top: 1.5rem; }
.prose--guide .faq { margin-top: 1.25rem; }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.compare--guide th, .compare--guide td { text-align: left; vertical-align: top; }
.compare--guide td:last-child { background: none; }
.compare--guide thead th { background: var(--bg-alt); }

.toc { margin-bottom: 2.5rem; padding: 1.15rem 1.35rem; border-radius: var(--r-md); background: var(--bg-alt); font-size: .9375rem; }
.toc__title { margin-bottom: .5rem; font-weight: 600; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.25rem; display: grid; gap: .3rem; color: var(--ink-3); }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--accent-ink); }

.guides { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.guide-card { display: flex; flex-direction: column; gap: .55rem; padding: 1.5rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); transition: box-shadow var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.guide-card:hover { text-decoration: none; box-shadow: var(--shadow-md); }
.guide-card:active { transform: scale(.98); transition-duration: 60ms; }
.section--alt .guide-card { box-shadow: none; }
.guide-card__eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--accent-ink); }
.guide-card__title { font-size: 1.1875rem; line-height: 1.3; font-weight: 600; letter-spacing: -.019em; }
.guide-card__text { flex: 1; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.guide-card__more { font-size: .875rem; font-weight: 500; color: var(--accent-ink); }
.guide-card__more::after { content: " ›"; }
/* Tabellen im Ratgeber: auf schmalen Bildschirmen als Karten (Spaltenname über dem Wert) */
@media (max-width: 600px) {
  .compare--guide thead { display: none; }
  .compare--guide tr { display: block; padding: .85rem 1rem; }
  .compare--guide tbody tr + tr { border-top: 1px solid var(--line); }
  .compare--guide tbody tr + tr td { border-top: 0; }
  .compare--guide td { display: block; padding: .15rem 0; }
  .compare--guide td + td { margin-top: .45rem; }
  .compare--guide td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 600; color: var(--ink-3); }
}

/* ---------- Gerätedatenbank (geraete/) ---------- */
/* Kopfbereich: weniger Luft nach unten, darunter folgt Werbung oder direkt das Datenblatt */
.section--doc.device { padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.device__hero { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
@media (max-width: 700px) { .device__hero { grid-template-columns: 1fr; text-align: center; } }
.device__media { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.device__media img { width: auto; max-width: 100%; max-height: 360px; object-fit: contain; border-radius: var(--r-md); }
@media (max-width: 700px) { .device__media img { max-height: 260px; } .device__media .device__ph { max-width: 150px; } }
.device__media figcaption { font-size: .6875rem; line-height: 1.4; color: var(--ink-3); text-align: center; overflow-wrap: anywhere; }
.device__media figcaption a { color: inherit; text-decoration: underline; }
.device__ph { display: grid; place-items: center; width: 100%; max-width: 220px; aspect-ratio: 3 / 4; border-radius: var(--r-lg); background: var(--bg-alt); color: var(--ink-3); }
.device__ph svg { width: 34%; height: auto; stroke-width: 1.2; }
.device__intro h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem); line-height: 1.06; letter-spacing: -.03em; margin-top: .35rem; }
.device__intro .lead { margin-top: 1rem; }
.device__facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
@media (max-width: 700px) { .device__facts { justify-content: center; } }
.device__facts li { padding: .35rem .8rem; border-radius: 980px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: .875rem; color: var(--ink-2); }
.device__h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 1.5rem; }
.device__loading { padding: 3rem 0; text-align: center; color: var(--ink-2); }
.device__loading h1 { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); margin-bottom: .75rem; color: var(--ink); }
.device__loading .btn { margin-top: 1rem; }
.device__codes { display: flex; flex-wrap: wrap; gap: .4rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.device__codes code { display: inline-block; padding: .2rem .55rem; border-radius: 8px; background: var(--bg-alt); font-size: .8125rem; color: var(--ink); }
.section--alt .checker { margin-top: 2rem; }
.device__deep { padding: 1rem 1.15rem; border-radius: var(--r-md); background: var(--accent-tint); font-size: .9375rem; }
.prose + .faq { margin-top: 2rem; }
.device__source { font-size: .8125rem; line-height: 1.55; color: var(--ink-3); }
.device__source a { color: var(--ink-2); text-decoration: underline; }

.specs { display: grid; gap: 1rem; }
.specs__group { padding: 1.1rem 1.25rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.specs__group h3 { font-size: 1rem; margin-bottom: .35rem; }
.specs__group dl { margin: 0; }
.specs__group dl > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 1rem; padding: .55rem 0; font-size: .9375rem; }
.specs__group dl > div + div { border-top: 1px solid var(--line); }
.specs__group dt { color: var(--ink-3); }
.specs__group dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 480px) { .specs__group dl > div { grid-template-columns: 1fr; gap: .1rem; } }

.device-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: .75rem; }
.device-card { display: flex; flex-direction: column; gap: .25rem; padding: 1rem; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); transition: box-shadow var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.device-card:hover { text-decoration: none; box-shadow: var(--shadow-md); }
.device-card:active { transform: scale(.98); transition-duration: 60ms; }
.section--alt .device-card { box-shadow: none; }
.device-card__media { display: grid; place-items: center; height: 150px; margin-bottom: .5rem; }
.device-card__media img { max-width: 100%; max-height: 150px; width: auto; height: auto; object-fit: contain; }
.device-card__media .device__ph { max-width: 110px; }
.device-card__name { font-weight: 600; font-size: .9375rem; line-height: 1.3; letter-spacing: -.012em; }
.device-card__meta { font-size: .75rem; color: var(--ink-3); }

.dsearch { margin: 2rem auto 0; max-width: 620px; text-align: left; }
.dsearch__field { position: relative; }
.dsearch__label { display: block; margin-bottom: .5rem; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.dsearch__input {
  width: 100%; min-height: 56px; padding: .75rem 1.1rem;
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 1.125rem;
  box-shadow: var(--shadow-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.dsearch__input::placeholder { color: var(--ink-3); }
.dsearch__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint), var(--shadow-md); }
.dsearch__list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + .35rem); margin: 0; padding: .35rem; list-style: none;
  max-height: min(60vh, 460px); overflow-y: auto;
  border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-lg);
}
.dsearch__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .65rem .8rem; border-radius: var(--r-sm); color: var(--ink); }
.dsearch__list a:hover, .dsearch__list [aria-selected="true"] a { background: var(--accent-tint); text-decoration: none; }
.dsearch__name { font-weight: 500; }
.dsearch__meta { flex: none; font-size: .8125rem; color: var(--ink-3); }
.dsearch__hint { margin-top: .6rem; font-size: .8125rem; color: var(--ink-3); }

.brand-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: .6rem; align-items: start; }
.brand-list__item { border-radius: var(--r-md); background: var(--surface); }
.brand-list__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.1rem; cursor: pointer; list-style: none; font-weight: 600; }
.brand-list__item summary::-webkit-details-marker { display: none; }
.brand-list__n { padding: .1rem .5rem; border-radius: 980px; background: var(--bg-alt); font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.brand-list__item ul { margin: 0; padding: 0 1.1rem 1rem; list-style: none; display: grid; gap: .1rem; }
.brand-list__item li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; font-size: .9375rem; }
.brand-list__item li span { color: var(--ink-3); font-size: .8125rem; }

/* ---------- TAC-Suche (tac-pruefen) ---------- */
.tacsearch__row { display: flex; gap: .6rem; }
.tacsearch__input { flex: 1; min-width: 0; font-family: var(--font-mono); letter-spacing: .04em; }
.tacsearch__row .btn { flex: none; min-height: 56px; }
@media (max-width: 480px) { .tacsearch__row { flex-direction: column; } }
[data-tac-result] { scroll-margin-top: var(--nav-h); }
.tac-result { padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-md); }
.tac-result .device__hero { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); }
@media (max-width: 700px) { .tac-result .device__hero { grid-template-columns: 1fr; } }
.tac-result .device__media img { max-height: 280px; }
.tac-result__name { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); line-height: 1.08; letter-spacing: -.028em; margin-top: .35rem; }
.tac-result__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
@media (max-width: 700px) { .tac-result__actions { justify-content: center; } }
.tac-result__h { margin: 2rem 0 1rem; font-size: 1.25rem; }
.tac-result .specs__group { background: var(--bg-alt); box-shadow: none; }
.tac-result .device__source { margin-top: 1.25rem; }
