/* =========================================================================
   SMP DATASystems – Design System 2026
   Dark by default, Light per [data-theme="light"]
   Brand: Schwarz + SMP-Blau #004FE4
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */

:root {
  color-scheme: dark;

  /* Brand */
  --brand: #004FE4;
  --brand-hi: #4C8DFF;
  --brand-lo: #0034A0;

  /* Dark surfaces */
  --bg: #05070C;
  --bg-2: #080B12;
  --bg-3: #0C1018;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);

  /* Text */
  --fg: #F2F5FA;
  --fg-2: #A7B2C4;
  --fg-3: #6E7B8F;

  /* Accent surfaces */
  --accent: var(--brand-hi);
  --accent-fill: var(--brand);
  --accent-soft: rgba(0, 79, 228, 0.14);
  --accent-line: rgba(76, 141, 255, 0.30);
  --glow: rgba(0, 79, 228, 0.42);

  /* Status */
  --ok: #34D399;
  --warn: #FBBF24;
  --crit: #F87171;

  /* Shape */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 40px);

  /* Elevation */
  --sh-1: 0 1px 2px rgba(0, 0, 0, .4);
  --sh-2: 0 18px 48px rgba(0, 0, 0, .45);
  --sh-3: 0 40px 120px rgba(0, 0, 0, .6);
  --sh-glow: 0 0 0 1px var(--accent-line), 0 24px 70px -20px var(--glow);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .5s;

  --grid-ink: rgba(255, 255, 255, .035);
  --noise-op: .035;
  --hero-veil: linear-gradient(180deg, rgba(5,7,12,.20) 0%, rgba(5,7,12,.62) 55%, var(--bg) 100%);
  --img-tone: saturate(1.05) contrast(1.05) brightness(.86);
}

[data-theme="light"] {
  color-scheme: light;

  --bg: #FFFFFF;
  --bg-2: #F5F7FB;
  --bg-3: #EDF1F8;
  --surface: rgba(6, 12, 24, 0.028);
  --surface-2: rgba(6, 12, 24, 0.05);
  --line: rgba(6, 12, 24, 0.10);
  --line-2: rgba(6, 12, 24, 0.18);

  --fg: #05070C;
  --fg-2: #46536A;
  --fg-3: #6C7A90;

  --accent: #0037A8;
  --accent-fill: var(--brand);
  --accent-soft: rgba(0, 79, 228, 0.08);
  --accent-line: rgba(0, 79, 228, 0.22);
  --glow: rgba(0, 79, 228, 0.22);

  --sh-1: 0 1px 2px rgba(6, 14, 34, .06);
  --sh-2: 0 18px 44px rgba(6, 14, 34, .10);
  --sh-3: 0 40px 100px rgba(6, 14, 34, .14);
  --sh-glow: 0 0 0 1px var(--accent-line), 0 24px 60px -22px var(--glow);

  --grid-ink: rgba(6, 12, 24, .045);
  --noise-op: .02;
  --hero-veil: linear-gradient(180deg, rgba(255,255,255,.25) 0%, rgba(255,255,255,.70) 55%, var(--bg) 100%);
  --img-tone: saturate(1.02) contrast(1.02) brightness(1);
}

/* ---------- 2. Reset & Base --------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "ss01";
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .45s var(--ease), color .45s var(--ease);
}

/* Ambient background layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 82% -8%, var(--accent-soft), transparent 62%),
    radial-gradient(760px 520px at 4% 4%, rgba(0, 79, 228, .10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 46%, var(--bg) 100%);
}

/* Technical grid overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, var(--grid-ink) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, var(--grid-ink) 0 1px, transparent 1px 100%);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 78%);
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Typography ------------------------------------------------ */

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 { font-size: clamp(2.7rem, 7.4vw, 6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); letter-spacing: -0.032em; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.55rem); letter-spacing: -0.022em; line-height: 1.2; }
h4 { font-size: 1.05rem; letter-spacing: -0.015em; }

