/* ===========================================================
   TRAILERBUDDY · Premium Dark + Light Theme
   =========================================================== */

:root {
  --bg: #0a0a0c;
  --bg-alt: #0f0f13;
  --surface: #15151c;
  --surface-2: #1c1c25;
  --surface-3: #24242f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f5f5f7;
  --text-muted: #a4a4ad;
  --text-dim: #6f6f78;

  --accent: #FFD100;
  --accent-hover: #FFDA1F;
  --accent-dim: rgba(255, 209, 0, 0.16);
  --accent-glow: rgba(255, 209, 0, 0.45);
  --on-accent: #0a0a0c;      /* Text/Icon auf gelben Flaechen: immer schwarz */
  --accent-text: var(--accent); /* gelbe Schrift: hell auf dunklem Grund */

  --whatsapp: #25d366;
  --whatsapp-hover: #1da851;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);

  --header-overlay: rgba(10, 10, 12, 0.78);
  --mobile-nav-bg: rgba(10, 10, 12, 0.96);
  --badge-overlay: rgba(10, 10, 12, 0.7);
  --badge-text: #ffffff;
  --hover-tint: rgba(255, 255, 255, 0.05);
  --input-bg: var(--bg-alt);
  --input-bg-focus: var(--bg);
  --hero-img-opacity: 0.38;
  --hero-title-from: #ffffff;
  --hero-title-to: #c7c7d1;
  --map-filter: invert(0.92) hue-rotate(180deg) saturate(0.4);

  color-scheme: dark;

  --max-w: 1280px;
  --header-h: 72px;

  --easing: cubic-bezier(.2, .8, .2, 1);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f6f6f9;
  --surface: #ffffff;
  --surface-2: #f1f1f4;
  --surface-3: #e6e6eb;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.18);

  --text: #0e0e12;
  --text-muted: #54545c;
  --text-dim: #82828c;

  --accent-dim: rgba(255, 209, 0, 0.10);
  --accent-glow: rgba(255, 209, 0, 0.30);
  --accent-text: #9a7100;   /* dunkles Gold: gelbe Schrift bleibt auf Weiss lesbar */

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow:    0 10px 30px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.14);

  --header-overlay: rgba(255, 255, 255, 0.82);
  --mobile-nav-bg:  rgba(255, 255, 255, 0.96);
  --badge-overlay:  rgba(255, 255, 255, 0.85);
  --badge-text:     #0e0e12;
  --hover-tint:     rgba(0, 0, 0, 0.04);
  --input-bg: #ffffff;
  --input-bg-focus: #ffffff;
  --hero-img-opacity: 0.42;
  --hero-title-from: #0e0e12;
  --hero-title-to:   #4a4a52;
  --map-filter: none;

  color-scheme: light;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.35s var(--easing), color 0.35s var(--easing);
}

img { max-width: 100%; height: auto; display: block; }
/* Die Bilder stecken in <picture> (WebP + JPG-Fallback). display:contents hält
   das <img> im Layout an derselben Stelle wie vorher — sonst würde in Grid- und
   Flex-Containern (z. B. .ref-gallery) das <picture> zum Layout-Kind. */
picture { display: contents; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
button { font: inherit; cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
p { margin: 0 0 1em; color: var(--text-muted); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow-light { color: var(--accent-text); }
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

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

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s var(--easing);
  white-space: nowrap;
  position: relative;
}
.btn-sm { padding: 9px 16px; font-size: 13px; gap: 8px; }
.btn-md { padding: 11px 20px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffb800);
  color: var(--on-accent);
  box-shadow: 0 12px 30px -8px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -8px var(--accent-glow);
  color: var(--on-accent);
}
.btn-ghost {
  background: var(--hover-tint);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: color-mix(in srgb, var(--text) 10%, transparent);
  border-color: color-mix(in srgb, var(--text) 30%, transparent);
  color: var(--text);
  transform: translateY(-2px);
}

.link-btn {
  background: none;
  border: 0;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  padding: 0;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--header-overlay);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  text-decoration: none;
}
.logo-mark { display: inline-flex; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo-text strong { font-weight: 800; }
.logo-text span { color: var(--text-muted); font-weight: 500; }

.primary-nav {
  display: none;
  gap: 4px;
  margin-left: auto;
}
@media (min-width: 980px) {
  .primary-nav { display: flex; }
}
.primary-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14.5px;
  transition: all 0.2s;
}
.primary-nav a:hover {
  color: var(--text);
  background: var(--hover-tint);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-actions .btn-ghost { display: none; }
@media (min-width: 700px) { .header-actions .btn-ghost { display: inline-flex; } }

/* Kompakter Header zwischen 980 und 1299px: Nav enger, Telefon nur als Icon,
   damit Logo + 6 Nav-Punkte + Buttons in eine Zeile passen (kein Overflow). */
@media (min-width: 980px) and (max-width: 1299px) {
  .primary-nav { gap: 0; }
  .primary-nav a { padding: 8px 9px; font-size: 14px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-ghost span { display: none; }
  .header-actions .btn-ghost { padding: 9px 11px; }
}

/* ============ VERGLEICHSTABELLE (Kipper) ============ */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%; min-width: 720px; border-collapse: collapse;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.compare-table th, .compare-table td {
  text-align: left; padding: 16px 18px; vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  border-bottom: 2px solid var(--accent);
}
.compare-table thead th span {
  display: block; margin-top: 4px;
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 500;
  color: var(--text-dim); letter-spacing: 0;
}
.compare-table tbody th {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-dim); width: 180px; padding-top: 19px;
}
.compare-table tbody td { font-size: 14.5px; line-height: 1.5; color: var(--text-muted); }
.compare-table td.hl { color: var(--text); font-weight: 600; }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }

