/* Switzer — lokal eingebunden */
@font-face {
  font-family: 'Switzer';
  src: url('fonts/Switzer-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('fonts/Switzer-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('fonts/Switzer-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('fonts/Switzer-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('fonts/Switzer-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   DESIGN TOKENS — RAL 7015 (Schiefergrau) + RAL 3020 (Verkehrsrot)
   MTRLab — Studio / Atelier / Design-Manufaktur
   ============================================================ */

/* Font: Switzer (Sans-Serif) — durchgehend auf gesamter Seite */
@import url('https://api.fontshare.com/v2/css?f[]=switzer@300,400,500,600,700&display=swap');

/* ── Type Scale ─────────────────────────────────────────── */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* ── Spacing ──────────────────────────────────────────── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ── Fonts ────────────────────────────────────────────── */
  --font-display: 'Switzer', 'Helvetica Neue', sans-serif;
  --font-body:    'Switzer', 'Helvetica Neue', sans-serif;

  /* ── Radius & Shadows ─────────────────────────────────── */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.75rem;
  --radius-full: 9999px;

  /* ── Motion ───────────────────────────────────────────── */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);

  /* ── Content widths ───────────────────────────────────── */
  --content-narrow:  640px;
  --content-default: 960px;
  --content-wide:    1200px;
}

/* ── Light Mode (Default) ───────────────────────────────── */
:root,
[data-theme="light"] {
  --color-bg:              #f5f4f1;
  --color-surface:         #f9f8f5;
  --color-surface-2:       #fdfcfa;
  --color-surface-offset:  #eeece8;
  --color-divider:         #dedad4;
  --color-border:          #d2cfc9;

  --color-text:            #1e1c18;
  --color-text-muted:      #706e6a;
  --color-text-faint:      #b0ada8;
  --color-text-inverse:    #f9f8f5;

  --color-slate:           #4a4f55;
  --color-slate-deep:      #363b40;
  --color-slate-darker:    #252a2e;

  --color-red:             #bb1f11;
  --color-red-hover:       #9e1a0e;
  --color-red-muted:       #e8d0ce;

  --color-primary:         #bb1f11;
  --color-primary-hover:   #9e1a0e;
  --color-primary-highlight: #f5dedd;

  --shadow-sm: 0 1px 3px rgba(30, 28, 24, 0.06);
  --shadow-md: 0 4px 16px rgba(30, 28, 24, 0.09);
  --shadow-lg: 0 12px 40px rgba(30, 28, 24, 0.13);
}

/* ── Dark Mode ──────────────────────────────────────────── */
[data-theme="dark"] {
  --color-bg:              #131211;
  --color-surface:         #1a1917;
  --color-surface-2:       #201f1d;
  --color-surface-offset:  #171614;
  --color-divider:         #252320;
  --color-border:          #333130;

  /* Dark Mode: helle, gut lesbare Schrift */
  --color-text:            #e8e6e2;
  --color-text-muted:      #b0ada8;
  --color-text-faint:      #6a6865;
  --color-text-inverse:    #1a1917;

  --color-slate:           #8a9099;
  --color-slate-deep:      #a8b0b8;
  --color-slate-darker:    #0e0d0c;

  --color-red:             #d44035;
  --color-red-hover:       #e05a50;
  --color-red-muted:       #3d2420;

  --color-primary:         #d44035;
  --color-primary-hover:   #e05a50;
  --color-primary-highlight: #3d2420;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.25);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:              #131211;
    --color-surface:         #1a1917;
    --color-surface-2:       #201f1d;
    --color-surface-offset:  #171614;
    --color-divider:         #252320;
    --color-border:          #333130;
    --color-text:            #e8e6e2;
    --color-text-muted:      #b0ada8;
    --color-text-faint:      #6a6865;
    --color-text-inverse:    #1a1917;
    --color-slate:           #8a9099;
    --color-slate-deep:      #a8b0b8;
    --color-slate-darker:    #0e0d0c;
    --color-red:             #d44035;
    --color-red-hover:       #e05a50;
    --color-red-muted:       #3d2420;
    --color-primary:         #d44035;
    --color-primary-hover:   #e05a50;
    --color-primary-highlight: #3d2420;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.25);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.35);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.45);
  }
}

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

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul[role='list'], ol[role='list'] { list-style: none; }

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

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.15;
  font-family: var(--font-body);
}

