/* =======================================================================
   dagonis · Website v6 · style.css
   -----------------------------------------------------------------------
   Visuelle Referenz: index2.html (Neura-Entwurf).
   Uebernommene Gestaltungslogik:
     - geschichteter Radialverlauf als Hintergrund
     - weichgezeichnete, schwebende Farb-Orbs (blur) fuer Raeumlichkeit
     - feines, nach unten ausblendendes Rasternetz (mask)
     - Kasten mit halbtransparentem Fuellton + 1px-Lichtrahmen
     - Gradient-Text fuer zentrale Aussagen
     - dezente Reveal-Einblendung beim Scrollen
   Die Datei ist abschnittsweise dokumentiert. Jeder zentrale Parameter
   erklaert seine eigene Wirkung (was passiert bei groesser/kleiner).
   ======================================================================= */


/* =======================================================================
   1. DESIGN-TOKENS
   -----------------------------------------------------------------------
   Alle Werte liegen in :root. Eine Aenderung wirkt im ganzen Dokument.
   clamp(MIN, PRAEFERIERT, MAX):
     MIN auf kleinen Bildschirmen, MAX auf grossen, dazwischen fluessig.
   ======================================================================= */
:root {
  /* ---------------------------------------------------------------
     FARBEN
     --------------------------------------------------------------- */

  /* --bg: Grundton der Seite (sehr dunkles Blau).
     Groesserer Anteil = ruhigere, tiefere Flaeche.
     Hellerer Wert = flacher, technischer. */
  --bg: #071324;

  /* --bg-2 / --bg-3: mitwirkende Tuen der Radialverlaeufe.
     --bg-2 = mittlerer Verlaufston, --bg-3 = hellster Kern.
     Je naher an --bg, desto weicher der Uebergang. */
  --bg-2: #0a1a30;
  --bg-3: #0f2a4d;

  /* --surface: Fuellton der Kasten (halbtransparentes Weiss).
     Hoeherer Alpha-Wert = Kasten heben sich deutlicher ab.
     Niedrigerer Alpha-Wert = Kasten verschmelzen mit dem Hintergrund. */
  --surface: rgba(255, 255, 255, 0.135);
  --surface-2: rgba(255, 255, 255, 0.06);

  /* --line / --line-strong: Rahmen der Kasten.
     --line = ruhiger Normalrahmen,
     --line-strong = aktiver/hevor gehobener Rahmen (z. B. offene FAQ).
     Hoeherer Alpha = klarere Kontur, geringerer = weichere Flaeche. */
  --line: rgba(120, 170, 255, 0.10);
  --line-strong: rgba(120, 170, 255, 0.20);

  /* --text: Haupttext (fast Weiss). Bestimmt die Lesbarkeit. */
  --text: #e8eef7;

  /* --muted / --muted-2: Sekundaertext.
     --muted fuer Erlaeuterungen, --muted-2 fuer kleine Labels.
     Je dunkler, desto deutlicher die Hierarchie zum Haupttext. */
  --muted: #8598b5;
  --muted-2: #5a6e8c;

  /* --accent-1/2/3: die drei Akzenttuen (Blau/Cyan/Violett).
     --accent-1 = Nummerierung + aktive Linien,
     --accent-2 = kleine Markierungen (Punkt, Werte),
     --accent-3 = nur im Farbverlauf beteiligt. */
  --accent-1: #3b82f6;
  --accent-2: #22d3ee;
  --accent-3: #8b5cf6;

  /* --grad / --grad-soft: der lineare Dreifarbverlauf.
     Erzeugt die "Lichtkante" an Kasten und die Farbigkeit der Headline.
     Reihenfolge der Stopps aendern = Farbrichtung des Lichts. */
  --grad: linear-gradient(135deg, #3b82f6 0%, #22d3ee 60%, #8b5cf6 100%);
  --grad-soft: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(34, 211, 238, 0.4));

  /* ---------------------------------------------------------------
     RADIO (Eckenrundungen)
     --------------------------------------------------------------- */

  /* --radius: Standardrundung der Kasten und Bilder.
     Groesser = weicher, moderner; kleiner = technischer.
     16-20px entsprechen der Referenz index2.html. */
  --radius: 16px;
  --radius-lg: 20px;   /* grosse Kasten (Hero-Bild, fruehungs-Kasten) */
  --radius-sm: 10px;   /* kleine Elemente (Buttons, Chips) */
  --radius-pill: 100px; /* Pill-Form (Badge, Sprachumschaltung) */

  /* ---------------------------------------------------------------
     ABSTAENDE
     --------------------------------------------------------------- */

  /* --gap: Innenabstand zwischen Spalten/Elementen.
     Groesser = mehr Luft, klarere Trennung der Inhalte. */
  --gap: clamp(20px, 3vw, 32px);

  /* --section-pad: vertikaler Sektionsabstand.
     Groesser = ruhigere, laengere Seite; kleiner = kompakter.
     100px wie in der Referenz, mobil per clamp reduziert. */
  --section-pad: clamp(56px, 9vw, 100px);

  /* --container: maximale Inhaltsbreite (1200px wie index2.html).
     Groesser = laengere Zeilen; kleiner = mehr Umbrueche. */
  --container: 1200px;

  /* --header-h: Hoehe des fixierten Headers.
     Bestimmt direkt das obere Inhaltspadding des body.
     Wert = tatsaechliche Headerhoehe (Logo 72px + 16px Padding je Seite). */
  --header-h: 108px;

  /* ---------------------------------------------------------------
     SCHATTEN / LICHT (GLOW)
     --------------------------------------------------------------- */

  /* --shadow-depth: weicher Distanzschatten unter Kasten.
     Groesserer Blur = starkere raeumliche Loesung vom Grund. */
  --shadow-depth: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
  /* --glow: farbiger Lichtschein des Akzentverlaufs.
     Groesserer Blur = weicherer, "leuchtenderer" Kastenrand. */
  --glow: 0 0 120px -40px rgba(59, 130, 246, 0.5);

  /* ---------------------------------------------------------------
     TYPOGRAFIE
     --------------------------------------------------------------- */

  /* --fs-hero: zentrale Frage im Hero.
     Groesser = starke Dominanz, weniger Text pro Zeile.
     Kleiner = kompakter. Die Obergrenze wirkt auch mobil (clamp). */
  --fs-hero: clamp(40px, 6vw, 76px);

  /* --fs-h2: Abschnitts-Headlines. */
  --fs-h2: clamp(30px, 4vw, 48px);

  /* --fs-body: Fliesstext. */
  --fs-body: clamp(16px, 1.6vw, 19px);

  /* --fs-small: Tabellenwerte, Labels, Footer. */
  --fs-small: clamp(13px, 1.2vw, 14px);

  /* --lh: Zeilenhoehoe Fliesstext (1.6 = gut lesbar). */
  --lh: 1.6;
  /* --lh-tight: enge Zeilenhoehoe grosser Headlines (1.05). */
  --lh-tight: 1.4;
}


