/* ===================================================================
   THX-Commercial · Editorial v3 — light, mature, professional
   ===================================================================
   Direction: warmes Papier, gedecktes Petrol als einziger Akzent,
   ruhige Typografie. Keine Schriftspielereien, kein Acid-Lime,
   keine theatralischen Animationen.
   =================================================================== */

:root {
  /* Surface — deep petrol system, drawn from the THX logo */
  --bg-0:        #07191f;   /* page · logo petrol */
  --bg-1:        #0c2630;   /* card · raised */
  --bg-2:        #143540;   /* sunk · subtle inset */
  --bg-3:        #04121a;   /* deepest · code/terminal */
  --ink:         #e9f3f4;   /* cool off-white text */
  --ink-2:       rgba(233, 243, 244, 0.74);
  --ink-soft:    rgba(233, 243, 244, 0.52);
  --ink-mute:    rgba(233, 243, 244, 0.32);
  --rule:        rgba(233, 243, 244, 0.10);
  --rule-strong: rgba(233, 243, 244, 0.20);

  /* Accents — logo gradient: green → blue.
     Akzentblau bewusst etwas gedeckter als das reine Logo-Blau (#2fb4e8),
     weil die volle Sättigung als Füllfläche auf dem dunklen Petrol blendet. */
  --accent:      #2b8cb4;   /* gedecktes Logo-Blau (statt #2fb4e8) */
  --accent-2:    #2aa863;   /* gedecktes Logo-Grün */
  --accent-soft: rgba(43, 140, 180, 0.12);
  --grad: linear-gradient(118deg, var(--accent-2) 0%, var(--accent) 100%);
  --ochre:       #d8c08a;
  --burgundy:    #d49a9a;
  --sage:        #a8cbb4;

  /* Light contrast-block inversion */
  --dark-bg:     #e9f3f4;
  --dark-ink:    #0c2630;
  --dark-ink-2:  rgba(12, 38, 48, 0.72);
  --dark-rule:   rgba(12, 38, 48, 0.14);

  /* Type */
  --display: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Space Grotesk", "Inter", -apple-system, sans-serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Geometry */
  --radius: 14px;
  --radius-sm: 4px;
  --gutter: clamp(20px, 4vw, 56px);
  --container: 1380px;

  /* Motion */
  --ease-out:    cubic-bezier(.2, .7, .3, 1);
  --ease-in-out: cubic-bezier(.65, .05, .36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable both-edges; scrollbar-color: #2a3a42 var(--bg-0); }

/* Dark scrollbar — blends with the theme instead of breaking the frame */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb {
  background: #2a3a42;
  border-radius: 6px;
  border: 3px solid var(--bg-0);
}
::-webkit-scrollbar-thumb:hover { background: #3a4d57; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  min-height: 100vh;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

/* Subtle paper-fibre noise overlay (very low intensity) */
body::before {
  content: "";
  position: fixed;
  inset: -100px;
  pointer-events: none;
  z-index: 100;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
  opacity: 0.5;
}

/* Ambient depth: logo-green/blue glows + fine grid lines */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(60vw 60vw at 80% -10%, rgba(46, 196, 111, 0.09), transparent 60%),
    radial-gradient(55vw 55vw at 4% 18%, rgba(47, 180, 232, 0.08), transparent 58%),
    radial-gradient(120vw 80vh at 50% 120%, rgba(47, 180, 232, 0.05), transparent 70%),
    linear-gradient(90deg, rgba(233, 243, 244, 0.025) 1px, transparent 1px);
  background-size: auto, auto, auto, 130px 100%;
  background-position: 0 0, 0 0, 0 0, center top;
}
.app { position: relative; z-index: 1; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--ink);
  text-wrap: balance;
}

.display-1 {
  font-family: var(--display);
  font-size: clamp(2.8rem, 0.4rem + 8.4vw, 8.4rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.035em;
}
.display-2 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 0.6rem + 5vw, 5.6rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.03em;
}
.display-3 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 0.6rem + 3vw, 3.6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.025em;
}
h1 { font-family: var(--display); font-size: clamp(2.4rem, 0.6rem + 5vw, 5.6rem); line-height: 0.94; letter-spacing: -0.03em; font-weight: 700; }
h2 { font-family: var(--display); font-size: clamp(1.8rem, 0.6rem + 3vw, 3.6rem); line-height: 1.0; letter-spacing: -0.025em; font-weight: 700; }
h3 { font-family: var(--sans); font-size: clamp(1.1rem, 0.6rem + 0.6vw, 1.4rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
h4 { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

/* Gradient accent word inside grotesque headings — clean tech, no italic */
.italic, .it { font-style: normal; }
.display-1 .it, .display-2 .it, .display-3 .it,
h1 .it, h2 .it, h3 .it, .hero-title .it {
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not (-webkit-background-clip: text) {
  .display-1 .it, .display-2 .it, .display-3 .it,
  h1 .it, h2 .it, h3 .it, .hero-title .it { color: var(--accent); background: none; }
}
.serif { font-family: var(--serif); }
.sans  { font-family: var(--sans); }
.mono  { font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

p {
  margin: 0 0 1em;
  max-width: 62ch;
  text-wrap: pretty;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
}
.lead {
  font-size: clamp(1.05rem, 0.8rem + 0.5vw, 1.2rem);
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.55;
}
.lead strong { color: var(--ink); font-weight: 500; }

a { color: inherit; text-decoration: none; }
a.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s, color 0.2s;
}
a.text-link:hover { text-decoration-color: var(--accent); color: var(--accent); }

/* ===== Layout ===== */
.app {
  position: relative;
  z-index: 1;
  width: 100%;
}
.shell {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.section {
  padding: clamp(64px, 9vw, 140px) 0;
  position: relative;
}
.section-tight { padding: clamp(48px, 6vw, 90px) 0; }
.divider {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* ===== Top nav ===== */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  background: rgba(11, 10, 9, 0.66);
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
}
.topnav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.topnav .brand-logo {
  width: 42px; height: 42px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 0 1px var(--rule), 0 0 22px rgba(47, 180, 232, 0.25);
}
.topnav .brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}
.topnav .brand-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.topnav .brand-tagline {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.topnav nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.topnav nav a {
  font-family: var(--sans);
  /* größer + skaliert leicht mit dem Viewport, damit es auf großen/hochauflösenden
     Bildschirmen nicht winzig wirkt (vorher fix 0.86rem → unleserlich auf 1440p/4K) */
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.08rem);
  color: var(--ink-2);
  padding: 9px 15px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  font-weight: 400;
}
.topnav nav a:hover { color: var(--ink); background: var(--bg-2); }
.topnav nav a.active { color: var(--accent); font-weight: 500; }
.topnav nav a.cta-link {
  background: var(--accent);
  color: var(--bg-1);
  font-weight: 500;
  margin-left: 12px;
  padding: 10px 18px;
}
.topnav nav a.cta-link:hover { background: var(--ink); color: var(--bg-1); }

/* Hamburger-Button — nur auf Mobil sichtbar (Desktop unveraendert: display:none) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.topnav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topnav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.topnav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  /* Mobile: Header bleibt EINE Zeile (Logo links, Hamburger rechts).
     Die Navigation klappt als Panel unter dem Header auf. */
  .topnav { flex-wrap: nowrap; }
  .nav-toggle { display: flex; }
  .topnav nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px var(--gutter) 16px;
    background: rgba(11, 10, 9, 0.97);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    display: none;            /* geschlossen */
  }
  .topnav.nav-open nav { display: flex; }   /* geöffnet */
  .topnav nav a { padding: 14px 14px; font-size: 1rem; border-radius: 8px; }
  .topnav nav a.cta-link { margin-left: 0; margin-top: 6px; text-align: center; }
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: 90;
  background: transparent;
}
.scroll-progress .bar {
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width 0.05s linear;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), background 0.2s, color 0.2s, border-color 0.2s;
  letter-spacing: -0.005em;
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary {
  background: var(--grad);
  color: #07191f;
  font-weight: 600;
}
.btn-primary:hover { filter: brightness(1.12); color: #07191f; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink-soft); color: var(--ink); }
.btn-dark {
  background: var(--ink);
  color: var(--bg-1);
}
.btn-dark:hover { background: var(--accent); color: var(--bg-1); transform: translateY(-1px); }
.btn-lg {
  padding: 18px 28px;
  font-size: 0.98rem;
}

/* ===== HERO ===== */
.hero {
  padding: 160px var(--gutter) 80px;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 56px;
}
.hero-status .pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--bg-1);
  border: 1px solid var(--rule);
  border-radius: 999px;
}
.hero-status .pill .live {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-soft);
  animation: live-pulse 2.4s infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(31,77,82,0.4); }
  70%  { box-shadow: 0 0 0 10px rgba(31,77,82,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,77,82,0); }
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 0.4rem + 8.4vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  max-width: 16ch;
}
.hero-title .sub {
  color: var(--ink-soft);
}

