/* ============================================================
   VOR ORT ONLINE — Premium-Firmenseite · styles.css
   Design-System „Quiet Tech Authority" (Konzept: UI/UX „Mira")
   Mehrseitiger Auftritt · zugleich Demo des Premium-Pakets.
   Fonts: Fontshare-CDN (Clash Display + General Sans) mit System-Fallback.
   ============================================================ */

/* Premium-Fonts vom Fontshare-CDN; fallen offline sauber auf System-Stack zurück. */
@import url("https://api.fontshare.com/v2/css?f[]=clash-display@500,600&f[]=general-sans@400,500,600&display=swap");

/* ============================================================
   1. DESIGN-TOKENS
   ============================================================ */
:root {
  /* --- Basis / Hintergründe --- */
  --c-bg:            #FBFAF8;
  --c-surface:       #FFFFFF;
  --c-surface-2:     #F4F2EE;
  --c-ink:           #0F1B2D;
  --c-ink-2:         #16263D;

  /* --- Marke / Primär --- */
  --c-primary:       #1C3A5E;
  --c-primary-deep:  #0F1B2D;

  /* --- Akzent / CTA --- */
  --c-accent:        #E8A33D;
  --c-accent-deep:   #C9842A;
  --c-accent-soft:   #FBEFD9;

  /* --- Tech-Signal (sparsam) --- */
  --c-teal:          #1E8F82;
  --c-teal-soft:     #E2F2EF;

  /* --- Text-Stufen --- */
  --c-text:          #16202E;
  --c-text-muted:    #51606F;
  --c-text-faint:    #8493A1;
  --c-text-on-dark:  #EEF2F6;
  --c-text-on-dark-muted: #A8B6C4;

  /* --- Linien --- */
  --c-line:          #E6E2DB;
  --c-line-strong:   #D2CDC3;
  --c-line-dark:     #2A3B52;

  /* --- States --- */
  --c-success:       #2D7D5A;
  --c-error:         #C0392B;
  --c-focus:         #E8A33D;

  /* --- Typografie --- */
  --font-display: "Clash Display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "General Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --text-xs:   clamp(0.78rem, 0.74rem + 0.2vw, 0.85rem);
  --text-sm:   clamp(0.9rem,  0.87rem + 0.2vw, 1rem);
  --text-base: clamp(1.0625rem, 1.03rem + 0.25vw, 1.1875rem);
  --text-md:   clamp(1.2rem,  1.13rem + 0.4vw, 1.4rem);
  --text-lg:   clamp(1.4rem,  1.3rem + 0.6vw, 1.75rem);
  --text-xl:   clamp(1.75rem, 1.55rem + 1vw, 2.4rem);
  --text-2xl:  clamp(2.3rem,  1.95rem + 1.7vw, 3.4rem);
  --text-3xl:  clamp(2.9rem,  2.3rem + 2.8vw, 4.6rem);

  --fw-body: 400; --fw-medium: 500; --fw-semibold: 600;
  --leading-tight: 1.12;
  --leading-snug:  1.3;
  --leading-body:  1.65;
  --track-display: -0.025em;
  --track-h2:      -0.015em;
  --track-label:   0.14em;

  /* --- Spacing (4px-Basis) --- */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 2.5rem;  --sp-8: 3rem;
  --sp-9: 4rem;    --sp-10: 5.5rem; --sp-11: 7rem;  --sp-12: 9rem;

  /* --- Container --- */
  --max-content: 1180px;
  --max-narrow:  720px;
  --max-wide:    1320px;
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);
  --section-y:    clamp(4.5rem, 8vw, 8rem);
  --section-y-lg: clamp(6rem, 11vw, 11rem);

  /* --- Radius --- */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 999px;

  /* --- Schatten (weich/diffus) --- */
  --sh-xs: 0 1px 2px rgba(15,27,45,.05);
  --sh-sm: 0 2px 10px rgba(15,27,45,.06);
  --sh-md: 0 10px 30px rgba(15,27,45,.09);
  --sh-lg: 0 24px 60px rgba(15,27,45,.13);
  --sh-accent: 0 12px 30px rgba(232,163,61,.30);

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-fast: 160ms; --dur-mid: 280ms; --dur-slow: 420ms;

  /* --- Layout-Maße --- */
  --header-h: 74px;
  --demo-h:   38px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: var(--fw-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: calc(var(--header-h) + var(--demo-h));
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  line-height: var(--leading-tight);
  color: var(--c-ink);
}
h1 { font-size: var(--text-3xl); letter-spacing: var(--track-display); }
h2 { font-size: var(--text-xl); letter-spacing: var(--track-h2); }
h3 { font-size: var(--text-lg); }
p  { color: var(--c-text-muted); }

