/* =====================================================================
   PanoBak Videografie – Zentrales Stylesheet (site.css)
   ---------------------------------------------------------------------
   Ein einziges Stylesheet für ALLE Seiten. Wenn du hier etwas änderst
   (z. B. eine Farbe), wirkt es auf der ganzen Website.

   Aufbau:
     1. Design-Tokens (Farben, Schriftgrößen, Abstände)
     2. Grundlagen (Reset, Body, Typo, Fokus/Barrierefreiheit)
     3. Navigation
     4. Buttons & Section-Labels
     5. Hero (Startseite mit Video + Unterseiten-Variante)
     6. Bausteine der Startseite (Leistungen, Über mich, Referenzen,
        Prozess, Testimonials, Vertrauensleiste)
     7. Bausteine der Unterseiten (Warum/Value, Einsatz, Anfrage, FAQ)
     8. Kontaktformular
     9. CTA
    10. WhatsApp-Button (Floating)
    11. Video-Lightbox (Bunny Stream)
    12. Footer
    13. Rechtsseiten (Impressum/Datenschutz/AGB) & 404
    14. Scroll-Animationen & Reduced-Motion
    15. Responsive (Tablet / Mobile)
   ===================================================================== */

/* ── 1. DESIGN-TOKENS ─────────────────────────────────────────────── */
:root {
  /* Farben */
  --black:      #100E0B;
  --near-black: #15120E;
  --panel:      #1B1813;
  --panel-2:    #211D17;
  --border:     #322C24;
  --mid:        #A39B8E;   /* gedämpfter Text (kontraststark genug) */
  --light:      #D4CCBD;   /* Fließtext hell */
  --warm-white: #F4F0E7;   /* Überschriften / Weiß */
  --amber:      #E8A04C;   /* Marken-Akzent */
  --amber-dim:  #9C6B2E;
  --rec:        #FF4438;   /* REC-Punkt */
  --wa:         #25D366;   /* WhatsApp-Grün */

  /* Schriftgrößen (Standard = Desktop unter 1280px)
     Hinweis: Fließtext bewusst eine Stufe größer für bessere Lesbarkeit. */
  --fs-body:    18px;
  --fs-body-lg: 20px;
  --fs-small:   15px;
  --fs-h1:      72px;
  --fs-h2:      48px;
  --fs-h3:      28px;

  /* Abstände */
  --pad-x:      40px;
  --pad-section: 100px;
}

@media (min-width: 1280px) {
  :root {
    --fs-body: 19px; --fs-body-lg: 21px;
    --fs-h1: 96px; --fs-h2: 56px;
    --pad-x: 56px; --pad-section: 130px;
  }
}
@media (max-width: 768px) {
  :root {
    --fs-body: 17px; --fs-body-lg: 18px; --fs-small: 14.5px;
    --fs-h1: 44px; --fs-h2: 34px; --fs-h3: 22px;
    --pad-x: 22px; --pad-section: 72px;
  }
}

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

body {
  background: var(--black);
  color: var(--warm-white);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: var(--fs-body-lg);
  line-height: 1.75;
  overflow-x: hidden;
}

/* Feines Film-Korn über der ganzen Seite */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03; pointer-events: none; z-index: 1000;
}

.mono { font-family: 'Space Mono', ui-monospace, monospace; font-weight: 400; }

img, video { max-width: 100%; display: block; }
a { color: inherit; }

/* Barrierefreiheit: klar sichtbarer Fokusrahmen bei Tastatur-Navigation */
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* Skip-Link „Zum Inhalt springen“ (nur bei Fokus sichtbar) */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1100;
  background: var(--amber); color: var(--black);
  font-family: 'Space Mono', monospace; font-size: 13px;
  padding: 10px 18px; text-decoration: none; transition: top 0.25s;
}
.skip-link:focus { top: 16px; }