.hero-meta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: end;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.hero-meta .lead { max-width: 52ch; }
.hero-meta-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-self: end;
  justify-content: flex-end;
}

@media (max-width: 880px) {
  .hero { padding-top: 120px; }
  .hero-meta { grid-template-columns: 1fr; gap: 32px; }
  .hero-meta-cta { justify-content: flex-start; }
}

/* ===== Marquee (zurückhaltend) ===== */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  padding: 26px 0;
  background: var(--bg-1);
}
.marquee-inner {
  display: flex;
  gap: 64px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 0.6rem + 1.8vw, 2.4rem);
  white-space: nowrap;
  animation: marquee-scroll 60s linear infinite;
  color: var(--ink);
  font-weight: 400;
}
.marquee:hover .marquee-inner { animation-play-state: paused; }
.marquee-inner span { display: inline-flex; align-items: center; gap: 64px; flex-shrink: 0; }
.marquee-inner .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Section header ===== */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 60px;
}
.section-head .left { display: flex; flex-direction: column; gap: 20px; }
.section-head .right { display: flex; flex-direction: column; gap: 12px; align-items: end; text-align: right; }
.section-head .count {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}
.section-head h2 { max-width: 20ch; }
.section-head .right p { max-width: 40ch; }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .right { align-items: start; text-align: left; }
}