/* =======================================================================
   2. BASIS / RESET
   ======================================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: var(--lh);
  font-size: var(--fs-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
}

img { display: block; max-width: 100%; height: auto; }

/* Fokuszustand: deutlich sichtbar fuer Tastaturbedienung. */
:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Inhaltsraster: begrenzt Breite + seitlichen Innenabstand. */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 28px);
}

section { padding-block: var(--section-pad); }

/* Kleines, uppercase-Label ueber Abschnitten (wie .section-label). */
.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 16px;
}


/* =======================================================================
   3. HINTERGRUND-SCHICHTEN (aus index2.html)
   -----------------------------------------------------------------------
   Drei getrennte, feste Ebenen erzeugen die raeumliche Tiefe:
     .bg-layer  = Radialverlaeufe (Grundstimmung)
     .bg-orb    = geblurte Farbknuel, schwebend (Tiefe/Bewegung)
     .bg-grid   = feines Rasternetz mit Maske (technischer Charakter)
   Alle Ebenen zeigen hinter dem Inhalt (z-index: -1).
   ======================================================================= */
.bg-layer {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, var(--bg-3) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 80% 30%, rgba(34, 211, 238, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 90% 70% at 20% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 55%);
}
/* Die drei Orbs: grosse, geblurte Farbknuel.
   blur() hoch = weicher, tiefenwirksamer Knuel.
   opacity hoch = kraeftigere Farbigkeit der Flaeche.
   animation = langsames Schweben (22s), gibt der Seite Ruhe + Leben. */