/* ── 3. NAVIGATION ────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--pad-x);
  /* Deutlich helleres Panel als der Hero (--panel-2 statt Hero-Schwarztönen) +
     durchgehend sichtbare Fläche (kein Ausfaden bis Transparenz) + Trennlinie
     in der Akzentfarbe. So hebt sich der Header klar ab – auch auf hellen
     Stellen eines Hero-Videos/-Fotos – nicht erst nach dem Scrollen. */
  background: linear-gradient(to bottom, rgba(33,29,23,0.94) 0%, rgba(33,29,23,0.88) 100%);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid rgba(156,107,46,0.4);
  box-shadow: 0 16px 32px -14px rgba(0,0,0,0.65);
  transition: background 0.4s, padding 0.4s, border-color 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(27,24,19,0.98);
  padding: 16px var(--pad-x);
  border-bottom: 1px solid rgba(156,107,46,0.5);
  box-shadow: 0 18px 36px -14px rgba(0,0,0,0.7);
}
.nav-logo { display: block; text-decoration: none; }

/* Logo als CSS-Maske aus assets/logo.svg → einfärbbar (Hover = Amber) */
.logo-mark {
  display: block;
  height: 56px; aspect-ratio: 943.4 / 614.5; width: auto;
  background-color: var(--warm-white);
  -webkit-mask: url("logo.svg") no-repeat center / contain;
          mask: url("logo.svg") no-repeat center / contain;
  transition: background-color 0.3s;
}
.nav-logo:hover .logo-mark,
.nav-logo:focus-visible .logo-mark { background-color: var(--amber); }
.logo-mark-footer { height: 84px; }

.nav-links { display: flex; gap: 38px; list-style: none; }
.nav-links a { font-family: 'Space Mono', monospace; font-size: 15px; letter-spacing: 0.04em; color: var(--light); text-decoration: none; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--amber); }
.nav-cta { font-family: 'Space Mono', monospace; font-size: 15px; letter-spacing: 0.02em; color: var(--black); background: var(--amber); padding: 11px 24px; text-decoration: none; transition: background 0.3s; }
.nav-cta:hover { background: var(--warm-white); }

/* Mobiles Menü (Burger) */
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; padding: 0; background: none; border: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--warm-white); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 4. BUTTONS & SECTION-LABELS ──────────────────────────────────── */
.btn-primary, .btn-ghost {
  display: inline-block; font-family: 'Space Mono', monospace;
  font-size: 13px; letter-spacing: 0.04em; padding: 16px 32px;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.btn-primary { background: var(--amber); color: var(--black); }
.btn-primary:hover { background: var(--warm-white); transform: translateY(-2px); }
.btn-ghost { color: var(--light); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

section { position: relative; }
.section-label { font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: 0.06em; color: var(--amber); margin-bottom: 48px; display: flex; align-items: center; gap: 16px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── 5. HERO ──────────────────────────────────────────────────────── */
/* 5a) Startseiten-Hero mit Video-Hintergrund + Viewfinder-Rahmen */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 110px var(--pad-x) 60px; position: relative; overflow: hidden;
}
/* Fallback-Hintergrund (Farbverlauf), immer sichtbar unter dem Video */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 65% 45%, rgba(232,160,76,0.07), transparent 70%),
    linear-gradient(165deg, #120F0B 0%, #15120E 55%, #0E0B08 100%);
}
/* Video-Loop + Poster füllen den Hero */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img, .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-media video { opacity: 0; transition: opacity 1.2s ease; }
.hero-media video.is-playing { opacity: 1; }
/* Abdunklung, damit Headline/Buttons klar lesbar bleiben */
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(16,14,11,0.55) 0%, rgba(16,14,11,0.35) 45%, rgba(16,14,11,0.82) 100%),
    radial-gradient(ellipse 90% 80% at 50% 50%, transparent 40%, rgba(16,14,11,0.5) 100%);
}

.hero-frame { position: relative; width: 100%; max-width: 1400px; padding: 48px 36px; z-index: 2; }