/* ===== Service cards (Index) ===== */
.svc-stack {
  display: grid;
  gap: 22px;
}
.svc-card {
  display: grid;
  grid-template-columns: 100px 1.1fr 1.2fr;
  gap: 36px;
  padding: 40px;
  background: var(--bg-1);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.30), 0 14px 32px rgba(0,0,0,0.45);
  transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.svc-card:hover {
  border-color: transparent;
  background-image: linear-gradient(var(--bg-1), var(--bg-1)), var(--grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.45), 0 24px 48px rgba(0,0,0,0.55);
}

.svc-card .index {
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 18px;
  border-right: 1px solid var(--rule);
  align-self: stretch;
}
.svc-card .index strong {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.svc-card .body { display: flex; flex-direction: column; gap: 18px; }
.svc-card .body h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 0.6rem + 1.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.svc-card .body h3 em { font-family: var(--display); font-style: normal; font-weight: 700; line-height: 1.05; color: var(--accent); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.svc-card .body p { color: var(--ink-2); font-size: 1rem; max-width: 44ch; }
.svc-card .body .pricing {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-soft);
  margin-top: 4px;
  letter-spacing: 0.04em;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
}
.svc-card .body .pricing strong { color: var(--ink); font-weight: 500; }
.svc-card .stage {
  position: relative;
  background: var(--bg-2);
  border-radius: 8px;
  min-height: 240px;
  overflow: hidden;
}
.svc-card .stage > * {
  transition: transform 0.6s var(--ease-out);
}
.svc-card:hover .stage > .mini-browser,
.svc-card:hover .stage > .mini-phone { transform: scale(1.04); }
.svc-card:hover .stage.stage-pc { background: #0a0e11; }
.svc-card .pull {
  position: absolute;
  bottom: 32px;
  right: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.svc-card:hover .pull { color: var(--accent); }
.svc-card .pull .arrow { transition: transform 0.3s var(--ease-out); }
.svc-card:hover .pull .arrow { transform: translateX(6px); }

@media (max-width: 980px) {
  .svc-card { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .svc-card .index { flex-direction: row; align-items: baseline; border-right: 0; padding-right: 0; gap: 14px; padding-bottom: 4px; border-bottom: 1px solid var(--rule); }
  .svc-card .stage { min-height: 220px; }
  .svc-card .pull { position: static; align-self: end; }
}

/* === Per-service stages on index === */
.stage-web {
  background: var(--bg-2);
  display: grid;
  place-items: center;
  padding: 28px;
}
.stage-web .mini-browser {
  width: 100%;
  max-width: 320px;
  background: #faf7ee;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0,0,0,0.08);
}
.stage-web .mb-bar {
  background: var(--bg-2);
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}
.stage-web .mb-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(244,240,230,0.28); }
.stage-web .mb-bar .u {
  margin-left: 8px;
  flex: 1;
  background: rgba(0,0,0,0.04);
  height: 18px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--ink-soft);
  padding: 2px 8px;
  letter-spacing: 0.02em;
}
.stage-web .mb-body {
  padding: 22px 18px;
  display: grid;
  gap: 10px;
  background: #faf7ee;
  color: #16140f;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1;
}
.stage-web .mb-body .h {
  font-size: 24px;
  letter-spacing: -0.025em;
  color: #16140f;
  line-height: 1.0;
}
.stage-web .mb-body .h em { font-style: italic; color: var(--accent); }
.stage-web .mb-body .l {
  height: 5px;
  background: rgba(28,30,34,0.14);
  border-radius: 1px;
}
.stage-web .mb-body .l.s { width: 72%; }
.stage-web .mb-body .l.m { width: 88%; }
.stage-web .cursor {
  position: absolute;
  width: 14px; height: 18px;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
  animation: web-cursor 7s ease-in-out infinite;
  color: var(--accent);
}
@keyframes web-cursor {
  0%   { left: 40%; top: 78%; }
  25%  { left: 60%; top: 35%; }
  50%  { left: 30%; top: 55%; }
  75%  { left: 70%; top: 75%; }
  100% { left: 40%; top: 78%; }
}

.stage-pc {
  background: var(--bg-3);
  color: #c2e9ce;
  font-family: var(--mono);
  font-size: 11px;
  padding: 18px 20px;
  line-height: 1.75;
  position: relative;
}
.stage-pc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 4px);
  pointer-events: none;
}
.stage-pc .ln { white-space: nowrap; overflow: hidden; text-overflow: clip; }
.stage-pc .dim { color: rgba(255,255,255,0.32); }
.stage-pc .warn { color: #f0b048; }
.stage-pc .ok { color: #8fd9a0; }
.stage-pc .err { color: #e6736a; }
.stage-pc .cyan { color: #6fc9d4; }
.stage-pc .cur::after {
  content: "▌";
  display: inline-block;
  animation: blink 1s steps(1) infinite;
  margin-left: 2px;
  color: #8fd9a0;
}
@keyframes blink { 50% { opacity: 0; } }

.stage-social {
  background: var(--bg-2);
  padding: 20px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.stage-social .mini-phone {
  width: 132px;
  height: 210px;
  background: var(--ink);
  border-radius: 18px;
  padding: 5px;
  box-shadow: 0 16px 30px rgba(28,30,34,0.18);
  position: relative;
  z-index: 1;
}
.stage-social .mini-phone .scr {
  background: var(--bg-1);
  height: 100%;
  border-radius: 13px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 22px 1fr;
}
.stage-social .mini-phone .top-row {
  background: var(--bg-2);
  display: flex;
  align-items: center;
  padding: 4px 8px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--ink-soft);
  gap: 4px;
  border-bottom: 1px solid var(--rule);
}
.stage-social .mini-phone .top-row .av { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.stage-social .mini-phone .feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 3px;
}
.stage-social .mini-phone .feed div {
  aspect-ratio: 1;
  border-radius: 1px;
}
.stage-social .mini-phone .feed div:nth-child(1) { background: var(--accent); }
.stage-social .mini-phone .feed div:nth-child(2) { background: var(--ochre); }
.stage-social .mini-phone .feed div:nth-child(3) { background: var(--bg-2); }
.stage-social .mini-phone .feed div:nth-child(4) { background: var(--burgundy); }
.stage-social .mini-phone .feed div:nth-child(5) { background: repeating-linear-gradient(45deg, var(--ink) 0 4px, var(--bg-1) 4px 8px); }
.stage-social .mini-phone .feed div:nth-child(6) { background: var(--accent-2); }
.stage-social .mini-phone .feed div:nth-child(7) { background: var(--ink); }
.stage-social .mini-phone .feed div:nth-child(8) { background: var(--bg-2); border: 1px solid var(--rule); }
.stage-social .mini-phone .feed div:nth-child(9) { background: var(--ochre); }

/* ===== Process / Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.30), 0 14px 32px rgba(0,0,0,0.45);
}
.steps .step {
  background: var(--bg-1);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 220px;
  transition: background 0.3s;
}
.steps .step:hover { background: var(--bg-2); }
.steps .step .n {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.steps .step h3 {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.steps .step p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ===== Quote / Trust ===== */
.pull-quote {
  padding: clamp(40px, 7vw, 96px) clamp(28px, 6vw, 72px);
  background: var(--bg-1);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.30), 0 14px 32px rgba(0,0,0,0.45);
}
.pull-quote::before {
  content: "“";
  position: absolute;
  top: -20px; left: 28px;
  font-family: var(--serif);
  font-size: 12rem;
  color: var(--accent-soft);
  line-height: 1;
  pointer-events: none;
}
.pull-quote .q {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 0.6rem + 1.6vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  display: block;
  max-width: 24ch;
  letter-spacing: -0.015em;
}
.pull-quote .q em { font-style: italic; color: var(--accent); }
.pull-quote .src {
  display: block;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

/* ===== Contact strip ===== */
.contact-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding: clamp(48px, 7vw, 80px) 0;
  border-top: 1px solid var(--rule);
}
.contact-strip h2 {
  font-size: clamp(2.2rem, 0.6rem + 5vw, 4.8rem);
}
.contact-strip .lines {
  display: grid;
  gap: 14px;
  align-content: end;
}
.contact-strip .line {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.contact-strip .line .lbl {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-strip .line a, .contact-strip .line span {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
}
.contact-strip .line a:hover { color: var(--accent); }
@media (max-width: 760px) {
  .contact-strip { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--rule);
  padding: 56px 0 28px;
  font-family: var(--sans);
  color: var(--ink-soft);
  background: var(--bg-1);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-top h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.footer-top ul { list-style: none; padding: 0; margin: 0; }
.footer-top li { padding: 4px 0; }
.footer-top a { color: var(--ink-2); font-size: 0.92rem; }
.footer-top a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.footer .brand-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer .brand-block .brand-logo {
  width: 110px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45), 0 0 0 1px var(--rule);
}
.footer .brand-block .name {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
}
.footer .brand-block .tagline {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: -4px;
}
.footer .brand-block p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: 32ch;
  margin: 0;
}
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ===== Service page hero ===== */
.svc-page-hero {
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
}
.svc-page-hero .meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.svc-page-hero .meta .sep { color: var(--ink-mute); }
.svc-page-hero h1 { max-width: 18ch; line-height: 1.1; padding-bottom: 8px; }
.svc-page-hero .lead { margin-top: 36px; max-width: 56ch; }
.svc-page-hero .cta-row {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Pricing cards ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--bg-1);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.30), 0 14px 32px rgba(0,0,0,0.45);
  transition: border-color 0.3s, transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--rule-strong);
  box-shadow: 0 2px 4px rgba(0,0,0,0.45), 0 22px 44px rgba(0,0,0,0.55);
}
.price-card.featured {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.40), 0 22px 48px rgba(31,77,82,0.20);
}
.price-card.featured:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.55), 0 30px 60px rgba(31,77,82,0.28);
}
.price-card.featured h3,
.price-card.featured .price { color: var(--bg-1); }
.price-card.featured .tag { color: rgba(244, 241, 232, 0.7); }
.price-card.featured li { color: rgba(244, 241, 232, 0.86); }
.price-card.featured li::before { color: var(--bg-1); opacity: 0.8; }
.price-card.featured::before {
  content: "Empfohlen";
  position: absolute;
  top: -10px; left: 24px;
  background: var(--bg-1);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 3px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0,0,0,0.40);
}
.price-card .tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.price-card h3 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 0.6rem + 1.2vw, 2rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.price-card .price {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-card .price small {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 400;
  font-family: var(--mono);
  margin-left: 4px;
  letter-spacing: 0.04em;
}
.price-card.featured .price small { color: var(--ink-mute); }
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 10px;
  flex: 1;
}
.price-card li {
  font-size: 0.92rem;
  color: var(--ink-2);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.price-card li::before {
  content: "—";
  color: var(--accent);
  position: absolute;
  left: 0;
}
.price-card .order {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  align-self: flex-start;
  text-decoration: none;
}
.price-card .order:hover { background: var(--ink); color: var(--bg-1); border-color: var(--ink); }
.price-card.featured .order {
  background: var(--bg-1);
  color: var(--accent);
  border-color: var(--bg-1);
}
.price-card.featured .order:hover { background: var(--ink); color: var(--bg-1); border-color: var(--ink); }

/* ===== FAQ ===== */
.faq {
  background: var(--bg-1);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.30), 0 14px 32px rgba(0,0,0,0.45);
}
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.05rem, 0.4rem + 0.7vw, 1.3rem);
  color: var(--ink);
  transition: background 0.2s;
  letter-spacing: -0.02em;
  gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s var(--ease-out);
  line-height: 1;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: var(--bg-2); }
