/* MaKu Solutions: Stylesheet (reines CSS, kein Build-Schritt). */

/* ---------- 0. Schriften (selbst gehostet) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-v20-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-v20-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-v20-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-v20-latin-700.woff2") format("woff2");
}
/* Space Grotesk ist eine variable Schrift: eine Datei deckt die Gewichte 500–700 ab. */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-v22-latin.woff2") format("woff2");
}

/* ---------- 1. Design-Tokens ---------- */
:root {
  --base: #0a0a0c;          /* Seitenhintergrund */
  --panel: #101014;         /* leicht hellere Fläche */
  --panel-2: #14141a;       /* Karten-Fläche */

  --line: rgba(255, 255, 255, 0.08);        /* feine Linien/Ränder */
  --line-strong: rgba(255, 255, 255, 0.14); /* kräftigere Ränder */

  --accent: #4d7df2;        /* Akzentfarbe (Blau) */
  --accent-soft: #7ea1f7;   /* helleres Blau */
  --accent-deep: #2f56c4;   /* dunkleres Blau */

  --text: #d4d4d8;          /* Standard-Textfarbe */
  --text-dim: #a1a1aa;      /* gedämpfter Text */
  --text-faint: #71717a;    /* sehr dezenter Text */
  --white: #ffffff;

  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;

  --radius: 16px;           /* Standard-Eckenradius (rounded-2xl) */
  --radius-sm: 12px;
  --nav-height: 72px;
  --max-width: 1280px;
}