/* 4 Viewfinder-Ecken am Rahmen */
.vf { position: absolute; width: 26px; height: 26px; z-index: 3; opacity: 0.55; pointer-events: none; }
.vf::before, .vf::after { content: ''; position: absolute; background: var(--warm-white); }
.vf::before { width: 26px; height: 2px; }
.vf::after  { width: 2px;  height: 26px; }
.vf-tl { top: 0; left: 0; } .vf-tr { top: 0; right: 0; }
.vf-bl { bottom: 0; left: 0; } .vf-br { bottom: 0; right: 0; }
.vf-tl::before, .vf-tl::after { top: 0; left: 0; }
.vf-tr::before, .vf-tr::after { top: 0; right: 0; }
.vf-bl::before, .vf-bl::after { bottom: 0; left: 0; }
.vf-br::before, .vf-br::after { bottom: 0; right: 0; }

.hud { position: absolute; top: -32px; left: 0; display: flex; align-items: center; gap: 10px; font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.08em; color: var(--mid); }
.hud .tc { color: var(--light); }

.hero-eyebrow { font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: 0.12em; color: var(--amber); margin-bottom: 28px; }
.hero-headline { font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-h1); font-weight: 600; line-height: 1.02; letter-spacing: -0.02em; color: var(--warm-white); margin-bottom: 44px; text-wrap: balance; }
.hero-headline span { color: var(--amber); }

.hero-bottom { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; border-top: 1px solid var(--border); padding-top: 36px; }
.hero-sub { font-size: var(--fs-body-lg); color: var(--light); line-height: 1.8; }
.hero-sub strong { color: var(--warm-white); font-weight: 400; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

/* 5b) Unterseiten-Hero (ohne Video, Headline unten)
   Nutzt denselben .hero-frame-Container wie die Startseite – dadurch sitzen
   die Viewfinder-Ecken (.vf) automatisch sauber um die Content-Box herum,
   statt frei im Hero zu schweben. Einziger Unterschied zur Startseite:
   die Box wird unten statt vertikal zentriert ausgerichtet. */
.hero--sub { min-height: 88vh; align-items: flex-end; }
.hero--sub .hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
/* Feste Mindesthöhe (4 Textzeilen), damit die .hero-frame-Box auf allen
   Unterseiten gleich hoch/gleich positioniert ist – unabhängig davon, ob der
   Absatztext auf 3 oder 4 Zeilen umbricht. 7.2em = 4 × line-height(1.8).
   Richtwert für künftige Texte: möglichst nicht länger als ~4 Zeilen bei
   560px Breite, sonst wandert der Rahmen wieder etwas nach unten. */
.hero--sub .hero-sub { max-width: 560px; min-height: 7.2em; }

/* ── 6. STARTSEITE: BAUSTEINE ─────────────────────────────────────── */
/* Leistungen */
.leistungen { padding: var(--pad-section) var(--pad-x); background: var(--near-black); }
.leistungen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.leistung-card { background: var(--panel); padding: 48px 36px; text-decoration: none; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: background 0.4s; }
.leistung-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: transparent; transition: background 0.4s; }
.leistung-card:hover::before, .leistung-card:focus-visible::before { background: var(--amber); }
.leistung-card:hover, .leistung-card:focus-visible { background: var(--panel-2); }
.leistung-number { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--mid); letter-spacing: 0.1em; margin-bottom: 36px; }
.leistung-tag { font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.leistung-title { font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-h3); font-weight: 600; line-height: 1.15; color: var(--warm-white); margin-bottom: 20px; letter-spacing: -0.01em; }
.leistung-desc { font-size: var(--fs-body); color: var(--light); line-height: 1.8; margin-bottom: 32px; }
.leistung-link { font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: 0.04em; color: var(--light); display: flex; align-items: center; gap: 10px; transition: color 0.3s; margin-top: auto; }
.leistung-card:hover .leistung-link, .leistung-card:focus-visible .leistung-link { color: var(--amber); }
.leistung-link::after { content: '→'; transition: transform 0.3s; }
.leistung-card:hover .leistung-link::after { transform: translateX(6px); }