.faq .answer {
  padding: 0 32px 26px;
  color: var(--ink-2);
  max-width: 70ch;
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ===== Forms ===== */
.form { display: grid; gap: 20px; }
.form .field { display: grid; gap: 8px; }
.form label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.form input, .form textarea, .form select {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 13px 16px;
  background: var(--bg-1);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: var(--accent);
  background: var(--bg-1);
  outline: 2px solid var(--accent);   /* WCAG 2.4.7/2.4.11: sichtbarer Fokus */
  outline-offset: 2px;
}
.form textarea { min-height: 140px; resize: vertical; }
.form .field.invalid input, .form .field.invalid textarea { border-color: var(--burgundy); }
.form .error-msg { font-family: var(--mono); font-size: 0.7rem; color: var(--burgundy); min-height: 14px; }
.form .checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-2);
}
.form .checkbox-row input { width: auto; margin-top: 4px; }
.form .checkbox-row a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.form .submit-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.form-success {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  color: var(--accent);
  padding: 16px 20px;
  font-family: var(--mono);
  font-size: 0.86rem;
  border-radius: var(--radius-sm);
}

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(20px); }
/* Settle fail-safe: after grace period, everything snaps to final state */
body.settled .reveal.is-visible,
body.settled .reveal { opacity: 1; transform: none; transition: none; }
body.settled .ln-mask > span { transform: none !important; transition: none !important; }
body.settled .stagger > * { opacity: 1 !important; transform: none !important; }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

