/* ============================================================
   Janis Jäger – Digital Solutions
   Design-System: Teal-Signal auf kühlem Near-Black, runde Ecken (--r1..r3)
   Hintergrund: weicher Verlauf im .backdrop (kein Raster)
   Schrift lokal: Space Grotesk (Display/Body) + Geist Mono (Labels) — DSGVO/CSP: keine externe Verbindung
   ============================================================ */

/* === Lokale, variable Schriftarten (je eine Datei, alle Schnitte) ===
   Space Grotesk = Display + Body (Nutzerwunsch). Geist Mono = Labels/Kicker/Nav.
   Hinweis: bricolage-grotesque + geist (sans) wurden entfernt – die Dateien
   existierten nicht mehr, dadurch fiel der Text auf System-Schrift zurück. */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
}

/* === Design-Tokens (Dark = Standard) === */
:root {
  color-scheme: dark;

  --bg: #0A0F0F;        /* kühles Near-Black */
  --bg-1: #0F1514;      /* leicht abgehobene Fläche */
  --bg-2: #141B1A;      /* Inputs / Vertiefung */
  --ink: #E9F1F0;
  --ink-strong: #FAFEFD;
  --muted: #93A1A0;
  --muted-2: #66716F;

  --line: rgba(233, 241, 240, 0.12);
  --line-2: rgba(233, 241, 240, 0.22);

  --accent: #14B8A6;          /* Teal – das eine Signal */
  --accent-2: #2DD4BF;        /* Hover heller */
  --accent-text: #2DD4BF;     /* Akzent als Text (auf Dunkel) */
  --accent-dim: rgba(20, 184, 166, 0.13);
  --accent-line: rgba(45, 212, 191, 0.40);
  --on-accent: #06100F;       /* Text auf Teal-Fläche */

  --font-display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", "SFMono-Regular", Menlo, monospace;

  --r1: 4px;
  --r2: 8px;
  --r3: 12px;

  --container: 1200px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);

  /* Bewegung: kräftige Ease-out-Kurve für UI-Interaktionen (stärker als die CSS-Defaults) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  /* iOS Safe-Area: Seitenränder der Seite */
  --gap: 22px;
  --pad-x: max(var(--gap), env(safe-area-inset-left));
}

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

  --bg: #F4F9F9;            /* kühles Near-White */
  --bg-1: #FFFFFF;
  --bg-2: #FFFFFF;
  --ink: #0E1717;
  --ink-strong: #061010;
  --muted: #51605E;
  --muted-2: #7C8B89;

  --line: rgba(14, 23, 23, 0.14);
  --line-2: rgba(14, 23, 23, 0.24);

  --accent: #14B8A6;
  --accent-2: #0EA396;
  --accent-text: #115E59;   /* dunkles Teal für Text auf Hell – abgedunkelt für besseren Kontrast (~7.7:1 auf Weiß, WCAG AAA) */
  --accent-dim: rgba(20, 184, 166, 0.14);
  --accent-line: rgba(17, 94, 89, 0.42); /* #115E59 – an --accent-text angeglichen */
  --on-accent: #06100F;

  --shadow: 0 16px 40px rgba(14, 23, 23, 0.10);
}

/* === Reset === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 96px);
  background-color: var(--bg);   /* Backstop: füllt Canvas inkl. Safe-Area */
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;              /* kein H-Scroll, OHNE Scroll-Container (Safe-Area bleibt gefüllt) */
  transition: background-color 240ms ease, color 240ms ease;
}

/* === Hintergrund: schlichter, weicher Verlauf (kein Raster) === */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 80% at 50% -6%, rgba(20, 184, 166, 0.06), transparent 42%),
    linear-gradient(180deg, #10191800 0%, var(--bg) 40%);
}
html:not([data-theme="light"]) .backdrop {
  background-image:
    radial-gradient(120% 80% at 50% -6%, rgba(20, 184, 166, 0.06), transparent 42%),
    linear-gradient(180deg, #0F1716 0%, var(--bg) 42%);
}
html[data-theme="light"] .backdrop {
  background-image:
    radial-gradient(120% 80% at 50% -6%, rgba(20, 184, 166, 0.05), transparent 42%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg) 46%);
}