.bg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(140px); opacity: 0.4;
  animation: float 22s ease-in-out infinite;
}
.bg-orb.a { width: 700px; height: 700px; background: #1e40af; top: -260px; left: -180px; }
.bg-orb.b { width: 560px; height: 560px; background: #22d3ee; top: 35%; right: -200px; opacity: 0.25; animation-delay: -8s; }
.bg-orb.c { width: 500px; height: 500px; background: #8b5cf6; bottom: -180px; left: 25%; opacity: 0.28; animation-delay: -15s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.08); }
  66% { transform: translate(-40px, 40px) scale(0.95); }
}
/* Feines Rasternetz, per Maske nach unten ausblendend (Fading).
   Die Maske erzeigt das Netz oben und laesst es sanft verschwinden. */
.bg-grid {
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, black 30%, transparent 100%);
  pointer-events: none;
}

/* Dezente Einblendung beim Scrollen (Reveal).
   .reveal = Ausgangszustand (leicht vertieft + transparent),
   .reveal.in = Endzustand. Uebergang ~0.8s, sanft. */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Dunne, mittig auslaufende Trenlinie zwischen Abschnitten. */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}


/* =======================================================================
   4. HEADER / NAVIGATION
   -----------------------------------------------------------------------
   Fixiert, halbtransparent + Blur (glasige Anmutung).
   Beim Scrollen erscheint eine dezente Unterlinie (Klasse .scrolled).
   ======================================================================= */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  backdrop-filter: blur(20px);
  background: rgba(7, 19, 36, 0.65);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; flex-wrap: wrap;
  justify-content: space-between; gap: 16px;
}

/* Logo: kleiner Farbquadrat-Marker + Name. */
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
  color: var(--text); text-decoration: none;
}
.logo-img {
  display: block;
  height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.footer-logo {
  height: 96px;
}
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--grad);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.5);
  position: relative;
}
.logo-mark::after {
  content: ""; position: absolute; inset: 6px;
  background: var(--bg); border-radius: 3px;
}

/* Menuekasten: abgerundet, halbtransparent, gute Lesbarkeit. */
.nav-box {
  display: flex; align-items: center; gap: 32px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-height: 44px;
}
.nav-box a {
  color: var(--muted); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-box a:hover, .nav-box a[aria-current="true"] { color: var(--text); }

/* Sprachumschaltung als Pill. */
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
}
.lang-switch button {
  font: inherit; background: none; border: none;
  color: var(--muted); cursor: pointer;
  padding: 2px 8px; border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}
.lang-switch button[aria-pressed="true"] {
  color: var(--text); background: rgba(59, 130, 246, 0.18);
}
.lang-switch .flag {
  display: inline-block;
  height: 10px;
  width: auto;
  vertical-align: middle;
}

/* Mobil-Toggle. */
.nav-toggle {
  display: none; font: inherit;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 8px 14px; cursor: pointer;
}
/* Aufklappbares Mobilmenü: gestapelt, dezente Kasten. */
.mobile-menu {
  display: none; flex-direction: column; gap: 8px;
  padding: 12px 0 4px;
}
.mobile-menu a {
  /* MOBILE MENU TEXTFARBE – hier kann die Farbe der mobilen Menüpunkte angepasst werden */
  color: #f4f8ff; text-decoration: none;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
}
.mobile-menu.open {
  display: flex;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  position: relative; z-index: 101;
}
/* Ankerziele unter den fixierten Header schieben, damit der
   Sprungpunkt sichtbar bleibt. */
section[id], #kontakt { scroll-margin-top: calc(var(--header-h) + 8px); }


/* =======================================================================
   5. HERO / EINSTIEG
   -----------------------------------------------------------------------
   Zweispaltig: links die grosse Frage (Gradient-Text, kein Kasten),
   rechts das 16:9-Bild im leuchtenden Rahmen.
   ======================================================================= */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: center;
}