/* Fokus — sichtbar auf hell UND dunkel */
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ============================================================
   3. LAYOUT-HELFER
   ============================================================ */
.wrap     { width: 100%; max-width: var(--max-content); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--max-narrow); }
.wrap--wide   { max-width: var(--max-wide); }
.section  { padding-block: var(--section-y); }
.section--lg { padding-block: var(--section-y-lg); }
.section--alt { background: var(--c-surface-2); }
.section--ink { background: var(--c-ink); color: var(--c-text-on-dark); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: var(--c-text-on-dark-muted); }

.label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--sp-4);
}
.section--ink .label { color: var(--c-accent); }
.lead {
  font-size: var(--text-md);
  line-height: var(--leading-snug);
  color: var(--c-text-muted);
  max-width: 56ch;
}
.section--ink .lead { color: var(--c-text-on-dark-muted); }
.hl { color: var(--c-accent); }
.section-head { max-width: 60ch; margin-bottom: var(--sp-8); }

/* ============================================================
   4. SKIP-LINK & DEMO-BALKEN
   ============================================================ */
.skip-link {
  position: absolute; left: var(--sp-4); top: -100px;
  background: var(--c-ink); color: #fff; padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-sm); z-index: 200; transition: top var(--dur-fast);
}
.skip-link:focus { top: var(--sp-3); }