p { margin: 0 0 1.1em; color: var(--fg-2); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 1.55vw, 1.32rem);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 62ch;
}

strong { color: var(--fg); font-weight: 650; }

.grad {
  background: linear-gradient(96deg, var(--fg) 8%, var(--accent) 52%, var(--fg) 96%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s linear infinite;
}
@keyframes sheen { to { background-position: 220% 0; } }

.mono {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", "Roboto Mono", monospace;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- 4. Layout ---------------------------------------------------- */

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

section { position: relative; }

.band { padding: clamp(72px, 9vw, 140px) 0; }
.band-tight { padding: clamp(52px, 6vw, 92px) 0; }

.band-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--bg-3) 18%, var(--bg-3) 82%, transparent);
  opacity: .7;
  pointer-events: none;
  z-index: -1;
}

.head { max-width: 74ch; margin-bottom: clamp(34px, 4.4vw, 60px); }
.head .lead { margin-top: 4px; }
.head-center { margin-inline: auto; text-align: center; }
.head-center .lead { margin-inline: auto; }

.cols { display: grid; gap: clamp(16px, 2vw, 24px); }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.4vw, 68px);
  align-items: center;
}

.stack-lg > * + * { margin-top: 26px; }

/* ---------- 5. Eyebrow / Pill ------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  margin-bottom: 20px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--glow);
  animation: pulse 2.6s var(--ease) infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--glow); }
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg-2);
  font-size: .8rem;
  font-weight: 550;
  white-space: nowrap;
}
.tag-accent { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 6. Buttons --------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .96rem;
  font-weight: 620;
  letter-spacing: -.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #1B6BFF 100%);
  color: #fff;
  box-shadow: 0 12px 34px -12px var(--glow), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.30) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .75s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 48px -14px var(--glow), inset 0 1px 0 rgba(255,255,255,.28); }
.btn-primary:hover::after { transform: translateX(120%); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--line-2);
  color: var(--fg);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent); transform: translateY(-2px); }

.btn-quiet { background: transparent; border-color: var(--line); color: var(--fg-2); }
.btn-quiet:hover { color: var(--fg); border-color: var(--line-2); }

.btn-sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link:hover { border-bottom-color: currentColor; gap: 10px; }
.link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 7. Header ---------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-stuck {
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  backdrop-filter: blur(22px) saturate(1.6);
  border-bottom-color: var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.logo { flex: 0 0 auto; display: flex; align-items: center; }
.logo img { height: 38px; width: auto; }

/* Theme-abhängige Logovarianten (Blau bleibt Blau) */
.on-light { display: none; }
.on-dark { display: block; }
[data-theme="light"] .on-light { display: block; }
[data-theme="light"] .on-dark { display: none; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }

.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--fg-2);
  font-size: .92rem;
  font-weight: 560;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}
.nav a:hover { color: var(--fg); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::after,
.nav a:hover::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.lang-switch {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg-2);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.lang-switch:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }

.theme-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--fg-2);
  cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), transform .35s var(--ease);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent-line); transform: rotate(28deg); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun { display: none; }
[data-theme="light"] .theme-toggle .i-sun { display: block; }
[data-theme="light"] .theme-toggle .i-moon { display: none; }

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--fg);
  cursor: pointer;
}
.burger span { display: block; width: 17px; height: 1.7px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span + span { margin-top: 4.4px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.1px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.1px) rotate(-45deg); }

/* Scroll progress */
.progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--brand), var(--brand-hi));
  z-index: 2;
}

/* ---------- 8. Hero ------------------------------------------------------ */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 92svh, 900px);
  padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 9vw, 130px);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .85;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center right;
  opacity: .30;
  filter: var(--img-tone) blur(1px);
}
.hero-photo::after { content: ""; position: absolute; inset: 0; background: var(--hero-veil); }

.hero-inner { position: relative; z-index: 2; }

