/**
 * ==========================================================================
 * AUTOSERVICE MUSTERMANN - MEISTERBETRIEB
 * Helles, modernes & hochgradig strukturiertes Design-System
 * Reines natives CSS3 (Ohne externe Frameworks, mit CSS Custom Properties)
 * ==========================================================================
 */

/* ==========================================================================
   0. SCHRIFTEN: LOKAL GEHOSTET (Variable Fonts, SIL Open Font License)
   Kein Aufruf von Google Fonts, es werden keine Daten an Dritte übertragen
   ========================================================================== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
}

/* ==========================================================================
   1. DESIGN-TOKENS: HELLES THEME (FARBEN, SCHATTEN, TYPOGRAFIE, ABSTÄNDE)
   Bereich: Zentrale Konfiguration aller Design-Tokens für das helle Theme
   WCAG AA/AAA Barrierefreiheit: Höchste Kontrastwerte (>= 5.2:1 für Akzente, >= 7:1 für Text)
   ========================================================================== */
:root {
  /* Helle Basisfarben (Slate & Warm Neutrals) */
  --bg-base: #f8fafc;              /* Slate-50: Freundlicher, klarer Haupthintergrund */
  --bg-surface: #ffffff;           /* Reines Weiß für Karten und Inhaltscontainer */
  --bg-surface-elevated: #f1f5f9;  /* Slate-100: Leicht abgesetzte Flächen und Badges */
  --bg-surface-card: #ffffff;      /* Kartenhintergrund */

  /* Glassmorphismus-Effekte im hellen Modus */
  --bg-glass-nav: rgba(255, 255, 255, 0.95);
  --bg-glass-card: rgba(255, 255, 255, 0.98);
  --bg-glass-card-hover: #ffffff;
  --bg-glass-input: #ffffff;

  /* Primäre Akzentfarbe: Barrierefreies Meister-Orange/Terrakotta (WCAG AA konform auf Weiß & Hellgrau) */
  --color-accent: #c2410c;                 /* Kräftiges Werkstatt-Orange (Kontrast 5.23:1 auf Weiß, 4.99:1 auf Slate-50) */
  --color-accent-text: #b43403;            /* Tieferes Terrakotta für kleinen Fließtext & Links (Kontrast 6.0:1 auf Weiß) */
  --color-accent-hover: #9a3412;           /* Dunklerer Ton bei Mouseover (Kontrast 7.44:1) */
  --color-accent-active: #7c2d12;          /* Kontraststarker Ton beim Klick */
  --color-accent-glow: rgba(194, 65, 12, 0.22);
  --color-accent-glow-subtle: rgba(194, 65, 12, 0.08);
  --color-accent-glow-strong: rgba(194, 65, 12, 0.4);
  --color-accent-gradient: linear-gradient(135deg, #c2410c 0%, #9a3412 100%); /* Sicherer Kontrast >= 5.2:1 mit weißem Text */
  --color-accent-border: rgba(194, 65, 12, 0.32);

  /* Sekundäre Akzentfarben (Statusanzeigen, Sterne & Notruf) */
  --color-success: #047857;                /* Smaragdgrün (Kontrast 6.07:1 auf Weiß, 5.8:1 auf Badges) */
  --color-success-bg: #ecfdf5;             /* Zarter grüner Hintergrund für Badges */
  --color-success-border: #6ee7b7;
  --color-gold: #b45309;                   /* Sattes Bernsteingold (Kontrast 4.9:1) für Sterne */
  --color-gold-text: #78350f;              /* Dunkles Bernstein für Bewertungstexte (Kontrast 9.2:1) */
  --color-emergency: #b91c1c;              /* Kräftiges Notruf-Rot (Kontrast 7.2:1) */

  /* Typografie-Farben (Geprüfte, fehlerfreie Kontraste für WAVE und Google Lighthouse) */
  --text-primary: #0f172a;                 /* Slate-900: Tiefes Anthrazit (Kontrast 16.6:1) */
  --text-secondary: #334155;               /* Slate-700: Optimal lesbarer Fließtext (Kontrast 10.0:1) */
  --text-muted: #475569;                   /* Slate-600: Sekundäre Beschreibungen (Kontrast 7.29:1 auf Weiß, 6.96:1 auf Slate-50) */
  --text-dim: #475569;                     /* Slate-600: Metadaten & Fußnoten mit vollem AA-Kontrast */

  /* Rahmen & Trennlinien */
  --border-subtle: #cbd5e1;                /* Slate-300: Klare Konturen */
  --border-medium: #94a3b8;                /* Slate-400: Deutlich sichtbare Eingabefelder */
  --border-glass: rgba(203, 213, 225, 0.85);

  /* Schatten (Natürliche Tiefe für helle Oberflächen) */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 14px -1px rgba(15, 23, 42, 0.09), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-glow-button: 0 4px 16px rgba(194, 65, 12, 0.35);

  /* Schriftarten */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-family-mono: 'JetBrains Mono', 'SF Mono', Consolas, Menlo, monospace;

  /* Radien & Dimensionen */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;

  /* Layout-Konstanten */
  --nav-height: 80px;
  --banner-height: 44px;
  --max-width-container: 1280px;

  /* Übergänge & Weichzeichner */
  --transition-fast: 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --blur-glass: blur(16px);
}

/* ==========================================================================
   2. BASIS-STILE & RESET: GLOBALE SCHRIFT- & KONTRASTEINSTELLUNGEN
   Bereich: Grundeinstellungen für HTML5, Box-Sizing und Hintergrundmuster
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--banner-height) + var(--nav-height) + 20px);
  color-scheme: light;
  font-size: 16px;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  padding-top: var(--banner-height);
}

/* Subtiler, technischer Umgebungsverlauf auf hellem Grund */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 85% 15%, rgba(234, 88, 12, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(234, 88, 12, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(241, 245, 249, 0.6) 0%, transparent 80%);
  pointer-events: none;
  z-index: -2;
}

/* Feines, helles Präzisions-Raster (Werkstatt-Prüfstand-Gitter) */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: -1;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

ul {
  list-style: none;
}

/* Zentraler Layout-Container mit definierter Maximalbreite */
.container {
  width: 100%;
  max-width: var(--max-width-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Hilfsklasse für Screenreader & Barrierefreiheit (Lighthouse & WAVE konform) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Sektions-Header & Badges (Standardisierte Kennzeichnung von Abschnitten) */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent-glow-subtle);
  border: 1px solid var(--color-accent-border);
  color: var(--color-accent-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 8px var(--color-accent);
  animation: pulseGlow 2s infinite ease-in-out;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 65ch;
  line-height: 1.65;
}

.section-header-center {
  text-align: center;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Universelle Schaltflächen (Buttons mit zertifiziertem Kontrast >= 5.2:1) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  min-height: 48px; /* Lighthouse Touch Target Regel: mindestens 48px */
}

.btn-primary {
  background: var(--color-accent-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-glow-button);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #9a3412 0%, #7c2d12 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 65, 12, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1.5px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-glow-subtle);
  color: var(--color-accent-text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   3. HEADER & NAVIGATION: FIXIERTE GLAS-KOPFZEILE & MOBILES MENÜ
   Bereich: Navigation, Marken-Logo, Hotline-Schnellwahl und Hamburger-Trigger
   ========================================================================== */
.site-header {
  position: fixed;
  top: var(--banner-height);
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--bg-glass-nav);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.04);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo & Werkstatt-Identität */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid var(--color-accent-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.15);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo:hover .brand-icon-box {
  transform: scale(1.05) rotate(-3deg);
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.25);
}

.brand-icon-svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--text-primary);
}