/* ---------- 2. Grundlagen ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* Anker-Sprünge: Die Oberkante des Abschnitts landet direkt UNTER der
     Navbar. Die Navbar deckt so nichts vom Abschnitt ab, und der Abschnitt
     davor verschwindet hinter ihr. Der Wert ist die Höhe der Navbar
     (72 px + 1 px Rand unten). */
  scroll-padding-top: calc(var(--nav-height) + 1px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html {
  /* Deko-Elemente (Orbs, Glows) dürfen das Layout-Viewport auf
     Mobilgeräten nie verbreitern — hart am Viewport abschneiden */
  overflow-x: clip;
}

body {
  background-color: var(--base);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* clip statt hidden: hidden würde body zu einem Scroll-Container machen, und
     position: sticky im Inhalt würde sich dann an diesem nie scrollenden
     Container ausrichten — also gar nicht mehr kleben. clip schneidet genauso
     ab, ohne einen Scroll-Container zu erzeugen. */
  overflow-x: clip;
}

::selection {
  background-color: var(--accent);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Glas-Effekt (Glassmorphism) — an mehreren Stellen wiederverwendet */
.glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 60px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-transparency: reduce) {
  .glass {
    background: var(--panel-2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(77, 125, 242, 0.35);
}

.btn-primary:hover {
  background: var(--accent-soft);
  box-shadow: 0 8px 40px rgba(77, 125, 242, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  color: #f4f4f5;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  /* Volle-Breite-Buttons dürfen umbrechen, statt aus der Karte zu ragen */
  white-space: normal;
  text-align: center;
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* Sichtbarer Fokus für Tastatur-Navigation (Barrierefreiheit) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Skip-Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- 3. Layout-Helfer ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

/* Abschnitts-Hintergründe: jede Sektion bekommt einen eigenen dunklen Ton.
   --section-bg wird auch von Elementen genutzt, die den Hintergrund
   "übermalen" müssen (z.B. klebende Zahlen im Ablauf). */
.section { background-color: var(--section-bg, transparent); }

#ueber-uns    { --section-bg: #121215; } /* Anthrazit (neutrales Grau) */
#kompetenzen  { --section-bg: #0e1424; } /* dunkles Marineblau */
#testimonials { --section-bg: #0c0c0f; } /* wie Footer (rgba(16,16,20,.4) auf --base) */
#testimonials .results__glow { display: none; } /* kein Leuchtpunkt */
#informationen{ --section-bg: #0a0e1a; } /* sehr dunkles Nachtblau */
#kontakt      { --section-bg: #0e1424; } /* dunkles Marineblau */

/* feine Linie zwischen den Abschnitten (nicht am Hero) */
#ueber-uns, #kompetenzen, #testimonials, #informationen, #kontakt {
  border-top: 1px solid var(--line);
}

.section-heading {
  font-size: 2.25rem;
  font-weight: 600;
}

.section-intro {
  margin-top: 20px;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--text-dim);
}

/* Hält eine Wortgruppe im Intro auf einer Zeile bzw. setzt einen festen
   Umbruch (erst ab Tablet-Breite, damit es auf schmalen Handys nicht über
   den Rand ragt oder zerstückelt wirkt) */
@media (min-width: 480px) {
  .section-intro__nobreak { white-space: nowrap; }
}
@media (max-width: 767px) {
  .section-intro__br { display: none; }
}

/* ---------- 4. Scroll-Reveal ---------- */
/* Elemente mit [data-reveal] starten erst dann unsichtbar, wenn JavaScript die
   Klasse .js-reveal an <html> gesetzt hat. Ohne JS bleibt alles sofort sichtbar
   (kein Risiko von unsichtbarem Inhalt). Beim Einscrollen kommt .is-visible dazu. */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Karten mit Hover-Lift: Transform schnell (0.3s) für ein knackiges Hover-Gefühl,
   Opazität weiterhin weich (0.7s) fürs Einblenden. Höhere Spezifität als die
   allgemeine Reveal-Transition oben. */
.js-reveal [data-reveal].package,
.js-reveal [data-reveal].founder-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s;
}

/* ---------- 5. Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  /* Grundzustand vor dem Scrollen: leicht sichtbar (dezenter Schleier + feine Linie) */
  background: rgba(10, 10, 12, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.5s, border-color 0.5s, backdrop-filter 0.5s;
}

/* Klasse wird per JS beim Scrollen gesetzt: kräftiger sichtbar */
.navbar.scrolled {
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.navbar__inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo: freistehende Bildmarke (img/logo-mark.svg) + Schriftzug in Space Grotesk.
   Schrift ist selbst gehostet (siehe @font-face oben), kein externer Abruf. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo__mark {
  width: 36px;
  height: 33px;
  flex-shrink: 0;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo__mark {
  transform: translateY(-1px) scale(1.06);
}

.logo__text {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  white-space: nowrap;
}

.logo__text span {
  color: var(--text-dim);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

/* Aktiver Abschnitt (per Scroll-Spy in script.js), Desktop und Mobil:
   Schrift im Blau des Website-Check-Buttons (--accent) mit leichtem Leuchten,
   ohne Box drumherum */
.nav-links a.is-current,
.mobile-menu a.is-current {
  color: var(--accent-soft); /* wie die aktiven Zahlen im Ablauf (#7ea1f7) */
  text-shadow: 0 0 12px rgba(77, 125, 242, 0.55);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(77, 125, 242, 0.35);
  transition: background-color 0.3s, transform 0.3s;
}

.nav-cta:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}

/* Aktionsgruppe rechts in der Navbar: Telefon + CTA + Hamburger */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Telefonnummer in der Navbar — dezente Pill neben dem CTA */
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.nav-phone:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
  color: var(--white);
}

.nav-phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Hamburger-Button — nur auf Mobile sichtbar */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #e4e4e7;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobiles Ausklapp-Menü */
.mobile-menu {
  display: none;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mobile-menu.open {
  display: block;
  animation: menu-drop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes menu-drop {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu ul {
  list-style: none;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.mobile-menu .mobile-cta {
  margin-top: 8px;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  font-weight: 600;
}

/* Website-Check-Button: Übergabe Hero ↔ Menü (Startseite, Hamburger-Ansicht).
   Die Klassen setzt ausschließlich js/script.js (Abschnitt 1b) — ohne JS, auf
   Unterseiten und auf Desktop greift hier nichts. */
.mobile-menu li.is-cta-collapsed {
  height: 0;
  margin-top: -4px; /* hebt den gap der Liste (4px) auf: Menü endet wie ohne Button */
  overflow: hidden;
  visibility: hidden;
}
.mobile-menu li.is-cta-animating { overflow: hidden; }
.hero__actions .btn.is-handed-off {
  visibility: hidden;
  transition: none; /* sonst bliebe er durch "transition: all" noch 0.3s sichtbar */
}
/* Doppelgänger, der zwischen Hero und Menü fliegt (über der Navbar, z-index 50) */
.cta-ghost {
  position: fixed;
  z-index: 60;
  margin: 0;
  white-space: normal;
  text-align: center;
  pointer-events: none;
  transition: none;
  animation: none;
}

/* Telefonnummer im mobilen Menü */
.mobile-menu .mobile-phone {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-menu .mobile-phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- 6. Hero ---------- */
/* Idee: Der Hero-Hintergrund ist eine (dunkle) Webseite in einem Browser-Fenster,
   die Hero-Texte wirken wie ein Teil dieser Seite. Zwei dauerhafte Lichtpunkte
   und ein Lichtpunkt am Cursor decken jeweils einen Teil der Seite auf.
   Die Lichter sind zugleich sichtbare Leuchtflächen (.orb, .hero__cursor) und
   Löcher in der Maske der Seite (.hero__site) — beide lesen dieselben
   Positions-Variablen und bleiben deshalb deckungsgleich. */
.hero {
  --chrome-h: 48px;   /* Höhe der Browser-Leiste */
  --site-nav-h: 64px; /* Höhe der Navigation der Fake-Webseite */

  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Platz für Navbar + Browser-Leiste + Fake-Navigation oben und die
     angeschnittenen Karten unten */
  padding-top: calc(var(--nav-height) + 1px + var(--chrome-h) + var(--site-nav-h));
  padding-bottom: 180px;
}

/* Hintergrund-Ebenen */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* --- Positionen und Mausreaktion (Variablen) ---
   Drift der beiden Lichter: als echte Custom Properties registriert, damit sie
   animierbar sind. So laufen Leuchtfläche und Masken-Loch exakt gleich.
   script.js setzt zusätzlich auf .hero__bg:
     --hx / --hy  Cursorposition in px (weich nachgeführt)
     --hover      0 → 1, blendet den Cursor-Lichtpunkt ein/aus
     --px / --py  Cursor relativ zur Hero-Mitte, -1 … 1 (träge, für Parallax)
   Ohne JavaScript und auf Touch-Geräten bleibt --hover bei 0: dann sieht man
   nur die zwei driftenden Lichtpunkte. */
@property --dax { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --day { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --dbx { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --dby { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --hover { syntax: "<number>"; inherits: true; initial-value: 0; }

.hero__bg {
  --hx: 50%;
  --hy: 50%;
  --px: 0;
  --py: 0;
  transition: --hover 0.5s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__bg {
    animation:
      light-drift-a 22s ease-in-out infinite,
      light-drift-b 26s ease-in-out infinite;
  }
  /* script.js pausiert die Drift, solange der Hero nicht im Bild ist */
  .hero.is-paused .hero__bg { animation-play-state: paused; }
}

@keyframes light-drift-a {
  0%, 100% { --dax: 0rem; --day: 0rem; }
  50% { --dax: 6rem; --day: -3rem; }
}

@keyframes light-drift-b {
  0%, 100% { --dbx: 0rem; --dby: 0rem; }
  50% { --dbx: -5rem; --dby: 2.5rem; }
}

/* --- Leuchtflächen (sichtbares Licht) --- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-a {
  top: -8rem;
  left: 10%;
  width: 34rem;
  height: 34rem;
  background: rgba(77, 125, 242, 0.2);
  transform: translate3d(
    calc(var(--dax) + var(--px) * 5rem),
    calc(var(--day) + var(--py) * 4rem),
    0
  );
}

.orb-b {
  top: 30%;
  right: -8%;
  width: 28rem;
  height: 28rem;
  background: rgba(47, 86, 196, 0.25);
  transform: translate3d(
    calc(var(--dbx) + var(--px) * 7rem),
    calc(var(--dby) + var(--py) * 5rem),
    0
  );
}

/* Leuchtfläche direkt am Cursor */
.hero__cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 30rem;
  height: 30rem;
  margin: -15rem 0 0 -15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 125, 242, 0.32) 0%, rgba(77, 125, 242, 0.12) 40%, transparent 70%);
  transform: translate3d(var(--hx), var(--hy), 0);
  opacity: var(--hover);
  pointer-events: none;
  will-change: transform;
}

/* --- Die dunkle Fake-Webseite ---
   Deckt den ganzen Hero ab. Die Maske lässt sie nur an drei Stellen
   aufleuchten: um die beiden Orbs (Mittelpunkt = Position der Orbs) und um
   den Cursor. Dazwischen bleibt ein Hauch (10 %) sichtbar, damit man die
   Struktur erahnt. Mittelpunkt Orb A: 10 % + halbe Breite (17rem) / -8rem +
   halbe Höhe (17rem). Orb B: rechter Rand bei 108 % - 14rem / 30 % + 14rem. */
.hero__site {
  position: absolute;
  inset: 0;
  -webkit-mask-image:
    radial-gradient(circle 24rem at calc(10% + 17rem + var(--dax) + var(--px) * 5rem) calc(9rem + var(--day) + var(--py) * 4rem), #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%),
    radial-gradient(circle 22rem at calc(108% - 14rem + var(--dbx) + var(--px) * 7rem) calc(30% + 14rem + var(--dby) + var(--py) * 5rem), #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%),
    radial-gradient(circle 15rem at var(--hx) var(--hy), rgba(0, 0, 0, var(--hover)) 0%, rgba(0, 0, 0, calc(var(--hover) * 0.6)) 45%, transparent 100%),
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
  mask-image:
    radial-gradient(circle 24rem at calc(10% + 17rem + var(--dax) + var(--px) * 5rem) calc(9rem + var(--day) + var(--py) * 4rem), #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%),
    radial-gradient(circle 22rem at calc(108% - 14rem + var(--dbx) + var(--px) * 7rem) calc(30% + 14rem + var(--dby) + var(--py) * 5rem), #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%),
    radial-gradient(circle 15rem at var(--hx) var(--hy), rgba(0, 0, 0, var(--hover)) 0%, rgba(0, 0, 0, calc(var(--hover) * 0.6)) 45%, transparent 100%),
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}

/* Mit Maus (Desktop): keine dauerhaften Lichtpunkte, nur der Cursor leuchtet.
   Orbs, ihre Masken-Löcher und die Drift entfallen. Auf Touch-Geräten
   (kein Cursor) bleiben die zwei Lichter, sonst wäre der Hero dunkel. */
@media (hover: hover) and (pointer: fine) {
  .orb { display: none; }
  .hero__bg { animation: none; }
  .hero__site {
    -webkit-mask-image:
      radial-gradient(circle 15rem at var(--hx) var(--hy), rgba(0, 0, 0, var(--hover)) 0%, rgba(0, 0, 0, calc(var(--hover) * 0.6)) 45%, transparent 100%),
      linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
    mask-image:
      radial-gradient(circle 15rem at var(--hx) var(--hy), rgba(0, 0, 0, var(--hover)) 0%, rgba(0, 0, 0, calc(var(--hover) * 0.6)) 45%, transparent 100%),
      linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
  }
}

/* Browser-Leiste (nutzt die .browser-bar-Optik) direkt unter der Navbar.
   Liegt in .hero__site und wird damit von der Licht-Maske mit aufgedeckt. */
.hero__chrome {
  position: absolute;
  top: calc(var(--nav-height) + 1px);
  left: 0;
  right: 0;
  height: var(--chrome-h);
  padding-block: 0;
  align-items: center;
}
.hero__chrome .browser-bar__url {
  flex: 0 1 34rem;
  margin-inline: auto;
  text-align: center;
}
/* Rechts so breit wie die Punkte, damit die Adresse optisch mittig sitzt */
.hero__chrome::after { content: ""; width: 42px; flex-shrink: 0; }

/* Navigation der Fake-Webseite */
.site__nav {
  position: absolute;
  top: calc(var(--nav-height) + 1px + var(--chrome-h));
  left: 0;
  right: 0;
  height: var(--site-nav-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site__nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.site__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  margin-right: auto;
}
.site__logo i {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.site__links {
  display: flex;
  gap: 28px;
  font-size: 0.875rem;
  color: var(--text-dim);
}
/* Burger-Menü der Fake-Webseite: nur in der Handy-Ansicht (siehe unten) */
.site__burger { display: none; }
.site__btn {
  padding: 8px 16px;
  border-radius: 10px;
  background: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
}

/* Mockup rechts (nur auf breiten Bildschirmen, sonst läge es unter dem Text):
   ein dezentes Handy mit der Beispielseite, Beschriftung darüber, Badges darunter. */
.site__mock { display: none; }
@media (min-width: 1280px) {
  .site__mock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: absolute;
    right: max(24px, calc((100% - var(--max-width)) / 2 + 24px));
    top: calc(var(--nav-height) + 1px + var(--chrome-h) + var(--site-nav-h) + 40px);
    width: 26rem;
  }
}

.site__mock-caption {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}

/* Moderne Handy-Proportion (ca. 1 : 1,9). Die Höhe wächst mit dem Fenster, ist aber
   so gedeckelt, dass Handy + Badges nie in die Karten unten ragen (die Karten
   sitzen ab ca. 800 px Fensterhöhe am Hero-Ende, darunter bleibt der Hero 797 px
   hoch — deshalb die Untergrenze). Die Breite folgt der Höhe. */
.site__phone {
  --phone-h: clamp(17rem, calc(46.6dvh - 99px), 20rem);
  position: relative;
  width: clamp(10rem, calc(var(--phone-h) / 1.9), 12rem);
  height: var(--phone-h);
  padding: 10px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(14, 16, 28, 0.94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
/* Kamera-Insel */
.site__phone::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 34%;
  height: 6px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
}

/* Statusleiste: Uhrzeit links, Akku rechts */
.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  height: 10px;
}
.phone__status small { font-size: 0.5625rem; font-weight: 600; color: rgba(255, 255, 255, 0.6); }
.phone__status i {
  width: 14px;
  height: 7px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(to right, rgba(255, 255, 255, 0.5) 70%, transparent 70%);
}

/* Navigation der Beispielseite */
.phone__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 16px;
  margin-top: 2px;
}
.phone__logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--white);
}
.phone__logo i {
  width: 11px;
  height: 11px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.phone__nav b { display: flex; flex-direction: column; gap: 2px; }
.phone__nav u {
  width: 11px;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.5);
}

/* Bild (mit kleiner Sonne als Hinweis "Foto") */
.phone__img {
  position: relative;
  flex: 1;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(77, 125, 242, 0.5), rgba(47, 86, 196, 0.15));
}
.phone__img::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 11px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.phone__title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
}
.phone__line {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
}
.phone__line--short { width: 65%; }
.phone__btn {
  display: block;
  padding: 6px 0;
  border-radius: 8px;
  background: var(--accent);
  font-size: 0.6875rem;
  font-weight: 600;
  text-align: center;
  color: var(--white);
  box-shadow: 0 0 12px rgba(77, 125, 242, 0.4);
}
.phone__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.phone__cards i {
  display: block;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}
.phone__cards i::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 7px;
  border-radius: 3px;
  background: rgba(126, 161, 247, 0.6);
}
.phone__home {
  width: 34%;
  height: 3px;
  margin: 2px auto 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
}

/* Seitentasten wie beim iPhone: schwarze, dickere Linien, die ein Stück aus dem
   Rahmen ragen. Links Lauter/Leiser, rechts Ein/Aus — die Ein/Aus-Taste sitzt
   mittig auf Höhe der beiden Lautstärketasten. Der feine helle Rand hält sie auf
   dem dunklen Hintergrund lesbar. */
.phone__side {
  position: absolute;
  width: 4px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.phone__side--up,
.phone__side--down {
  left: -4px;
  height: 9%;
  border-right: 0;
  border-radius: 3px 0 0 3px;
}
.phone__side--up { top: 24%; }
.phone__side--down { top: 36%; }
.phone__side--power {
  right: -4px;
  top: 28%;
  height: 13%;
  border-left: 0;
  border-radius: 0 3px 3px 0;
}

/* Badges unter dem Handy */
/* Pyramide: "SSL inklusive" (2. Eintrag) oben mittig, die beiden anderen
   nebeneinander darunter */
.site__chips {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  justify-content: center;
  gap: 8px;
  list-style: none;
}
.site__chips li:nth-child(2) {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
}
.site__chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--text);
  white-space: nowrap;
}
.site__chips svg { width: 12px; height: 12px; color: var(--accent-soft); }

/* Karten unten: laufen aus dem Hero heraus, die Seite "geht weiter" */
.site__cards {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
}
.site__cards-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.site__card {
  height: 150px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}
.site__card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site__card-head i {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(77, 125, 242, 0.7), rgba(47, 86, 196, 0.4));
  color: var(--white);
}
.site__card-head i svg { width: 18px; height: 18px; }
.site__card-head strong {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
}
.site__card p {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--text-dim);
  /* eine Zeile, der Rest wird abgeschnitten — die Karten laufen ohnehin aus
     dem Hero heraus */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Weicher Übergang zum Seitenhintergrund unten */
.hero__fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 7rem;
  background: linear-gradient(to bottom, transparent, var(--base));
}

.hero__content {
  position: relative;
  z-index: 1;
  /* Nur vertikal — das seitliche Padding kommt von .container,
     sonst klebt die Hero-Überschrift an der Displaykante */
  padding-top: 32px;
  padding-bottom: 32px;
}

.hero__inner {
  max-width: 48rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
}

.hero h1 .accent-gradient {
  background: linear-gradient(to right, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subline {
  margin-top: 24px;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--text-dim);
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Gestaffelte Eingangsanimation der Hero-Elemente */
@media (prefers-reduced-motion: no-preference) {
  .hero__animate {
    opacity: 0;
    transform: translateY(32px);
    animation: hero-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .hero__animate.d1 { animation-delay: 0.1s; }
  .hero__animate.d2 { animation-delay: 0.25s; }
  .hero__animate.d3 { animation-delay: 0.4s; }
}

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 7. Über uns + Avatar-Ring ---------- */
.about__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.founder-card {
  height: 100%;
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s, border-color 0.3s;
}

/* Zweiter Selektor mit höherer Spezifität, damit der Hover-Lift den
   eingeblendeten Reveal-Zustand (.is-visible setzt transform) überschreibt. */
.founder-card:hover,
.js-reveal [data-reveal].founder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.founder-card__avatar {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(77, 125, 242, 0.25), rgba(47, 86, 196, 0.2));
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-soft);
}

.founder-card__name {
  margin-top: 20px;
  font-size: 1.25rem;
  font-weight: 600;
}

.founder-card__role {
  margin-top: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-soft);
}

.founder-card__desc {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.founder-card__tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.founder-card__tags li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
}

.founder-card__mail {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
}

.founder-card__mail:hover { color: var(--white); }
.founder-card__mail svg { width: 15px; height: 15px; }

/* Avatar-Ring: Orbit-System */
.ring-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  perspective: 700px;
}

.ring {
  position: relative;
  width: 24rem;
  height: 24rem;
  transition: transform 0.2s ease-out;
}

.ring__glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: rgba(77, 125, 242, 0.1);
  filter: blur(40px);
}

/* Rotor = Träger einer Bahn (--spin = Sekunden pro Runde). Gedreht wird
   nicht per CSS, sondern jedes Element einzeln per JS (script.js 4c).
   Steht VOR den Bahn-Regeln, damit deren inset das inset: 0 überschreibt. */
.rotor { position: absolute; inset: 0; border-radius: 50%; }

/* Umlaufbahnen (Ringe) */
.orbit {
  position: absolute;
  border-radius: 50%;
}
.orbit--outer { inset: 3%; }  /* zweiter Außenring: Icons */
.orbit--inner { inset: 16%; } /* erster Außenring: Avatare */

.orbit-border {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.orbit-border--outer { inset: 3%; }  /* zweiter Außenring */
.orbit-border--inner { inset: 16%; } /* erster Außenring */

/* Position auf der Bahn: Slot dreht um --a (live von script.js 4c),
   Unslot dreht zurück, damit das Element aufrecht bleibt */
.orbit-slot { position: absolute; inset: 0; transform: rotate(var(--a, 0deg)); --glow: 0.5; }
.orbit-unslot { transform: rotate(calc(-1 * var(--a, 0deg))); }

/* Komet-Spur hinter einem Avatar auf dem ersten Außenring. Sitzt im
   jeweiligen .orbit-slot (Kopf bei 0° = Avatar, Schweif läuft entgegen
   der Drehung) und folgt so dem zufälligen Pendeln.
   Farbe folgt dem Tempo wie die Randfarbe (--glow vom Slot): grau-weiß
   (langsam) → blau (schnell); auch langsam bleibt er leicht sichtbar. */
.comet-track {
  --trail-tail: color-mix(in srgb, rgba(77, 125, 242, 0.05) calc(var(--glow) * 100%), rgba(255, 255, 255, 0.02));
  --trail-mid: color-mix(in srgb, rgba(77, 125, 242, 0.75) calc(var(--glow) * 100%), rgba(255, 255, 255, 0.22));
  --trail-head: color-mix(in srgb, rgb(126, 161, 247) calc(var(--glow) * 100%), rgba(255, 255, 255, 0.35));
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 240deg,
    var(--trail-tail) 255deg,
    var(--trail-mid) 340deg,
    var(--trail-head) 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}

/* Kleine Komet-Spur hinter jedem Icon auf dem zweiten Außenring.
   Sitzt im jeweiligen .orbit-slot (Kopf bei 0° = Icon) und folgt so dem
   zufälligen Pendeln. Halbe Größe der Avatare → kürzer (45°), dünner.
   Farben (--trail-*) erbt sie von .comet-track. */
.comet-track--small {
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 315deg,
    var(--trail-tail) 320deg,
    var(--trail-mid) 352deg,
    var(--trail-head) 360deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}

/* Läuft ein Element gegen den Uhrzeigersinn (z. B. beim Fallen zur Maus),
   spiegelt script.js den Schweif, damit er weiter HINTER dem Element liegt */
.orbit-slot.is-reverse .comet-track { transform: scaleX(-1); }

/* Nach einem Zusammenstoß (Maus-Gravitation) blendet der Schweif aus */
.comet-track { transition: opacity 0.4s ease; }
.orbit-slot.is-touching .comet-track { opacity: 0; }

/* Position der umlaufenden Elemente auf ihrer Bahn */
.orbit-item {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}
.orbit-item--top { top: 0; }

/* Avatare im Ring — beide gleich groß, kleiner als das Zentrum (96px) */
.ring-avatar {
  width: 64px;
  height: 64px;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, var(--panel-2), var(--base));
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-soft);
}

/* Leuchten folgt dem Tempo: --glow (0 = langsamst, 1 = schnellst) setzt
   script.js (Abschnitt 4c) live am .orbit-slot; Kreis und Schweif erben ihn.
   Ohne JS / reduced motion: mittlerer Wert 0.5.
   Die Umrandung geht von weiß (langsam) zu blau (schnell) über. */
.ring-avatar {
  box-shadow:
    0 0 0 1px color-mix(in srgb, rgba(126, 161, 247, 0.7) calc(var(--glow) * 100%), rgba(255, 255, 255, 0.15)),
    0 0 calc(12px + 28px * var(--glow)) rgba(77, 125, 242, calc(0.1 + 0.45 * var(--glow)));
}

/* Hover-Label am Avatar */
.ring-avatar-group { position: relative; }
.ring-label {
  position: absolute;
  left: 50%;
  top: 100%;
  margin-top: 8px;
  transform: translateX(-50%);
  white-space: nowrap;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #e4e4e7;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.ring-avatar-group:hover .ring-label { opacity: 1; }

/* Kompetenz-Icons im Ring */
.ring-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(16, 16, 20, 0.8);
  color: var(--text-dim);
}
.ring-icon svg { width: 14px; height: 14px; }

/* Leuchten wie bei den Avataren (folgt dem Tempo über --glow), auf die
   Icon-Größe skaliert und etwas schwächer. Umrandung wie bei den Avataren:
   weiß (langsam) → blau (schnell). */
.ring-icon {
  box-shadow:
    0 0 0 1px color-mix(in srgb, rgba(126, 161, 247, 0.6) calc(var(--glow) * 100%), rgba(255, 255, 255, 0.15)),
    0 0 calc(4px + 10px * var(--glow)) rgba(77, 125, 242, calc(0.08 + 0.32 * var(--glow)));
}

/* Zentrum des Rings */
.ring__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 5;
}
.ring__center img {
  display: block;
  width: 52px;
  height: auto;
}

/* ---------- 8. Leistungen ---------- */
.services__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30rem;
  /* Nie breiter als die Section — sonst weitet sich auf Handys
     das Layout-Viewport und Header/Footer wirken abgeschnitten */
  max-width: 100%;
  height: 30rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(77, 125, 242, 0.1);
  filter: blur(80px);
  pointer-events: none;
}