p, li, figcaption {
  text-wrap: pretty;
  max-width: 68ch;
}

::selection {
  background: color-mix(in srgb, var(--color-primary) 20%, transparent);
  color: var(--color-text);
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button { cursor: pointer; background: none; border: none; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-interactive),
              opacity var(--transition-interactive);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fade-out-page 0.2s var(--ease-in); }
::view-transition-new(root) { animation: fade-in-page 0.3s var(--ease-out); }

@keyframes fade-out-page { to { opacity: 0; } }
@keyframes fade-in-page  { from { opacity: 0; } }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s var(--ease-out),
              border-color 0.3s var(--ease-out);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 4vw, var(--space-16));
  padding-block: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
}
.nav-logo-text {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  line-height: 1;
}
.nav-logo-text span {
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav-links a:hover { color: var(--color-text); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--color-text); }

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Theme toggle */
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted);
  transition: color var(--transition-interactive),
              background var(--transition-interactive);
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

/* Mobile menu toggle */
.nav-hamburger {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--color-text);
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  top: 65px;
  background: var(--color-bg);
  z-index: 99;
  padding: var(--space-10) clamp(var(--space-6), 4vw, var(--space-16));
  flex-direction: column;
  gap: var(--space-6);
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: var(--text-xl);
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-divider);
  padding-bottom: var(--space-5);
}
.nav-drawer .btn-primary {
  margin-top: var(--space-4);
  align-self: flex-start;
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: transparent;
  color: var(--color-text);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color var(--transition-interactive),
              background var(--transition-interactive),
              transform var(--transition-interactive);
}
.btn-outline:hover {
  border-color: var(--color-slate);
  background: var(--color-surface-offset);
  transform: translateY(-1px);
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 4vw, var(--space-16));
}
.container--narrow {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 4vw, var(--space-16));
}

section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); }

.section-rule {
  width: 40px; height: 2px;
  background: var(--color-primary);
  border: none;
  margin-bottom: var(--space-6);
}

.eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-3);
}

/* ============================================================
   SCROLL FADE-IN
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HERO — mit Hintergrundbild + Blur-Bubbles
   Gilt für Startseite, Leistungen, Projekt besprechen

   Stacking-Strategie:
   • Das Hero-<section> ist position:relative, overflow:hidden,
     isolates einen neuen Stacking-Context (isolation:isolate).
   • Das Hintergrundbild liegt mit position:absolute INNERHALB
     des Hero — es scrollt aber nicht mit, weil wir es per JS
     auf fixed-Simulation via background-attachment:fixed ersetzen.
   • Der graue Content-Bereich danach hat position:relative
     und z-index:1 → er liegt garantiert über dem Hero-Bild.
   ============================================================ */
.hero {
  position: relative;
  min-height: 90svh;
  display: flex;
  align-items: center;
  /* overflow:hidden damit das Bild nicht aus dem Container ragt */
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

/* Hintergrundbild — ABSOLUT im Hero, aber mit fixed-Simulation
   via transform-Trick: das Bild ist so groß wie der Viewport
   und bleibt an Ort und Stelle während der Hero scrollt.
   Der Trick: position:fixed, aber geclippt durch overflow:hidden im Parent. */
.hero-bg-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center 20%;
  z-index: -1;
  pointer-events: none;
}
/* Fallback für mobile Geräte (fixed buggy auf iOS) */
@supports (-webkit-touch-callout: none) {
  .hero-bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
  }
}

/* Dunkles Overlay für Lesbarkeit */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 4vw, var(--space-16));
  padding-block: var(--space-24) var(--space-20);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  width: 100%;
}

/* ── Blur-Bubble Kästchen ──────────────────────────────── */
.hero-bubble {
  display: inline-block;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-2xl);
  padding: var(--space-4) var(--space-6);
  max-width: fit-content;
}

/* Bubble 1: Hauptüberschrift "Make Things Real" */
.hero-bubble-title {
  padding: var(--space-5) var(--space-8);
}