/* Über mich */
.about { padding: var(--pad-section) var(--pad-x); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.about-headline { font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-h2); font-weight: 600; line-height: 1.08; margin-bottom: 32px; letter-spacing: -0.02em; }
.about-headline span { color: var(--amber); }
.about-text { font-size: var(--fs-body-lg); color: var(--light); line-height: 1.85; margin-bottom: 20px; }
.about-text strong { color: var(--warm-white); font-weight: 400; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 48px; border: 1px solid var(--border); background: var(--border); }
.stat { padding: 28px 30px; background: var(--panel); }
.stat-number { font-family: 'Space Grotesk', sans-serif; font-size: 42px; font-weight: 600; color: var(--warm-white); line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; }
.stat-number span { color: var(--amber); }
.stat-label { font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: 0.04em; color: var(--mid); }
.about-right { position: relative; }
.about-image-frame { position: relative; aspect-ratio: 4 / 5; max-width: 420px; margin: 0 auto; background: var(--panel); overflow: hidden; }
.about-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.about-tape { position: absolute; top: 16px; left: 16px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--warm-white); background: rgba(16,14,11,0.7); padding: 5px 11px; z-index: 2; }

/* Referenzen (Video-Kacheln) */
.referenzen { padding: var(--pad-section) var(--pad-x); background: var(--near-black); }
.ref-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 64px; align-items: start; }
.ref-headline { font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-h2); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.ref-headline span { color: var(--amber); }
.ref-sub { font-size: var(--fs-body-lg); color: var(--warm-white); line-height: 1.85; padding: 28px 32px; background: var(--panel); border-left: 3px solid var(--amber); }
.ref-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
/* Gibt es nur eine einzige Referenz-Kachel (z. B. hochzeiten.html), soll sie
   die volle Breite einnehmen statt eine halbleere Reihe zu hinterlassen. */
.ref-grid .ref-item:only-child { grid-column: 1 / -1; aspect-ratio: 21/9; }
.ref-item { position: relative; aspect-ratio: 16/9; background: var(--panel) center/cover no-repeat; overflow: hidden; cursor: pointer; border: none; padding: 0; width: 100%; text-align: left; color: inherit; font: inherit; }
.ref-item img.ref-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.4s; }
.ref-item:hover img.ref-thumb, .ref-item:focus-visible img.ref-thumb { transform: scale(1.04); filter: brightness(0.75); }
.ref-rec { position: absolute; top: 16px; left: 16px; z-index: 3; display: flex; align-items: center; gap: 7px; font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--warm-white); background: rgba(16,14,11,0.55); padding: 4px 9px; }
.ref-rec .rec-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 6px rgba(255,68,56,0.7); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0.25; } }
.ref-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(16,14,11,0.92), transparent 55%); opacity: 0; transition: opacity 0.4s; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.ref-item:hover .ref-overlay, .ref-item:focus-visible .ref-overlay { opacity: 1; }
.ref-cat { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.ref-name { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 600; color: var(--warm-white); }
.ref-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; border: 1px solid rgba(244,240,231,0.35); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0.85; transition: opacity 0.4s, border-color 0.4s, background 0.4s; z-index: 3; background: rgba(16,14,11,0.25); }
.ref-play svg { margin-left: 3px; }
.ref-item:hover .ref-play, .ref-item:focus-visible .ref-play { opacity: 1; border-color: var(--amber); background: rgba(16,14,11,0.45); }

/* Prozess */
.prozess { padding: var(--pad-section) var(--pad-x); }
.prozess-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.prozess-step { padding: 40px 32px; background: var(--panel); position: relative; }
.prozess-num { font-family: 'Space Mono', monospace; font-size: 13px; color: var(--amber); letter-spacing: 0.08em; margin-bottom: 24px; }
.prozess-title { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 600; color: var(--warm-white); margin-bottom: 14px; }
.prozess-desc { font-size: var(--fs-body); color: var(--light); line-height: 1.75; }

/* Testimonials / Kundenstimmen */
.testimonials { padding: var(--pad-section) var(--pad-x); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.testi-card { background: var(--panel); padding: 40px 34px; display: flex; flex-direction: column; gap: 22px; }
.testi-quote { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 400; line-height: 1.5; color: var(--warm-white); }
.testi-quote::before { content: '“'; color: var(--amber); font-size: 40px; line-height: 0; vertical-align: -0.35em; margin-right: 4px; }
.testi-meta { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--panel-2); display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--amber); flex-shrink: 0; }
.testi-name { font-size: 15px; color: var(--warm-white); }
.testi-role { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--mid); }
.testi-stars { color: var(--amber); letter-spacing: 2px; font-size: 14px; }

