/* Scharf Digital - ein Stylesheet, kein Build. */

/* Schriften vom eigenen Server */
@font-face { font-family: 'Space Grotesk'; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/space-grotesk.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/ibm-plex-sans.woff2) format('woff2'); }

:root {
  
  --bg:              #0A0F1E;
  --bg-alt:          #0E1528;
  --surface:         #16203C;
  --surface-raised:  #1F2C52;
  --footer:          #080C18;

  
  --accent:          #F6A72B;
  --accent-hover:    #FFC163;
  --accent-dim:      rgba(246,167,43,.12);
  --accent-border:   rgba(246,167,43,.30);

  
  --text:            #E8ECF5;
  --text-2:          #B4BFD6;
  --text-3:          #AAB5CD;
  --muted:           #919DB9;

  
  /* Glas: warme Kante oben (Sonne steht links oben), dunkle unten */
  --rim:   inset 0 1px 0 rgba(255,232,190,.20), inset 0 -1px 0 rgba(0,0,0,.30);
  --glas:  linear-gradient(158deg, rgba(255,255,255,.075), rgba(255,255,255,0) 62%);
  --schatten: 0 1px 2px rgba(0,0,0,.30), 0 10px 22px -14px rgba(0,0,0,.70);

  --line:            rgba(255,255,255,.07);
  --line-strong:     rgba(255,255,255,.12);

  
  --r-sm: 6px; --r-md: 8px; --r-lg: 12px;

  
  --pad-x: 80px;
  --pad-x-mobile: 20px;

  --wrap: 1280px;
  --sec-y: 110px;

  /* Nur diese drei Kurven, nie linear, nie ease */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);    
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); 
  --ease-snappy: cubic-bezier(0.4, 0, 0.2, 1);      

  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, figure, dl { margin: 0; }
/* Unterlaengen */
h1, h2, h3 { padding-bottom: .12em; }
ul, ol { padding: 0; list-style: none; }
p, li, dd, dt, address { text-wrap: pretty; overflow-wrap: break-word; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
[id] { scroll-margin-top: 92px; }

a { color: var(--accent); text-decoration: none; }

img, svg { display: block; max-width: 100%; }
svg { flex-shrink: 0; }

.ic { fill: none; stroke: currentColor; color: var(--accent); stroke-linecap: round; stroke-linejoin: round; }
.ic--i    { color: inherit; }
.ic--m    { color: var(--muted); }
.ic--m2   { color: var(--muted); }

strong { font-weight: 600; color: var(--text); }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--pad-x-mobile);
  z-index: 100;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  padding: 14px 20px;
  border-radius: var(--r-md);
}
.skip-link:focus { top: 12px; color: var(--bg); }