/* Modelltabellen (Tieflader-Baureihen) — Spalten-Header statt Zeilen-Label */
.model-table { min-width: 840px; }
.model-table th, .model-table td { padding: 12px 16px; }
.model-table thead th {
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim);
}
.model-table tbody th {
  font-family: var(--font-display); font-size: 14.5px; font-weight: 700;
  letter-spacing: .02em; text-transform: none; color: var(--text);
  width: auto; padding-top: 12px; white-space: nowrap;
}
.series-block { margin-top: 44px; }
.series-block h3 { font-size: 1.35rem; margin: 0 0 6px; }
.series-block > p { margin: 0 0 16px; font-size: 14.5px; color: var(--text-muted); max-width: 760px; }

/* Mini-Chips (Modellreihen) */
.mini-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-chips span {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 600;
  letter-spacing: .06em; padding: 5px 12px;
  border: 1px solid var(--border-strong); border-radius: 999px;
  color: var(--text-muted);
}

/* ============ PARALLAX-BAND (Werkstatt) ============ */
.parallax-band {
  position: relative;
  padding: clamp(90px, 14vw, 150px) 0;
  background-image:
    linear-gradient(to bottom, rgba(8, 8, 10, 0.72), rgba(8, 8, 10, 0.58) 45%, rgba(8, 8, 10, 0.78)),
    url('assets/img/site/werkstatt-parallax.jpg');
  /* Zweite Deklaration liefert WebP aus; Browser ohne image-set() ignorieren
     sie und behalten das JPG von oben. Hintergrundbilder erreicht <picture> nicht. */
  background-image:
    linear-gradient(to bottom, rgba(8, 8, 10, 0.72), rgba(8, 8, 10, 0.58) 45%, rgba(8, 8, 10, 0.78)),
    image-set(url('assets/img/site/werkstatt-parallax.webp') type('image/webp'),
              url('assets/img/site/werkstatt-parallax.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;   /* Bild steht fest, Inhalt scrollt darüber */
}
/* iOS/Touch: fixed wird nicht sauber unterstützt -> normales Verhalten */
@media (max-width: 900px), (hover: none) {
  .parallax-band { background-attachment: scroll; }
}
.parallax-inner { max-width: 860px; }
.parallax-band h2 {
  color: #ffffff;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  margin: 14px 0 30px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.parallax-stats {
  display: flex; flex-wrap: wrap; gap: 18px 52px;
  margin: 0 0 34px;
}
.parallax-stats > div { margin: 0; }
.parallax-stats dt {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1;
  color: var(--accent);
}
.parallax-stats dd { margin: 8px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.82); }

/* ============ SERVICE-KARTEN MIT BILD ============ */
.srv-card { padding: 0 0 32px; display: flex; flex-direction: column; }
.srv-card-media {
  height: 185px; overflow: hidden;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 26px;
}
.srv-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s var(--easing);
}
.srv-card:hover .srv-card-media img { transform: scale(1.06); }
.srv-card .srv-num,
.srv-card h3,
.srv-card p,
.srv-card ul,
.srv-card .srv-link { margin-left: 32px; margin-right: 32px; }
.srv-card .srv-link { margin-top: auto; }

/* ============ GOOGLE-BEWERTUNGEN ============ */
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.review-badge {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 14px; margin: 4px auto 40px; padding: 16px 26px;
  width: fit-content; max-width: 100%;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; box-shadow: var(--shadow-sm);
}
.review-badge-score {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.9rem; line-height: 1;
}
.review-badge-count { font-size: 14px; color: var(--text-muted); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review-card {
  margin: 0; padding: 26px 26px 22px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s var(--easing), border-color .35s;
}
.review-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.review-card blockquote {
  margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-muted);
}
.review-card figcaption { margin-top: auto; display: grid; gap: 2px; }
.review-card figcaption strong { font-size: 14px; }
.review-card figcaption span { font-size: 12px; color: var(--text-dim); }
.review-note { margin-top: 26px; text-align: center; font-size: 13px; color: var(--text-dim); }
.review-note a { color: var(--text-muted); }
.review-note a:hover { color: var(--accent-text); }