.packages {
  position: relative;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.package {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s;
}

/* Zweiter Selektor mit höherer Spezifität, damit der Hover-Lift den
   eingeblendeten Reveal-Zustand (.is-visible setzt transform) überschreibt. */
.package:hover,
.js-reveal [data-reveal].package:hover {
  transform: translateY(-6px);
}

.package--featured {
  border: 1px solid rgba(77, 125, 242, 0.4);
  background: linear-gradient(to bottom, rgba(77, 125, 242, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 70px rgba(77, 125, 242, 0.18);
  margin: -24px 0 24px; /* mittleres Paket hervorheben */
}

.package:not(.package--featured):hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.package__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--accent);
  color: var(--white);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
}

.package__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.package__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: transform 0.3s;
}
.package__icon svg { width: 22px; height: 22px; }

.package--featured .package__icon {
  border-color: rgba(77, 125, 242, 0.4);
  background: rgba(77, 125, 242, 0.15);
  color: var(--accent-soft);
}

.package:hover .package__icon {
  transform: scale(1.1);
}

.package__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-faint);
}

.package__title {
  margin-top: 24px;
  font-size: 1.5rem;
  font-weight: 600;
}

.package__desc {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.package__features {
  margin-top: 28px;
  flex: 1;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.package__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text);
}