/* Vertrauensleiste (Kunden / Einsatzorte) */
.trust { padding: 56px var(--pad-x); background: var(--near-black); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-label { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); text-align: center; margin-bottom: 26px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; }
.trust-row span { font-family: 'Space Grotesk', sans-serif; font-size: clamp(16px, 2vw, 22px); font-weight: 500; color: var(--light); opacity: 0.75; transition: opacity 0.3s, color 0.3s; }
.trust-row span:hover { opacity: 1; color: var(--warm-white); }

/* ── 7. UNTERSEITEN: BAUSTEINE ────────────────────────────────────── */
.warum { padding: var(--pad-section) var(--pad-x); background: var(--near-black); }
.warum-intro { max-width: 760px; margin-bottom: 64px; }
.warum-intro h2 { font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-h2); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 24px; }
.warum-intro h2 span { color: var(--amber); }
.warum-intro p { font-size: var(--fs-body-lg); color: var(--light); line-height: 1.9; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.value-card { background: var(--panel); padding: 48px 40px; position: relative; overflow: hidden; }
.value-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--amber-dim); }
.value-num { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--mid); letter-spacing: 0.1em; margin-bottom: 28px; }
.value-title { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 600; color: var(--warm-white); margin-bottom: 16px; }
.value-desc { font-size: var(--fs-body); color: var(--light); line-height: 1.85; }

.einsatz { padding: var(--pad-section) var(--pad-x); }
.einsatz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.einsatz-item { background: var(--panel); padding: 36px 34px; display: flex; flex-direction: column; gap: 10px; }
.einsatz-item .tag { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--amber); }
.einsatz-item h3 { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 600; color: var(--warm-white); }
.einsatz-item p { font-size: var(--fs-small); color: var(--light); line-height: 1.75; }

.anfrage { padding: var(--pad-section) var(--pad-x); background: var(--near-black); }
.anfrage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.anfrage-step { padding: 44px 34px; background: var(--panel); }
.anfrage-num { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--amber); letter-spacing: 0.08em; margin-bottom: 26px; }
.anfrage-title { font-family: 'Space Grotesk', sans-serif; font-size: 21px; font-weight: 600; color: var(--warm-white); margin-bottom: 14px; }
.anfrage-desc { font-size: var(--fs-small); color: var(--light); line-height: 1.8; }
.anfrage-note { margin-top: 48px; border: 1px solid var(--border); border-left: 3px solid var(--amber); padding: 32px 36px; background: var(--panel); max-width: 880px; }
.anfrage-note h4 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; color: var(--warm-white); margin-bottom: 12px; }
.anfrage-note p { font-size: var(--fs-small); color: var(--light); line-height: 1.85; }

/* FAQ (nutzt <details>) */
.faq { padding: var(--pad-section) var(--pad-x); background: var(--near-black); }
.faq-wrap { max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; padding: 26px 0; font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 500; color: var(--warm-white); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--amber); font-size: 26px; font-weight: 400; flex-shrink: 0; transition: transform 0.3s; }
.faq-item[open] summary::after { content: '\2013'; }
.faq-answer { padding: 0 0 28px; font-size: var(--fs-body); color: var(--light); line-height: 1.9; max-width: 760px; }