/* Offizielles TrailerBuddy-Logo im Header: helle & dunkle Variante per Theme */
.logo-img { height: 42px; width: auto; display: block; }
.logo-img-light { display: none; }
[data-theme="light"] .logo-img-dark { display: none; }
[data-theme="light"] .logo-img-light { display: block; }
@media (min-width: 980px) and (max-width: 1299px) { .logo-img { height: 34px; } }
@media (max-width: 560px) { .logo-img { height: 30px; } }
/* Footer-Logo: unabhängig von den Header-Breakpoints immer gleich groß */
.site-footer .logo-img { height: 42px; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--hover-tint);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}
.theme-toggle:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.theme-toggle svg { display: block; }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  background: var(--hover-tint);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s;
}
@media (min-width: 980px) { .nav-toggle { display: none; } }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: var(--mobile-nav-bg);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.mobile-nav[data-open="true"] {
  display: flex;
}
/* Hintergrund nicht scrollen, während das Mobile-Menü offen ist */
html.nav-open, html.nav-open body { overflow: hidden; touch-action: none; }
@media (min-width: 980px) { html.nav-open, html.nav-open body { overflow: auto; touch-action: auto; } }
.mobile-nav a {
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
}
.mobile-nav a:hover { background: var(--hover-tint); }
.mobile-nav .btn { justify-content: center; margin-top: 8px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 56px) 0 80px;
  overflow: hidden;
}

/* Ganzflächiges Wasserzeichen-Foto */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg img,
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  opacity: var(--hero-img-opacity);
  filter: saturate(0.85) contrast(1.05);
  transition: opacity 0.35s var(--easing);
}
/* Hero-Video legt sich über das Bild, sobald es abspielbereit ist (sanfter Übergang);
   das Standbild wird dann ausgeblendet, damit es nicht durchs Video schimmert. */
.hero-bg video { opacity: 0; }
.hero-bg video.is-playing { opacity: var(--hero-img-opacity); }
.hero-bg.hero-has-video img { opacity: 0; }
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    /* Akzent-Schein oben links */
    radial-gradient(ellipse 55% 70% at 18% 30%, var(--accent-dim), transparent 65%),
    /* warmer Schein unten rechts (verstärkt Sonnenuntergang) */
    radial-gradient(ellipse 50% 60% at 85% 80%, rgba(255, 165, 90, 0.12), transparent 60%),
    /* Top-Schatten für Header-Lesbarkeit */
    linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 55%, transparent) 0%,
      color-mix(in srgb, var(--bg) 20%, transparent) 14%,
      color-mix(in srgb, var(--bg) 35%, transparent) 50%,
      color-mix(in srgb, var(--bg) 75%, transparent) 75%,
      var(--bg) 100%);
}
.hero-bg-grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
}
.hero-title {
  margin-bottom: 24px;
  font-weight: 900;
  background: linear-gradient(180deg, var(--hero-title-from) 0%, var(--hero-title-to) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .text-accent {
  /* Goldton passend zum TB-Logo (Logo-Gelb wurde an --accent angeglichen) */
  background: linear-gradient(135deg, var(--accent) 0%, #ffc21a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Im Light-Mode ist helles Gelb auf hellem Hero schlecht lesbar -> solides dunkles Gold */
/* Hero-Akzent behält in beiden Themes das leuchtende Marken-Gold (Nutzerentscheid). */
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 660px;
  margin-bottom: 36px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 32px 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  max-width: 900px;
}
.hero-stats li { line-height: 1.2; }
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.hero-stats span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  z-index: 2;
}
.hero-scroll span {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 8px;
  border-radius: 2px;
  background: var(--text);
  animation: scroll-tick 1.8s ease-in-out infinite;
}
@keyframes scroll-tick {
  0% { opacity: 0; transform: translate(-50%, 0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 0;
  position: relative;
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
}
.section-dark { background: var(--bg-alt); }

.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 100%;
}
.section-head h2 { margin-bottom: 16px; }
.section-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 900px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ============ CATEGORY CARDS (bild-geführt, premium) ============ */
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.35s var(--easing), border-color 0.35s, box-shadow 0.35s;
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 26px 55px -24px rgba(0, 0, 0, 0.6);
}
/* Helle Produktfläche – freigestelltes Foto sitzt wie in einem Schaufenster */
.cat-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(120% 105% at 50% 0%, #ffffff 0%, #eceef1 100%);
  border-bottom: 1px solid var(--border);
}
.cat-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px 22px 26px;
  transition: transform 0.5s var(--easing);
}
.cat-card:hover .cat-card-media img { transform: scale(1.05); }
.cat-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 22px;
}
.cat-card-eyebrow {
  display: block;
  font-family: ui-monospace, 'SF Mono', 'Menlo', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 10px;
}
.cat-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.cat-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.cat-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.cat-card-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
}
.cat-card:hover .cat-card-cta { color: var(--text); }
.cat-card-arrow {
  font-size: 22px;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.3s var(--easing);
}
.cat-card:hover .cat-card-arrow { transform: translateX(6px); }