.package__features svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--text-faint);
}

.package--featured .package__features svg {
  color: var(--accent-soft);
}

.package .btn {
  margin-top: 32px;
}

.package-wide {
  position: relative;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: var(--radius);
  padding: 20px 32px;
}

.package-wide__text {
  display: flex;
  align-items: center;
  gap: 20px;
}

.package-wide__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(77, 125, 242, 0.4);
  background: rgba(77, 125, 242, 0.15);
  color: var(--accent-soft);
}
.package-wide__icon svg { width: 22px; height: 22px; }

.package-wide__title {
  font-size: 1.125rem;
  font-weight: 600;
}

.package-wide__desc {
  margin-top: 2px;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.package-wide .btn { flex-shrink: 0; }

.pricing-note {
  margin-top: 56px;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
}

/* ---------- 8b. Testimonials (Vorher/Nachher-Bausteine) ---------- */
/* Die Mechanik der beiden Bausteine steht in css/ba-slider.css
   (Schieberegler) und css/flip-card.css (Flip-Karte).
   Hier nur die Einbettung der Sektion in das Seiten-Layout. */
.results__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30rem;
  /* wie bei .services__glow: nie breiter als die Section */
  max-width: 100%;
  height: 30rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(77, 125, 242, 0.08);
  filter: blur(80px);
  pointer-events: none;
}