/* MTR-Überschrift: rote Buchstaben rechtsbündig, weiße linksbündig */
.hero-title-mtr {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
  display: table;
}
.hero-title-mtr .mtr-row {
  display: table-row;
}
.hero-title-mtr .initial {
  color: var(--color-red);
  display: table-cell;
  text-align: right;
  padding-right: 0.22em;
  white-space: nowrap;
  font-weight: 700;
}
.hero-title-mtr .rest {
  display: table-cell;
  white-space: nowrap;
}

/* Bubble 2: Claim / Unterzeile */
.hero-bubble-claim p {
  font-size: var(--text-lg);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  max-width: none;
}

/* Bubble 3: Fließtext */
.hero-bubble-body p {
  font-size: var(--text-base);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: none;
}

/* CTA-Zeile (kein Bubble) */
.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
  padding-top: var(--space-2);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.35);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(0.7); }
}

/* Page-Hero (innere Seiten: Leistungen, Projekt besprechen)
   Gleiche Parallax-Logik wie der Haupt-Hero.
   Text nach unten ausgerichtet (align-items: flex-end). */
.page-hero {
  position: relative;
  min-height: 55svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

/* Das Bild ist auch hier fixed → Parallax-Effekt.          */
/* overflow:hidden im .page-hero clippt es auf den Bereich. */
.page-hero .hero-bg-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center 20%;
  z-index: -1;
  pointer-events: none;
}
/* iOS-Fallback */
@supports (-webkit-touch-callout: none) {
  .page-hero .hero-bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
  }
}

.page-hero .hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 0;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  /* Viel Platz oben (Header-Freiraum), minimaler Abstand unten */
  padding-top: clamp(var(--space-20), 10vw, var(--space-32));
  padding-bottom: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
}

.page-hero .eyebrow { color: var(--color-primary); }

/* ============================================================
   WOBEI ICH HELFE
   ============================================================ */
/* Alle Content-Sections müssen über dem fixierten Hero-Bild liegen */
.help-section,
.services-short,
.audience-section,
.start-cta,
.ways-section,
.capabilities-section,
.leistungen-cta,
.site-footer,
.legal-page {
  position: relative;
  z-index: 1;
}

.help-section {
  background: var(--color-surface);
}

.help-intro {
  max-width: 60ch;
  margin-bottom: var(--space-12);
}
.help-intro p {
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  max-width: none;
}

/* Untereinander statt Grid */
.help-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.help-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  transition: box-shadow var(--transition-interactive),
              border-color var(--transition-interactive),
              transform var(--transition-interactive);
}
.help-card:hover {
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--color-slate) 40%, var(--color-border));
  transform: translateY(-2px);
}

.help-card-number {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  flex-shrink: 0;
  padding-top: 3px;
  min-width: 28px;
}
.help-card-body {}
.help-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.help-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: none;
}

/* ============================================================
   LEISTUNGEN KURZFORM
   ============================================================ */
.services-short {
  background: var(--color-bg);
}

.services-short-header {
  margin-bottom: var(--space-12);
}
.services-short-header h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.services-short-header p {
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-block {
  border-top: 2px solid var(--color-divider);
  padding-top: var(--space-6);
  transition: border-color var(--transition-interactive);
}
.service-block:hover { border-top-color: var(--color-primary); }

.service-block-num {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.service-block h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.service-block p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: none;
}

/* ============================================================
   FÜR WEN
   ============================================================ */
.audience-section {
  background: var(--color-slate-darker);
  color: #fff;
}

.audience-section .section-rule { background: var(--color-primary); }
.audience-section .eyebrow { color: var(--color-primary); }

.audience-section h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-12);
  max-width: 28ch;
  color: #fff;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
  list-style: none;
}

.audience-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.audience-item-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
}
.audience-item-text strong {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: #fff;
}
.audience-item-text span {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   START CTA BLOCK
   ============================================================ */
.start-cta {
  background: var(--color-surface);
  text-align: center;
}

.start-cta-inner {
  max-width: 600px;
  margin-inline: auto;
}

.start-cta h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}
.start-cta p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: none;
}

/* ============================================================
   ZWEI-WEGE KARTEN (Leistungsseite) — ein geteilter Kasten
   ============================================================ */
.ways-section {
  background: var(--color-bg);
}