.hero-content { max-width: 64ch; }
.hero h1 { margin-bottom: 22px; max-width: 15ch; }
.hero .lead { max-width: 58ch; margin-bottom: 34px; font-size: clamp(1.06rem, 1.6vw, 1.35rem); }
.hero .btns { margin-bottom: clamp(40px, 5vw, 64px); }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
.hero-wide .hero-content { max-width: 68ch; }

/* ---- Showreel / Video --------------------------------------------------- */
.reel {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #05070C;
  box-shadow: var(--sh-3);
  aspect-ratio: 16 / 9;
}
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 0 120px rgba(0, 0, 0, .35);
}
.reel-ctl {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.reel-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(6, 10, 20, .6);
  backdrop-filter: blur(14px);
  color: #fff;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease);
}
.reel-btn:hover { background: var(--brand); border-color: var(--brand); transform: scale(1.06); }
.reel-btn svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.reel-btn .i-pause { display: none; }
.reel-btn.is-playing .i-pause { display: block; }
.reel-btn.is-playing .i-play { display: none; }
.reel-btn.is-on .i-off { display: none; }
.reel-btn .i-on { display: none; }
.reel-btn.is-on .i-on { display: block; }

.hero-mark { height: clamp(46px, 5.4vw, 70px); width: auto; margin-bottom: 26px; }

/* Stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  backdrop-filter: blur(14px);
}
.stat { padding: 22px 20px; background: color-mix(in srgb, var(--bg) 62%, transparent); }
.stat > b {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--fg);
  margin-bottom: 7px;
}
/* Der Zähler-Span steckt IN der Zahl und darf nicht wie ein Label aussehen. */
.stat > b span { font: inherit; color: inherit; letter-spacing: inherit; display: inline; }
.stat > span { font-size: .82rem; color: var(--fg-3); line-height: 1.4; display: block; }

/* Scroll cue */
.cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 3;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--fg-3);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.cue i {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0%,100% { opacity: .25; transform: scaleY(.5); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- 9. Cards ----------------------------------------------------- */

.card {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), border-color .4s var(--ease), background .4s var(--ease), box-shadow .5s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 62%);
  transition: opacity .45s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--sh-2); }
.card:hover::before { opacity: 1; }

.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; }          /* Abstand regelt p:last-child global */
.card > * + * { margin-top: 14px; }
.card > h3 + p { margin-top: 0; }

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--accent-line);
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
  transition: transform .45s var(--ease), background .35s var(--ease);
}
.card:hover .card-icon { transform: translateY(-2px) scale(1.06); }
.card-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.card-num {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

/* Tilt */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt > * { transform: translateZ(24px); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.7vw, 20px); }
.bento > * { grid-column: span 2; }
.b-3 { grid-column: span 3 !important; }
.b-4 { grid-column: span 4 !important; }
.b-6 { grid-column: span 6 !important; }

/* Card with background photo */
.card-photo { min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }
.card-photo .photo-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: var(--img-tone);
  transform: scale(1.03);
  transition: transform 1.1s var(--ease);
}
.card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3,5,10,.10) 0%, rgba(3,5,10,.72) 62%, rgba(3,5,10,.94) 100%);
}
[data-theme="light"] .card-photo::after {
  background: linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(6,10,20,.55) 58%, rgba(6,10,20,.88) 100%);
}
.card-photo:hover .photo-bg { transform: scale(1.09); }
.card-photo h3, .card-photo p, .card-photo .mono { color: #fff; }
.card-photo p { color: rgba(255,255,255,.80); }

/* Logotafel für Praxispartner: Logo bekommt eine helle Fläche, damit es
   in beiden Themes lesbar bleibt. */
.logo-panel {
  display: grid;
  place-items: center;
  padding: clamp(30px, 4vw, 56px);
  background: #fff;
  min-height: 260px;
  transition: background .3s var(--ease);
}
.logo-panel img { width: min(320px, 82%); height: auto; }
.logo-panel:hover { background: #f4f6fa; }

/* ---------- 10. Lists ---------------------------------------------------- */

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--fg-2);
  font-size: .96rem;
  line-height: 1.5;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft) center / 10px 10px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C8DFF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5.5 5.5L20 6.5'/%3E%3C/svg%3E");
}
[data-theme="light"] .ticks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230037A8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12 5.5 5.5L20 6.5'/%3E%3C/svg%3E");
}