/* ============ USP STRIP ============ */
.usp-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.usp-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.usp-item svg {
  flex-shrink: 0;
  width: 32px; height: 32px;
  color: var(--accent);
}
.usp-item strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 2px;
}
.usp-item span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============ FILTERS ============ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.2s;
}
.chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
}
.chip-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.chip-active:hover {
  color: var(--on-accent);
  border-color: var(--accent-hover);
}
.chip-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 0 6px;
  height: 18px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.filter-divider {
  width: 1px;
  background: var(--border);
  margin: 4px 6px;
}

/* ============ TRAILER GRID ============ */
.trailers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.trailers-empty {
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.trailer-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--easing);
  text-decoration: none;
  color: var(--text);
}
.trailer-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  color: var(--text);
}
.trailer-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-3);
}
.trailer-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--easing);
}
.trailer-card:hover .trailer-card-img img { transform: scale(1.05); }
.trailer-card-badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.trailer-card-badge {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--badge-text);
  background: var(--badge-overlay);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}
.trailer-card-badge-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.trailer-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
}
.trailer-card-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.trailer-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--text);
  /* Clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.trailer-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.trailer-card-spec {
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--surface-3);
  border-radius: 6px;
}
.trailer-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.trailer-card-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.trailer-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.trailer-card-cta svg {
  width: 14px; height: 14px;
  transition: transform 0.2s;
}
.trailer-card:hover .trailer-card-cta svg { transform: translate(2px, -2px); }

.sortiment-foot {
  margin-top: 40px;
  padding: 24px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
}
.sortiment-foot a { font-weight: 600; }
.price-note { margin-top: 14px; font-size: 12px; color: var(--text-dim); text-align: center; }

/* ============ BRAND SECTION ============ */
.section-brand {
  background:
    radial-gradient(ellipse 60% 80% at 90% 10%, var(--accent-dim), transparent 60%),
    var(--bg);
  padding: 120px 0;
}
.brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}
@media (min-width: 900px) {
  .brand-grid { grid-template-columns: 1.05fr 1fr; gap: 80px; }
}
.brand-content h2 { margin-bottom: 24px; }
.brand-content p { font-size: 16px; }
.brand-points {
  margin: 32px 0 36px;
  display: grid;
  gap: 12px;
}
.brand-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text);
}
.brand-points li span {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}
.brand-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.brand-media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 680px;
}
.brand-photo {
  position: absolute;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.brand-photo img { width: 100%; height: 100%; object-fit: cover; }
.brand-photo-main {
  top: 0; left: 0;
  width: 70%; height: 70%;
  z-index: 1;
}
.brand-photo-overlay {
  bottom: 0; right: 0;
  width: 55%; height: 50%;
  z-index: 2;
}
.brand-badge {
  position: absolute;
  top: 56%; left: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  z-index: 3;
  padding: 16px 24px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 14px;
  box-shadow: 0 20px 50px -10px rgba(255, 209, 0, 0.5);
  text-align: center;
}
.brand-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.brand-badge span {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.95;
}

/* ============ SERVICE GRID ============ */
.service-grid {
  margin-top: 24px;
}
.srv-card {
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--easing);
}
.srv-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.srv-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 16px;
}
.srv-card h3 { margin-bottom: 14px; }
.srv-card ul {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}
.srv-card ul li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.5;
}
.srv-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 8px;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.srv-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}