.results__grid {
  position: relative;
  margin-top: 64px;
  display: grid;
  /* minmax(0, …) verhindert, dass die iframes das Grid aufblähen */
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

/* Zweiter Baustein (Flip-Karte) braucht deutlich mehr Abstand zum
   ersten, damit beide als eigenständige Beispiele lesbar bleiben. */
.results__grid + .results__grid {
  --results-gap: 144px;
  margin-top: var(--results-gap);
}

/* Kleine Trennlinie mittig im Abstand zwischen zwei Beispielen (also zwei
   Linien insgesamt): zeigt, dass ein neues Beispiel beginnt, das Ganze aber
   im selben Abschnitt bleibt. Läuft an den Enden weich aus. */
.results__grid + .results__grid::before {
  content: "";
  position: absolute;
  top: calc(var(--results-gap) / -2);
  left: 50%;
  width: min(85%, 36rem);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to right, transparent, rgba(126, 161, 247, 0.85), transparent);
  pointer-events: none;
}

/* Zweiter Baustein seitenverkehrt: Karte rechts, Text links — sorgt
   für Abwechslung zum Schieberegler-Block darüber (Karte links, Text
   rechts). Die breite Spalte (1.4fr) bleibt bei der Karte, wandert
   aber auf die rechte Seite; die Reihenfolge im HTML ist bereits
   Text-zuerst, dadurch braucht es keinen zusätzlichen order-Trick. */
.results__grid--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}

/* Der Vergleichs-Container braucht eine feste Höhe, damit die
   iframes darin scrollen können (Höhe 100 % greift sonst ins Leere).
   Zwei Selektoren, weil .ba-compare in ba-slider.css height: 100 %
   setzt und diese Datei später geladen wird. */
.results__grid .results__compare {
  height: 560px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* Baustein 3: komplett neu entwickelte Seite — Live-Vorschau im
   Browser-Rahmen (kein Vorher/Nachher). */
/* Überschrift über der Vorschau: gleiche Optik wie die Beschriftungen
   "Vorher / Nachher" der beiden anderen Bausteine (2rem Space Grotesk 600,
   Weiß, feste Zeilenhöhe + Abstand), mittig wie bei der Flip-Karte. */
.newsite__title {
  height: 2.25rem;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}

@media (max-width: 480px) {
  .newsite__title {
    height: 1.75rem;
    margin-bottom: 14px;
    font-size: 1.5rem;
  }
}

.newsite__frame {
  display: flex;
  flex-direction: column;
  height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--base);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* Browser-Leiste (Punkte + Adresszeile) — für alle drei Bausteine.
   Beim neuen Baustein steckt sie im Rahmen, bei Schieberegler und
   Flip-Karte sitzt sie als --attached-Variante fest oben auf der Vorschau. */
.browser-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}

.browser-bar__dots { display: flex; gap: 6px; }
.browser-bar__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.browser-bar__url {
  flex: 1;
  min-width: 0;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  color: var(--text-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Angesetzte Leiste: eigener Rand + runde obere Ecken; die Vorschau darunter
   verliert dafür ihren oberen Rand und ihre oberen Rundungen. Höhere
   Spezifität als ba-slider.css / flip-card.css, die beide später laden und
   unangetastet bleiben. */
.browser-bar--attached {
  --bar-radius: var(--radius);
  border: 1px solid var(--line);
  border-radius: var(--bar-radius) var(--bar-radius) 0 0;
}

.results__grid .browser-bar--attached + .results__compare {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.flip-card__face .browser-bar--attached {
  --bar-radius: var(--radius-sm);
}

.flip-card__face .browser-bar--attached + .flip-card__frame {
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.newsite__frame iframe {
  flex: 1;
  min-height: 0;
  width: 100%;
  border: 0;
}

/* Testimonial-Karte (Aufbau an .founder-card angelehnt) */
.testimonial {
  position: relative;
  border-radius: var(--radius);
  padding: 28px;
}

.testimonial__quote-mark {
  position: absolute;
  top: 4px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: rgba(77, 125, 242, 0.25);
  pointer-events: none;
}

.testimonial__text {
  position: relative;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
}

.testimonial__author {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Kleinerer Zwilling von .founder-card__avatar */
.testimonial__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, rgba(77, 125, 242, 0.25), rgba(47, 86, 196, 0.2));
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-soft);
}

/* Logo/Foto statt Initialen: füllt den runden Rahmen komplett aus */
.testimonial__avatar--img {
  overflow: hidden;
  padding: 0;
  background: #fff;
}

.testimonial__avatar--img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial__company {
  display: block;
  font-size: 0.875rem;
  color: var(--text-dim);
}

/* Link zur Live-Seite unter dem Namen + Hinweis rechts daneben */
.testimonial__site {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.testimonial__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent-soft);
  text-decoration: underline;
  text-decoration-color: rgba(126, 161, 247, 0.45);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.testimonial__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.testimonial__link:hover,
.testimonial__link:focus-visible {
  color: var(--white);
  text-decoration-color: var(--accent);
}

.testimonial__link:hover svg,
.testimonial__link:focus-visible svg {
  transform: translate(2px, -2px);
}

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

.testimonial__site-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.testimonial__site-hint svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Hinweis unter dem Link (umgebrochen, siehe script.js 4d): Pfeil nach oben */
.testimonial__site.is-stacked .testimonial__site-hint svg {
  transform: rotate(90deg);
}

.testimonial__stats {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
}

.testimonial__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-soft);
}