.deflist { display: grid; gap: 2px; }
.deflist div {
  display: grid;
  grid-template-columns: minmax(150px, .33fr) 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.deflist dt, .deflist b { color: var(--fg); font-weight: 620; font-size: .95rem; }
.deflist dd, .deflist span { margin: 0; color: var(--fg-2); font-size: .95rem; }

/* ---------- 11. Steps / Process ------------------------------------------ */

.steps { display: grid; gap: clamp(14px, 1.8vw, 20px); grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; }

.step {
  position: relative;
  padding: 30px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.step::before {
  counter-increment: s;
  content: "0" counter(s);
  display: block;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-line);
  margin-bottom: 18px;
  transition: color .4s var(--ease);
}
.step:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.step:hover::before { color: var(--accent-soft); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .92rem; margin: 0; }

/* Connector line */
.steps-line { position: relative; }
.steps-line::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line) 12%, var(--accent-line) 88%, transparent);
  z-index: -1;
}

/* ---------- 12. Terminal / Console panel --------------------------------- */

.console {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--bg-3) 88%, transparent);
  overflow: hidden;
  box-shadow: var(--sh-2);
  backdrop-filter: blur(14px);
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: .74rem;
  color: var(--fg-3);
  letter-spacing: .04em;
}
.console-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); display: block; }
.console-bar i:first-child { background: #FF5F57; }
.console-bar i:nth-child(2) { background: #FEBC2E; }
.console-bar i:nth-child(3) { background: #28C840; }
.console-bar span { margin-left: 10px; }
.console-body { padding: clamp(20px, 2.4vw, 30px); }

.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rows li {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.rows li:hover { border-color: var(--accent-line); transform: translateX(3px); }
.rows .ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.rows .ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rows b { display: block; font-size: .95rem; color: var(--fg); }
.rows small { display: block; font-size: .84rem; color: var(--fg-3); line-height: 1.4; }
.state {
  font-family: ui-monospace, monospace;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}
.state-ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.state-watch { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 35%, transparent); background: color-mix(in srgb, var(--warn) 10%, transparent); }
.state-run { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }

/* ---------- 13. Marquee -------------------------------------------------- */

.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 56px; animation: slide 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: color .3s var(--ease);
}
.marquee-track span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.marquee:hover .marquee-track span { color: var(--fg-2); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 14. Feature rows (alternating) ------------------------------- */

.feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 7vw, 110px); }
.feature:nth-child(even) .feature-media { order: -1; }

.feature-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  aspect-ratio: 4 / 3;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-tone); transition: transform 1.1s var(--ease); }
.feature-media:hover img { transform: scale(1.05); }
.feature-media figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 18px;
  border-radius: var(--r);
  background: color-mix(in srgb, #05070C 68%, transparent);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: .88rem;
}
.feature-media figcaption b { display: block; color: #fff; margin-bottom: 2px; }

/* ---------- 15. Price cards ---------------------------------------------- */

.prices { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(14px, 1.8vw, 20px); }
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform .45s var(--ease), border-color .4s var(--ease), box-shadow .45s var(--ease);
}
.price:hover { transform: translateY(-5px); border-color: var(--accent-line); box-shadow: var(--sh-2); }
.price-featured { border-color: var(--accent-line); background: var(--accent-soft); box-shadow: var(--sh-glow); }
.price-featured::before {
  content: "Empfohlen";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price .amount {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 14px 0 6px;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
  color: var(--fg);
}
.price .amount small { font-size: .82rem; font-weight: 500; letter-spacing: 0; color: var(--fg-3); }
.price .ticks { margin: 20px 0 26px; }
.price .btn { margin-top: auto; width: 100%; }

/* ---------- 16. CTA band -------------------------------------------------- */

.cta {
  position: relative;
  padding: clamp(44px, 5.5vw, 76px) clamp(28px, 4vw, 66px);
  border: 1px solid var(--accent-line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(900px 400px at 82% 12%, var(--accent-soft), transparent 66%),
    var(--bg-3);
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, var(--grid-ink) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, var(--grid-ink) 0 1px, transparent 1px 100%);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(100% 100% at 50% 0%, #000, transparent 72%);
  mask-image: radial-gradient(100% 100% at 50% 0%, #000, transparent 72%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { margin-bottom: 16px; }
.cta .lead { margin: 0 auto 30px; }
.cta .btns { justify-content: center; }

/* Hotline block */
.hotline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  backdrop-filter: blur(14px);
}
.hotline-main { display: flex; align-items: center; gap: 18px; flex: 1 1 320px; min-width: 0; }
.hotline-ico { display: grid; place-items: center; width: 54px; height: 54px; flex: 0 0 auto; border-radius: 16px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); }
.hotline-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hotline .num { display: block; font-size: clamp(1.4rem, 2.4vw, 1.95rem); font-weight: 700; letter-spacing: -.03em; color: var(--fg); line-height: 1.15; }
.hotline .num:hover { color: var(--accent); }
.hotline small { color: var(--fg-3); font-size: .88rem; }

/* ---------- 17. Forms ----------------------------------------------------- */

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field > label, .field-label { font-size: .84rem; font-weight: 600; color: var(--fg-2); letter-spacing: -.005em; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--bg-3);
  color: var(--fg);
  font: inherit;
  font-size: .95rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.form-note { font-size: .82rem; color: var(--fg-3); }

/* ---------- 18. Footer ---------------------------------------------------- */

.site-footer {
  position: relative;
  margin-top: clamp(60px, 8vw, 120px);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(50px, 6vw, 82px) 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-bottom: 44px; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; max-width: 40ch; }
.footer-col h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 16px; font-weight: 650; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--fg-2); font-size: .93rem; transition: color .22s var(--ease), padding-left .22s var(--ease); }
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--fg-3);
}
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  transition: border-color .25s var(--ease), transform .3s var(--ease), background .25s var(--ease);
}
.socials a:hover { border-color: var(--accent-line); background: var(--accent-soft); transform: translateY(-2px); }
.socials a { color: var(--fg-2); }
.socials a:hover { color: var(--accent); }
.socials svg { width: 17px; height: 17px; }