/* Safe-Area-Kappe: deckt die Statusleisten-/Dynamic-Island-Zone deckend ab,
   damit scrollender Text NICHT hinter/über der Insel erscheint. Höhe 0 ohne Notch. */
.topcap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* deckt bis zur Oberkante der schwebenden Navbar – kein Text-Schlitz neben der Island */
  height: calc(env(safe-area-inset-top, 0px) + 12px);
  background-color: var(--bg);
  z-index: 60;
  pointer-events: none;
}

/* === Basistypografie === */
a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink-strong);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

p { overflow-wrap: break-word; }

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

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

/* === Layout === */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding:
    calc(env(safe-area-inset-top, 0px) + 14px)
    var(--pad-x)
    calc(env(safe-area-inset-bottom, 0px) + 14px);
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: var(--r1);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-mono);
  font-weight: 600;
  transition: top 160ms ease;
}
.skip-link:focus {
  top: calc(env(safe-area-inset-top, 0px) + 16px);
}

/* === Header / Nav === */
.site-header {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  z-index: 30;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 12px 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r3);
  background: color-mix(in srgb, var(--bg-1) 92%, transparent);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.logo-tile {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: var(--r1);
  border: 1px solid var(--line-2);
  background: transparent;
}
.logo-tile img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: invert(1);          /* schwarzes JJ -> hell auf Dunkel */
}
html[data-theme="light"] .logo-tile img {
  filter: none;
}

.brand-copy strong {
  display: block;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-copy span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: var(--r1);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 150ms ease, background-color 150ms ease;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink-strong);
  background: var(--accent-dim);
  outline: none;
}

.theme-toggle,
.mobile-toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r1);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.theme-toggle:hover,
.mobile-toggle:hover {
  color: var(--ink-strong);
  border-color: var(--accent-line);
  background: var(--accent-dim);
}
.theme-toggle svg,
.mobile-toggle svg {
  width: 19px;
  height: 19px;
}

.mobile-toggle { display: none; }

.mobile-menu {
  display: none;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--bg-1);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 15px 18px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a:hover { color: var(--accent-text); }

/* === Mono-Label (Kicker / Eyebrow) === */
.section-kicker,
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker {
  margin-bottom: 18px;
}
.section-kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent-line);
}

.hero-eyebrow::before {
  content: "//";
  color: var(--accent-text);
}

/* === Hero === */
.hero {
  padding: clamp(36px, 5.5vw, 70px) 0 clamp(44px, 6vw, 78px);
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
}
.hero-heading { min-width: 0; order: 1; }
.hero-person { order: 2; justify-self: end; }

.hero-eyebrow { margin-bottom: 22px; }

.hero-title-mobile { display: none; }
.hero-title-desktop { display: block; }

.hero-content {
  margin-top: clamp(24px, 3.6vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.text-aurora {
  color: var(--accent-text);
}

.lead {
  max-width: 60ch;
  color: var(--ink);
  font-size: clamp(1.06rem, 1.4vw, 1.24rem);
  line-height: 1.6;
  font-weight: 450;
}
.copy {
  margin-top: 16px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* === Buttons === */
.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: var(--r1);
  border: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn svg { width: 19px; height: 19px; }

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-2);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink-strong);
  border-color: var(--line-2);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent-line);
  color: var(--accent-text);
  transform: translateY(-2px);
}

/* === Hero-Proof === */
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  overflow: hidden;
}
.proof-card {
  padding: 18px;
  border-right: 1px solid var(--line);
  background: var(--bg-1);
}
.proof-card:last-child { border-right: 0; }
.proof-card strong {
  display: block;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 1.0rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.proof-card span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

/* === Portrait (Spec-Foto mit Passermarken) === */
.portrait-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--r2);
  background: var(--bg-1);
}
/* Passermarken / Eckwinkel */
.portrait-card::before,
.portrait-card::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid var(--accent-line);
  pointer-events: none;
}
.portrait-card::before {
  top: -1px; left: -1px;
  border-right: 0; border-bottom: 0;
}
.portrait-card::after {
  bottom: -1px; right: -1px;
  border-left: 0; border-top: 0;
}
.portrait-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--r1);
}
.portrait-info {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 12px;
  border-radius: var(--r1);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border: 1px solid var(--line-2);
}
.portrait-info strong {
  display: block;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}