/* Die zentrale Frage: starkster typografischer Punkt.
   Gradient-Text (wie index2.html) gibt ihr Tiefe ohne Kasten. */
.hero-question {
  font-size: var(--fs-hero);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: var(--lh-tight);
  background: linear-gradient(180deg, #ffffff 0%, #93b4db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-question .dot { color: var(--accent-2); }

/* Bild im leuchtenden Rahmen:
   Aussenrahmen (--grad) als weicher Glow, Innenflaeche dunkel. */
.hero-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
  box-shadow: var(--shadow-depth), var(--glow);
  position: relative;
}
.hero-figure img { width: 100%; display: block; }
.hero-figure .hero-caption {
  padding: 12px 16px 14px;
  color: var(--muted);
  font-size: var(--fs-small);
  line-height: 1.6;
  text-align: center;
}


/* =======================================================================
   6. UEBERGANGSZEILE
   -----------------------------------------------------------------------
   Natuerliche Fortsetzung der Frage. Etwas kleiner als die Hero-Frage,
   damit die Hierarchie erhalten bleibt. Kein Kasten.
   ======================================================================= */
.transition-line {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 760px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.transition-note {
  color: var(--muted);
  font-size: var(--fs-body);
  max-width: 760px;
  margin-top: 10px;
}


/* =======================================================================
   7. KASTEN (Boxen) – aus index2.html
   -----------------------------------------------------------------------
   Halbtransparenter Fuellton + 1px-Lichtrahmen + weicher Schatten.
   Beim Hover: kraeftigerer Rahmen + sanftes Anheben (Tiefe).
   ======================================================================= */
.box {
  background: linear-gradient(180deg, rgba(80, 130, 200, 0.06) 0%, rgba(80, 130, 200, 0.015) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 30px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-depth);
  transition: border-color 0.3s, transform 0.3s;
}
.box:hover { border-color: rgba(59, 130, 246, 0.45); transform: translateY(-2px); }
/* Obere Lichtkante: erscheint beim Hover (dezenter Highlight). */
.box::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.7), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.box:hover::before { opacity: 1; }

.box h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}

/* Zweispaltiges Raster fuer Vorgehen + Kontakt. */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
}


/* =======================================================================
   8. VORGEHENSTABELLE
   -----------------------------------------------------------------------
   Zeilen mit dunnen Trenlinien, tabellarische Ziffern.
   Die Tabelle wirkt wie eine natuerliche Liste, nicht wie eine Preisliste.
   ======================================================================= */
.steps-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.steps-table caption {
  text-align: start; color: var(--muted-2);
  font-size: var(--fs-small); padding-bottom: 12px;
}
.steps-table th, .steps-table td {
  text-align: start; padding: 12px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.steps-table thead th {
  color: var(--accent-2); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 11px;
}
.steps-table tbody tr:last-child td { border-bottom: none; }
.steps-table td.num {
  color: var(--accent-1); font-variant-numeric: tabular-nums;
  width: 28px; padding-top: 14px;
}
.steps-table td.action { color: var(--text); font-weight: 500; }
.steps-table td.cost, .steps-table td.risk { color: var(--muted); }


/* =======================================================================
   9. KONTAKT
   ======================================================================= */
.contact-list { list-style: none; display: grid; gap: 12px; font-size: var(--fs-body); }
.contact-list .k-label {
  color: var(--muted-2); font-size: var(--fs-small);
  display: block; margin-bottom: 2px;
}
.contact-list a {
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px; transition: border-color 0.2s, color 0.2s;
}
.contact-list a:hover { border-bottom-color: var(--accent-2); color: var(--accent-2); }
.k-note { display: block; color: var(--muted); font-size: var(--fs-small); margin-top: 2px; }


/* =======================================================================
   10. BILDSTORY (6 SCHRITTE)
   -----------------------------------------------------------------------
   Zusammenhaengende Geschichte: Nummer + Headline + Text + Bild.
   Bildseite alterniert ueber :nth-child(even) + order.
   ======================================================================= */
.story { display: grid; gap: clamp(28px, 4vw, 48px); }
.story-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: center;
}
.story-item:nth-child(even) .story-text { order: 2; }
.story-item:nth-child(even) .story-media { order: 1; }