/* ---------- 19. Legal / prose --------------------------------------------- */

.prose { max-width: 80ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 2.2em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }

/* Kicker-Zeile direkt vor einer Überschrift: Abstand statt Überlagerung */
.prose .kicker {
  margin: 2.6em 0 0;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.prose .kicker:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose .kicker + h2 { margin-top: .35em; padding-top: 0; border-top: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.prose h3 { font-size: 1.12rem; margin-top: 1.9em; }
.prose p, .prose li { color: var(--fg-2); font-size: .98rem; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; margin: 0 0 1.2em; }
.prose a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }
.prose a:hover { border-bottom-color: currentColor; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .92rem; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; color: var(--fg-2); vertical-align: top; }
.prose th { background: var(--surface); color: var(--fg); font-weight: 620; }

.toc {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.toc h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.toc a { font-size: .89rem; color: var(--fg-2); display: block; padding-left: 12px; border-left: 2px solid var(--line); transition: .25s var(--ease); }
.toc a:hover { color: var(--accent); border-left-color: var(--accent); }

.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }

/* ---------- 20. Cookie banner --------------------------------------------- */

.cookie {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 200;
  transform: translate(-50%, 0);
  width: min(calc(100% - 32px), 720px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--bg-3) 92%, transparent);
  backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: var(--sh-3);
  animation: cookieIn .7s var(--ease) .8s both;
}
@keyframes cookieIn { from { opacity: 0; transform: translate(-50%, 24px); } }
.cookie.is-gone { display: none; }
.cookie-copy { flex: 1 1 300px; min-width: 0; }
.cookie-copy b { display: block; font-size: .95rem; margin-bottom: 4px; }
.cookie-copy p { font-size: .85rem; margin: 0; line-height: 1.5; }
.cookie-copy a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- 21. Reveal animations ----------------------------------------- */