/* ============ LIEFERUNG BANNER ============ */
.lieferung {
  padding: 100px 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, var(--accent-dim), transparent 60%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lieferung-inner {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.lieferung-content h2 { margin-bottom: 14px; }
.lieferung-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 40px 0;
}
.lf-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.lf-card-accent {
  background: linear-gradient(135deg, var(--accent), #f0a500);
  border-color: var(--accent);
  color: var(--on-accent);
}
.lf-card-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.lf-card-accent .lf-card-eyebrow { color: rgba(10, 10, 12, 0.72); }
.lf-card-price {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 10px;
}
.lf-card-accent .lf-card-price { color: var(--on-accent); }
.lf-card-foot {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}
.lf-card-accent .lf-card-foot { color: rgba(10, 10, 12, 0.72); }

/* ============ ABOUT / TEAM ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: start;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1.2fr; gap: 80px; }
}
.about-media {
  position: relative;
  display: grid;
  gap: 20px;
}
.about-media figure {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-media figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-media-secondary {
  display: none;
}
@media (min-width: 900px) {
  .about-media {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .about-media figure:first-child {
    grid-column: 1 / -1;
    aspect-ratio: auto;
  }
  .about-media figure:first-child img { aspect-ratio: 4 / 3; }
  .about-media-secondary {
    display: block;
  }
  .about-media-secondary img { aspect-ratio: 1 / 1; }
}
/* Startseiten-Kombiblock: Porträt (Jochen, Hochformat) unbeschnitten zeigen */
#service .about-media figure img { aspect-ratio: auto; }
.about-media figcaption {
  padding: 14px 20px;
  background: var(--surface-2);
  font-size: 14px;
  color: var(--text-muted);
}
.about-content h2 { margin-bottom: 24px; }
.about-lead {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 24px;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  margin: 36px 0 28px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-stats > div { margin: 0; }
.about-stats dt {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.about-stats dd {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}
.team-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
.team-card strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}
.team-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ============ STANDORT / MAP ============ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .location-grid { grid-template-columns: 1.4fr 1fr; }
}
.location-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 420px;
  background: var(--surface);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: var(--map-filter);
}
.map-link {
  position: absolute;
  bottom: 16px; right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--badge-overlay);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.map-link:hover { color: var(--text); border-color: var(--border-strong); filter: brightness(1.05); }

.location-cards {
  display: grid;
  gap: 20px;
}
.loc-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.loc-card-primary { border-color: var(--border-strong); background: var(--surface-2); }
.loc-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 999px;
}
.loc-card h3 { margin-bottom: 16px; line-height: 1.3; }
.loc-meta {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
}
.loc-meta > div { display: grid; gap: 4px; }
.loc-meta dt {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.loc-meta dd { margin: 0; font-size: 14.5px; color: var(--text); }
.loc-meta a { color: var(--text); }
.loc-meta a:hover { color: var(--accent); }
.loc-note { font-size: 13.5px; margin: 0; color: var(--text-muted); }

/* ============ KONTAKT ============ */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}
@media (min-width: 900px) {
  .kontakt-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; }
}
.kontakt-content h2 { margin-bottom: 16px; }
.kontakt-quick {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}
.quick-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: all 0.2s;
}
.quick-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateX(4px);
  color: var(--text);
}
.quick-card svg {
  flex-shrink: 0;
  width: 26px; height: 26px;
  color: var(--accent);
}
.quick-card-whatsapp svg { color: var(--whatsapp); }
.quick-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.quick-card span {
  font-size: 13px;
  color: var(--text-muted);
}

.kontakt-form {
  display: grid;
  gap: 18px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .kontakt-form { padding: 24px; }
}
.kontakt-form label {
  display: grid;
  gap: 6px;
}
.kontakt-form label > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.kontakt-form input,
.kontakt-form textarea,
.kontakt-form select {
  width: 100%;
  padding: 14px 16px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: all 0.2s;
}
.kontakt-form input:focus,
.kontakt-form textarea:focus,
.kontakt-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--input-bg-focus);
  box-shadow: 0 0 0 4px var(--accent-dim);
}
.kontakt-form textarea { resize: vertical; min-height: 110px; }
/* Honeypot gegen Spam-Bots: aus dem Blickfeld geschoben statt display:none,
   weil verbreitete Bots ausgeblendete Felder erkennen und überspringen. */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
/* Datenschutzhinweis am Formular — bewusst ein Hinweis und keine Pflicht-
   Checkbox: Rechtsgrundlage ist Art. 6 Abs. 1 lit. b/f DSGVO, eine Einwilligung
   ist nicht erforderlich und würde eine Freiwilligkeit nur vortäuschen. */
.form-hinweis {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}
.form-hinweis a { text-decoration: underline; }
.form-fallback {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-dim);
  text-align: center;
}
.form-fallback a { font-weight: 600; }