.story-num {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: var(--accent-1);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.story-text h3 {
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 600; letter-spacing: -0.01em;
  margin-bottom: 10px; color: var(--text);
}
.story-text p { color: var(--muted); font-size: var(--fs-body); max-width: 560px; }

/* Bild im leuchtenden, abgerundeten Rahmen (wie Hero-Bild). */
.story-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
  box-shadow: var(--shadow-depth), var(--glow);
}
.story-media img { width: 100%; display: block; }


/* =======================================================================
   11. FAQ (AUFKLAPP-BEREICHE)
   -----------------------------------------------------------------------
   Jede Frage = interaktive Zeile. Oeffnet sich ueber max-height
   mit sanftem Uebergang. Geoeffneter Kasten: kraeftigerer Rahmen.
   ======================================================================= */
.faq { display: grid; gap: 12px; }
.faq-item {
  background: linear-gradient(180deg, rgba(80, 130, 200, 0.06) 0%, rgba(80, 130, 200, 0.015) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(59, 130, 246, 0.45); }
.faq-q {
  width: 100%; text-align: start; font: inherit; font-weight: 600;
  color: var(--text); background: none; border: none;
  padding: 16px 18px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q .chev { color: var(--accent-2); transition: transform 0.3s; font-size: 14px; }
.faq-item.open .chev { transform: rotate(180deg); }
/* Geschlossener Zustand: max-height 0, oeffnet auf 600px.
   Groesserer Wert = mehr Platz fuer lange Antworten. */
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 18px; color: var(--muted); font-size: var(--fs-body);
}
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 18px; }
.faq-a img {
  margin-top: 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}


/* =======================================================================
   12. WHITEPAPERS
   ======================================================================= */
.wp-intro { color: var(--muted); font-size: var(--fs-body); max-width: 720px; margin-bottom: 24px; }
.wp-list { list-style: none; display: grid; gap: 12px; }
.wp-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--muted); font-size: var(--fs-small);
}
.wp-list li a {
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px; transition: color 0.2s, border-color 0.2s;
}
.wp-list li a:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); }


/* =======================================================================
   13. FOOTER
   ======================================================================= */
footer {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 60px) 0 clamp(24px, 4vw, 40px);
  color: var(--muted-2); font-size: var(--fs-small);
  position: relative; z-index: 2;
}
/* minmax(0,...) + min-width:0 verhindern, dass lange Strings
   (Mail, Telefon) die Spuren aufblasen und per overflow-x:hidden
   abgeschnitten werden -> Links waeren nicht anwaehlbar. */
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px; align-items: start;
}
.footer-grid > div { min-width: 0; }
.footer-grid h4 { color: var(--text); font-size: 13px; margin-bottom: 16px; font-weight: 600; }
.footer-grid a {
  color: var(--muted-2); text-decoration: none;
  display: block; padding: 4px 0; transition: color 0.2s;
  min-height: 44px;                /* suffiziente Tap-Flaeche mobil */
  overflow-wrap: anywhere;         /* Mail/Telefon umbrechen statt ueberlaufen */
}
.footer-grid a:hover { color: var(--text); }
.footer-qr {
  display: inline-block; padding: 8px; background: #ffffff;
  border-radius: var(--radius-sm);
}
.footer-qr img { width: 120px; height: 120px; display: block; }
.qr-caption { margin-top: 8px; color: var(--muted); font-size: var(--fs-small); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 32px; border-top: 1px solid var(--line);
}


/* =======================================================================
   13b. WHITEPAPER (eigene Lesetypografie)
   -----------------------------------------------------------------------
   Die Whitepaper-Seiten nutzen dieselbe Farbwelt und dieselben Rundungen,
   erhalten aber eine grossere, ruhiger Lesetypografie:
     --wp-fs-body  = Fliesstext 18-20px (lesbarer als --fs-body)
     --wp-lh       = Zeilenhoehe 1.75 fuer lange Texte
     --wp-measure  = maximale Zeilenlaenge (ca. 72 Zeichen)
   ======================================================================= */
:root {
  --wp-fs-body: clamp(17px, 1.25vw, 20px);
  --wp-lh: 1.75;
  --wp-measure: 78ch;
}