/* Ohne JS bleibt nichts unsichtbar: erst .js-on aktiviert das Ausblenden. */
.js-on .rv { opacity: 0; transform: translateY(28px); }
.rv { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-on .rv.on { opacity: 1; transform: none; }
.js-on .rv-l { transform: translateX(-30px); }
.js-on .rv-r { transform: translateX(30px); }
.js-on .rv-s { transform: scale(.96); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js-on .rv { opacity: 1; transform: none; }
}

/* ---------- 22. Utilities ------------------------------------------------- */

.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: clamp(34px, 4vw, 54px); }
.mb-l { margin-bottom: clamp(34px, 4vw, 54px); }
.muted { color: var(--fg-3); }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 50%; top: -80px; transform: translateX(-50%);
  z-index: 300; padding: 12px 22px; border-radius: 0 0 12px 12px;
  background: var(--brand); color: #fff; font-weight: 600;
  transition: top .3s var(--ease);
}
.skip:focus { top: 0; }

/* ---------- 23. Responsive ------------------------------------------------ */

/* Zwischen Klapp-Menü und breitem Desktop wird es im Kopf eng:
   Telefonnummer dann nur als Symbol. */
@media (min-width: 901px) and (max-width: 1180px) {
  .header-call-label { display: none; }
  .header-call { width: 42px; padding: 0; }
  .nav a { padding: 9px 10px; font-size: .88rem; }
  .header-bar { gap: 12px; }
}

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps-line::before { display: none; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 84px; }
  .nav {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 18px var(--gutter) 26px;
    background: color-mix(in srgb, var(--bg) 99%, transparent);
    backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: var(--sh-2);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .45s var(--ease), opacity .35s var(--ease);
    max-height: calc(100svh - 68px);
    overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 14px; font-size: 1rem; border-radius: var(--r-sm); }
  .nav a::after { display: none; }
  .burger { display: flex; }
  .header-bar { min-height: 68px; gap: 10px; }
  .logo img { height: 32px; }

  .cols-3, .cols-4, .prices { grid-template-columns: 1fr; }
  .cols-2 { grid-template-columns: 1fr; }
  .split, .feature { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-child(even) .feature-media { order: 0; }
  .bento > * { grid-column: span 6 !important; }
  .hero-content, .hero-wide .hero-content, .hero h1 { max-width: none; }
  .field-row { grid-template-columns: 1fr; }
  .deflist div { grid-template-columns: 1fr; gap: 4px; }
  .cue { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .tag { white-space: normal; }
  .logo-panel { min-height: 190px; }
  .socials a { width: 44px; height: 44px; }
  .lang-switch {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg-2);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.lang-switch:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }

.theme-toggle { width: 44px; height: 44px; }
  .header-call { width: 44px; min-height: 44px; }
  .lang-switch { height: 44px; min-width: 44px; padding: 0 10px; }
  .burger { width: 44px; height: 44px; }
  .header-call-label { display: none; }
  .header-call { width: 42px; padding: 0; min-height: 42px; }
  .header-call svg { width: 18px; height: 18px; }
  .header-tools { gap: 8px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie { bottom: 12px; padding: 18px; }
  .cookie-actions .btn { flex: 1 1 auto; }
  .btns .btn { flex: 1 1 100%; }
}

@media print {
  .site-header, .site-footer, .cookie, .hero-canvas, .cue, .theme-toggle, .burger { display: none !important; }
  body { background: #fff; color: #000; }
  body::before, body::after { display: none; }
}