.demo-balken {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  height: var(--demo-h);
  display: flex; align-items: center; justify-content: center; gap: var(--sp-3);
  background: var(--c-ink-2);
  color: var(--c-text-on-dark-muted);
  font-size: var(--text-xs);
  letter-spacing: .01em;
  padding-inline: var(--gutter);
  text-align: center;
}
.demo-balken strong { color: #fff; font-weight: var(--fw-semibold); }
.demo-balken a { color: var(--c-accent); font-weight: var(--fw-medium); white-space: nowrap; }
.demo-balken a:hover { text-decoration: underline; }
.demo-balken .demo-txt-lang { display: inline; }
.demo-balken .demo-txt-kurz { display: none; }

/* ============================================================
   5. HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; top: var(--demo-h); left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(251,250,248,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-mid), box-shadow var(--dur-mid);
}
.site-header.scrolled { border-bottom-color: var(--c-line); box-shadow: var(--sh-sm); }
.header-inner {
  height: 100%;
  max-width: var(--max-content); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
}
.logo {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 1.3rem;
  color: var(--c-ink);
  letter-spacing: -.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}
/* Wortmarke als eigenes Flex-Item — sonst würde der gap oben auch zwischen
   „Vor-Ort-“ und dem Online-<span> greifen und die Lücke aufreißen. */
/* line-height: 1 kappt die asymmetrische Halbdurchschuss-Höhe des geerbten
   Zeilenabstands — erst dadurch deckt sich die Box-Mitte der Wortmarke mit
   ihrer optischen Mitte und sie liegt sauber auf einer Linie mit den
   Nav-Wörtern. Kein zusätzlicher Versatz nötig (2026-07-10 visuell geprüft). */
.logo .logo-text { display: inline-block; line-height: 1; }
.logo .logo-on { color: var(--c-accent); }
.logo-icon { height: 44px; width: auto; display: block; flex-shrink: 0; }

.nav { display: flex; align-items: center; gap: var(--sp-7); }
.nav-menu { display: flex; align-items: center; gap: var(--sp-6); }
.nav-menu a {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text);
  padding-block: var(--sp-2);
  position: relative;
}
.nav-menu a:hover { color: var(--c-primary); }
.nav-menu a[aria-current="page"] { color: var(--c-ink); }
.nav-menu a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--c-accent); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: var(--sp-4); }
.nav-tel {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-weight: var(--fw-medium); color: var(--c-ink); font-size: var(--text-sm);
}
.nav-tel:hover { color: var(--c-primary); }
.nav-tel svg { width: 18px; height: 18px; stroke: var(--c-teal); }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 48px; height: 48px; align-items: center; justify-content: center;
  color: var(--c-ink);
}
.burger svg { width: 26px; height: 26px; }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: 0 var(--sp-7);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: var(--fw-semibold);
  border-radius: var(--r-pill); border: 1.5px solid transparent; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-mid),
              background-color var(--dur-fast), color var(--dur-fast);
  text-align: center; line-height: 1.1;
}
/* Primär = Amber-Fläche mit dunklem Text (AA-konform) */
.btn--primary { background: var(--c-accent); color: var(--c-ink); box-shadow: var(--sh-accent); }
.btn--primary:hover { background: var(--c-accent-deep); transform: translateY(-2px); box-shadow: 0 16px 38px rgba(232,163,61,.36); }
.btn--primary:active { transform: translateY(0); }
/* Sekundär = Marine */
.btn--secondary { background: var(--c-primary); color: #fff; box-shadow: var(--sh-md); }
.btn--secondary:hover { background: var(--c-primary-deep); transform: translateY(-2px); }
/* Ghost = für Ink/Hero */
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
/* Textlink mit Pfeil */
.btn--text {
  min-height: auto; padding: 0; background: none; border: 0; color: var(--c-primary);
  font-weight: var(--fw-semibold); border-radius: 3px;
}
.btn--text .arrow { transition: transform var(--dur-fast); }
.btn--text:hover .arrow { transform: translateX(4px); }
.btn--block { width: 100%; }

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(232,163,61,.18), transparent 62%),
    radial-gradient(700px 400px at 8% 110%, rgba(30,143,130,.14), transparent 60%),
    linear-gradient(165deg, var(--c-ink) 0%, var(--c-ink-2) 70%, #1d3350 100%);
  color: var(--c-text-on-dark);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero h1 { color: #fff; margin-bottom: var(--sp-5); }
.hero .lead { color: var(--c-text-on-dark-muted); margin-bottom: var(--sp-7); }
.hero .label { color: var(--c-accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.hero-trust {
  margin-top: var(--sp-7); display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  font-size: var(--text-sm); color: var(--c-text-on-dark-muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero-trust svg { width: 17px; height: 17px; stroke: var(--c-teal); flex: none; }

/* Browser-Mockup */
.mock {
  background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-lg);
  overflow: hidden; transform: rotate(1.2deg);
}
.mock .mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f1f0ec; border-bottom: 1px solid var(--c-line); }
.mock .mock-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.mock .mock-bar .mock-url { margin-left: 10px; flex: 1; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-pill); font-size: .72rem; color: var(--c-text-faint); padding: 5px 12px; }
.mock .mock-screen { padding: 20px; }
.mock .mock-hero { height: 96px; border-radius: 10px; background: linear-gradient(135deg, var(--c-primary), var(--c-ink)); display: flex; flex-direction: column; justify-content: center; padding: 0 18px; color: #fff; }
.mock .mock-hero b { font-size: 1rem; font-family: var(--font-display); }
.mock .mock-hero span { font-size: .72rem; opacity: .82; }
.mock .mock-pill { margin-top: 9px; width: 92px; height: 20px; border-radius: var(--r-pill); background: var(--c-accent); }
.mock .mock-row { display: flex; gap: 10px; margin-top: 13px; }
.mock .mock-card { flex: 1; height: 52px; border-radius: 9px; background: var(--c-teal-soft); border: 1px solid #cfe7e2; }
.mock .mock-line { height: 9px; border-radius: 6px; background: #e7e3dc; margin-top: 11px; }
.mock .mock-line.s { width: 58%; }

/* ============================================================
   8. CARDS / GRIDS
   ============================================================ */
.grid { display: grid; gap: var(--sp-6); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-6); box-shadow: var(--sh-sm);
  transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid), border-color var(--dur-mid);
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--c-line-strong); }
.card .card-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--c-teal-soft); margin-bottom: var(--sp-5);
}
.card .card-ico svg { width: 26px; height: 26px; stroke: var(--c-teal); }
.card h3 { margin-bottom: var(--sp-3); }
.card p { font-size: var(--text-sm); }

/* Schmerz-Punkte (auf ink) */
.pain-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pain {
  background: var(--c-ink-2); border: 1px solid var(--c-line-dark); border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-6);
}
.pain .pain-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(232,163,61,.14); margin-bottom: var(--sp-5); }
.pain .pain-ico svg { width: 24px; height: 24px; stroke: var(--c-accent); }
.pain h3 { color: #fff; margin-bottom: var(--sp-3); }
.pain p { color: var(--c-text-on-dark-muted); font-size: var(--text-sm); }

/* Schritte */
.steps { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.step { padding: var(--sp-7) var(--sp-6); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-xs); }
.step .step-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 1.2rem; color: #fff;
  background: linear-gradient(135deg, var(--c-primary), var(--c-teal)); margin-bottom: var(--sp-5);
}
.step h3 { margin-bottom: var(--sp-3); }
.step p { font-size: var(--text-sm); }