.portrait-info span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* === Sektionen === */
.section {
  padding: clamp(58px, 8vw, 92px) 0;
  border-top: 1px solid var(--line);
}
#top.hero { border-top: 0; }

.section-header {
  max-width: 880px;
  margin-bottom: 40px;
}
.section-title {
  font-size: clamp(1.85rem, 3.6vw, 3.1rem);
  line-height: 1.02;
}
.section-text {
  margin-top: 18px;
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.0rem;
  line-height: 1.72;
}

/* === Problem / Lösung === */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.problem-panel,
.solution-panel {
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--bg-1);
  padding: 30px;
}
.problem-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin-top: 24px;
}
.problem-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.6;
}
.problem-list li:first-child { border-top: 0; padding-top: 0; }
.check-dot {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border: 1px solid var(--accent-line);
  border-radius: var(--r1);
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1;
}
.check-dot::before { content: "+"; }

.solution-panel {
  display: grid;
  align-content: center;
}
.quote {
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.quote-sub {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.0rem;
  line-height: 1.75;
}

/* === Karten === */
.cards { display: grid; gap: 14px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--bg-1);
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-line);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--r1);
  color: var(--ink-strong);
  transition: color 180ms ease, border-color 180ms ease;
}
.card:hover .card-icon {
  color: var(--accent-text);
  border-color: var(--accent-line);
}
.card-icon svg { width: 22px; height: 22px; }

.card h3 {
  font-size: 1.22rem;
  line-height: 1.15;
  margin-bottom: 10px;
}
.card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.why-card { min-height: 180px; }
.audience-card { min-height: 150px; }
.audience-card h3 { font-size: 1.08rem; }

.card-price {
  width: fit-content;
  margin-top: 20px;
  padding: 8px 12px;
  border: 1px solid var(--accent-line);
  border-radius: var(--r1);
  background: var(--accent-dim);
}
.card-price strong {
  color: var(--ink-strong);
  font-family: var(--font-mono);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pricing-note {
  margin-top: 22px;
  max-width: 90ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* === Ablauf / Prozess === */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: process;
}
.process-step {
  position: relative;
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--bg-1);
  counter-increment: process;
  transition:
    transform 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    background-color 200ms var(--ease-out);
}
.process-step:hover {
  transform: translateY(-3px);
  border-color: var(--accent-line);
}
.process-step:active {
  transform: translateY(-3px) scale(0.985);
}
.process-step::before {
  content: counter(process, decimal-leading-zero);
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 18px;
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
/* Verbindungsfaden: führt das Auge 01 -> 02 -> 03 -> 04 (Sequenz statt vier loser Karten).
   Startet an der Nummer und überbrückt den Spalt (gap) zur nächsten Karte. */
.process-step::after {
  content: "";
  position: absolute;
  left: 50px;                       /* hinter der zweistelligen Nummer */
  top: 36px;                        /* mittig auf der Nummern-Zeile */
  width: calc(100% - 50px + 14px);  /* Rest der Karte + gap zur nächsten */
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--accent-line),
    color-mix(in srgb, var(--accent-line) 22%, transparent)
  );
  transition: background 200ms var(--ease-out);
  pointer-events: none;
}
.process-step:last-child::after { display: none; }
.process-step:hover::after {
  background: linear-gradient(
    90deg,
    var(--accent),
    color-mix(in srgb, var(--accent-line) 22%, transparent)
  );
}
.process-step h3 {
  font-size: 1.14rem;
  margin: 14px 0 10px;
}
.process-step p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* === Pakete (optional, falls reaktiviert) === */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}
.price-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--bg-1);
}
.price-card.featured { border-color: var(--accent-line); }
.price-badge {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: var(--r1);
  color: var(--accent-text);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.package-hint {
  margin: 18px 0;
  padding: 13px 14px;
  border-radius: var(--r1);
  color: var(--ink-strong);
  background: var(--bg-2);
  border: 1px solid var(--line);
  font-weight: 500;
  line-height: 1.45;
}
.feature-list {
  display: grid;
  gap: 11px;
  list-style: none;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}
.feature-list li { display: flex; gap: 10px; align-items: flex-start; }
.feature-list li::before {
  content: "+";
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* === Kontakt === */
.contact-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 16px;
  align-items: stretch;
}
.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--bg-1);
}
.contact-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin-top: 26px;
}
.contact-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.contact-list li:first-child { border-top: 0; }
.contact-list a,
.contact-list span {
  display: block;
  color: var(--ink);
  line-height: 1.45;
  font-weight: 500;
}
.contact-list a:hover { color: var(--accent-text); }
.contact-list small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