.brand-name span {
  color: var(--color-accent-text);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* Reines CSS-Checkbox Hamburger-Menü (48x48px für Barrierefreiheit) */
.nav-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.hamburger-label {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-medium);
  background: #ffffff;
  gap: 5px;
  z-index: 1010;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.hamburger-label:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-glow-subtle);
}

.hamburger-bar {
  width: 24px;
  height: 2.5px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal);
}

/* Navigations-Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--color-accent);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--color-accent-text);
}

.nav-link:hover::after {
  width: 100%;
}

/* Header-Aktionen (Schnell-Hotline & Buchungs-CTA) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.phone-quicklink {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem;
  min-height: 48px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.phone-quicklink:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-glow-subtle);
  transform: translateY(-1px);
}

.phone-icon {
  width: 18px;
  height: 18px;
  stroke: var(--color-accent);
}

.phone-details {
  display: flex;
  flex-direction: column;
}

.phone-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone-number {
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   4. HERO-BEREICH: HELLER WERKSTATT-EINSTIEG & TELEMETRIE-COCKPIT
   Bereich: Hauptüberschrift, Vertrauensindikatoren & Live-Status-Cockpit
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: 5.5rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Heller Werkstatt-Hintergrund mit transparentem Overlay */
.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.92) contrast(1.05) saturate(1.1);
  transform: scale(1.03);
  transition: transform 12s ease-out;
}