/* Sekundäre Referenz-Kachel-Größe für 3-Spalten-Grid (Unterseiten) */
.ref-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ── 8. KONTAKTFORMULAR ───────────────────────────────────────────── */
.kontakt { padding: var(--pad-section) var(--pad-x); }
.kontakt-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.kontakt-headline { font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-h2); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 24px; }
.kontakt-headline span { color: var(--amber); }
.kontakt-intro { font-size: var(--fs-body-lg); color: var(--light); line-height: 1.85; margin-bottom: 36px; }
.kontakt-direct { display: flex; flex-direction: column; gap: 18px; }
.kontakt-direct a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--light); font-size: 15px; transition: color 0.3s; }
.kontakt-direct a:hover { color: var(--amber); }
.kontakt-direct .ic { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--amber); }
.kontakt-direct .lbl { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--mid); text-transform: uppercase; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); border: 1px solid var(--border); }
.form .field { background: var(--panel); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.form .field--full { grid-column: 1 / -1; }
.form label { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.06em; color: var(--amber); text-transform: uppercase; }
.form label .opt { color: var(--mid); text-transform: none; letter-spacing: 0; }
.form input, .form select, .form textarea {
  background: transparent; border: none; border-bottom: 1px solid var(--border);
  color: var(--warm-white); font-family: 'Inter', sans-serif; font-size: 16px;
  padding: 8px 0; width: 100%; transition: border-color 0.3s;
}
.form input::placeholder, .form textarea::placeholder { color: var(--mid); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--amber); }
.form select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E8A04C' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
.form select option { background: var(--panel); color: var(--warm-white); }
.form textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form .field--submit { grid-column: 1 / -1; background: var(--panel); padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.form .privacy-hint { font-size: 12.5px; color: var(--mid); line-height: 1.6; max-width: 420px; }
.form .privacy-hint a { color: var(--light); }
/* Honeypot-Feld: für Menschen unsichtbar, fängt Bots */
.form .hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button[type="submit"] { border: none; }
/* Danke-/Fehlermeldung */
.form-status { grid-column: 1 / -1; padding: 0; }
.form-status .msg { padding: 22px 24px; font-size: 15px; line-height: 1.6; }
.form-status .msg--ok { background: rgba(37,211,102,0.08); border-left: 3px solid var(--wa); color: var(--warm-white); }
.form-status .msg--err { background: rgba(255,68,56,0.08); border-left: 3px solid var(--rec); color: var(--warm-white); }

/* ── 8b. CROSS-LINKS zwischen den Leistungsseiten ─────────────────── */
.cross-links { padding: 56px var(--pad-x); text-align: center; border-top: 1px solid var(--border); }
.cross-links-label { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); margin-bottom: 22px; }
.cross-links-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── 9. CTA ───────────────────────────────────────────────────────── */
.cta { padding: var(--pad-section) var(--pad-x); background: var(--panel); text-align: center; position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--amber-dim), transparent); }
.cta::before { top: 0; } .cta::after { bottom: 0; }
.cta-label { font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: 0.08em; color: var(--amber); margin-bottom: 28px; }
.cta-headline { font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-h2); font-weight: 600; line-height: 1.05; margin-bottom: 28px; letter-spacing: -0.02em; }
.cta-headline span { color: var(--amber); }
.cta-sub { font-size: var(--fs-body-lg); color: var(--light); max-width: 520px; margin: 0 auto 40px; line-height: 1.8; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── 10. WHATSAPP FLOATING-BUTTON ─────────────────────────────────── */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 850;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s; text-decoration: none;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 30px rgba(37,211,102,0.4); }
.wa-float svg { width: 30px; height: 30px; }
.wa-inline { background: var(--wa) !important; color: #fff !important; display: inline-flex; align-items: center; gap: 10px; }
.wa-inline:hover { background: #1fb857 !important; transform: translateY(-2px); }
.wa-inline svg { width: 18px; height: 18px; }

/* ── 11. VIDEO-LIGHTBOX (Bunny Stream) ────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(6,5,4,0.94); padding: 24px; }
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; width: 100%; max-width: 1100px; aspect-ratio: 16/9; }
.lightbox-inner iframe { width: 100%; height: 100%; border: 0; background: #000; }
.lightbox-close { position: absolute; top: -44px; right: 0; background: none; border: none; color: var(--amber); font-size: 30px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.lightbox-close:hover { color: var(--warm-white); }

/* ── 12. FOOTER ───────────────────────────────────────────────────── */
footer { padding: 72px var(--pad-x) 32px; border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.footer-logo { margin-bottom: 18px; }
.footer-tagline { font-size: 15px; color: var(--light); line-height: 1.7; max-width: 320px; }
.footer-col h3 { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 15px; color: var(--light); text-decoration: none; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--warm-white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--border); }
.footer-copy { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--mid); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--mid); text-decoration: none; transition: color 0.3s; }
.footer-legal a:hover { color: var(--light); }