.wp {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 28px);
  padding-top: clamp(28px, 4vw, 48px);
}

/* Kopf des Whitepapers: Label, Titel, Untertitel. */
.wp-head { padding-bottom: clamp(24px, 3vw, 40px); }
.wp-head .label { margin-bottom: 14px; }
.wp-head h1 {
  font-size: var(--fs-hero);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: var(--lh-tight);
  max-width: 80%;
  background: linear-gradient(180deg, #ffffff 0%, #93b4db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 900px) {
  .wp-head h1 { max-width: 100%; }
}
.wp-sub {
  margin-top: 16px;
  max-width: var(--wp-measure);
  color: var(--muted);
  font-size: var(--wp-fs-body);
  line-height: var(--wp-lh);
}

/* Einzelner Abschnitt: klar getrennt, eigene Ueberschrift. */
.wp-block {
  padding-block: clamp(22px, 2.6vw, 34px);
  border-top: 1px solid var(--line);
}
.wp-block h2 {
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 16px;
}
.wp-block h3 {
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 600;
  color: var(--text);
  margin: 22px 0 10px;
}
.wp-block p {
  color: var(--muted);
  font-size: var(--wp-fs-body);
  line-height: var(--wp-lh);
  max-width: var(--wp-measure);
  margin-bottom: 14px;
}
.wp-block strong { color: var(--text); font-weight: 600; }
.wp-block code {
  font-family: ui-monospace, "SFMono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  color: var(--accent-2);
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 6px;
}

/* Aufzaehlungen: knappe, gut trennbare Punkte. */
.wp-list { list-style: none; display: grid; gap: 10px; max-width: var(--wp-measure); }
.wp-list li {
  color: var(--muted);
  font-size: var(--wp-fs-body);
  line-height: var(--wp-lh);
  padding-left: 18px;
  position: relative;
}
.wp-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.72em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad);
}

/* Tabellen: dieselbe Logik wie .steps-table, aber grossere Schrift. */
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--wp-fs-body); }
.spec-table caption {
  text-align: start; color: var(--muted-2);
  font-size: var(--fs-small); padding-bottom: 14px;
}
.spec-table th, .spec-table td {
  text-align: start; padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top; line-height: 1.6;
}
.spec-table thead th {
  color: var(--accent-2); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 11px;
}
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table tbody td:first-child { color: var(--text); font-weight: 500; }
.spec-table tbody td { color: var(--muted); }

/* Hervorhebungen / Merksaetze. */
.wp-note {
  margin: 18px 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(80, 130, 200, 0.07) 0%, rgba(80, 130, 200, 0.02) 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-1);
  border-radius: var(--radius-sm);
  max-width: var(--wp-measure);
}
.wp-note p { margin: 0; font-size: var(--wp-fs-body); }

/* Abbildungen im leuchtenden Rahmen. */
.wp-fig {
  margin: 26px 0 8px;
  max-width: 900px;
}
.wp-fig img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
  box-shadow: var(--shadow-depth), var(--glow);
}
.wp-fig figcaption {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: var(--fs-small);
  line-height: 1.6;
  max-width: var(--wp-measure);
}
.wp-fig .fig-n {
  display: inline-block;
  color: var(--accent-1);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-right: 8px;
}


/* =======================================================================
   14. RESPONSIVE BREAKPOINTS
   -----------------------------------------------------------------------
   900px: Tablet -> Zweispalter werden Einspalter.
   860px: Mobil  -> Menuekasten wird zum Toggle, kleinere Typo.
   720px: Footer-Raster bricht um.
   ======================================================================= */
@media (max-width: 900px) {
  .hero, .two-col, .story-item { grid-template-columns: 1fr; gap: 28px; }
  .story-item:nth-child(even) .story-text { order: 1; }
  .story-item:nth-child(even) .story-media { order: 2; }
}
@media (max-width: 860px) {
  /* Logo 56px + 2 x 16px Padding = 88px Headerhoehe. */
  :root { --header-h: 88px; }
  .logo-img { height: 56px; }
  .nav-box { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid a { padding: 8px 0; }
  .steps-table th, .steps-table td { padding: 8px 6px; }
  .steps-table td.num { width: 20px; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