.hero-section:hover .hero-bg-image {
  transform: scale(1.0);
}

/* Helles Verlaufs-Overlay zur Maximierung der Textlesbarkeit */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 252, 0.94) 65%, #f8fafc 100%),
    radial-gradient(circle at 80% 25%, rgba(234, 88, 12, 0.1) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

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

.hero-headline {
  font-size: clamp(2.35rem, 5.2vw, 3.75rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.35rem;
}

.hero-headline .highlight {
  color: var(--text-primary);
  border-bottom: 3px solid var(--color-accent);
}

.hero-headline .accent-word {
  color: var(--color-accent-text);
  position: relative;
  display: inline-block;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 2.25rem;
  max-width: 58ch;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Vertrauensleiste (Fakten zur Meisterwerkstatt) */
.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1.5px solid var(--border-medium);
  width: 100%;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trust-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

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

.trust-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.35;
  font-weight: 600;
}

/* High-Tech Diagnose-Cockpit (Rechte Spalte) */
.hero-visual-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent-gradient);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--color-success-bg);
  border: 1.5px solid var(--color-success-border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-success);
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-success);
  box-shadow: 0 0 10px var(--color-success);
  animation: livePulse 1.8s infinite;
}

.card-time-badge {
  font-family: var(--font-family-mono);
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 700;
}

.diagnostic-hud {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Display-Monitor für Fahrzeugtelemetrie */
.hud-screen {
  background: #f8fafc;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-family: var(--font-family-mono);
}

.hud-screen-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--color-accent-text);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.hud-telemetry-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hud-telemetry-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.hud-telemetry-item .status-ok {
  color: var(--color-success);
  font-weight: 800;
}

.hud-quick-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.hud-feature-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: all var(--transition-fast);
}

.hud-feature-box:hover {
  border-color: var(--color-accent-border);
  background: var(--color-accent-glow-subtle);
  transform: translateY(-2px);
}

.hud-feature-icon {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.hud-feature-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
}

.hud-feature-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   5. BENTO-GRID LEISTUNGEN: ÜBERSICHT ALLER MEISTER-SERVICES
   Bereich: Asymmetrisches Raster für TÜV, Diagnose, Reifen, Bremsen & Klima
   ========================================================================== */
.services-section {
  padding: 6.5rem 0;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(260px, auto);
  gap: 1.5rem;
}

/* Bento-Karten-Grundstile */
.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-border);
  box-shadow: var(--shadow-lg);
}

/* Großformatige Flaggschiff-Karte: TÜV & Computer-Diagnose */
.bento-card-featured {
  grid-column: span 2;
  grid-row: span 1;
  background: 
    radial-gradient(circle at 90% 10%, rgba(194, 65, 12, 0.07) 0%, transparent 60%),
    var(--bg-surface);
  border: 1.5px solid var(--color-accent-border);
}

.bento-card-featured:hover {
  border-color: var(--color-accent);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1), 0 0 25px var(--color-accent-glow-subtle);
}

.bento-card-compact {
  grid-column: span 1;
}

.bento-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.bento-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: #f8fafc;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal), background var(--transition-normal), border-color var(--transition-normal);
}

.bento-card:hover .bento-icon-box {
  transform: scale(1.08);
  background: var(--color-accent-glow-subtle);
  border-color: var(--color-accent);
}

.bento-icon {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
}

.bento-badge {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.bento-badge-highlight {
  background: var(--color-accent-glow-subtle);
  color: var(--color-accent-text);
  border-color: var(--color-accent-border);
}

.bento-body {
  margin-bottom: 1.75rem;
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.62;
}

/* Feature-Tags innerhalb der Bento-Karten */
.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.bento-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-xs);
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.bento-tag-check {
  color: var(--color-accent-text);
  font-weight: 900;
}