/* ============ FOOTER ============ */
.site-footer {
  padding-top: 80px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 60px;
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 16px 0 0;
  line-height: 1.6;
}
.logo-footer .logo-text { font-size: 22px; }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li {
  font-size: 14px;
  color: var(--text-muted);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.footer-bottom small {
  font-size: 12px;
  color: var(--text-dim);
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom nav a {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-bottom nav a:hover { color: var(--text); }

/* ============ WHATSAPP FAB ============ */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 12px 36px -8px rgba(37, 211, 102, 0.65);
  transition: all 0.25s var(--easing);
}
.whatsapp-fab:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px) scale(1.05);
  color: #fff;
}
.whatsapp-fab svg { width: 28px; height: 28px; }

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--easing), transform 0.7s var(--easing);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============ MEDIA QUERY OPTIMIZATIONS ============ */
@media (max-width: 600px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 32px); padding-bottom: 56px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .filters { gap: 8px; }
  .chip { padding: 7px 12px; font-size: 12.5px; }
  .filter-divider { display: none; }
  .lieferung { padding: 70px 0; }
  .lf-card-price { font-size: 36px; }
  .brand-media { aspect-ratio: 3 / 4; max-height: 500px; }
  .brand-badge { padding: 12px 18px; }
  .brand-badge strong { font-size: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============ AGADOS-PROGRAMM (Modellreihen mit echten Produktfotos) ============ */
.agados-range {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.range-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform .28s var(--easing), box-shadow .28s var(--easing), border-color .28s var(--easing);
}
.range-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
/* AGADOS-Studiofotos haben weissen Hintergrund -> heller Medienbereich, Motiv vollstaendig zeigen */
.range-card-media {
  background: #ffffff;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}
.range-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.range-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 24px;
  flex: 1;
}
.range-card-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0;
}
.range-card-body p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.range-card-cta {
  color: var(--accent-text);
  font-weight: 600;
  font-size: 14px;
  margin-top: 4px;
  transition: transform .2s var(--easing);
}
.range-card:hover .range-card-cta { transform: translateX(3px); }
@media (max-width: 900px) { .agados-range { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .agados-range { grid-template-columns: 1fr; } }

/* ============ SUBPAGES: PAGE-HERO ============ */
.page-hero {
  padding: calc(var(--header-h) + 56px) 0 56px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(60% 120% at 85% 0%, var(--accent-dim), transparent 60%),
    var(--bg-alt);
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.05; margin: 0 0 14px; }
.page-hero p { max-width: 640px; color: var(--text-muted); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.breadcrumb { font-size: 13px; color: var(--text-dim); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-text); }

/* ============ LEGAL / PROSE ============ */
.legal { max-width: 860px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 14px; padding-top: 8px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.08rem; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--text-muted); line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 7px; }
.legal strong { color: var(--text); }
.legal address { font-style: normal; color: var(--text); line-height: 1.7; }
.legal a { color: var(--accent-text); }
.legal-note {
  border: 1px solid var(--accent);
  background: var(--accent-dim);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--text);
}
.legal-note strong { color: var(--text); }
.legal-updated { font-size: 13px; color: var(--text-dim); margin-bottom: 28px; }
.legal-toc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 0 0 36px;
  background: var(--surface);
}
.legal-toc strong { display: block; margin-bottom: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); }
.legal-toc ol { margin: 0; padding-left: 20px; }
.legal-toc a { color: var(--text-muted); }
.legal-toc a:hover { color: var(--accent-text); }

/* ============ REFERENZEN: QUOTE CARDS ============ */
.ref-quote {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform .35s var(--easing), border-color .35s;
}
.ref-quote:hover { transform: translateY(-4px); border-color: var(--accent); }
.ref-quote-mark { font-family: var(--font-display); font-size: 40px; line-height: .6; color: var(--accent); opacity: .5; }
.ref-quote p { margin: 14px 0 0; color: var(--text); line-height: 1.6; }
.ref-quote footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.ref-quote-name { font-weight: 700; color: var(--text); }
.ref-quote-role { font-size: 13.5px; color: var(--text-muted); }

/* ============ TEAM ============ */
.tp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 900px) { .tp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tp-grid { grid-template-columns: 1fr; } }
.tp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--easing), border-color .35s;
}
.tp-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.tp-photo {
  aspect-ratio: 1 / 1;
  background: radial-gradient(120% 105% at 50% 0%, var(--surface-3), var(--surface-2));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.tp-photo img { width: 100%; height: 100%; object-fit: cover; }
.tp-initials { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--accent); }
.tp-body { padding: 18px 20px 20px; }
.tp-body h3 { font-size: 1.1rem; margin: 0 0 4px; }
.tp-role { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.tp-body p { margin: 10px 0 0; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ============ TIMELINE (Geschichte) ============ */
.timeline { margin-top: 32px; border-left: 2px solid var(--border); padding-left: 26px; display: grid; gap: 26px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -33px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--bg);
}
.timeline-year { font-family: var(--font-display); font-weight: 700; color: var(--accent-text); font-size: 1.05rem; }
.timeline-item p { margin: 4px 0 0; color: var(--text-muted); line-height: 1.6; }

/* ============ REFERENZEN-GALERIE ============ */
.ref-statbar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 46px; padding: 30px 28px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface);
}
.ref-stat { text-align: center; }
.ref-stat-num {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 2.9rem); color: var(--accent-text); line-height: 1;
}
.ref-stat-label { display: block; margin-top: 10px; font-size: 13px; color: var(--text-muted); }
@media (max-width: 620px) {
  .ref-statbar { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
}

/* Editoriale, asymmetrische Foto-Wand: mal groß, mal klein */
.ref-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 208px;
  grid-auto-flow: dense;
  gap: 16px;
}
.ref-tile, .ref-story {
  position: relative; margin: 0; overflow: hidden;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.ref-tile {
  background: var(--surface-2); cursor: zoom-in;
  transition: border-color .35s, box-shadow .35s, transform .35s var(--easing);
}
.ref-tile:hover { border-color: var(--accent); box-shadow: var(--shadow); z-index: 2; }
.ref-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .6s var(--easing);
}
.ref-tile:hover img { transform: scale(1.06); }