.contact-form { display: grid; gap: 16px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--r1);
  background: var(--bg-2);
  color: var(--ink);
  padding: 14px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}
.field select option { background: var(--bg-2); color: var(--ink); }
.field textarea { min-height: 144px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }

.field-checkbox label {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  text-transform: none;
  letter-spacing: 0;
}
.field-checkbox input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.field-checkbox a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* === Footer === */
.site-footer {
  margin-top: 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-inner p { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; }
.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-links a:hover { color: var(--accent-text); }

/* Honeypot */
.hp-field { display: none; }

/* === Scroll-Reveal (nur mit aktivem JS) === */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hero-Eintritt (gestaffelt) */
@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow,
  .hero-title-desktop,
  .hero-title-mobile,
  .hero-content,
  .hero-person {
    animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-eyebrow { animation-delay: 0.05s; }
  .hero-title-desktop,
  .hero-title-mobile { animation-delay: 0.12s; }
  .hero-content { animation-delay: 0.24s; }
  .hero-person { animation-delay: 0.18s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .cards-4,
  .cards-5,
  .process,
  .pricing { grid-template-columns: repeat(2, 1fr); }

  /* Verbindungsfaden ist eine Desktop-Verfeinerung (4 nebeneinander).
     Sobald die Schritte umbrechen, würde der waagerechte Faden ins Leere zeigen -> aus. */
  .process-step::after { display: none; }
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .mobile-toggle { display: grid; }

  .hero-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-heading { order: 2; }
  .hero-person { order: 1; justify-self: start; }
  .portrait-card { max-width: 280px; }

  .problem-grid,
  .contact-shell { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .cards-4,
  .cards-3,
  .cards-5,
  .process,
  .pricing,
  .form-grid { grid-template-columns: 1fr; }

  .hero-proof { grid-template-columns: 1fr; }
  .proof-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-card:last-child { border-bottom: 0; }
}

/* === Mobile / kompaktes Hero mit umflossenem Portrait === */
@media (max-width: 600px) {
  :root { --gap: 14px; }

  .nav { padding: 9px 10px 9px 12px; }
  .logo-tile { width: 40px; height: 40px; }
  .logo-tile img { width: 25px; height: 25px; }
  .brand-copy strong { font-size: 0.95rem; }

  .hero { padding: 30px 0 34px; }
  .hero-top { display: block; }
  .hero-person { display: none; }

  /* Desktop-H1 verstecken (mobile Variante übernimmt) */
  .hero-title-desktop {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
  }

  .hero-title-mobile {
    display: block;
    font-family: var(--font-display);
    color: var(--ink-strong);
    font-size: clamp(2.65rem, 12.6vw, 3.85rem);
    line-height: 0.96;
    letter-spacing: -0.04em;
    font-weight: 700;
  }
  .mobile-line { display: block; }

  .mobile-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(134px, 38vw, 158px);
    align-items: center;
    gap: 10px;
  }
  .mobile-text-left { display: block; min-width: 0; }
  .mobile-portrait { display: block; align-self: center; }

  .mobile-portrait .portrait-card {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    padding: 4px;
    border-radius: 22px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.025)),
      var(--bg-1);
    border: 1px solid var(--line);
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.28),
      0 0 52px rgba(20, 184, 166, 0.10);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
  }

  .mobile-portrait .portrait-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 22%;
    border-radius: 16px;
  }
  .mobile-portrait .portrait-info {
    left: 8px; right: 8px; bottom: 8px;
    padding: 6px 8px;
  }
  .mobile-portrait .portrait-info strong { font-size: 0.7rem; white-space: nowrap; }
  .mobile-portrait .portrait-info span { font-size: 0.56rem; white-space: nowrap; }

  .actions { flex-direction: column; }
  .btn { width: 100%; }

  .problem-panel,
  .solution-panel,
  .card,
  .process-step,
  .price-card,
  .contact-card { padding: 22px; }
}