.testimonial__stat-label {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-faint);
}

.testimonial__hint {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--text-faint);
}

/* ---------- 9. Ablauf (Timeline) ---------- */

/* Bühne für die Scroll-Choreografie.
   Aufgeteilt auf zwei Ebenen, weil beide Effekte sonst um dieselbe
   transform-Eigenschaft konkurrieren würden:
     .ablauf__head        -> position: sticky, hält die Überschrift fest
     .ablauf__head-inner  -> transform, fährt sie beim Hereinscrollen ein
   Das Festhalten übernimmt damit der Browser im Compositor statt JavaScript.
   Eine JS-Nachbildung müsste die Scrollbewegung Frame für Frame gegenrechnen
   und zittert dabei zwangsläufig, weil Scroll-Event und Bildaufbau nie exakt
   im selben Frame liegen.

   Hinweis: Die nach rechts geschobene Timeline ist als Kasten breiter als das
   Fenster (ihr sichtbarer Text nicht). Das erzeugt keine Scrollleiste, weil
   html bereits overflow-x: clip trägt (siehe Abschnitt 1). */
.ablauf {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: var(--ah-gap);
  /* Reicht die Timeline-Höhe nicht, damit die Überschrift bis auf Höhe der
     Zahl 04 kleben kann, verlängert dies die Spalte um die fehlenden Pixel. */
  min-height: var(--ah-minh, 0px);

  --ah-gap: 96px; /* Luft zwischen Überschrift und Zahlenspalte */
  --ah-w: min(24rem, 30vw); /* Textbreite der Überschrift */

  /* Von script.js einmal pro Layout gesetzt (nicht pro Frame): */
  --ah-pull: 0px; /* wie weit die Spalte über den Container nach links ragt */
  --ah-lead: 0px; /* Vorlauf, der die Blockmitte auf Zahl 01 ausrichtet */
  --ah-tail: 0px; /* Nachlauf, der das Kleben bei Zahl 04 beendet */
  --ah-minh: 0px; /* Mindesthöhe der Klebestrecke */
  --ah-top: 0px; /* Höhe, auf der die Überschrift festhält */

  /* Von script.js pro Frame gesetzt — nur die Einfahrt: */
  --ah-x: 0px;
  --ah-y: 0px;
  --at-x: 0px;
  --at-y: 0px;
}

/* Der Reveal-Effekt blendet diesen Abschnitt nur ein (opacity). Sein sonst
   übliches translateY ist hier abgeschaltet: ein transform auf einem Vorfahren
   der sticky-Überschrift würde deren Bezugsrahmen verschieben. */
.js-reveal .ablauf[data-reveal],
.js-reveal .ablauf[data-reveal].is-visible {
  transform: none;
}

/* Desktop: Zusätzlicher Innenabstand oben und unten (synchron), damit der
   Sprung über "Ablauf" in der Navigation weiterhin an der Abschnittsgrenze
   landet, aber schon Schritt 01 (nicht 02) in der Bildschirmmitte steht.
   Der Inhalt rutscht dabei komplett um denselben Betrag nach unten, die
   Messungen in script.js (Positionen statt fester Werte) passen sich an.
   Bezugsgröße ist die Fensterhöhe, weil das Aktiv-Band mittig im Fenster
   liegt; 310px ist der Abstand von Abschnittsgrenze bis Zahl 01 auf dem Sprung.
   Mobile (<1200px) und reduzierte Bewegung bleiben unberührt. */
@media (min-width: 1200px) and (prefers-reduced-motion: no-preference) {
  #informationen {
    --ablauf-extra: max(0px, calc(50vh - 310px));
    padding-block: calc(96px + var(--ablauf-extra));
  }
}

/* Die Spalte ist so hoch wie die Timeline (align-items: stretch) — genau diese
   Höhe ist die Strecke, über die die Überschrift kleben darf. */
.ablauf__col {
  flex: 0 0 calc(var(--ah-w) - var(--ah-pull));
  position: relative;
  z-index: 2; /* liegt über der Timeline-Linie */
}

.ablauf__head {
  position: sticky;
  top: var(--ah-top);
  /* Muss über der Timeline liegen, sonst laufen die Schritt-Texte durch die
     Überschrift. Sitzt am Element selbst, weil die Spalte auf schmalen
     Bildschirmen per display: contents verschwindet. */
  z-index: 2;
  /* Feste Textbreite von Anfang an: Eine animierte Breite müsste in jedem Frame
     den Textumbruch neu berechnen und würde die Bewegung stocken lassen. */
  width: var(--ah-w);
  margin-left: calc(-1 * var(--ah-pull));
  margin-top: var(--ah-lead);
  /* Der Nachlauf begrenzt die Klebestrecke: sticky endet, sobald Unterkante
     plus margin-bottom die Spaltenunterkante erreicht — dort steht die
     Blockmitte exakt auf Zahl 04. */
  margin-bottom: var(--ah-tail);
}

.ablauf__head-inner {
  transform: translate3d(var(--ah-x), var(--ah-y), 0);
  will-change: transform;
}

.timeline {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  margin-top: 80px;
  transform: translate3d(var(--at-x), var(--at-y), 0);
  will-change: transform;
}

/* Vertikale Linie: graue Spur + blaue Füllung.
   Die Höhe endet in der Mitte der letzten Zahl (von script.js gemessen) statt
   am Ende des letzten Schritt-Textes — sonst liefe die leuchtende Füllung beim
   Weiterscrollen unter der 04 weiter ins Leere. */
.timeline__line {
  position: absolute;
  left: 5rem;
  top: 0;
  width: 1px;
  height: var(--tl-line-h, 100%);
}
.timeline__line-track {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--line-strong), var(--line-strong) 60%, transparent);
}
.timeline__line-fill {
  position: absolute;
  inset: 0;
  transform: scaleY(0);
  transform-origin: top;
  background: linear-gradient(to bottom, var(--accent), var(--accent-soft));
  box-shadow: 0 0 12px rgba(77, 125, 242, 0.5);
}

.timeline__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 40px;
}

.step__number {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1;
  justify-self: center;
  align-self: start;
  background: var(--section-bg, var(--base));
  padding: 12px 0;
  /* Startzustand: gedimmt; wird per JS zu .step.active hell */
  color: rgba(77, 125, 242, 0.25);
  transition: color 0.5s, text-shadow 0.5s, transform 0.5s;
}

.step__body {
  align-self: start;
  padding-top: 12px;
  opacity: 0.4; /* inaktive Schritte gedimmt (Spotlight) */
  transition: opacity 0.5s;
}

.step.active .step__number {
  color: var(--accent-soft);
  text-shadow: 0 0 44px rgba(77, 125, 242, 0.55);
  transform: scale(1.06);
}