/* ============================================================
   9. PAKET-/PREISKARTEN
   ============================================================ */
.pakete-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
/* --penta: leistungen.html zeigt inzwischen 5 Karten (Start/Profi/Premium + Enterprise + „Auf Anfrage").
   index.html-Teaser bleibt bei 3 Karten über die unmodifizierte .pakete-grid (auto-fit) — nicht anfassen.
   Der umschließende .wrap deckelt bei --max-content (1180px), abzüglich Gutter bleiben real nie mehr als
   ~1100px nutzbare Breite — auto-fit/minmax(240px) würde 5 Karten deshalb auf JEDER Desktop-Breite als
   4+1-Waisenkarte umbrechen, nicht nur im vormals „mittleren" Bereich wie noch bei 4 Karten (alter --quad-Fix).
   Lösung: ab 940px feste 6-Spalten-Fläche statt auto-fit. Reihe 1 = die 3 Kernpakete (je 2/6 Spalten, span 2),
   Reihe 2 = Enterprise + Individuell (je 3/6 Spalten, span 3, randvoll, kein Waisen-Slot) — das spiegelt bewusst
   die Preis-Strategie: Enterprise & „Individuelle Lösung" stehen außerhalb des 3er-Kernvergleichs
   (s. Pricing - Preismodell 2026.md, Abschnitt 1: „Enterprise steht bewusst außerhalb dieses 3er-Kernvergleichs").
   Unter 940px: einspaltiger Stapel (Mobile/Tablet) statt einer 2-Spalten-Zwischenstufe mit Waisenkarte. */
.pakete-grid--penta { grid-template-columns: 1fr; }
@media (min-width: 940px) {
  .pakete-grid--penta { grid-template-columns: repeat(6, 1fr); }
  .pakete-grid--penta .paket:nth-child(-n+3) { grid-column: span 2; }
  .pakete-grid--penta .paket:nth-child(n+4)  { grid-column: span 3; }
}
.paket {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--sp-8) var(--sp-7); box-shadow: var(--sh-sm);
}
.paket > .btn { margin-top: auto; }
.paket--top {
  background: var(--c-ink); color: var(--c-text-on-dark);
  border-color: var(--c-ink); box-shadow: var(--sh-lg); transform: scale(1.035);
  border-top: 3px solid var(--c-accent);
}
.paket--top h3 { color: #fff; }
.paket--top .paket-feat { color: var(--c-text-on-dark); }
.paket .paket-badge {
  position: absolute; top: -13px; left: var(--sp-7);
  background: var(--c-accent); color: var(--c-ink);
  font-size: var(--text-xs); font-weight: var(--fw-semibold); letter-spacing: .06em;
  text-transform: uppercase; padding: 5px 14px; border-radius: var(--r-pill);
}
.paket h3 { margin-bottom: var(--sp-3); }
.paket .paket-preis { font-family: var(--font-display); font-size: var(--text-2xl); color: var(--c-ink); margin-bottom: 2px; }
.paket--top .paket-preis { color: var(--c-accent); }
.paket .paket-preis small { font-size: var(--text-sm); color: var(--c-text-muted); font-weight: var(--fw-medium); }
.paket--top .paket-preis small { color: var(--c-text-on-dark-muted); }
.paket .paket-sub { font-size: var(--text-sm); color: var(--c-text-muted); margin-bottom: var(--sp-5); }  /* muted statt faint: AA-Kontrast auf hell */
.paket--top .paket-sub { color: var(--c-text-on-dark-muted); }
.paket-feats { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-7); }
.paket-feat { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--text-sm); color: var(--c-text); }
.paket--top .paket-feat { color: var(--c-text-on-dark); }
.paket-feat svg { width: 19px; height: 19px; stroke: var(--c-teal); flex: none; margin-top: 2px; }
.paket--top .paket-feat svg { stroke: var(--c-accent); }
/* --individuell: „Auf Anfrage"-Karte — bewusst zurückhaltender als die 3 Festpreis-Pakete.
   Gestrichelte Kontur statt durchgezogener Linie signalisiert „offen/individuell" statt „fix";
   Fläche in --c-surface-2 (bereits vorhandener Alt-Ton) lässt die Karte optisch zurücktreten,
   ohne eine neue Farbe einzuführen. Kein Badge, kein .paket-preis — s. Wettbewerbsanalyse Abschnitt 4. */