/* Diagnostik-Terminal in der Flaggschiff-Karte */
.bento-featured-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.featured-terminal {
  background: #f8fafc;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-family: var(--font-family-mono);
  font-size: 0.8rem;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.03);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 5px;
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.terminal-dot-red { background: #dc2626; }
.terminal-dot-yellow { background: #b45309; }
.terminal-dot-green { background: #047857; }

.terminal-title {
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
}

.terminal-line {
  color: var(--text-secondary);
  line-height: 1.6;
}

.terminal-line.accent {
  color: var(--color-accent-text);
  font-weight: 800;
}

.terminal-line.green {
  color: var(--color-success);
  font-weight: 800;
}

.bento-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.bento-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-accent-text);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.bento-action-link:hover {
  color: var(--color-accent-hover);
  gap: 0.75rem;
}

.bento-price-tag {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ==========================================================================
   6. ÜBER UNS & WERKSTATT-TECHNIK: INFRASTRUKTUR & MEISTERQUALITÄT
   Bereich: 3 Säulen (Diagnose, Transparenz, Meister) & Hebebühnen-Spezifikationen
   ========================================================================== */
.about-section {
  padding: 6.5rem 0;
  background: 
    linear-gradient(180deg, transparent 0%, rgba(241, 245, 249, 0.7) 50%, transparent 100%);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-pillar-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.about-pillar-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-accent-glow-subtle);
  border: 1.5px solid var(--color-accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.62;
}

/* Technik-Cockpit (Rechte Spalte) */
.tech-cockpit-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.cockpit-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cockpit-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.cockpit-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.spec-item {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.spec-item:hover {
  border-color: var(--color-accent-border);
  background: #ffffff;
}

.spec-info {
  display: flex;
  flex-direction: column;
}

.spec-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.spec-details {
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.spec-badge {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent-glow-subtle);
  color: var(--color-accent-text);
  border: 1px solid var(--color-accent-border);
  white-space: nowrap;
}

/* Interaktiver Service-Kosten- & Zeitschätzer */
.calc-preview-box {
  margin-top: 2rem;
  padding: 1.35rem;
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.05) 0%, #f8fafc 100%);
  border: 1.5px dashed var(--color-accent-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.calc-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.calc-text strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* ==========================================================================
   7. KUNDENBEWERTUNGEN: VERIFIZIERTES GOOGLE-FEEDBACK & 5-STERNE-KARTEN
   Bereich: Kundenbewertungen, Google-Score und Zitate
   ========================================================================== */
.testimonials-section {
  padding: 6.5rem 0;
  position: relative;
}

.rating-summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  background: #fef3c7;
  border: 1.5px solid #fcd34d;
  margin-bottom: 2.5rem;
}

.stars-row {
  display: flex;
  gap: 2px;
}

.star-icon {
  width: 18px;
  height: 18px;
  fill: var(--color-gold);
  stroke: var(--color-gold);
}

.rating-text {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-gold-text);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.testimonial-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.quote-icon {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
  opacity: 0.7;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.68;
  font-style: italic;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--color-accent-text);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.author-vehicle {
  font-size: 0.82rem;
  color: var(--color-accent-text);
  font-weight: 700;
}

.author-service {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   8. TERMINBUCHUNG & KONTAKT: FORMULAR MIT KENNZEICHEN-EINGABE
   Bereich: Öffnungszeiten, Standort, Notdienst & interaktives Express-Formular
   ========================================================================== */
.contact-section {
  padding: 6.5rem 0;
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

/* Linke Spalte: Standort- & Werkstattdaten */
.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-header h2,
.contact-info-header h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
}

.contact-info-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.62;
}

.info-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-accent-glow-subtle);
  border: 1.5px solid var(--color-accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
}

.info-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.info-text {
  font-size: 0.98rem;
  color: var(--text-primary);
  line-height: 1.45;
  font-weight: 600;
}

.info-text a:hover {
  color: var(--color-accent-text);
}

.opening-hours-table {
  width: 100%;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.opening-hours-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.opening-hours-table td {
  padding: 0.5rem 0;
}

.opening-hours-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--text-primary);
}

/* Roter Notruf-Banner (24/7 Abschlepphilfe) */
.emergency-hotline-banner {
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.emergency-icon {
  width: 24px;
  height: 24px;
  stroke: var(--color-emergency);
  flex-shrink: 0;
}

.emergency-text {
  font-size: 0.9rem;
  color: #991b1b;
  line-height: 1.4;
}

.emergency-text a {
  color: #b91c1c;
  font-weight: 800;
  text-decoration: underline;
}

/* Rechte Spalte: Terminformular-Karte */
.booking-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-header {
  margin-bottom: 2rem;
}

.form-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.form-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-label .required {
  color: var(--color-accent-text);
}

/* Eingabefelder im hellen Modus (Schriftgröße min. 16px für mobile Barrierefreiheit) */
.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-glass-input);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem; /* 16px verhindert unerwünschten iOS-Zoom */
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.2);
}