/* Staggered children — set --i on each child */
.stagger > * { opacity: 0; transform: translateY(22px); }
.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* Line-mask reveal — wrap text lines in .ln-mask > span.
   Visible by DEFAULT (fail-safe). JS adds .lines-armed only when motion is
   allowed (start hidden), then .lines-in to play the masked entrance. */
.ln-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.ln-mask > span {
  display: block;
  transform: translateY(0);
}
.lines-armed .ln-mask > span {
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.lines-armed.lines-in .ln-mask > span { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible,
  .stagger > *, .stagger.is-visible > * { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .ln-mask > span { transform: none !important; transition: none !important; }
}

/* ===== Intro curtain ===== */
.intro-curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-3);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  pointer-events: none;
}
.intro-curtain .intro-logo {
  width: clamp(110px, 16vw, 170px);
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 60px rgba(47, 180, 232, 0.25);
  animation: intro-logo-in 0.9s var(--ease-out) both;
}
@keyframes intro-logo-in {
  from { opacity: 0; transform: translateY(16px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.intro-curtain .intro-word {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 1rem + 4vw, 4rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  overflow: hidden;
  display: flex;
  gap: 0.04em;
}
.intro-curtain .intro-word span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}
.intro-curtain .intro-word .accent { color: var(--accent-2); }
.intro-curtain.intro-play .intro-word span {
  animation: intro-letter 0.6s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 45ms);
}
@keyframes intro-letter {
  to { transform: translateY(0); opacity: 1; }
}
.intro-curtain.intro-play {
  animation: intro-lift 0.7s var(--ease-in-out) forwards;
  animation-delay: 0.7s;
}
@keyframes intro-lift {
  to { transform: translateY(-100%); }
}
body.intro-active { overflow: hidden; }

/* ===== Hero aurora (soft drifting accent glow) ===== */
.hero { isolation: isolate; }
.hero-aurora {
  position: absolute;
  inset: -10% -5% auto -5%;
  height: 120%;
  z-index: -1;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.5;
}
.hero-aurora span {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform;
}
.hero-aurora .a1 {
  width: 46vw; height: 46vw;
  left: 48%; top: -10%;
  background: radial-gradient(circle, rgba(47,180,232,0.16) 0%, transparent 68%);
  animation: drift1 22s ease-in-out infinite alternate;
}
.hero-aurora .a2 {
  width: 36vw; height: 36vw;
  left: -6%; top: 18%;
  background: radial-gradient(circle, rgba(46,196,111,0.13) 0%, transparent 68%);
  animation: drift2 28s ease-in-out infinite alternate;
}
.hero-aurora .a3 {
  width: 30vw; height: 30vw;
  left: 60%; top: 40%;
  background: radial-gradient(circle, rgba(47,180,232,0.10) 0%, transparent 68%);
  animation: drift3 25s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(-12%, 14%) scale(1.15); } }