.paket--individuell { background: var(--c-surface-2); border-style: dashed; border-color: var(--c-line-strong); box-shadow: none; }
/* --enterprise: 5. Karte, „ab 3.490 €" — bewusst KEIN zweiter Anker neben .paket--top (Profi bleibt der
   optisch hervorgehobene Haupt-Anker). Bleibt auf hellem Grund, ohne Ink-Hintergrund und ohne „Empfohlen"-Badge.
   Bekommt trotzdem einen eigenen, ruhigen Akzent (Marine statt Amber) + kleines Kontext-Tag statt Nutzen-Badge,
   weil hier — anders als bei --individuell — ein echter Preis steht: zurückhaltend, aber erkennbar eigenständig
   („premium-exklusiv“ statt „Auf Anfrage“-Leere). Wirkt dadurch bewusst wie ein Deckel, nicht wie ein Kaufziel. */
.paket--enterprise { border-top: 3px solid var(--c-primary); }
.paket--enterprise .paket-badge { background: var(--c-primary); color: #fff; }

/* ============================================================
   10. REFERENZ-/DEMO-KARTEN
   ============================================================ */
.ref-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: stretch; }
.ref-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: var(--sp-6); box-shadow: var(--sh-sm);
  transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid);
  display: flex; flex-direction: column;
}
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.ref-badge {
  display: inline-block; align-self: flex-start; font-size: var(--text-xs); font-weight: var(--fw-semibold);
  letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary);
  background: var(--c-accent-soft); border-radius: var(--r-pill); padding: 4px 12px; margin-bottom: var(--sp-4);
}
.ref-card .mock { transform: none; margin-bottom: var(--sp-5); box-shadow: var(--sh-sm); }
.ref-card h3 { font-size: var(--text-md); margin-bottom: var(--sp-3); }
.ref-card p { font-size: var(--text-sm); margin-bottom: var(--sp-5); flex: 1; }

/* Fallbeschreibung „Ausgangslage → Lösung → Ergebnis" (semantische <dl>) —
   ergänzt Session 3 für referenzen.html, nur Bestands-Tokens, keine neuen Farben. */
.case-fakten { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-5); flex: 1; }
.case-fakten dt {
  font-size: var(--text-xs); font-weight: var(--fw-semibold);
  letter-spacing: var(--track-label); text-transform: uppercase;
  color: var(--c-teal); margin-bottom: 2px;
}
.case-fakten dd { font-size: var(--text-sm); color: var(--c-text-muted); }
.case-fakten .erg {
  border-left: 2px solid var(--c-accent); padding-left: var(--sp-3); color: var(--c-text);
}

/* ============================================================
   11. ÜBER-TEASER
   ============================================================ */