/* Größen */
.ref-big  { grid-column: span 2; grid-row: span 2; }
.ref-wide { grid-column: span 2; grid-row: span 1; }
.ref-tall { grid-column: span 1; grid-row: span 2; }

/* Bildunterschrift als Overlay */
.ref-tile figcaption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px 16px 15px; color: #fff; font-size: 13px; line-height: 1.45;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.36) 42%, rgba(0,0,0,0) 72%);
  opacity: 0; transition: opacity .35s ease;
}
.ref-tile:hover figcaption,
.ref-tile.is-feature figcaption { opacity: 1; }
.ref-tile.is-feature figcaption { font-size: 15px; }
.ref-cap-kicker {
  align-self: flex-start; margin-bottom: 8px;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-accent); background: var(--accent);
  padding: 3px 9px; border-radius: 999px;
}

/* Story-Kacheln (Geschichte zwischen den Fotos) */
.ref-story {
  background: var(--surface);
  display: flex; flex-direction: column; justify-content: center;
  padding: 28px 26px;
}
.ref-story.ref-story-big  { grid-column: span 2; grid-row: span 2; }
.ref-story.ref-story-wide { grid-column: span 2; grid-row: span 1; }
.ref-story .k {
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px;
}
.ref-story h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); margin: 0 0 10px; line-height: 1.15; }
.ref-story p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }

@media (max-width: 900px) {
  .ref-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 172px; }
  .ref-big, .ref-story-big { grid-column: span 2; grid-row: span 2; }
  .ref-wide, .ref-story-wide { grid-column: span 2; grid-row: span 1; }
  .ref-tall { grid-column: span 1; grid-row: span 2; }
}
@media (max-width: 560px) {
  .ref-gallery { grid-auto-rows: 128px; gap: 10px; }
  .ref-tile figcaption {
    opacity: 1; font-size: 11px; padding: 10px 11px;
    background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,0) 62%);
  }
  .ref-cap-kicker { display: none; }
  .ref-tile.is-feature figcaption { font-size: 12px; }
  .ref-story { padding: 18px 16px; }
}
.ref-note { margin-top: 32px; font-size: 13px; color: var(--text-dim); max-width: 660px; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center; padding: 28px;
  background: rgba(0, 0, 0, .9); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s ease;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox figure { margin: 0; max-width: min(1100px, 94vw); text-align: center; }
.lightbox img {
  max-width: 100%; max-height: 80vh; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); background: #111;
}
.lightbox figcaption { margin-top: 16px; color: #f0f0f2; font-size: 15px; line-height: 1.5; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(0, 0, 0, .4); color: #fff; font-size: 24px; line-height: 1;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.lightbox-close:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ============ TEAM-SEITE ============ */
.chef {
  display: grid; grid-template-columns: 1fr; gap: 0; align-items: stretch;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
}
@media (min-width: 820px) { .chef { grid-template-columns: 0.85fr 1.15fr; } }
.chef-photo { position: relative; min-height: 320px; background: var(--surface-2); }
.chef-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chef-badge {
  position: absolute; left: 20px; bottom: 20px;
  padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--accent); color: var(--on-accent);
}
.chef-body { padding: 40px 42px; }
@media (max-width: 560px) { .chef-body { padding: 30px 24px; } }
.chef-quote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.3; margin: 0 0 22px;
}
.chef-quote::before { content: '„'; color: var(--accent-text); }
.chef-quote::after { content: '“'; color: var(--accent-text); }
.chef-name { font-size: 1.4rem; margin: 0 0 4px; }
.chef-role { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.chef-body p { color: var(--text-muted); line-height: 1.7; margin: 18px 0 0; }
.chef-contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.team-photo-band {
  margin-top: 32px; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border); position: relative;
}
.team-photo-band img { display: block; width: 100%; height: auto; }
.team-photo-band figcaption {
  padding: 14px 22px; background: var(--surface-2);
  font-size: 14px; color: var(--text-muted);
}
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; }
.offer-card {
  padding: 26px 24px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); transition: transform .35s var(--easing), border-color .35s;
}
.offer-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.offer-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-dim); color: var(--accent-text);
}
.offer-card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.offer-card p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ============ KATEGORIE-UNTERSEITEN (anhaenger-*.html) ============ */
.check-list { margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li {
  position: relative; padding-left: 32px;
  color: var(--text-muted); line-height: 1.55; font-size: 15px;
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-dim);
}
.check-list li::after {
  content: ''; position: absolute; left: 6px; top: 6px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text);
  transform: rotate(-45deg);
}