@keyframes drift2 { to { transform: translate(16%, -10%) scale(1.1); } }
@keyframes drift3 { to { transform: translate(-14%, -12%) scale(1.2); } }
@media (prefers-reduced-motion: reduce) {
  .hero-aurora span { animation: none !important; }
}

/* Magnetic wrappers keep transforms smooth */
[data-magnetic] { will-change: transform; }
[data-magnetic] .btn { will-change: transform; }

/* ===== Cursor (decent, not gimmicky) ===== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  transition: width 0.2s, height 0.2s, background 0.2s;
}
.cursor-ring {
  width: 28px; height: 28px;
  border: 1px solid rgba(244,240,230,0.4);
  border-radius: 50%;
  transition: transform 0.18s var(--ease-out), width 0.2s, height 0.2s, border-color 0.2s;
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* Tweaks panel hidden until active */
.tweaks-hidden { display: none !important; }

/* ===== 3D tilt + glare ===== */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}
.tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: 0.9;
  z-index: 2;
}
/* Lift inner mock-ups onto their own 3D plane for depth */
.svc-card .stage[data-tilt] .mini-browser,
.svc-card .stage[data-tilt] .mini-phone { transform: translateZ(34px); }
.svc-card .stage[data-tilt] { overflow: visible; }

/* Accent glow utility for dark surfaces */
.glow-accent { box-shadow: 0 0 0 1px var(--accent-soft), 0 24px 60px rgba(166, 184, 232, 0.20); }