.about-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-foto {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--c-primary), var(--c-ink));
}
.about-foto img { width: 100%; height: 100%; object-fit: cover; }
.about-list { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
.about-list li { display: flex; gap: var(--sp-3); align-items: flex-start; color: var(--c-text-muted); font-size: var(--text-sm); }
.about-list svg { width: 19px; height: 19px; stroke: var(--c-teal); flex: none; margin-top: 2px; }

/* ============================================================
   12. FAQ
   ============================================================ */
.faq-list { display: grid; gap: var(--sp-4); max-width: var(--max-narrow); }
.faq-item { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: var(--sp-5) var(--sp-6);
  font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--text-md); color: var(--c-ink);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-plus { width: 22px; height: 22px; flex: none; stroke: var(--c-teal); transition: transform var(--dur-fast); }
.faq-item[open] summary .faq-plus { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 var(--sp-6) var(--sp-5); }
.faq-item .faq-body p { font-size: var(--text-sm); }

/* ============================================================
   13. FINAL-CTA
   ============================================================ */
.cta-final { text-align: center; }
.cta-final h2 { color: #fff; margin-bottom: var(--sp-4); }
.cta-final p { margin-inline: auto; margin-bottom: var(--sp-7); }
.cta-final .hero-cta { justify-content: center; }

/* ============================================================
   14. FOOTER
   ============================================================ */
.site-footer { background: var(--c-ink); color: var(--c-text-on-dark-muted); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-7); padding-block: var(--sp-9) var(--sp-8); }
.footer-brand .logo { color: #fff; font-size: 1.25rem; }
.footer-brand .logo-icon { height: 40px; }
.footer-brand p { color: var(--c-text-on-dark-muted); font-size: var(--text-sm); margin-top: var(--sp-3); max-width: 30ch; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: var(--text-sm); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--sp-4); }
.footer-col ul { display: grid; gap: var(--sp-3); }
.footer-col a { color: var(--c-text-on-dark-muted); font-size: var(--text-sm); }
.footer-col a:hover { color: var(--c-accent); }
.footer-bottom { border-top: 1px solid var(--c-line-dark); padding-block: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; align-items: center; font-size: var(--text-xs); color: var(--c-text-faint); }
.footer-bottom a { color: var(--c-text-on-dark-muted); }
.footer-bottom a:hover { color: var(--c-accent); }

/* ============================================================
   15. MOBILE BOTTOM-BAR (Conversion-Versicherung)
   ============================================================ */
.mobile-bar { display: none; }

/* ============================================================
   16. SCROLL-REVEAL
   ============================================================ */
/* Animation übernimmt GSAP/ScrollTrigger (script.js) — keine CSS-Transition hier,
   sonst überlagert sie sich mit dem JS-Tween. .is-visible ist nur der Fallback
   (kein GSAP verfügbar / reduzierte Bewegung): sofort sichtbar, ohne Animation. */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   16b. KONTAKT — Anfrage-Formular + Direktkontakt  (Session 4)
   Nur Bestands-Tokens, keine neuen Farben / keine Token-Änderung.
   Form-Konzept & Härtung: security-specialist (Session 4).
   ============================================================ */
.kontakt-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }

/* Formular-Karte (links) */
.form-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--sh-sm); }
.form-grid { display: grid; gap: var(--sp-5); }
.form-grid .form-two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.field { display: grid; gap: var(--sp-2); }
.field > label { font-size: var(--text-sm); font-weight: var(--fw-medium); color: var(--c-ink); }
.field .req  { color: var(--c-primary); }                     /* Pflicht-Stern: Marine — Amber-Regel: kein farbiger Text auf hell (Amber 3,1:1 < AA) */
.field .opt  { color: var(--c-text-muted); font-weight: var(--fw-body); font-size: var(--text-xs); }  /* muted statt faint: AA-Kontrast 6,5:1 */
.field input, .field textarea {
  font: inherit; font-size: var(--text-sm); color: var(--c-text);
  background: var(--c-bg); border: 1px solid var(--c-line-strong); border-radius: var(--r-sm);
  padding: var(--sp-3) var(--sp-4); width: 100%;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-teal-soft);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--c-error); }
.field-hint { font-size: var(--text-xs); color: var(--c-text-muted); }  /* muted statt faint: AA-Kontrast */

/* Einwilligungs-Checkbox (DSGVO, nie vorausgewählt) */
.consent { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3); align-items: start; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--c-primary); }
.consent label { font-size: var(--text-sm); color: var(--c-text-muted); }
.consent a { color: var(--c-primary); text-decoration: underline; }

/* Honeypot — off-screen, a11y-sicher (NICHT display:none) */
.vo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Status-Box nach „Absenden" (Aufbauphase: kein echter Versand) */
.form-status {
  display: none; border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5);
  font-size: var(--text-sm); border-left: 3px solid var(--c-accent);
  background: var(--c-accent-soft); color: var(--c-text);
}
.form-status.is-visible { display: block; }
.form-status strong { color: var(--c-ink); }
.form-hinweis { font-size: var(--text-xs); color: var(--c-text-muted); margin-top: var(--sp-2); }