.fs-note {
  margin-top: 30px; padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--accent); border-radius: var(--radius);
}
.fs-note h3 { font-size: 1rem; margin: 0 0 12px; }
.fs-note ul { margin: 0; padding: 0; display: grid; gap: 8px; }
.fs-note li { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.fs-note p { margin: 14px 0 0; font-size: 13px; color: var(--text-dim); }

.type-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.type-link {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px 12px 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .3s var(--easing), border-color .3s;
}
.type-link:hover { transform: translateY(-3px); border-color: var(--accent); }
.type-link img {
  width: 64px; height: 48px; object-fit: cover;
  border-radius: var(--radius-sm); flex-shrink: 0;
}
.type-link-body { display: grid; gap: 2px; min-width: 0; }
.type-link-body strong { font-size: 14px; }
.type-link-body span { font-size: 12px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.type-link-arrow { margin-left: auto; color: var(--accent-text); transition: transform .3s var(--easing); }
.type-link:hover .type-link-arrow { transform: translateX(4px); }

/* ============ NAV-DROPDOWN (Sortiment) ============ */
.nav-drop { position: relative; display: inline-flex; align-items: center; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop-caret { transition: transform .25s var(--easing); }
.nav-drop:hover .nav-drop-caret,
.nav-drop:focus-within .nav-drop-caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 240px; padding: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .25s var(--easing), visibility .2s;
  z-index: 120;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
/* Hover-Brücke, damit das Menü beim Überfahren nicht zuklappt */
.nav-drop-menu::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-drop-menu a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text-muted);
}
.nav-drop-menu a:hover { background: var(--hover-tint); color: var(--text); }
.nav-drop-sep { height: 1px; margin: 6px 4px; background: var(--border); }
.nav-drop-menu .nav-drop-offers { color: var(--accent-text); font-weight: 600; }
.nav-drop-menu .nav-drop-offers:hover { color: var(--accent-text); }

/* Mobile: Sortiment-Gruppe im Klappmenü */
.mobile-nav-group {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 16px; font-weight: 600; color: var(--text);
  padding: 14px 16px; border-radius: 12px; text-align: left;
}
.mobile-nav-group:hover { background: var(--hover-tint); }
.mobile-nav-group svg { transition: transform .25s var(--easing); }
.mobile-nav-group[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-nav-sub { display: grid; gap: 4px; padding: 4px 0 8px 16px; border-left: 2px solid var(--border); margin-left: 4px; }
.mobile-nav-sub a { font-size: 15px; color: var(--text-muted); }

/* ============ ANGEBOTS-SLIDER (Startseite) ============ */
.trailer-slider-wrap { position: relative; }
.trailer-slider {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(240px, 23vw, 300px);
  gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  /* Auf Touch nur waagerecht wischen: ohne pan-x zieht eine leicht schraege
     Geste die ganze Seite mit, und der Slider springt zurueck. pinch-zoom
     bleibt ausdruecklich erlaubt — sonst laesst sich der Bereich nicht mehr
     vergroessern (Barrierefreiheit). overscroll-behavior verhindert, dass am
     Ende des Sliders die Zurueck-Geste des Browsers ausgeloest wird. */
  touch-action: pan-x pinch-zoom;
  overscroll-behavior-x: contain;
  padding: 4px 4px 18px; margin: 0 -4px;
  scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent;
}
.trailer-slider > .trailer-card { scroll-snap-align: start; }
.trailer-slider::-webkit-scrollbar { height: 8px; }
.trailer-slider::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 4px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border-strong);
  color: var(--text); cursor: pointer; box-shadow: var(--shadow);
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
  z-index: 5;
}
.slider-arrow:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.slider-arrow-prev { left: -14px; }
.slider-arrow-next { right: -14px; }
.slider-arrow[disabled] { opacity: .35; pointer-events: none; }
@media (max-width: 700px) { .slider-arrow { display: none; } }

/* ============ ZWEI-KLICK-KARTE (OSM) ============ */
.map-consent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 24px; text-align: center;
  background:
    radial-gradient(90% 80% at 50% 20%, var(--surface-2), var(--surface));
}
.map-consent p { margin: 0; max-width: 380px; font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.map-consent-icon { color: var(--accent-text); }

/* ============ FORMULAR-MELDUNG ============ */
.form-msg {
  margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 14px; line-height: 1.5; display: none;
}
.form-msg.is-error { display: block; background: rgba(220, 60, 60, .12); color: #e77; border: 1px solid rgba(220, 60, 60, .35); }
[data-theme="light"] .form-msg.is-error { color: #b23030; }
.form-msg.is-ok { display: block; background: var(--accent-dim); color: var(--accent-text); border: 1px solid var(--accent); }