.step.active .step__body {
  opacity: 1;
}

.step__title {
  font-size: 1.5rem;
  font-weight: 600;
}

.step__desc {
  margin-top: 12px;
  max-width: 36rem;
  font-size: 1rem;
  color: var(--text-dim);
}

@media (prefers-reduced-motion: reduce) {
  .step__number { color: var(--accent-soft); }
  .step__body { opacity: 1; }
  .timeline__line-fill { transform: scaleY(1); }
  /* Choreografie komplett aus: Layout wie ohne JavaScript */
  .ablauf { display: block; }
  .ablauf__col { display: contents; }
  .ablauf__head {
    position: static;
    width: auto;
    margin: 0;
  }
  .ablauf__head-inner { transform: none; }
  .timeline { transform: none; }
}

/* Unter 1200px reicht die Breite nicht für die Überschrift NEBEN der Timeline
   (die Schritt-Texte brauchen ihre 36rem). Der Abschnitt stapelt dort wieder,
   die Überschrift klebt nur unter der Navbar und löst sich am Ende von
   Schritt 4. display: contents nimmt die Spalte aus dem Kasten-Baum, damit
   .ablauf__head direktes Kind von .ablauf wird — dessen Höhe ist dann die
   Klebestrecke. Das läuft komplett ohne JavaScript. */
@media (max-width: 1199px) {
  .ablauf { display: block; }
  .ablauf__col { display: contents; }
  .ablauf__head {
    width: auto;
    /* Vorlauf und Nachlauf gelten nur für das Nebeneinander auf dem Desktop */
    margin-top: 0;
    margin-bottom: 0;
    /* Die klebende Überschrift steht hier ÜBER der Timeline (kein freier
       Seitenstreifen wie auf dem Desktop). Deckender Hintergrund über die volle
       Breite, damit die durchlaufenden Schritt-Texte nicht durchscheinen. */
    background: var(--section-bg, var(--base));
    margin-inline: -24px;
    /* Der Abstand zur Navbar steckt im Innenabstand statt in top: sonst bleibt
       zwischen Navbar und Überschrift ein freier Streifen, durch den die
       Zahlen beim Scrollen über der Überschrift sichtbar werden. Die
       Überschrift klebt deshalb direkt unter der Navbar (Höhe + 1 px Rand). */
    top: calc(var(--nav-height) + 1px);
    padding: 16px 24px 16px;
  }
  /* Weicher Auslauf nach unten statt harter Kante */
  .ablauf__head::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 28px;
    background: linear-gradient(to bottom, var(--section-bg, var(--base)), transparent);
    pointer-events: none;
  }
  .ablauf__head-inner { transform: none; }
  .timeline { transform: none; }
}

/* ---------- 10. Kontakt ---------- */
.contact__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.contact-form {
  border-radius: var(--radius);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #e4e4e7;
}

.field .req { color: var(--accent-soft); }

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Beispiel-Platzhalter: gut sichtbares Grau, weicher Farbübergang */
.field input::placeholder,
.field textarea::placeholder {
  color: #8b8b95;
  opacity: 1; /* Firefox dimmt Platzhalter sonst zusätzlich */
  transition: color 0.2s;
}

/* Hover über einem einzelnen Feld: blaues Aufleuchten + hellerer Platzhalter */
.field input:hover,
.field textarea:hover {
  border-color: rgba(77, 125, 242, 0.55);
  box-shadow: 0 0 0 1px rgba(77, 125, 242, 0.25),
              0 0 18px rgba(77, 125, 242, 0.2);
}
.field input:hover::placeholder,
.field textarea:hover::placeholder {
  color: #c4c4cc;
}

/* Fokus (Reinklicken): kräftiger blauer Rahmen ... */
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(77, 125, 242, 0.75);
  box-shadow: 0 0 0 2px rgba(77, 125, 242, 0.35),
              0 0 22px rgba(77, 125, 242, 0.22);
}

/* ... und der Beispiel-Platzhalter verschwindet */
.field input:focus::placeholder,
.field textarea:focus::placeholder {
  color: transparent;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox-Zeile (z. B. "Keine Website" / Datenschutz-Einwilligung) */
.field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.field--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.field--checkbox label {
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
}

.field--checkbox a {
  color: var(--accent-soft);
  text-decoration: underline;
}

.field input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Honeypot gegen Spam — für Menschen unsichtbar */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-privacy {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.form-privacy a {
  color: var(--accent-soft);
  text-decoration: underline;
}

.form-status {
  margin-top: 20px;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.875rem;
}
.form-status.success {
  border: 1px solid rgba(77, 125, 242, 0.3);
  background: rgba(77, 125, 242, 0.1);
  color: var(--accent-soft);
}
.form-status.error {
  border: 1px solid rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.1);
  color: #fca5a5;
}

/* Website-Check-Seite: erste Section beginnt mit klarem Abstand
   unter der fixen Navbar (nicht gequetscht) */
.check-section {
  padding-top: calc(var(--nav-height) + 88px);
}

.check-form {
  max-width: 640px;
  margin: 48px auto 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Karte vertikal mittig neben dem Formular */
  gap: 24px;
  height: 100%;
}

.contact-card {
  border-radius: var(--radius);
  padding: 40px 36px;
}

.contact-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 0.9375rem;
}

.contact-card li {
  display: flex;
  align-items: center; /* Icon mittig zum Text daneben */
  gap: 14px;
}

.contact-card svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent-soft);
}

.contact-card .label { color: var(--text-dim); }
.contact-card .value { color: #e4e4e7; }
.contact-card a.value:hover { color: var(--white); }
.contact-card strong { color: var(--white); font-weight: 500; }

/* ---------- 11. Footer ---------- */
/* Gleicher Footer auf allen Seiten (Start, Website-Check, Rechtsseiten).
   Aufbau: Marke (Logo, Kurztext, Instagram) | Navigation | Rechtliches,
   darunter eine Zeile mit dem Copyright. */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(16, 16, 20, 0.4);
}

.footer__inner {
  /* Nur vertikal — seitliches Padding kommt von .container,
     sonst klebt der Footer-Inhalt an der Displaykante */
  padding-top: 72px;
  padding-bottom: 56px;
  display: grid;
  /* minmax(0, …): lange Wörter dürfen die Spalten nie aufblähen */
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 64px;
  align-items: start;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__desc {
  margin-top: 20px;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-faint);
}

.footer h2 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e4e4e7;
}

.footer ul {
  margin-top: 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer ul a {
  font-size: 0.875rem;
  color: var(--text-faint);
  transition: color 0.2s;
}

.footer ul a:hover { color: var(--white); }

.footer__social {
  margin-top: 28px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  transition: all 0.3s;
}
.footer__social:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
  transform: translateY(-2px);
}
.footer__social svg { width: 18px; height: 18px; }

.footer__bottom {
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
}
.footer__bottom p {
  font-size: 0.75rem;
  color: #52525b;
}

/* Tablet: Marke oben über die volle Breite, Navigation und Rechtliches
   nebeneinander darunter */
@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px 32px;
    padding-top: 56px;
    padding-bottom: 40px;
  }
  .footer__brand { grid-column: 1 / -1; }
}