.ways-intro {
  margin-bottom: var(--space-12);
}
.ways-intro h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.ways-intro p {
  color: var(--color-text-muted);
  max-width: 52ch;
}

/* Äußerer gemeinsamer Rahmen */
.ways-combined {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-interactive);
}

.ways-combined:hover {
  box-shadow: var(--shadow-md);
}

/* Mittellinie */
.ways-combined::after {
  content: '';
  position: absolute;
  top: 5%;
  bottom: 5%;
  left: 50%;
  width: 1px;
  background: var(--color-divider);
  transform: translateX(-50%);
  z-index: 1;
}

@media (max-width: 760px) {
  .ways-combined {
    grid-template-columns: 1fr;
  }
  .ways-combined::after {
    top: 50%;
    bottom: auto;
    left: 5%;
    right: 5%;
    width: auto;
    height: 1px;
    transform: none;
  }
}

/* Einzelne Hälfte */
.way-card {
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
  transition: background var(--transition-interactive);
}

/* Top-Akzentlinie pro Karte */
.way-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.35s var(--ease-out);
}

.way-card:hover {
  background: color-mix(in srgb, var(--color-primary) 4%, var(--color-surface));
}
.way-card:hover::before {
  background: var(--color-primary);
}

.way-card h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text);
  /* Gleiche Höhe für beide Karten — damit Aufzählungen auf gleicher Höhe starten */
  min-height: 3.5em;
  display: flex;
  align-items: flex-start;
}

/* Tabellarisch ausgerichtete Aufzählungspunkte */
.way-card-situations {
  list-style: none;
  display: table;
  border-collapse: separate;
  border-spacing: 0 var(--space-3);
  flex: 1;
  width: 100%;
  margin-top: calc(-1 * var(--space-3));
}
.way-card-situations li {
  display: table-row;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
  line-height: 1.6;
}
.way-card-situations li::before {
  content: '—';
  display: table-cell;
  color: var(--color-primary);
  font-weight: 400;
  padding-right: var(--space-3);
  white-space: nowrap;
  vertical-align: top;
  padding-top: 2px;
}

.way-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: none;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  /* Immer auf gleicher Höhe in beiden Karten, unabhängig von Listlänge */
  margin-top: auto;
}

/* ============================================================
   LEISTUNGEN DETAIL
   ============================================================ */
.capabilities-section {
  background: var(--color-surface);
}

.capabilities-section h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-10);
  max-width: 28ch;
}

/* Alle 5 Punkte nebeneinander in einer Zeile */
.cap-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  list-style: none;
}
@media (max-width: 1100px) {
  .cap-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .cap-list { grid-template-columns: 1fr 1fr; }
}

.cap-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.cap-item-marker {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-highlight);
  display: flex; align-items: center; justify-content: center;
}
.cap-item-marker svg { width: 14px; height: 14px; color: var(--color-primary); }
.cap-item strong {
  font-size: var(--text-base);
  font-weight: 600;
  display: block;
}
.cap-item span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================================
   LEISTUNGEN CTA ABSCHLUSS
   ============================================================ */
.leistungen-cta {
  background: var(--color-slate-darker);
  color: #fff;
  text-align: center;
}

.leistungen-cta h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
  max-width: 36ch;
  margin-inline: auto;
  color: #fff;
}
.leistungen-cta p {
  color: rgba(255,255,255,0.5);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

/* ============================================================
   KONTAKTSEITE
   ============================================================ */
/* Umgebende Section — grauer Hintergrund wie in v3 */
.contact-section {
  background: var(--color-surface);
  position: relative;
  z-index: 1;
}

.contact-layout {
  background: transparent;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-info h2 {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-5);
}
.contact-info p {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.75;
  margin-bottom: var(--space-8);
}

.starters-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}
.starters-list li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  align-items: flex-start;
  max-width: none;
}
.starters-list li::before {
  content: '·';
  color: var(--color-primary);
  font-size: var(--text-lg);
  line-height: 1.2;
  flex-shrink: 0;
}