.form-control::placeholder {
  color: #475569;
}

/* Authentisches deutsches EU-Kennzeichen-Eingabefeld */
.license-plate-wrapper {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #0f172a;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 48px;
  box-shadow: var(--shadow-sm);
}

.plate-eu-band {
  background: #003399;
  color: #ffffff;
  width: 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px;
  flex-shrink: 0;
}

.eu-stars {
  font-size: 9px;
  line-height: 1;
  color: #ffcc00;
}

.eu-country {
  font-size: 14px;
  font-weight: 900;
  font-family: var(--font-family-mono);
  letter-spacing: 0.05em;
}

.license-plate-input {
  flex-grow: 1;
  border: none;
  background: transparent;
  color: #000000 !important;
  font-family: var(--font-family-mono);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0 0.85rem;
}

.license-plate-input:focus {
  outline: none;
}

/* Checkbox für DSGVO-Einwilligung */
.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.45;
}

.form-checkbox-label input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox-label a {
  color: var(--color-accent-text);
  text-decoration: underline;
  font-weight: 700;
}

/* Bestätigungs-Banner nach erfolgreicher Terminanfrage */
.form-feedback-banner {
  display: none;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: var(--color-success-bg);
  border: 1.5px solid var(--color-success-border);
  color: var(--text-primary);
  margin-top: 1.5rem;
}

.form-feedback-banner.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

.feedback-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-success);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   9. FOOTER & NOTDIENST: ÖFFNUNGSZEITEN, HOTLINE & RECHTLICHE VERWEISE
   Bereich: Standortadresse, Navigation, Meister-Zertifikate und Copyright
   ========================================================================== */
.site-footer {
  background: #f1f5f9;
  border-top: 1.5px solid var(--border-medium);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.62;
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-badge-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -0.4rem;
  left: 0;
  width: 24px;
  height: 2.5px;
  background: var(--color-accent);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
  padding: 0.2rem 0;
}

.footer-link:hover {
  color: var(--color-accent-text);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  stroke: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Untere Copyright- & Rechtsleiste */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-medium);
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal-links a {
  font-weight: 700;
  color: var(--text-primary);
  padding: 0.25rem 0;
}

.footer-legal-links a:hover {
  color: var(--color-accent-text);
}