.h1-home { font-size: 78px; line-height: 1.12; font-weight: 700; letter-spacing: -.025em; color: #FFF; }
.h1-sub  { font-size: 58px; line-height: 1.12; font-weight: 700; letter-spacing: -.025em; color: #FFF; }
.h2      { font-size: 44px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em;  color: #FFF; }
.h2-sm   { font-size: 38px; line-height: 1.14; font-weight: 700; letter-spacing: -.02em;  color: #FFF; }
.h3      { font-size: 22px; line-height: 1.3;  font-weight: 600; letter-spacing: -.01em;  color: #FFF; }
.h3-lg   { font-size: 26px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em;  color: #FFF; }

/* Lichtstreifen ueber der Hauptueberschrift.
   Der Streifen ist eine zweite, deckungsgleiche Textebene aus ::after. Sie holt
   sich den Text aus data-glanz, steht also nicht im Quelltext und wird weder
   vorgelesen noch von Suchmaschinen doppelt gezaehlt. Sichtbar wird der Verlauf
   nur dort, wo Buchstaben sind (background-clip: text).
   Zeilenumbrueche kommen als echtes Zeilenvorschubzeichen im Attribut, deshalb
   white-space: pre-line. */
.glanz-titel { position: relative; display: inline-block; }
.glanz-titel::after {
  content: attr(data-glanz);
  position: absolute; left: 0; top: 0;
  white-space: pre-line; pointer-events: none;
  background-image: linear-gradient(100deg,
      transparent 40%, #F6A72B 47%, #FFE0A8 50%, #F6A72B 53%, transparent 60%);
  background-size: 260% 100%; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: glanz 5s ease-in-out infinite alternate;
}
@keyframes glanz { from { background-position: 100% 0; } to { background-position: 0% 0; } }

/* Markenclaim unter dem Fliesstext im Kopfbereich — groesser als der Text,
   aber keine Ueberschrift, damit die H-Struktur sauber bleibt. */
.claim {
  align-self: flex-start;
  font-size: 28px; line-height: 1.3; font-weight: 600;
  letter-spacing: -.01em; color: #FFF;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}

.lead    { font-size: 20px; line-height: 1.6; color: var(--text-2); }
.lead-sm { font-size: 19px; line-height: 1.6; color: var(--text-2); }
.body-lg { font-size: 18px; line-height: 1.65; color: var(--text-2); }
.body    { font-size: 16px; line-height: 1.65; color: var(--text-3); }
.small   { font-size: 15px; line-height: 1.6; color: var(--muted); }
.tiny    { font-size: 13px; line-height: 1.55; color: var(--muted); }

.eyebrow {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.measure    { max-width: 720px; }
.measure-sm { max-width: 640px; }

.sec {
  position: relative;
  padding: var(--sec-y) var(--pad-x) calc(var(--sec-y) + 50px);
  overflow: hidden;
}
/* Verlauf plus krumme Kante */
.sec--alt { background: var(--bg-alt); }
.sec--tight { --sec-y: 90px; }
.sec--flush-top { padding-top: 20px; }

.wrap {
  position: relative;
  z-index: 5;
  max-width: var(--wrap);
  margin-inline: auto;
}

.stack    { display: flex; flex-direction: column; gap: 22px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 52px; }
.row      { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.row-top  { display: flex; align-items: flex-start; gap: 12px; }

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

.split      { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.split-side { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 64px; }
.split-form { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 80px; align-items: start; }
.split-portrait { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: center; }

.stars {
  position: absolute;
  inset: -60px;
  pointer-events: none;
  background-image:
    radial-gradient(1.3px 1.3px at 60px 80px,  rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px     at 220px 40px, rgba(255,255,255,.40), transparent),
    radial-gradient(1.6px 1.6px at 380px 190px, rgba(246,167,43,.35), transparent),
    radial-gradient(1px 1px     at 520px 110px, rgba(255,255,255,.30), transparent),
    radial-gradient(1.2px 1.2px at 140px 300px, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px     at 640px 260px, rgba(180,200,240,.35), transparent),
    radial-gradient(1.4px 1.4px at 300px 420px, rgba(255,255,255,.30), transparent),
    radial-gradient(1px 1px     at 700px 460px, rgba(255,255,255,.35), transparent);
  background-size: 760px 520px;
  background-repeat: repeat;
}
/* Die Sterne standen frueher unter einer Dauer-Drift von 48 px in 180 Sekunden.
   Das sind 0,27 px je Sekunde — unsichtbar. Bezahlt wurde es mit sieben
   dauerhaft auf die Grafikkarte gehobenen Ebenen allein auf der Startseite.
   Gemessen auf einem vierfach gedrosselten Handy: 18 % verworfene Bilder mit
   Drift, 5 % ohne. Das Bewegungsbudget steckt jetzt im Lichtstreifen und in
   den Scroll-Einblendungen, die man tatsaechlich sieht. */

/* Die Lichtwolken waren frueher eine einfarbige Ellipse mit filter:
   blur(90px). Safari beschneidet den Weichzeichner am Kasten des Elements,
   statt ihn darueber hinauslaufen zu lassen — auf dem iPad standen dadurch
   harte Rechtecke im Hintergrund, genau auf den Elementgrenzen.

   Ein radialer Verlauf ist von sich aus weich. Er kann nicht beschnitten
   werden, weil nichts ausserhalb des Kastens gezeichnet werden muss, und
   er kostet keinen Weichzeichner. Die Farbstopps sind gegen die alte
   Fassung gemessen: flacher Kern, langer Ausklang, mittlere Abweichung
   1,2 % gegenueber dem weichgezeichneten Original. */
.nebula {
  position: absolute;
  pointer-events: none;
}
.nebula--warm {
  background: radial-gradient(closest-side,
      rgba(246,167,43,.26) 0%, rgba(246,167,43,.20) 30%, rgba(246,167,43,0) 100%);
}
.nebula--cool {
  background: radial-gradient(closest-side,
      rgba(76,110,190,.32) 0%, rgba(76,110,190,.24) 30%, rgba(76,110,190,0) 100%);
}
/* Im CTA liegt alles uebereinander - sonst < 4,5:1 */
.nebula--dim {
  background: radial-gradient(closest-side,
      rgba(246,167,43,.15) 0%, rgba(246,167,43,.11) 30%, rgba(246,167,43,0) 100%);
}
.nebula--dim ~ .wrap .lead-sm { color: var(--text); }

/* Farbe der FOLGENDEN Sektion. */
.fade-down {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 180px;
  pointer-events: none;
  z-index: 3;
}
.wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  z-index: 4;
}
.wave svg { display: block; width: 100%; height: 96px; }

/* Zielfarbe des Uebergangs */
.to-base   { background: linear-gradient(rgba(10,15,30,0), rgba(10,15,30,.75) 60%, #0A0F1E); }
.to-alt    { background: linear-gradient(rgba(14,21,40,0), rgba(14,21,40,.75) 60%, #0E1528); }
.to-footer { background: linear-gradient(rgba(8,12,24,0), rgba(8,12,24,.75) 60%, #080C18); }
.w-base   path { fill: #0A0F1E; }
.w-alt    path { fill: #0E1528; }
.w-footer path { fill: #080C18; }

/* 7 und 11 s teilerfremd - das Flimmern wiederholt sich nie sichtbar */
.rays {
  position: absolute;
  top: -35%; left: -15%;
  width: 130%; height: 170%;
  pointer-events: none;
  background: repeating-conic-gradient(
    from 196deg at 14% -6%,
    rgba(246,167,43,.145) 0deg 2.5deg,
    transparent 2.5deg 8deg
  );
  filter: blur(14px);
  transform: translateZ(0);
  /* Ohne Maske endet die Flaeche an einer sichtbaren Kante. */
  --m: linear-gradient(#000 0 35%, rgba(0,0,0,.35) 65%, transparent 92%),
       linear-gradient(90deg, transparent, #000 18% 72%, transparent);
  -webkit-mask-image: var(--m); mask-image: var(--m);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  animation: soft-in 1200ms var(--ease-smooth) both,
             shimmer 7s ease-in-out infinite alternate;
}

.rays--soft {
  background: repeating-conic-gradient(
    from 199deg at 14% -6%,
    rgba(255,214,150,.098) 0deg 1.5deg,
    transparent 1.5deg 11deg
  );
  filter: blur(22px);
  animation: soft-in 1200ms var(--ease-smooth) both,
             shimmer-soft 11s ease-in-out infinite alternate;
}

/* Sonnenlicht auf der Ueberschrift */
.h-title { filter: drop-shadow(0 0 30px rgba(255,178,68,.42)); }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .h-title {
    background: linear-gradient(152deg, #FFD28C 0%, #FFF0D8 30%, #FFF 64%, #E4EBF8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

@keyframes shimmer      { from { opacity: .40; } to { opacity: 1; } }
@keyframes shimmer-soft { from { opacity: 1; } to { opacity: .35; } }

.reveal {
  animation: rise 800ms var(--ease-smooth) both;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(42px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes soft-in { from { opacity: 0; } to { opacity: 1; } }

.open, .stagger-open > * { animation-name: open-up; animation-duration: 900ms; transform-origin: bottom; }
@keyframes open-up {
  from { opacity: 0; transform: translateY(38px) scale(.94); }
  to   { opacity: 1; transform: none; }
}
.stagger-open > *:nth-child(2) { animation-delay: 90ms; animation-range: entry 7% entry 67%; }
.stagger-open > *:nth-child(3) { animation-delay: 180ms; animation-range: entry 14% entry 74%; }
.stagger-open > *:nth-child(4) { animation-delay: 270ms; animation-range: entry 21% entry 81%; }

/* `both` verhindert das Aufblitzen */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.h-badge   { animation: hero-in 600ms var(--ease-smooth)  80ms both; }
.h-title   { animation: hero-in 700ms var(--ease-smooth) 160ms both; }
.h-text    { animation: hero-in 700ms var(--ease-smooth) 280ms both; }
.h-claim   { animation: hero-in 600ms var(--ease-smooth) 340ms both; }
.h-actions { animation: hero-in 600ms var(--ease-smooth) 400ms both; }
.h-trust   { animation: hero-in 500ms var(--ease-smooth) 520ms both; }

.nebula { animation: soft-in 1200ms var(--ease-smooth) both; }

/* 5.5 Staffelung ueber animation-range */
.stagger > *:nth-child(2) { animation-delay:  50ms; animation-range: entry 4% entry 64%; }
.stagger > *:nth-child(3) { animation-delay: 100ms; animation-range: entry 8% entry 68%; }
.stagger > *:nth-child(4) { animation-delay: 150ms; animation-range: entry 12% entry 72%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,15,30,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.site-header, .site-footer { padding-inline: var(--pad-x); }

.logo {
  display: grid; grid-template-columns: auto minmax(0, auto);
  align-items: center; column-gap: 12px; row-gap: 2px;
  min-height: 44px; color: #FFF;
}
.logo-mark { grid-row: 1 / 3; }
.logo-mark { animation: focus-in 600ms var(--ease-smooth) both; }
@keyframes focus-in {
  from { opacity: 0; transform: scale(1.4); }
  to   { opacity: 1; transform: scale(1); }
}
/* Anzeigeschrift */
.logo-name, .price, .price-lg, .step-num, .ai-n { font-family: 'Space Grotesk', system-ui, sans-serif; white-space: nowrap; }
.logo-name { font-size: 20px; font-weight: 700; letter-spacing: .14em; line-height: 1.1; }
.logo-name span { color: var(--accent); }
.logo-claim { font-size: 11px; letter-spacing: .08em; color: var(--muted); }

.nav-desktop { display: flex; align-items: center; gap: 32px; }
.nav-desktop a {
  position: relative;
  padding-block: 14px;
  font-size: 15px; color: var(--text-2);
  transition: color 200ms var(--ease-snappy);
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 9px;
  height: 2px; background: var(--accent); border-radius: 2px;
  transition: right 250ms var(--ease-smooth);
}
.nav-desktop a[aria-current="page"] { color: var(--accent); }
.nav-desktop a[aria-current="page"]::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

/* Sprachumschalter. Die englische Fassung ist eine Vorfuehrung, keine
   eigene Adresse — deshalb ein Klappmenue statt eines Links. Beschriftet
   ist jede Sprache mit ihrem eigenen Namen, damit man sie auch findet,
   wenn man die aktuelle nicht versteht. */
.sprache { position: relative; flex-shrink: 0; }
.sprache-knopf {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 7px 12px;
  font: inherit; font-size: 14px; font-weight: 500;
  color: var(--text-2); cursor: pointer;
  background: var(--glas), rgba(255,255,255,.04);
  border: 1px solid var(--line-strong); border-radius: 100px;
  box-shadow: var(--rim);
  transition: color 200ms var(--ease-snappy), border-color 200ms var(--ease-snappy);
}
.sprache-pfeil { transition: transform 200ms var(--ease-snappy); }
.sprache-knopf[aria-expanded="true"] .sprache-pfeil { transform: rotate(180deg); }
.sprache-liste {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  min-width: 152px; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 12px; box-shadow: var(--schatten);
}
.sprache-liste[hidden] { display: none; }
.sprache-liste button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 40px; padding: 8px 10px;
  font: inherit; font-size: 15px; text-align: left; color: var(--text-2);
  background: none; border: 0; border-radius: 8px; cursor: pointer;
}
.sprache-liste button::after { content: ""; width: 16px; }
.sprache-liste button[aria-checked="true"] { color: var(--accent); }
.sprache-liste button[aria-checked="true"]::after {
  content: "✓"; font-size: 15px; line-height: 1;
}
@media (hover: hover) {
  .sprache-knopf:hover { color: #FFF; border-color: var(--accent-border); }
  .sprache-liste button:hover { background: rgba(246,167,43,.1); color: #FFF; }
}
@media (max-width: 900px) {
  /* Schmalerer Kopf: Knopf enger fassen. */
  .sprache-knopf { padding: 7px 10px; gap: 5px; }
  .sprache-name { font-size: 13px; }
}
.sprache-kurz { display: none; font-weight: 600; letter-spacing: .04em; }
/* Unter 400px ist im Kopf kein Platz fuer "Deutsch". Statt das Wort
   ersatzlos zu streichen — ein Globus allein sagt nicht, dass es um
   Sprache geht — steht dort das Kuerzel DE bzw. EN. */
@media (max-width: 400px) {
  .sprache-name, .sprache-pfeil { display: none; }
  .sprache-kurz { display: inline; }
}

.header-phone { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--text); }

.header-phone-mobile, .burger { display: none; }

.burger {
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 22px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 250ms var(--ease-snappy), opacity 250ms var(--ease-snappy); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

.nav-mobile { display: none; }

.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px;
  padding: 17px 30px;
  border-radius: var(--r-md);
  font-family: inherit; font-size: 16px; font-weight: 600;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms var(--ease-snappy), border-color 200ms var(--ease-snappy),
              box-shadow 200ms var(--ease-snappy), color 200ms var(--ease-snappy),
              transform 200ms var(--ease-spring);
}
.btn::after {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: linear-gradient(104deg, transparent 36%, rgba(255,252,244,.42) 48%, transparent 60%);
  transform: translateX(-130%); transition: transform 300ms var(--ease-snappy);
}
.btn-primary {
  background: var(--accent); color: var(--bg);
  border-color: rgba(255,232,190,0);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 5px rgba(88,44,0,.20),
              var(--schatten);
}

.btn-ghost {
  border-color: rgba(255,255,255,.18); color: var(--text); font-weight: 500; padding: 17px 28px;
  background: var(--glas), rgba(255,255,255,.05);
  box-shadow: var(--rim), var(--schatten);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
}
.btn-sm { min-height: 44px; padding: 12px 20px; font-size: 14px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 16px; font-weight: 500;
  transition: gap 200ms var(--ease-spring), color 200ms var(--ease-snappy);
}

.card {
  position: relative;
  background: var(--glas), var(--surface);
  box-shadow: var(--rim), var(--schatten);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  padding: 34px;
  transition: border-color 250ms var(--ease-snappy),
              translate 250ms var(--ease-spring),
              box-shadow 250ms var(--ease-snappy);
  display: flex; flex-direction: column; gap: 20px;
}
.card--highlight { background: var(--glas), linear-gradient(180deg, var(--surface-raised) 0%, var(--surface) 100%); border-color: var(--accent-border); }
.card--pad { padding: 40px; gap: 26px; }
.card-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px;
}

.icon-box {
  transition: transform 250ms var(--ease-spring), background 250ms var(--ease-snappy);
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--accent-dim);
  box-shadow: var(--schatten);
  display: flex; align-items: center; justify-content: center;
}

.tag {
  font-size: 11px; letter-spacing: .1em; font-weight: 600;
  color: var(--bg); background: var(--accent);
  padding: 5px 10px; border-radius: 4px; white-space: nowrap;
}

.price { font-size: 28px; font-weight: 700; color: var(--accent); letter-spacing: -.01em; }
.price-lg { font-size: 46px; font-weight: 700; color: #FFF; letter-spacing: -.02em; }
.price-note { font-size: 14px; color: var(--muted); }
.terms { display: flex; flex-direction: column; gap: 8px; }
.terms li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; color: var(--text-3); }
.terms li span:first-child { color: var(--text-2); }

.note {
  font-size: 15px; line-height: 1.55; color: var(--muted);
  padding: 16px; border-radius: var(--r-md);
  background: rgba(255,255,255,.03);
  box-shadow: var(--schatten);
}
.note--accent { background: rgba(246,167,43,.08); color: var(--text-3); }

.quote {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  font-size: 17px; line-height: 1.6; color: var(--text);
}

.checks { display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.checks svg { margin-top: 3px; }

.facts { display: flex; flex-direction: column; gap: 10px; }
.facts li { font-size: 15px; color: var(--text-2); }

.hero-facts { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }

.step {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 24px;
  border-top: 2px solid var(--accent);
  transition: border-top-color 250ms var(--ease-snappy), translate 250ms var(--ease-spring);
}
.step .small { color: var(--text-3); }
.step-num {
  font-size: 15px; font-weight: 600; letter-spacing: .1em; color: var(--muted);
}

.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 32px;
  text-align: center;
  border: 1px dashed var(--accent-border);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--accent);
  font-size: 14px; letter-spacing: .04em;
}
.placeholder--portrait { aspect-ratio: 4 / 5; }
.placeholder span { color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 240px; }

.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact-list li { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.contact-list a, .contact-list span { font-size: 18px; line-height: 1.4; color: var(--text); }
.contact-list a { font-weight: 500; display: flex; align-items: center; min-height: 44px; }

.ai-row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(246,167,43,.10);
  border: 1px solid rgba(246,167,43,.28);
  border-radius: 8px; padding: 13px 16px;
  font-size: 15px; color: var(--text);
  box-shadow: var(--schatten);
}
.ai-row--miss { background: none; border-style: dashed; border-color: rgba(255,255,255,.16); color: var(--muted); }
.ai-n { font-weight: 600; color: var(--accent); }

.faq { display: flex; flex-direction: column; }
.faq-item {
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 10px;
  border-radius: 10px;
  position: relative;
  transition: background 200ms var(--ease-snappy), transform 200ms var(--ease-smooth);
}
.faq-item::before {
  content: ""; position: absolute; left: -14px; top: 14px; bottom: 14px;
  width: 2px; border-radius: 2px; background: var(--accent);
  opacity: 0; transform: scaleY(.4);
  transition: opacity 200ms var(--ease-snappy), transform 250ms var(--ease-smooth);
}
.faq-item:last-child { border-bottom: 0; }

.form { display: flex; flex-direction: column; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 15px; color: var(--text-2); }
.form-field label .opt { color: var(--muted); }

.field {
  width: 100%;
  min-height: 56px;
  padding: 15px 16px;
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line-strong);
  box-shadow: var(--rim), var(--schatten);
  border-radius: var(--r-md);
  color: var(--text);
  font: inherit; font-size: 16px;
  transition: border-color 200ms var(--ease-snappy);
}
.field::placeholder { color: var(--muted); }

.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input { width: 26px; height: 26px; margin: 2px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.consent label { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.consent a { color: var(--text-3); text-decoration: underline; padding: 7px 0; }


.prose { max-width: 780px; display: flex; flex-direction: column; gap: 26px; }
.prose h2 { font-size: 26px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: #FFF; }
.prose h3 { font-size: 19px; line-height: 1.35; font-weight: 600; color: var(--text); }
.prose p, .prose li { font-size: 16px; line-height: 1.65; color: var(--text-2); }
.prose ul { display: flex; flex-direction: column; gap: 10px; padding-left: 20px; list-style: disc; }
.prose section { display: flex; flex-direction: column; gap: 14px; }
.draft-note {
  box-shadow: var(--schatten);
  padding: 18px 20px;
  border: 1px solid var(--accent-border);
  background: var(--accent-dim);
  border-radius: var(--r-md);
  font-size: 15px; line-height: 1.6; color: var(--text);
}

/* --text-3: ueber den Strahlen reicht --muted nur 3,7:1. */
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-3); flex-wrap: wrap; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { content: "/"; color: var(--muted); }

/* Kein Hochscrollen noetig */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; gap: 10px;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  background: rgba(8,12,24,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.09);
}
.mobile-bar .btn { flex: 1 1 0; min-height: 52px; padding: 14px 12px; font-size: 16px; }
.mobile-bar .btn-ghost { -webkit-backdrop-filter: none; backdrop-filter: none; }

.site-footer {
  position: relative;
  background: var(--footer);
  border-top: 1px solid var(--line);
  padding-block: 56px 40px;
}
.footer-inner { max-width: var(--wrap); margin-inline: auto; display: flex; flex-direction: column; gap: 24px; }
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-head { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.footer-col a, .footer-nap a { font-size: 15px; color: var(--muted); }
.footer-about { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 280px; }
.footer-nap { display: flex; flex-direction: column; gap: 4px; font-style: normal; font-size: 15px; line-height: 1.6; color: var(--muted); }
.footer-nap .nap-name { color: var(--text-2); font-weight: 500; }
.footer-hours { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-3); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom span { font-size: 14px; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 14px; color: var(--muted); }

/* Hover nur mit Maus, sonst bleibt der Zustand nach dem Tippen haengen. */
@media (hover: hover) {
  a:hover, .header-phone:hover, .contact-list a:hover,
  .breadcrumb a:hover, .footer-col a:hover, .footer-nap a:hover { color: var(--accent-hover); }
  .logo:hover { color: #FFF; }
  .nav-desktop a:hover { color: #FFFFFF; }
  .nav-desktop a:hover::after { right: 0; }
  .field:hover { border-color: rgba(255,255,255,.2); }
  .link-arrow:hover { gap: 14px; }
  .faq-item:hover { background: rgba(246,167,43,.05); transform: translateX(6px); }
  .faq-item:hover::before { opacity: 1; transform: scaleY(1); }
  .card:hover {
    border-color: rgba(246,167,43,.85);
    translate: 0 -9px;
    box-shadow: var(--rim), 0 34px 60px -28px rgba(0,0,0,.95),
                0 0 0 1px rgba(246,167,43,.35),
                0 0 46px -14px rgba(246,167,43,.85);
  }
  .card:hover .icon-box { transform: scale(1.08) rotate(-4deg); background: rgba(246,167,43,.22); }
  .step:hover { border-top-color: var(--accent-hover); translate: 0 -6px; }
  .btn:hover::after { transform: translateX(130%); }
  .btn-primary:hover {
    background: var(--accent-hover); color: var(--bg);
    transform: translateY(-3px);
    border-color: rgba(255,232,190,.5);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 14px 34px -10px rgba(246,167,43,.65),
                0 0 22px -4px rgba(246,167,43,.35);
  }
  .btn-ghost:hover {
    border-color: rgba(246,167,43,.6);
    background: var(--glas), rgba(246,167,43,.12);
    color: #FFD79B;
    transform: translateY(-3px);
    box-shadow: var(--rim), 0 14px 30px -14px rgba(246,167,43,.5);
  }
}
/* Tippen: kurze Rueckmeldung. */
.btn-primary:active {
  background: var(--accent-hover); border-color: rgba(255,232,190,.5);
  transform: translateY(-1px); transition-duration: 90ms;
}
.btn-ghost:active {
  border-color: rgba(246,167,43,.6); background: var(--glas), rgba(246,167,43,.10); color: #FFD79B;
  transform: translateY(-1px); transition-duration: 90ms;
}

/* Weniger Transparenz im System: deckend statt glasig. */
@media (prefers-reduced-transparency: reduce) {
  .btn-ghost { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .btn::after { display: none; }
}

@media (max-width: 1200px) {
  :root { --pad-x: 48px; --sec-y: 90px; }
  .h1-home { font-size: 62px; }
  .h1-sub  { font-size: 48px; }
  .split { gap: 48px; }
  .split-side { grid-template-columns: 280px minmax(0, 1fr); gap: 44px; }
  .split-form { grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; }
  .split-portrait { grid-template-columns: 320px minmax(0, 1fr); gap: 44px; }
}

@media (max-width: 900px) {
  :root { --sec-y: 72px; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 92px; }

  .wave svg { height: 54px; }
  .fade-down { height: 120px; }

  .nav-desktop, .header-phone { display: none; }
  .header-phone-mobile {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px;
    border: 1px solid var(--accent-border);
    border-radius: var(--r-md);
    transition: background 200ms var(--ease-snappy), border-color 200ms var(--ease-snappy);
  }
  .header-phone-mobile:active { background: rgba(246,167,43,.12); border-color: rgba(246,167,43,.6); }
  .burger { display: flex; }
  .header-actions .btn { display: none; }
  .header-actions { gap: 14px; }

  /* Mobil nur eine Ebene */
  .rays--soft { display: none; }
  .rays {
    top: -30%; left: -20%;
    width: 150%; height: 160%;
    background: repeating-conic-gradient(
      from 196deg at 16% -6%,
      rgba(246,167,43,.15) 0deg 2.5deg,
      transparent 2.5deg 9deg
    );
    filter: blur(12px);
    animation-duration: 1200ms, 9s;
  }

  /* Faehrt von oben herunter. z-index unter der Kopfzeile, damit das X
     zum Schliessen sichtbar bleibt. */
  .nav-mobile {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: var(--bg);
    padding: 90px var(--pad-x-mobile) 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 280ms var(--ease-smooth), visibility 280ms;
  }
  .nav-mobile.is-open { visibility: visible; transform: translateY(0); }
  body.nav-open .mobile-bar { display: none; }
  .nav-mobile ul { display: flex; flex-direction: column; gap: 4px; }
  .nav-mobile a {
    display: flex; align-items: center;
    min-height: 56px;
    font-size: 19px; font-weight: 500; color: var(--text);
    border-bottom: 1px solid var(--line);
  }
  .nav-mobile a[aria-current="page"] { color: var(--accent); }
  .nav-mobile .btn { margin-top: 24px; }
  body.nav-open { overflow: hidden; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .split, .split-side, .split-form, .split-portrait { grid-template-columns: minmax(0, 1fr); gap: 44px; }

  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .split-form > :first-child { order: 1; }
  .split-portrait > :first-child { order: 2; }

  .placeholder--portrait { max-width: 340px; aspect-ratio: 4 / 5; }
}

@media (max-width: 600px) {
  :root { --pad-x: var(--pad-x-mobile); --sec-y: 56px; }

  
  .logo-claim { display: none; }
  .logo { gap: 10px; }
  .logo-mark { width: 30px; height: 30px; }
  .logo-name { font-size: 16px; letter-spacing: .12em; }
  .header-inner { padding: 14px 0; gap: 12px; }

  body { font-size: 16px; }

  .h1-home { font-size: 41px; line-height: 1.12; letter-spacing: -.02em; }
  .h1-sub  { font-size: 34px; line-height: 1.14;  letter-spacing: -.02em; }
  .h2      { font-size: 30px; line-height: 1.15; }
  .h2-sm   { font-size: 28px; line-height: 1.16; }
  .h3      { font-size: 20px; }
  .h3-lg   { font-size: 21px; }
  .claim   { font-size: 21px; padding-left: 13px; }
  .price-lg { font-size: 33px; }

  .price-lg { font-size: 33px; }

  .lead, .lead-sm { font-size: 17px; }
  .body-lg { font-size: 16px; }
  .body    { font-size: 15px; }
  .small   { font-size: 14px; }
  .tiny    { font-size: 13px; }

  .card { padding: 26px; border-radius: 14px; }
  .card--pad { padding: 26px; }

  .stars { background-size: 390px 340px; }
    .sec--flush-top { padding-top: 8px; }

  .btn { width: 100%; min-height: 58px; padding: 18px 20px; font-size: 17px; }
  .btn-sm { width: auto; min-height: 46px; }
  .mobile-bar .btn { width: auto; }
  .row { gap: 12px; }
  .row .btn { flex: 1 1 100%; }

  .hero-facts { flex-direction: column; align-items: flex-start; gap: 10px; }

  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }

  .nebula { filter: blur(70px); }
  .nebula--warm { width: 340px !important; height: 260px !important; }
  .nebula--cool { width: 280px !important; height: 220px !important; }

  .prose h2 { font-size: 23px; }
}

/* 5.7 reduce: Verschiebung raus, Einblenden bleibt. */
/* Tablet: zwei Spalten. Erst ab 701px - darunter wird die Spalte fuer die Preiszahl zu schmal. */
@media (min-width: 701px) and (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .price-lg { font-size: 33px; }
}

@media (prefers-reduced-motion: reduce) {
  
  .logo-mark { animation: soft-in 300ms var(--ease-snappy) both; }
  .reveal, .h-badge, .h-title, .h-text, .h-claim, .h-actions, .h-trust { animation: soft-in 300ms var(--ease-snappy) both; animation-timeline: view(); }
  .h-badge, .h-title, .h-text, .h-claim, .h-actions, .h-trust { animation-timeline: auto; }
  .glanz-titel::after { animation: none; content: none; }
  .open, .stagger-open > * { animation-name: soft-in; animation-duration: 300ms; }
  .stagger > * { animation-range: normal; }

  /* Endlosbewegung anhalten */
  .btn::after { display: none; }
  .nav-mobile, .nav-mobile.is-open { transform: none; }
  .stars  { animation: none; }
  .nebula { animation: none; }
  .rays   { animation: none; opacity: .5; }

  .btn-primary:hover, .btn-primary:active,
  .btn-ghost:hover, .btn-ghost:active,
  .card:hover, .link-arrow:hover, .faq-item:hover, .step:hover { transform: none; translate: none; }
  .card:hover .icon-box { transform: none; }
}

/* Sehr schmale Handys: Das Sprachkuerzel im Kopf braucht Platz, den holt
   sich der Schriftzug. Steht hier unten, weil der 600px-Block weiter oben
   dieselben Regeln setzt und sonst gewinnt. */
@media (max-width: 400px) {
  .logo { gap: 8px; }
  .logo-mark { width: 26px; height: 26px; }
  .logo-name { font-size: 13px; letter-spacing: .04em; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 10px; }
}
/* Unter 340px reicht der Platz auch dafuer nicht mehr. Dann bleibt das
   Zeichen stehen, der Schriftzug geht — besser als ein Schriftzug, der
   unter dem Sprachknopf verschwindet. */
@media (max-width: 340px) { .logo-name { display: none; } }

/* =====================================================================
   Startseite: Live-Suche im Kopfbereich, Leistungen als Bento-Raster,
   vier Schritte mit Handy. Endlos-Bewegung nur ueber transform und
   opacity; bei reduzierter Bewegung steht alles im Endzustand.
   Steht am Dateiende, damit es die Breakpoints weiter oben schlaegt.
   ===================================================================== */

/* Nur fuer Screenreader und Suchmaschinen sichtbar. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --- Kopfbereich ------------------------------------------------------ */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero-h1 { font-size: 66px; line-height: 1.1; }
.hero-zeile { display: block; }
/* Das wechselnde Band steht NICHT in der h1, sondern liegt als aria-hidden
   Geschwister ueber einer leeren Platzhalterzeile. So enthaelt die h1 im
   Quelltext nur „Webseiten fuer das Handwerk, die man findet." — fuer
   Suchmaschinen, KI-Crawler und Screenreader dieselbe saubere Aussage. */
.hero-titel { position: relative; }
.wort-platz { display: block; height: 1.1em; }
.hero-titel > .wort { position: absolute; left: 0; top: 1.1em; }
/* Der Goldverlauf sitzt auf den beiden festen Zeilen, nicht auf dem
   Kopf-Container: background-clip: text nimmt die Glyphen ALLER
   Nachfahren, auch die weggeschnittenen Gewerke im Band. Ohne
   Compositing-Ebene (reduzierte Bewegung, manche Browser) schimmern die
   sonst durch die dritte Zeile. */
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hero-titel.h-title { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #FFF; }
  .hero-zeile { width: fit-content; background: linear-gradient(152deg, #FFD28C 0%, #FFF0D8 30%, #FFF 64%, #E4EBF8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
}

/* Das wechselnde Gewerk. Screenreader und Suchmaschinen lesen „das
   Handwerk“ aus dem sr-only-Text in der h1; das Band ist aria-hidden.
   Kein doppeltes Wort fuer die Schleife: Am Ende blendet das letzte aus,
   das Band springt unsichtbar zurueck, das erste blendet wieder ein. */
.wort { display: block; height: 1.1em; overflow: hidden; }
@supports (overflow: clip) { .wort { overflow-x: visible; overflow-y: clip; } }
.wort-band { display: flex; flex-direction: column; animation: wortlauf 12.5s cubic-bezier(.7, 0, .2, 1) infinite; }
.wort-band > span { display: block; height: 1.1em; line-height: 1.1; white-space: nowrap; color: var(--accent); -webkit-text-fill-color: var(--accent); }
@keyframes wortlauf {
  0%, 17%  { transform: translateY(0); opacity: 1; }
  20%, 37% { transform: translateY(-1.1em); }
  40%, 57% { transform: translateY(-2.2em); }
  60%, 77% { transform: translateY(-3.3em); }
  80%, 95% { transform: translateY(-4.4em); opacity: 1; }
  97.5%    { transform: translateY(-4.4em); opacity: 0; }
  97.6%    { transform: translateY(0); opacity: 0; }
  100%     { transform: translateY(0); opacity: 1; }
}

/* Vorfuehrung rechts: eine KI-Frage, die Antwort, Ihr Betrieb vorn.
   Ein Durchlauf dauert 10 s; alle Teile haengen am selben Takt. */
.h-demo { animation: hero-in 800ms var(--ease-smooth) 460ms both; }
.demo { display: flex; flex-direction: column; gap: 18px; }
.demo-ki, .demo-karte { border-radius: 16px; background: #111933; border: 1px solid rgba(255,255,255,.09); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); overflow: hidden; }
.demo-kopf { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.demo-punkt { width: 10px; height: 10px; border-radius: 50%; background: #2A3658; }
.demo-titel { margin-left: 10px; font-size: 13px; color: var(--muted); }
.demo-hinweis { margin-left: auto; padding: 3px 9px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.demo-inhalt { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.demo-frage { align-self: flex-end; max-width: 100%; padding: 12px 16px; border-radius: 14px 14px 4px 14px; background: var(--surface-raised); font-size: 15px; color: var(--text); }
/* Tippen ohne Layout-Verschiebung: Die Blase hat von Anfang an ihre
   Breite, eine Abdeckung in Blasenfarbe faehrt per transform zur Seite.
   Ihre linke Kante ist zugleich der Cursor. */
.demo-tippen { position: relative; display: inline-block; white-space: nowrap; overflow: hidden; vertical-align: bottom; }
.demo-tippen::after { content: ""; position: absolute; inset: 0; background: var(--surface-raised); border-left: 2px solid var(--accent); animation: demo-tippen 10s steps(42) infinite; }
@keyframes demo-tippen { 0% { transform: translateX(0); } 22%, 100% { transform: translateX(100%); } }
.demo-intro { font-size: 15px; color: var(--text-2); }
.demo-zeile { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: #131C36; }
.demo-zeile--ihr { background: var(--surface); }
.demo-ring { position: absolute; inset: -1px; border-radius: 12px; border: 2px solid var(--accent); box-shadow: 0 0 36px -4px rgba(246,167,43,.45); pointer-events: none; }
.demo-nr { width: 22px; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 22px; font-weight: 700; color: #66739A; }
.demo-zeile--ihr .demo-nr { color: var(--accent); }
.demo-name { flex-grow: 1; display: flex; flex-direction: column; gap: 2px; }
.demo-name b { font-size: 16px; font-weight: 600; color: var(--text); }
.demo-name small { font-size: 13px; color: var(--muted); }
.demo-abzeichen { padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--bg); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.demo-balken { flex-grow: 1; display: flex; flex-direction: column; gap: 8px; }
.demo-balken i { display: block; height: 10px; border-radius: 5px; background: #26314F; }
.demo-balken i + i { height: 8px; background: #1F2944; }
.demo-r2 i:first-child { width: 46%; } .demo-r2 i + i { width: 30%; }
.demo-r3 i:first-child { width: 38%; } .demo-r3 i + i { width: 26%; }
.demo-karte { display: flex; gap: 16px; }
.demo-map { position: relative; width: 168px; min-height: 136px; flex-shrink: 0; overflow: hidden; background-color: var(--surface); background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px; }
.demo-strasse { position: absolute; background: #22305A; }
.demo-strasse--a { left: -20px; top: 58px; width: 220px; height: 10px; transform: rotate(-14deg); }
.demo-strasse--b { left: 70px; top: -10px; width: 10px; height: 170px; transform: rotate(8deg); }
.demo-pin { position: absolute; left: 66px; top: 30px; width: 36px; height: 44px; fill: var(--accent); }
.demo-karte-text { padding: 18px 18px 18px 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.demo-caps { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.demo-karte-text b { font-size: 17px; font-weight: 600; color: var(--text); }
.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-chips span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 13px; color: var(--text-2); }
.demo-chips .is-accent { border-color: var(--accent-border); color: var(--accent); }

.demo-zyklus   { animation: demo-zyklus 10s infinite; }
.demo-intro    { animation: demo-intro 10s infinite; }
.demo-r1       { animation: demo-r1 10s var(--ease-smooth) infinite; }
.demo-r2       { animation: demo-r2 10s var(--ease-smooth) infinite; }
.demo-r3       { animation: demo-r3 10s var(--ease-smooth) infinite; }
.demo-ring     { animation: demo-ring 10s infinite; }
.demo-abzeichen { animation: demo-abzeichen 10s var(--ease-spring) infinite; }
.demo-pin      { animation: demo-pin 10s var(--ease-spring) infinite; }
@keyframes demo-zyklus    { 0%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes demo-intro     { 0%, 26% { opacity: 0; transform: translateY(8px); }  30%, 100% { opacity: 1; transform: none; } }
@keyframes demo-r1        { 0%, 30% { opacity: 0; transform: translateY(14px); } 35%, 100% { opacity: 1; transform: none; } }
@keyframes demo-r2        { 0%, 33% { opacity: 0; transform: translateY(14px); } 38%, 100% { opacity: 1; transform: none; } }
@keyframes demo-r3        { 0%, 36% { opacity: 0; transform: translateY(14px); } 41%, 100% { opacity: 1; transform: none; } }
@keyframes demo-ring      { 0%, 44% { opacity: 0; } 49%, 100% { opacity: 1; } }
@keyframes demo-abzeichen { 0%, 46% { opacity: 0; transform: scale(.6); } 51%, 100% { opacity: 1; transform: none; } }
@keyframes demo-pin       { 0%, 54% { opacity: 0; transform: translateY(-22px); } 60%, 100% { opacity: 1; transform: none; } }

/* --- Leistungen als Bento-Raster -------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bento .card { padding: 30px; }
.bento-web { grid-column: 1 / 3; grid-row: 1 / 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 32px; }
.bento-seo { grid-column: 3; grid-row: 1 / 3; }
.bento-geo { grid-column: 4; grid-row: 1 / 3; }
.bento-web-text { display: flex; flex-direction: column; gap: 20px; }
.bento-browser { align-self: center; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line-strong); overflow: hidden; transition: translate 250ms var(--ease-spring); }
.bb-kopf { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.bb-kopf i { width: 8px; height: 8px; border-radius: 50%; background: #2A3658; }
.bb-inhalt { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bb-bild { height: 128px; border-radius: 10px; background: var(--surface-raised); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.bb-bild svg { width: 64px; height: 64px; stroke: var(--accent); opacity: .7; }
.bb-zeile { display: block; height: 13px; border-radius: 5px; background: #E8ECF5; }
.bb-text { display: block; height: 7px; border-radius: 4px; background: #26314F; }
.bb-knopf { display: block; width: 110px; height: 30px; margin-top: 6px; border-radius: 8px; background: var(--accent); }
.bento-fakt { gap: 6px; }
.fakt-etikett { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fakt-gross { margin-top: auto; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: #FFF; white-space: nowrap; }
.fakt-titel { margin-top: auto; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 22px; font-weight: 600; color: #FFF; }
.fakt-text { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.fakt-icon { margin-top: 18px; }
@media (hover: hover) { .bento-web:hover .bento-browser { translate: 0 -6px; } }

/* --- Vier Schritte mit Handy ------------------------------------------ */
.story { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; align-items: center; }
.story-liste { display: flex; flex-direction: column; gap: 6px; }
.story-schritt { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 6px 16px; padding: 20px 22px; border-radius: 14px; }
.story-schritt > :not(.story-an) { position: relative; }
.story-schritt .h3 { grid-column: 2; }
.story-schritt .small { grid-column: 2; color: var(--text-3); }
.story-an { position: absolute; inset: 0; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--accent-border); opacity: 0; }
.story-num { grid-row: 1 / 3; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 26px; font-weight: 700; line-height: 1.15; color: #6E7BA1; }
.story-num::after { content: attr(data-n); position: absolute; left: 0; top: 0; color: var(--accent); opacity: 0; }
.story-takt { height: 3px; margin: 18px 22px 0; border-radius: 2px; background: var(--surface); overflow: hidden; }
.story-takt i { display: block; height: 100%; background: var(--accent); transform-origin: left center; animation: story-takt 4s linear infinite; }
@keyframes story-takt { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.handy { position: relative; width: 300px; height: 620px; margin-inline: auto; padding: 11px; border-radius: 46px; background: #1A2442; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 60px 120px -40px rgba(0,0,0,.9), 0 0 120px -30px rgba(246,167,43,.25); }
.handy-schirm { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 36px; background: #F7F5F0; color: #1B2233; }
.handy-insel { position: absolute; top: 12px; left: 50%; z-index: 2; width: 90px; height: 24px; margin-left: -45px; border-radius: 12px; background: #1A2442; }
.zustand { position: absolute; inset: 0; padding: 54px 18px 18px; display: flex; flex-direction: column; gap: 12px; opacity: 0; font-size: 13px; }
.z-chip { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: #1B2233; color: #F7F5F0; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.z-chip--accent { background: var(--accent); color: var(--bg); }
.z-suche { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 999px; background: #FFF; box-shadow: 0 1px 3px rgba(0,0,0,.12); font-size: 14px; }
.z-suche svg { width: 16px; height: 16px; stroke: #6B7280; fill: none; stroke-width: 2.2; }
.z-treffer { display: flex; flex-direction: column; gap: 6px; padding: 6px 4px; }
.z-b { display: block; height: 7px; border-radius: 4px; background: #E2DED4; }
.z-b--t { height: 10px; background: #C9D3EA; }
.z-fehlt { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed #B9B3A6; color: #5B6170; }
.z-fehlt svg { width: 18px; height: 18px; flex-shrink: 0; stroke: #8A8F9C; fill: none; stroke-width: 2; }
.z-anruf { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.z-avatar { width: 92px; height: 92px; border-radius: 50%; background: #1B2233; color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 32px; font-weight: 700; }
.z-name { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 22px; font-weight: 700; }
.z-info { color: #5B6170; }
.z-ruf { margin-top: 18px; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.z-ruf svg { width: 26px; height: 26px; stroke: var(--bg); fill: none; stroke-width: 2; }
.z-marke { display: flex; align-items: center; justify-content: space-between; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 14px; font-weight: 700; }
.z-menue { display: flex; flex-direction: column; gap: 3px; }
.z-menue i { display: block; width: 18px; height: 2px; background: #1B2233; }
.z-bild { height: 150px; border-radius: 14px; background: #1B2233; display: flex; align-items: center; justify-content: center; }
.z-bild svg { width: 70px; height: 70px; stroke: var(--accent); fill: none; stroke-width: 1.6; }
.z-titel { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 23px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.z-knopf { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 10px; background: var(--accent); color: var(--bg); font-weight: 600; font-size: 14px; }
.z-frage { align-self: flex-end; max-width: 86%; padding: 10px 13px; border-radius: 14px 14px 4px 14px; background: #1B2233; color: #F7F5F0; }
.z-antwort { max-width: 92%; padding: 12px 13px; border-radius: 14px 14px 14px 4px; background: #FFF; box-shadow: 0 1px 3px rgba(0,0,0,.10); line-height: 1.5; display: flex; flex-direction: column; gap: 8px; }
.z-kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.z-kacheln span { height: 64px; border-radius: 10px; background: #ECE8DF; }
.z-ihr { padding: 8px 10px; border-radius: 8px; background: #FFF3DC; box-shadow: inset 0 0 0 1.5px var(--accent); font-weight: 600; }

/* Gleicher 16-s-Takt fuer Schritt-Markierung und Handy-Bildschirm. */
.ss1 .story-an, .ss1 .story-num::after, .zs1 { animation: story-1 16s infinite; }
.ss2 .story-an, .ss2 .story-num::after, .zs2 { animation: story-2 16s infinite; }
.ss3 .story-an, .ss3 .story-num::after, .zs3 { animation: story-3 16s infinite; }
.ss4 .story-an, .ss4 .story-num::after, .zs4 { animation: story-4 16s infinite; }
@keyframes story-1 { 0%, 22% { opacity: 1; } 25%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes story-2 { 0%, 22% { opacity: 0; } 25%, 47% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes story-3 { 0%, 47% { opacity: 0; } 50%, 72% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes story-4 { 0%, 72% { opacity: 0; } 75%, 97% { opacity: 1; } 100% { opacity: 0; } }

/* --- Breakpoints ------------------------------------------------------ */
@media (max-width: 1200px) {
  .hero-h1 { font-size: 54px; }
  .hero-split { gap: 44px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-web { grid-column: 1 / -1; grid-row: auto; }
  .bento-seo, .bento-geo { grid-column: auto; grid-row: auto; }
  .story { gap: 56px; }
}
@media (max-width: 900px) {
  .hero-split, .story { grid-template-columns: minmax(0, 1fr); }
  .demo { max-width: 560px; }
  .bento-web { grid-template-columns: minmax(0, 1fr); }
  .bento-browser { display: none; }
}
@media (max-width: 600px) {
  .hero-h1 { font-size: 38px; }
  .demo-karte { display: none; }
  .demo-inhalt { padding: 16px; gap: 12px; }
  .demo-frage { font-size: 14px; }
  .demo-tippen { white-space: normal; }
  .demo-tippen::after { display: none; }
  .demo-nr { font-size: 20px; }
  .bento { gap: 14px; }
  .bento .card { padding: 24px; }
  .bento-web, .bento-seo, .bento-geo { grid-column: 1 / -1; }
  .fakt-gross { font-size: 40px; }
  .bento-fakt--text { grid-column: 1 / -1; }
  .fakt-etikett { letter-spacing: .1em; }
  .story-schritt { grid-template-columns: 40px minmax(0, 1fr); padding: 16px; }
  .handy { width: 264px; height: 548px; border-radius: 42px; }
  .handy-schirm { border-radius: 32px; }
}
@media (max-width: 360px) {
  .hero-h1 { font-size: 33px; }
  .fakt-gross { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .wort-band, .demo-zyklus, .demo-intro, .demo-r1, .demo-r2, .demo-r3,
  .demo-ring, .demo-abzeichen, .demo-pin { animation: none; opacity: 1; transform: none; }
  .demo-tippen::after { animation: none; transform: translateX(100%); }
  .h-demo { animation: soft-in 300ms var(--ease-snappy) both; }
  /* .story-liste davor, damit es die .ssN-Regeln oben schlaegt. */
  .story-liste .story-an, .story-liste .story-num::after, .handy .zustand { animation: none; }
  .handy .zs4 { opacity: 1; }
  .story-takt { display: none; }
}
.story-liste { list-style: none; margin: 0; padding: 0; }