.contact-direct {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-8);
}
.contact-direct h3 {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.contact-direct-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.contact-link:hover { color: var(--color-text); }
.contact-link svg { flex-shrink: 0; opacity: 0.5; }

/* ── Formular ───────────────────────────────────────────── */
.contact-form-wrapper {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
}

.contact-form-wrapper h2 {
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}
.contact-form-wrapper .form-lead {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.form-grid { display: grid; gap: var(--space-5); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}
.form-group .optional {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  margin-left: var(--space-1);
}

.form-group input,
.form-group textarea {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition-interactive),
              box-shadow var(--transition-interactive);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-faint); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-slate);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-slate) 12%, transparent);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.65;
}

.callback-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: start;
}
@media (max-width: 540px) { .callback-row { grid-template-columns: 1fr; } }

.checkbox-group {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  padding-top: var(--space-2);
}
.checkbox-group input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox-group span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.6;
  max-width: none;
}

.form-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-2);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-10) var(--space-6);
}
.form-success.visible { display: block; }
.form-success svg {
  width: 48px; height: 48px;
  color: var(--color-primary);
  margin: 0 auto var(--space-5);
}
.form-success h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}
.form-success p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-slate-darker);
  color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 4vw, var(--space-16));
  padding-block: var(--space-12);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: center;
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links { justify-content: center; }
}

.footer-brand .nav-logo-text {
  color: var(--color-primary);
}
.footer-brand .nav-logo-text span {
  color: rgba(255,255,255,0.35);
}
.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  margin-top: var(--space-2);
  max-width: 40ch;
  line-height: 1.5;
}

.footer-copy {
  font-size: var(--text-xs);
  margin-top: var(--space-2);
  color: rgba(255,255,255,0.3);
}

.footer-copy a {
  color: inherit;
  text-decoration: none;
}