/* Direktkontakt-Panel (rechts) */
.kontakt-aside { display: grid; gap: var(--sp-5); align-content: start; }
.kontakt-box { background: var(--c-ink); color: var(--c-text-on-dark); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.25rem); }
.kontakt-box h3 { color: #fff; font-size: var(--text-md); margin-bottom: var(--sp-5); }
.kontakt-liste { display: grid; gap: var(--sp-5); }
.kontakt-liste li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.kontakt-liste svg { width: 20px; height: 20px; stroke: var(--c-accent); flex: none; margin-top: 3px; }
.kontakt-liste .k-label { display: block; color: var(--c-text-on-dark-muted); font-size: var(--text-xs); letter-spacing: .04em; margin-bottom: 1px; }
.kontakt-liste a, .kontakt-liste .k-val { color: var(--c-text-on-dark); font-size: var(--text-sm); font-weight: var(--fw-medium); }
.kontakt-liste a:hover { color: var(--c-accent); }

/* ============================================================
   16c. RECHTSTEXTE — Impressum / Datenschutz  (Session 4, Gerüst)
   ============================================================ */
.rechtstext { max-width: var(--max-narrow); }
.rechtstext h2 { font-size: var(--text-lg); margin: var(--sp-8) 0 var(--sp-4); }
.rechtstext h2:first-of-type { margin-top: 0; }
.rechtstext h3 { font-size: var(--text-md); margin: var(--sp-6) 0 var(--sp-3); }
.rechtstext p, .rechtstext ul, .rechtstext address { margin-bottom: var(--sp-4); font-size: var(--text-sm); color: var(--c-text-muted); }
.rechtstext address { font-style: normal; }
.rechtstext ul { padding-left: var(--sp-5); display: grid; gap: var(--sp-2); }
.rechtstext a { color: var(--c-primary); text-decoration: underline; }
/* Platzhalter sichtbar markieren, damit vor Live-Gang nichts vergessen wird */
.rechtstext .ph { background: var(--c-accent-soft); border-bottom: 1px dashed var(--c-accent-deep); padding: 0 4px; border-radius: 3px; color: var(--c-text); font-style: normal; }
.rechtstext .hinweis-box {
  background: var(--c-surface-2); border-left: 3px solid var(--c-teal); border-radius: var(--r-sm);
  padding: var(--sp-4) var(--sp-5); margin-bottom: var(--sp-6); font-size: var(--text-sm); color: var(--c-text);
}
.rechtstext .hinweis-box strong { color: var(--c-ink); }

/* ============================================================
   17. RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .hero .mock { max-width: 440px; }
  .about-split { grid-template-columns: 1fr; gap: var(--sp-7); }
  .about-foto { max-width: 340px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
  .kontakt-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
}
@media (max-width: 540px) {
  .form-grid .form-two { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-menu, .nav-tel, .nav-actions .btn { display: none; }
  .burger { display: inline-flex; }

  /* Mobiles Off-Canvas-Menü */
  .nav-menu.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: calc(var(--demo-h) + var(--header-h)); left: 0; right: 0;
    background: var(--c-surface); border-bottom: 1px solid var(--c-line);
    box-shadow: var(--sh-md); padding: var(--sp-3) var(--gutter) var(--sp-5);
  }
  .nav-menu.open li { border-bottom: 1px solid var(--c-line); }
  .nav-menu.open li:last-child { border-bottom: 0; }
  .nav-menu.open a { display: block; padding-block: var(--sp-4); }
  .nav-menu.open a[aria-current="page"]::after { display: none; }

  .paket--top { transform: none; }

  /* Sticky Bottom-Bar mit Anrufen | Anfragen */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: var(--c-surface); border-top: 1px solid var(--c-line); box-shadow: 0 -4px 20px rgba(15,27,45,.08);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: var(--sp-2);
    min-height: 56px; font-weight: var(--fw-semibold); font-size: var(--text-sm);
  }
  .mobile-bar .mb-call { color: var(--c-ink); border-right: 1px solid var(--c-line); }
  .mobile-bar .mb-call svg { width: 18px; height: 18px; stroke: var(--c-teal); }
  .mobile-bar .mb-anfrage { background: var(--c-accent); color: var(--c-ink); }
  body { padding-bottom: 56px; }

  .demo-balken .demo-txt-lang { display: none; }
  .demo-balken .demo-txt-kurz { display: inline; }
}

/* ============================================================
   18. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
      transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