/* ── 13. RECHTSSEITEN & 404 ───────────────────────────────────────── */
.legal-header { padding: 160px var(--pad-x) 40px; }
.legal-eyebrow { font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: 0.12em; color: var(--amber); margin-bottom: 20px; }
.legal-header h1 { font-family: 'Space Grotesk', sans-serif; font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.02em; }
.legal-body { max-width: 820px; padding: 20px var(--pad-x) var(--pad-section); }
.legal-body h2 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 600; color: var(--warm-white); margin: 40px 0 14px; }
.legal-body h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; color: var(--warm-white); margin: 28px 0 10px; }
.legal-body p, .legal-body li { font-size: 15px; color: var(--light); line-height: 1.85; margin-bottom: 12px; }
.legal-body ul { padding-left: 22px; margin-bottom: 12px; }
.legal-body a { color: var(--amber); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-data p { margin-bottom: 2px; }
.legal-note { margin-top: 40px; border: 1px solid var(--border); border-left: 3px solid var(--amber-dim); padding: 22px 26px; background: var(--panel); }
.legal-note p { font-size: 13.5px; color: var(--mid); margin: 0; }

/* 404 */
.notfound { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px var(--pad-x); position: relative; overflow: hidden; }
.notfound .hero-bg { z-index: 0; }
.notfound-inner { position: relative; z-index: 2; max-width: 620px; }
.notfound-code { font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: 0.2em; color: var(--amber); margin-bottom: 24px; }
.notfound h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(64px, 14vw, 160px); font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 20px; }
.notfound h1 span { color: var(--amber); }
.notfound p { font-size: var(--fs-body-lg); color: var(--light); margin-bottom: 40px; line-height: 1.8; }

/* ── 14. SCROLL-ANIMATIONEN & REDUCED-MOTION ──────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .ref-rec .rec-dot { animation: none; }
  .hero-media video { display: none; }   /* kein Autoplay-Video → Poster bleibt */
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ── 15. RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .leistungen-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 56px; }
  .about-image-frame { max-width: 380px; }
  .ref-intro { grid-template-columns: 1fr; gap: 32px; }
  .prozess-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .value-grid { grid-template-columns: 1fr; }
  .einsatz-grid { grid-template-columns: 1fr 1fr; }
  .anfrage-grid { grid-template-columns: 1fr 1fr; }
  .ref-grid--3 { grid-template-columns: 1fr 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero--sub .hero-bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  /* Mobiles Menü geöffnet */
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: 60px; left: 0; right: 0; background: rgba(16,14,11,0.98);
    padding: 20px 22px; gap: 6px; border-bottom: 1px solid var(--border);
  }
  /* Tap-Ziel je Link auf mind. 44px Höhe bringen (Mobile-Usability) */
  .nav-links a { display: block; padding: 13px 0; }
  .logo-mark { height: 46px; }

  .hero { padding: 100px 18px 50px; min-height: 100svh; }
  .hero-frame { padding: 36px 20px; }
  .hud { font-size: 11px; top: -28px; }
  .vf { width: 20px; height: 20px; }
  .vf::before { width: 20px; } .vf::after { height: 20px; }
  .hero-headline { margin-bottom: 32px; }
  .hero-bottom { padding-top: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { text-align: center; padding: 14px 24px; }

  .ref-grid, .ref-grid--3 { grid-template-columns: 1fr; }
  .prozess-grid { grid-template-columns: 1fr; }
  .einsatz-grid { grid-template-columns: 1fr; }
  .anfrage-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 18px; text-align: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 36px; }
  .leistung-title { font-size: 24px; }
  .form { grid-template-columns: 1fr; }
  .form .field--submit { flex-direction: column; align-items: stretch; }
  .form button[type="submit"] { width: 100%; text-align: center; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