.footer-copy a:hover {
  color: rgba(255,255,255,0.6);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer-links a {
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   IMPRESSUM / DATENSCHUTZ
   ============================================================ */
.legal-page {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.legal-page h1 {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-12);
}
.legal-page h2 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}
.legal-page p, .legal-page li {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}
.legal-page a { color: var(--color-primary); }

/* ============================================================
   MOBILE TYPE TUNING — kompaktere Typografie für Smartphones
   Nur Mobile, Desktop bleibt unverändert
   ============================================================ */

@media (max-width: 720px) {
  /* Grundabstände etwas kompakter */
  section {
    padding-block: clamp(var(--space-12), 7vw, var(--space-20));
  }

  .container,
  .container--narrow,
  .nav-inner,
  .hero-content,
  .page-hero-content,
  .footer-inner {
    padding-inline: var(--space-5);
  }

  /* Header / Navigation */
  .nav-inner {
    padding-block: var(--space-3);
    gap: var(--space-4);
  }

  .nav-logo-img {
    width: 32px;
    height: 32px;
  }

  .nav-logo-text {
    font-size: 1.05rem;
  }

  .nav-logo-text span {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .theme-toggle,
  .nav-hamburger {
    width: 34px;
    height: 34px;
  }

  .nav-drawer {
    top: 60px;
    padding: var(--space-8) var(--space-5);
    gap: var(--space-5);
  }

  .nav-drawer a {
    font-size: 1.25rem;
    padding-bottom: var(--space-4);
  }

  /* Buttons */
  .btn-primary,
  .btn-outline {
    font-size: 0.82rem;
    padding: 0.78rem 1.1rem;
    letter-spacing: 0.035em;
  }

  /* Hero allgemein */
  .hero {
    min-height: 84svh;
  }

  .hero-content {
    padding-block: var(--space-20) var(--space-16);
    gap: var(--space-4);
  }

  .hero-bubble {
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-xl);
    max-width: 100%;
  }

  .hero-bubble-title {
    padding: var(--space-4) var(--space-6);
  }

  .hero-title-mtr {
    font-size: clamp(2rem, 7vw, 2.7rem);
    line-height: 1.02;
    letter-spacing: -0.015em;
  }

  .hero-bubble-claim p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .hero-bubble-body p {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .hero-cta {
    gap: var(--space-3);
    padding-top: 0;
  }

  .hero-scroll {
    bottom: var(--space-5);
    font-size: 0.7rem;
  }

  .hero-scroll-line {
    height: 28px;
  }

  /* Innere Hero-Bereiche */
  .page-hero {
    min-height: 48svh;
  }

  .page-hero-content {
    padding-top: var(--space-16);
    padding-bottom: var(--space-2);
    gap: var(--space-3);
  }

  .page-hero .hero-bubble {
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-xl);
    max-width: 100%;
  }

  .page-hero .hero-bubble h1,
  .page-hero-content h1 {
    font-size: clamp(1.65rem, 6vw, 2.1rem) !important;
    line-height: 1.08;
  }

  .page-hero .hero-bubble p,
  .page-hero-content p {
    font-size: 0.95rem !important;
    line-height: 1.55;
  }

  /* Allgemeine Section-Typografie */
  .services-short-header h2,
  .audience-section h2,
  .start-cta h2,
  .ways-intro h2,
  .capabilities-section h2,
  .leistungen-cta h2,
  .contact-info h2,
  .contact-form-wrapper h2,
  .legal-page h1 {
    font-size: clamp(1.55rem, 5.6vw, 2rem);
    line-height: 1.12;
    margin-bottom: var(--space-4);
  }

  .help-intro {
    margin-bottom: var(--space-8);
  }

  .help-intro p,
  .services-short-header p,
  .ways-intro p,
  .start-cta p,
  .contact-info p,
  .leistungen-cta p,
  .legal-page p,
  .legal-page li {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  /* Karten / Subheads */
  .help-card {
    padding: var(--space-5) var(--space-6);
    gap: var(--space-4);
  }

  .help-card h3,
  .cap-item strong {
    font-size: 0.98rem;
  }

  .help-card p,
  .service-block p,
  .way-card-desc,
  .way-card-situations li,
  .cap-item span,
  .audience-item-text span,
  .starters-list li,
  .contact-link,
  .form-hint,
  .form-success p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .service-block h3,
  .way-card h3,
  .form-success h3 {
    font-size: 1.2rem;
    line-height: 1.18;
  }

  .service-block {
    padding-top: var(--space-5);
  }

  .ways-intro,
  .services-short-header {
    margin-bottom: var(--space-8);
  }

  .way-card {
    gap: var(--space-4);
    padding: var(--space-6);
  }

  .way-card h3 {
    min-height: auto;
  }

  /* Audience */
  .audience-section h2 {
    margin-bottom: var(--space-8);
    max-width: 20ch;
  }

  .audience-list {
    gap: var(--space-5);
  }

  .audience-item-icon {
    width: 36px;
    height: 36px;
  }

  /* Capabilities */
  .cap-list {
    gap: var(--space-5);
  }

  /* Kontaktformular */
  .contact-form-wrapper {
    padding: var(--space-6);
  }

  .contact-form-wrapper .form-lead,
  .form-group label,
  .checkbox-group span {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.95rem;
    padding: 0.85rem 0.95rem;
  }

  /* Footer */
  .footer-inner {
    padding-block: var(--space-10);
    gap: var(--space-6);
  }

  .footer-tagline {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .footer-copy,
  .footer-links a {
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  /* Noch etwas feiner für kleine Smartphones */
  .nav-logo-text {
    font-size: 0.98rem;
  }

  .nav-logo-text span {
    font-size: 0.64rem;
  }

  .hero-content {
    padding-block: var(--space-16) var(--space-14);
  }

  .hero-bubble {
    padding: var(--space-3) var(--space-4);
  }

  .hero-bubble-title {
    padding: var(--space-4) var(--space-5);
  }

  .hero-title-mtr {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .hero-bubble-claim p {
    font-size: 0.94rem;
  }

  .hero-bubble-body p {
    font-size: 0.89rem;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .services-short-header h2,
  .audience-section h2,
  .start-cta h2,
  .ways-intro h2,
  .capabilities-section h2,
  .leistungen-cta h2,
  .contact-info h2,
  .contact-form-wrapper h2,
  .legal-page h1,
  .page-hero .hero-bubble h1,
  .page-hero-content h1 {
    font-size: clamp(1.4rem, 6vw, 1.8rem) !important;
  }

  .service-block h3,
  .way-card h3,
  .form-success h3 {
    font-size: 1.08rem;
  }

  .help-card,
  .way-card,
  .contact-form-wrapper {
    padding: var(--space-5);
  }

  .footer-links {
    gap: var(--space-4);
  }
}