/* Sehr schmale Handys: alles untereinander */
@media (max-width: 340px) {
  .footer__inner { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 12. Rechtsseiten ---------- */
.legal {
  max-width: 48rem;
  margin: 0 auto;
  padding: 144px 24px 96px;
  min-height: 70dvh;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-faint);
  transition: color 0.2s;
}
.legal__back:hover { color: var(--white); }
.legal__back svg { width: 15px; height: 15px; }

.legal h1 {
  margin-top: 32px;
  font-size: 2.25rem;
  font-weight: 600;
}

.legal section {
  margin-top: 40px;
}

.legal h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.legal p {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text-dim);
}

.legal p a {
  color: var(--text);
  transition: color 0.2s;
}
.legal p a:hover { color: var(--white); }

/* Listen und Zwischenüberschriften in längeren Rechtstexten (Datenschutz) */
.legal ul {
  margin-top: 12px;
  padding-left: 20px;
  list-style: disc;
  font-size: 0.875rem;
  color: var(--text-dim);
}
.legal li { margin-top: 6px; }
.legal h3 {
  margin-top: 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.legal p strong { color: var(--text); font-weight: 600; }

/* Markierung für noch einzutragende Angaben */
.legal__todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(77, 125, 242, 0.16);
  color: var(--accent-soft);
}

/* ---------- 13. Responsive ---------- */
/* Telefon nur als Icon, damit die Navbar neben dem langen CTA nicht überläuft */
@media (max-width: 1200px) {
  .nav-phone {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    border-color: var(--line);
  }
  .nav-phone__number { display: none; }
}

/* Navigation klappt ins Hamburger-Menü; Telefon-Icon bleibt sichtbar */
@media (max-width: 1160px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 1024px) {

  .about__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .ring-wrap { order: 2; }

  .packages {
    grid-template-columns: 1fr;
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
  }
  .package--featured { margin: 0; }

  .package-wide {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
  }
  .package-wide__text { flex-direction: column; }

  .contact__grid { grid-template-columns: 1fr; }

  /* Beispiele untereinander. Höhe an den Bildschirm koppeln, damit unter dem
     Vergleich noch Platz zum Weiterscrollen bleibt. */
  .results__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* Erst die Webseite, darunter das passende Testimonial. In der zweiten Reihe
     steht der Text im HTML zuerst, deshalb explizit nach hinten. */
  .testimonial { order: 1; }
  .results__grid .results__compare { height: min(70vh, 520px); }
  .results__grid .flip-card__inner { min-height: min(70vh, 520px); }
  .newsite__frame { height: min(70vh, 520px); }
  .results__grid + .results__grid { --results-gap: 96px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  /* muss NACH .section stehen, sonst überschreibt die Zeile oben
     den großzügigen Abstand unter der fixen Navbar (Check-Seite) */
  .check-section { padding-top: calc(var(--nav-height) + 72px); }
  .section-heading { font-size: 1.875rem; }

  /* Timeline auf Mobile: mitwachsende Linie am linken Rand,
     Nummer + Text rechts daneben eingerückt */
  .timeline { padding-left: 40px; }
  .timeline__line {
    left: 12px;
    /* Auf Mobile reicht die Linie bis zur letzten Textzeile von Schritt 4
       (100 % der Timeline) statt nur bis zur Mitte der Zahl — script.js
       setzt --tl-line-h weiterhin für den Desktop. */
    height: 100%;
  }
  .step {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .step__number {
    justself: start;
    justify-self: start;
    /* deckt die Linie nicht ab (Inhalt ist eingerückt) */
    background: transparent;
    padding: 0;
    font-size: 2.75rem;
  }
  .step__body { padding-top: 8px; }

  .founders { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .results__grid .results__compare { height: min(65vh, 440px); }
  .results__grid .flip-card__inner { min-height: min(65vh, 440px); }
  .newsite__frame { height: min(65vh, 440px); }
  .testimonial__stats { grid-template-columns: 1fr 1fr; }

  .ring { width: 18rem; height: 18rem; }
  .ring-avatar { width: 52px; height: 52px; font-size: 1rem; }
}

@media (max-width: 420px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; white-space: normal; text-align: center; }
}

/* Hero: Fake-Webseite auf Tablet/Handy — sieht aus wie eine Seite im Handy-Browser:
   nur eine runde Adresszeile, Logo + Burger-Menü, darunter eine Karte pro Zeile,
   die unten aus dem Bild herausläuft ("die Seite geht weiter"). */
@media (max-width: 768px) {
  .hero {
    --site-nav-h: 56px;
    padding-bottom: 190px;
  }

  /* Adresszeile wie im mobilen Browser: keine Fenster-Punkte, runde Pille */
  .hero__chrome .browser-bar__dots,
  .hero__chrome::after { display: none; }
  .hero__chrome .browser-bar__url {
    flex: 1 1 auto;
    max-width: 20rem;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8125rem;
  }

  /* Navigation: Logo links, Burger rechts statt Button */
  .site__links,
  .site__btn { display: none; }
  .site__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px 2px;
  }
  .site__burger i {
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.7);
  }
  .site__nav-inner { gap: 16px; }

  /* Karten einspaltig, die untere schneidet der Hero-Rand ab */
  .site__cards { bottom: -64px; }
  .site__cards-inner { grid-template-columns: 1fr; gap: 12px; }
  .site__card:nth-child(3) { display: none; }
  .site__card { height: 110px; padding: 14px; }
  .site__card-head { gap: 10px; }
  .site__card-head i { width: 26px; height: 26px; border-radius: 8px; }
  .site__card-head i svg { width: 15px; height: 15px; }
  .site__card-head strong { font-size: 0.9375rem; }
  .site__card p { margin-top: 10px; font-size: 0.75rem; }
}

/* Hero-Hintergrund auf Handy/Tablet: Punktraster statt Fake-Webseite.
   Das Raster zeichnet js/hero-dots.js auf das <canvas>; Antippen schickt
   eine Lichtwelle durch die Punkte, ohne Antippen pulsiert alle paar
   Sekunden eine Welle hinter den Buttons hervor. Darunter liegt ein
   ruhender, sehr weicher Blauschimmer (reines CSS, kein Blur-Filter). */
.hero__dots { display: none; }

@media (max-width: 768px) {
  /* Fake-Webseite und die driftenden Lichter entfallen */
  .hero__site,
  .orb,
  .hero__cursor { display: none; }
  .hero__bg {
    animation: none;
    background:
      radial-gradient(ellipse 85% 45% at 50% 78%, rgba(77, 125, 242, 0.16), transparent 70%),
      radial-gradient(ellipse 70% 40% at 15% 8%, rgba(47, 86, 196, 0.14), transparent 70%);
  }

  .hero__dots {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* oben unter der Navbar sanft ausblenden */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9rem);
    mask-image: linear-gradient(to bottom, transparent 0, #000 9rem);
  }
}

/* City-Kiosk-Vorschau: Desktop-Ansicht, herunterskaliert.
   Die Seite wird in 1280 px Breite gerendert und per JS (js/newsite-scale.js)
   auf die Rahmenbreite verkleinert. In der Handyansicht der MaKu-Seite
   (<= 767 px) bleibt es ein normales iframe, damit dort die mobile
   Ansicht der Kiosk-Seite erscheint. */
.newsite__viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.newsite__viewport iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.newsite__viewport.is-scaled iframe {
  width: 1280px;
  max-width: none;
  transform-origin: 0 0;
}