/* ==========================================================================
   10. MODAL-FENSTER: IMPRESSUM & DATENSCHUTZERKLÄRUNG
   Bereich: Zugängliche modale Dialogfenster mit Tastatur- und Klick-Schließen
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-accent-glow-subtle);
  border-color: var(--color-accent);
  color: var(--color-accent-text);
}

.modal-body h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.modal-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent-text);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.modal-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.62;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   11. MIKROINTERAKTIONEN & ANIMATIONEN: PULSE, HOVER & TRANSITIONEN
   Bereich: Performante CSS3-Animationen für Live-Status und Übergänge
   ========================================================================== */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.8;
    box-shadow: 0 0 6px var(--color-accent);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 14px var(--color-accent);
  }
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(5, 150, 105, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS: TABLET- & SMARTPHONE-OPTIMIERUNG
   Bereich: Mobile-First Anpassungen, Hamburger-Transitionen und Grid-Spalten
   ========================================================================== */

/* Tablet-Ansicht (Max 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card-featured {
    grid-column: span 2;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Smartphone & kleine Bildschirme (Max 860px) */
@media (max-width: 860px) {
  :root {
    --nav-height: 70px;
  }

  /* Hamburger-Button anzeigen */
  .hamburger-label {
    display: flex;
  }

  /* Ausklappbares Navigationsmenü im hellen Design */
  .nav-menu {
    position: fixed;
    top: calc(var(--banner-height) + var(--nav-height));
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1.5px solid var(--border-medium);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    z-index: 999;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  }

  /* Hamburger-Transformation bei aktivierter Checkbox */
  .nav-checkbox:checked ~ .site-header .hamburger-label .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-checkbox:checked ~ .site-header .hamburger-label .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-checkbox:checked ~ .site-header .hamburger-label .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Menü-Einblendung */
  .nav-checkbox:checked ~ .site-header .nav-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .header-actions .phone-quicklink {
    display: none;
  }

  .header-actions .btn {
    padding: 0.5rem 0.95rem;
    font-size: 0.82rem;
  }

  .hero-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

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

  .bento-card-featured {
    grid-column: span 1;
  }

  .bento-featured-content {
    grid-template-columns: 1fr;
  }

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

  .form-group-full {
    grid-column: span 1;
  }

  .booking-form-card,
  .contact-info-card,
  .tech-cockpit-card {
    padding: 1.75rem 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Sehr kleine Displays (Max 480px) */
@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-headline {
    font-size: 2.15rem;
  }

  .brand-tagline {
    display: none;
  }
}

/* ==========================================================================
   13. DEMO-BANNER, BACK-TO-TOP & AUSGELAGERTE INLINE-STILE (CSP-konform)
   Bereich: Alle ehemaligen style="..."-Attribute als Klassen, damit die
   Content-Security-Policy ohne 'unsafe-inline' für style-src auskommt
   ========================================================================== */
.demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--banner-height);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 1rem;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.demo-banner-badge {
  flex-shrink: 0;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.demo-banner a {
  color: #fdba74;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.demo-banner a:hover {
  color: #ffffff;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-accent-gradient);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-glow-button);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal), background var(--transition-normal);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #9a3412 0%, #7c2d12 100%);
  transform: translateY(-3px);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--text-primary);
  outline-offset: 3px;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

/* Ehemalige Inline-Styles */
.hud-online {
  color: var(--color-success);
  font-weight: 800;
}

.calc-main {
  flex-grow: 1;
}

.calc-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-accent-text);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.calc-controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.form-control.calc-select {
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  width: auto;
}

.calc-result {
  text-align: right;
  flex-shrink: 0;
}

.calc-result-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.calc-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-accent-text);
  font-family: var(--font-family-mono);
}

.info-block-fill {
  width: 100%;
}

.form-group-submit {
  margin-top: 0.5rem;
}

.btn-block {
  width: 100%;
}

.brand-logo-footer {
  margin-bottom: 0.5rem;
}

.footer-emergency {
  color: #991b1b;
  font-weight: 800;
}

@media (max-width: 600px) {
  :root {
    --banner-height: 60px;
  }

  .demo-banner {
    font-size: 0.78rem;
    gap: 0.5rem;
    padding: 0 0.75rem;
  }

  .back-to-top {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}

/* Dynamisch erzeugte Inhalte aus main.ts (ehemals Inline-Styles) */
.live-status-pill.is-closed .live-pulse-dot {
  background-color: #9a3412;
  box-shadow: 0 0 8px #9a3412;
}

.live-status-text {
  font-weight: 800;
}

.live-status-pill.is-closed .live-status-text {
  color: #9a3412;
}

body.modal-open {
  overflow: hidden;
}

.feedback-text {
  margin-bottom: 0.85rem;
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.5;
}

.feedback-plate {
  color: #b43403;
  font-family: var(--font-family-mono);
  background: #ffffff;
  padding: 2px 6px;
  border: 1.5px solid #94a3b8;
  border-radius: 4px;
}

.feedback-details {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.6;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.feedback-ref {
  color: #0f172a;
  font-family: monospace;
  font-weight: 800;
}

.feedback-service {
  color: #0f172a;
  font-weight: 700;
}

.feedback-reset {
  margin-top: 1.25rem;
}