/* Brand logo gets a soft halo on dark */
.topnav .brand-logo, .footer .brand-block .brand-logo {
  box-shadow: 0 0 0 1px var(--rule), 0 0 24px rgba(47, 180, 232, 0.30);
}

/* Giant outlined section numbers — editorial depth marker */
.section-head { position: relative; }
.section-head[data-num]::before {
  content: attr(data-num);
  position: absolute;
  top: -0.42em;
  right: -0.02em;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(233, 243, 244, 0.09);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* Hero aurora blobs — slow drifting logo-gradient lights */
.hero { overflow: visible; }
.hero-blob {
  position: absolute;
  width: clamp(280px, 36vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.32;
  pointer-events: none;
  z-index: -1;
}
.hero-blob.b1 {
  background: radial-gradient(circle, #2ec46f, transparent 65%);
  top: -120px; right: 4%;
  animation: blob-drift 16s ease-in-out infinite alternate;
}
.hero-blob.b2 {
  background: radial-gradient(circle, #2fb4e8, transparent 65%);
  top: 34%; left: -140px;
  animation: blob-drift 21s ease-in-out infinite alternate-reverse;
}
@keyframes blob-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(70px, 50px) scale(1.18); }
}
@media (prefers-reduced-motion: reduce) { .hero-blob { animation: none !important; } }

/* Pill + eyebrow lines glow subtly */
.hero-status .pill { box-shadow: inset 0 0 0 1px var(--rule); }

/* ===== Utility ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.flex-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.text-soft { color: var(--ink-soft); }
.text-accent { color: var(--accent); }
.text-ink2 { color: var(--ink-2); }
.spacer-32 { height: 32px; }
.spacer-64 { height: 64px; }

/* Legacy reset (no-op for retired classes) */
.sheet, .sheet-num, .tape { all: unset; display: block; }

/* ── Honeypot (Spam-Schutz): visuell + für Screenreader versteckt ── */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ── Formular-Fehlermeldung ── */
.form-error {
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid #c0392b;
  border-radius: var(--radius-sm, 8px);
  color: #c0392b;
  font-size: 0.92rem;
}
.consent-error { color: #c0392b; font-size: 0.85rem; }

/* ── Skip-Link (Tastatur-Navigation) ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--ink, #1c1e22);
  color: var(--bg-1, #fff);
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── Globaler sichtbarer Tastatur-Fokus (WCAG 2.4.7 / 2.4.11 AA) ──
   Nur für Tastatur (:focus-visible), nicht bei Maus-Klick. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible,
.btn:focus-visible,
[data-tab]:focus-visible,
[data-tool]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Reduced-Motion: auch das Marquee anhalten (P3 Frontend/Design) */
@media (prefers-reduced-motion: reduce) {
  .marquee-inner { animation: none !important; }
}

/* KPI-Kachel-Raster (Startseite) responsiv — vorher 4 Spalten fix → Mobile-Bruch */
.kpi-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .kpi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .kpi-grid { grid-template-columns: 1fr; } }

/* ── Dezenter WhatsApp-CTA (Floating, site-weit via site.js) ──
   Zurückhaltend im Site-Stil: Surface + feine Linie, Akzent erst bei Hover. */
.wa-fab {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(var(--bg-1-rgb, 28 30 34) / 0.92);
  background: color-mix(in srgb, var(--bg-1) 92%, transparent);
  border: 1px solid var(--rule-strong, rgba(255,255,255,0.16));
  color: var(--ink, #e9f3f4);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.30), 0 12px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0.92;
  transition: opacity 0.2s, transform 0.2s, border-color 0.2s, color 0.2s;
}
.wa-fab svg { color: #25D366; flex: none; }   /* nur das Icon trägt WhatsApp-Grün */
.wa-fab:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}
.wa-fab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 520px) {
  /* mobil nur Icon, spart Platz und bleibt dezent */
  .wa-fab span { display: none; }
  .wa-fab { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .wa-fab { transition: none; } }

/* ===== Rechtsseiten v2: zusätzliche Strukturebenen ===== */
.legal-page h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
  margin: 44px 0 14px;
  letter-spacing: -0.02em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.legal-page h2:first-child { margin-top: 0; }
.legal-page h4 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 22px 0 8px;
}
.legal-page article ol { margin: 8px 0 8px 1.2em; padding-left: 0.6em; }
.legal-page article ul { margin: 8px 0 8px 1.2em; }
.legal-page hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 36px 0; }
.legal-page article > p:first-child { margin-top: 0; }

/* ===== Consent-Banner ===== */
/*
 * Barrierearm: Kontrast mind. 4,5:1 (WCAG AA), Tastatur-fokussierbar,
 * role="dialog" in consent.js gesetzt. Keine Inline-Styles — alles hier.
 */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-0, #fff);
  border-top: 1px solid var(--rule, #e0e0e0);
  box-shadow: 0 -4px 24px rgba(28, 30, 34, 0.10);
  padding: clamp(16px, 2.5vw, 24px) clamp(16px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--ink-2, #4a4a4a);
  line-height: 1.55;
}

.consent-banner__text {
  flex: 1 1 260px;
  margin: 0;
}

.consent-banner__link {
  color: var(--accent, #1a5cff);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

/* Fokus-Ring für Tastatur-Navigation — nie per outline: none entfernen */
.consent-banner button:focus-visible {
  outline: 3px solid var(--accent, #1a5cff);
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .consent-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .consent-banner__actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner {
    transition: none;
  }
}
