/*
Theme Name: Hanse Kfz Gutachten
Theme URI: https://hansekfzgutachten.de
Author: Hanse Kfz Gutachten
Author URI: https://hansekfzgutachten.de
Description: Kfz-Gutachter Uelzen & Umgebung - zweisprachiges (DE/EN) Website-Theme fuer Hanse Kfz Gutachten. Kontaktformular sendet an info@hansekfzgutachten.de. Benoetigte Seiten werden bei Aktivierung automatisch angelegt.
Version: 1.0.2
Requires at least: 5.5
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hanse-gutachten
*/

/* ==========================================================================
   HANSE GUTACHTEN – Design System
   Stil: "Trust & Authority" · Farben aus Logo abgeleitet
   ----------------------------------------------------------------------------
   (Live-Status-Pille "Jetzt erreichbar" ist am Ende dieser Datei definiert)
   ========================================================================== */

/* ---- Design Tokens ------------------------------------------------------- */
:root {
  /* Farben (aus Logo) */
  --color-navy:        #1B2A44;   /* Primär – Logo-Blau */
  --color-navy-800:    #223354;
  --color-navy-700:    #2C4066;
  --color-silver:      #9AA3AD;   /* Sekundär – Logo-Grau */
  --color-silver-300:  #C3CAD2;
  --color-accent:      #0369A1;   /* CTA-Blau */
  --color-accent-600:  #0284C7;
  --color-accent-050:  #E7F1F8;

  --color-bg:          #F8FAFC;   /* Seiten-Hintergrund */
  --color-surface:     #FFFFFF;   /* Karten */
  --color-muted:       #EEF2F6;   /* dezente Flächen */
  --color-border:      #E2E8F0;

  --color-fg:          #0F1B2D;   /* Haupttext */
  --color-fg-muted:    #4A5A6E;   /* Fließtext gedämpft */
  --color-fg-subtle:   #6B7A8D;

  --color-success:     #157347;
  --color-danger:      #DC2626;
  --color-whatsapp:    #25D366;
  --color-whatsapp-dk: #1EBE5A;

  /* Typografie */
  --font-head: "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale (marketing / großzügig) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Radius / Shadow */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 1px 3px rgba(15, 27, 45, .08);
  --shadow:    0 4px 12px rgba(15, 27, 45, .08), 0 2px 4px rgba(15, 27, 45, .05);
  --shadow-lg: 0 18px 40px rgba(15, 27, 45, .14);

  --container: 1160px;
  --header-h: 76px;

  /* Z-Index-Skala */
  --z-base: 0;
  --z-reveal: 10;
  --z-header: 100;
  --z-menu: 200;
  --z-float: 300;
}

/* ---- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-600); }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--color-fg);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
p  { color: var(--color-fg-muted); }

/* ---- Layout Helpers ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.section { padding-block: clamp(56px, 9vw, 112px); }
section[id], main[id] { scroll-margin-top: 92px; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--navy {
  background: var(--color-navy);
  color: #E7ECF3;
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #B7C2D0; }
.section--muted { background: var(--color-muted); }

.eyebrow {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-block;
  margin-bottom: var(--space-3);
}
.section--navy .eyebrow { color: var(--color-silver-300); }

.section-head { max-width: 720px; margin-bottom: var(--space-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.14rem; color: var(--color-fg-muted); }
.section--navy .lead { color: #C4CFDC; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  min-height: 50px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; }

.btn-primary { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-accent-600); color: #fff; box-shadow: var(--shadow); transform: translateY(-2px); }

.btn-dark { background: var(--color-navy); color: #fff; }
.btn-dark:hover { background: var(--color-navy-700); color: #fff; transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--color-navy); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-navy); color: var(--color-navy); background: #fff; }
.section--navy .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.section--navy .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }

.btn-whatsapp { background: var(--color-whatsapp); color: #08331a; }
.btn-whatsapp:hover { background: var(--color-whatsapp-dk); color: #08331a; transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand .brand-fallback {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--color-navy);
  font-size: 1.1rem;
}

.nav { display: flex; align-items: center; gap: var(--space-2); }
.nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .97rem;
  color: var(--color-fg);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: background-color .18s ease, color .18s ease;
}
.nav a:hover { background: var(--color-muted); color: var(--color-navy); }
.nav a[aria-current="page"] { color: var(--color-accent); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }

/* Sprachumschalter */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: #fff;
}
.lang-switch button {
  border: none;
  background: transparent;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  padding: 7px 12px;
  color: var(--color-fg-subtle);
  transition: background-color .18s ease, color .18s ease;
}
.lang-switch button[aria-pressed="true"] { background: var(--color-navy); color: #fff; }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; color: var(--color-navy); }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(3,105,161,.18), transparent 60%),
    linear-gradient(180deg, var(--color-navy) 0%, #14203A 100%);
  color: #E7ECF3;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(700px 400px at 78% 10%, #000, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(56px, 9vw, 104px);
}
.hero h1 { color: #fff; margin-bottom: var(--space-4); }
.hero .lead { color: #C4CFDC; margin-bottom: var(--space-6); max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.hero-badge { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: #B7C2D0; }
.hero-badge svg { width: 22px; height: 22px; color: var(--color-silver-300); flex-shrink: 0; }

.hero-claim {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  backdrop-filter: blur(4px);
}
.hero-claim .claim-word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.01em;
}
.hero-claim .claim-word span { color: var(--color-accent-600); }
.hero-claim .claim-sub { margin-top: var(--space-4); color: #B7C2D0; }
.hero-claim hr { border: none; border-top: 1px solid rgba(255,255,255,.12); margin-block: var(--space-5); }
.hero-contact-row { display: flex; flex-direction: column; gap: 10px; }
.hero-contact-row a {
  display: flex; align-items: center; gap: 12px;
  color: #E7ECF3; font-family: var(--font-head); font-weight: 500;
}
.hero-contact-row a:hover { color: #fff; }
.hero-contact-row svg { width: 20px; height: 20px; color: var(--color-accent-600); }

/* ---- Stats bar ----------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.stat { text-align: center; padding: var(--space-4); }
.stat .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--color-navy);
  font-variant-numeric: tabular-nums;
}
.section--navy .stat .num { color: #fff; }
.stat .label { font-size: .95rem; color: var(--color-fg-subtle); }
.section--navy .stat .label { color: #B7C2D0; }

/* ---- Cards / Grids ------------------------------------------------------- */
.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-silver-300); }
.card .icon-badge { margin-bottom: var(--space-4); }

.icon-badge {
  width: 54px; height: 54px;
  border-radius: var(--radius);
  background: var(--color-accent-050);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}
.icon-badge svg { width: 28px; height: 28px; }
.section--navy .icon-badge { background: rgba(255,255,255,.08); color: var(--color-silver-300); }

.card h3 { margin-bottom: var(--space-2); }
.card p { font-size: 1rem; }
.card ul.check { margin-top: var(--space-4); display: grid; gap: 8px; }
ul.check li { position: relative; padding-left: 30px; color: var(--color-fg-muted); font-size: 1rem; }
ul.check li svg { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; color: var(--color-success); }

/* Feature (icon left) */
.feature { display: flex; gap: var(--space-4); }
.feature .icon-badge { flex-shrink: 0; }
.feature h3 { font-size: 1.15rem; margin-bottom: 4px; }
.feature p { font-size: 1rem; }

/* ---- Steps (Ablauf) ------------------------------------------------------ */
.steps { counter-reset: step; display: grid; gap: var(--space-5); }
.step {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 32px) clamp(24px, 3vw, 32px) 84px;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px; top: clamp(24px, 3vw, 32px);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.15rem; margin-bottom: 4px; color: var(--color-navy); }
.step p { font-size: 1rem; color: var(--color-fg-muted); }
/* Schritt-Karten (weiß) bleiben auch im dunklen Abschnitt gut lesbar */
.section--navy .step h3 { color: var(--color-navy); }
.section--navy .step p { color: var(--color-fg-muted); }

/* ---- Trust badges strip -------------------------------------------------- */
.trust-strip {
  display: flex; flex-wrap: wrap;
  gap: var(--space-5);
  justify-content: center;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600;
  color: var(--color-navy);
}
.section--navy .trust-item { color: #fff; }
.trust-item svg { width: 26px; height: 26px; color: var(--color-accent); }
.section--navy .trust-item svg { color: var(--color-silver-300); }

/* ---- Testimonials -------------------------------------------------------- */
.quote {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex; flex-direction: column;
}
.quote .stars { display: flex; gap: 2px; color: #F5A524; margin-bottom: var(--space-3); }
.quote .stars svg { width: 20px; height: 20px; }
.quote blockquote { font-size: 1.08rem; color: var(--color-fg); flex: 1; }
.quote .who { margin-top: var(--space-4); display: flex; align-items: center; gap: 12px; }
.quote .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
}
.quote .who b { font-family: var(--font-head); color: var(--color-navy); }
.quote .who span { display: block; font-size: .9rem; color: var(--color-fg-subtle); }
.placeholder-note {
  display: inline-block;
  font-size: .78rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: #92400E;
  background: #FEF3C7;
  border: 1px dashed #D9A441;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

/* ---- Instagram section --------------------------------------------------- */
.ig-wrap { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; max-width: 440px; }
.ig-tile {
  position: relative; display: block;
  aspect-ratio: 1 / 1; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  background: var(--color-muted);
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.ig-tile:hover img, .ig-tile:focus-visible img { transform: scale(1.07); }
.ig-tile-ov {
  position: absolute; inset: 0;
  background: linear-gradient(45deg, rgba(245,133,41,.9), rgba(221,42,123,.9) 55%, rgba(129,52,175,.9));
  opacity: 0; transition: opacity .3s ease;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.ig-tile:hover .ig-tile-ov, .ig-tile:focus-visible .ig-tile-ov { opacity: 1; }
.ig-tile-ov svg { width: 38px; height: 38px; }

.ig-profile { display: flex; align-items: center; gap: 14px; margin-top: var(--space-5); }
.ig-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  padding: 3px; background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF);
  display: inline-flex;
}
.ig-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; background: #fff; padding: 5px; border: 2px solid #fff; }
.ig-profile-meta b { display: block; font-family: var(--font-head); color: var(--color-navy); font-size: 1.05rem; }
.ig-profile-meta span { color: var(--color-fg-subtle); font-size: .95rem; }
@media (max-width: 960px) {
  .ig-grid { margin-inline: auto; }
  .ig-profile { justify-content: center; }
}

/* ---- Einsatzgebiet (Orts-Chips) ------------------------------------------ */
.region-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; max-width: 860px;
  margin: 0 auto var(--space-5);
}
.region-chips li {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  color: var(--color-navy);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 9px 16px 9px 13px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .2s ease;
}
.region-chips li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-accent); flex-shrink: 0;
}
.region-chips li:hover { transform: translateY(-2px); border-color: var(--color-silver-300); box-shadow: var(--shadow); }
.region-note { text-align: center; color: var(--color-fg-subtle); max-width: 620px; margin-inline: auto; font-size: .98rem; }

/* ---- Photo placeholders (Auto-Stock-Optik) ------------------------------- */
.photo-ph {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, #253652 0%, #1B2A44 55%, #0F1B2D 100%);
  min-height: 260px;
  display: flex; align-items: flex-end;
  border: 1px solid var(--color-border);
}
.photo-ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.10), transparent 40%),
    linear-gradient(115deg, transparent 40%, rgba(154,163,173,.18) 60%, transparent 62%);
}
.photo-ph .ph-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  color: rgba(255,255,255,.25);
}
.photo-ph .ph-icon svg { width: 60px; height: 60px; }
.photo-ph .ph-label {
  position: relative;
  margin: 16px;
  font-size: .8rem; font-family: var(--font-head); font-weight: 600;
  color: #fff;
  background: rgba(15,27,45,.6);
  border: 1px dashed rgba(255,255,255,.35);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  backdrop-filter: blur(2px);
}
.photo-ph.tall { min-height: 420px; }

/* ---- Contact ------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); }

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: var(--space-4); }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--color-navy);
  margin-bottom: 7px;
}
.field label .req { color: var(--color-danger); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-fg);
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  min-height: 50px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(3,105,161,.15);
}
.field .help { font-size: .85rem; color: var(--color-fg-subtle); margin-top: 6px; }
.field-error { color: var(--color-danger); font-size: .85rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--color-danger); }
.field.invalid .field-error { display: block; }

.form-consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: var(--space-5); }
.form-consent input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; }
.form-consent label { font-size: .9rem; color: var(--color-fg-muted); font-family: var(--font-body); font-weight: 400; }

.form-status { border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: var(--space-4); font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.info { background: #FEF3C7; color: #92400E; border: 1px solid #F1D18A; }
.form-status.ok   { background: #DCFCE7; color: #14532D; border: 1px solid #A7E3BE; }
.form-status.err  { background: #FEE2E2; color: #991B1B; border: 1px solid #F3B4B4; }

.contact-cards { display: grid; gap: var(--space-4); }
.contact-line {
  display: flex; align-items: center; gap: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
}
a.contact-line:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-line .icon-badge { width: 46px; height: 46px; flex-shrink: 0; }
.contact-line .icon-badge svg { width: 24px; height: 24px; }
.contact-line .ct-label { font-size: .82rem; color: var(--color-fg-subtle); }
.contact-line .ct-value { font-family: var(--font-head); font-weight: 600; color: var(--color-navy); font-size: 1.05rem; }

/* ---- FAQ ----------------------------------------------------------------- */
.faq { display: grid; gap: var(--space-3); max-width: 820px; margin-inline: auto; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  background: none; border: none; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
  color: var(--color-navy);
}
.faq-q .chev { transition: transform .25s ease; color: var(--color-accent); flex-shrink: 0; }
.faq-q .chev svg { width: 22px; height: 22px; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 22px; color: var(--color-fg-muted); }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band { text-align: center; }
.cta-band .btn-row { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; margin-top: var(--space-6); }

/* ---- Legal pages --------------------------------------------------------- */
.legal { max-width: 820px; }
.legal h2 { margin-top: var(--space-7); margin-bottom: var(--space-3); font-size: 1.4rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { margin-top: var(--space-5); margin-bottom: var(--space-2); font-size: 1.12rem; }
.legal p, .legal li { color: var(--color-fg-muted); }
.legal ul { padding-left: 20px; list-style: disc; display: grid; gap: 6px; margin-block: var(--space-3); }
.legal .ph {
  background: #FEF3C7; color: #92400E;
  border-radius: 4px; padding: 1px 7px; font-weight: 600;
  font-family: var(--font-head); font-size: .92em;
}
.legal .updated { color: var(--color-fg-subtle); font-size: .9rem; }

/* ---- Page hero (inner pages) --------------------------------------------- */
.page-hero {
  background: linear-gradient(180deg, var(--color-navy) 0%, #16233D 100%);
  color: #fff;
  padding-block: clamp(48px, 7vw, 84px);
}
.page-hero .eyebrow { color: var(--color-silver-300); }
.page-hero h1 { color: #fff; margin-bottom: var(--space-5); }
.page-hero p { color: #C4CFDC; max-width: 60ch; font-size: 1.14rem; }
.breadcrumb { font-size: .9rem; color: #93A2B6; margin-bottom: var(--space-4); }
.breadcrumb a { color: #C4CFDC; }
.breadcrumb a:hover { color: #fff; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: #0F1B2D; color: #AEB9C7; padding-block: var(--space-8) var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--space-6); }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: var(--space-4); letter-spacing: .02em; }
.site-footer a { color: #AEB9C7; }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 10px; font-size: .96rem; }
.footer-brand img { height: 56px; width: auto; margin-bottom: var(--space-4); }
.footer-brand p { color: #8E9BAD; font-size: .95rem; max-width: 34ch; }
.footer-contact { display: grid; gap: 10px; font-size: .96rem; }
.footer-contact div { display: flex; gap: 10px; align-items: center; }
.footer-contact svg { width: 18px; height: 18px; color: var(--color-silver); flex-shrink: 0; }
.footer-bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  justify-content: space-between; align-items: center;
  font-size: .88rem; color: #7E8B9D;
}
.footer-bottom .fb-links { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* ---- Floating WhatsApp --------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: var(--z-float);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #08331a;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.42);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: scale(1.07); color: #08331a; box-shadow: 0 14px 32px rgba(37,211,102,.55); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float .wa-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---- Instagram badge link ------------------------------------------------ */
.ig-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600;
  background: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF 90%);
  color: #fff; padding: 12px 22px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
}
.ig-link:hover { transform: translateY(-2px); color: #fff; box-shadow: var(--shadow); }
.ig-link svg { width: 22px; height: 22px; }

/* ---- Scroll reveal ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Focus visibility ---------------------------------------------------- */
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--color-navy); color: #fff;
  padding: 10px 18px; border-radius: var(--radius-sm); z-index: var(--z-float);
}
.skip-link:focus { left: 8px; color: #fff; }

/* ---- i18n visibility (hide inactive language attributes handled in JS) ---- */
[data-lang-hide] { display: none !important; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .ig-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}
@media (max-width: 860px) {
  .nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.menu-open .nav {
    display: flex;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-3) clamp(20px, 5vw, 40px) var(--space-5);
    box-shadow: var(--shadow-lg);
    gap: 2px;
    z-index: var(--z-menu);
  }
  .site-header.menu-open .nav a { padding: 14px; }
  .site-header.menu-open .nav .btn { display: inline-flex; margin-top: var(--space-3); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: var(--space-3); }
}

/* ---- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .wa-float .wa-pulse { display: none; }
  .status-pill .dot::after { display: none; }
}

/* ---- Live-Status-Pille "Jetzt erreichbar" -------------------------------- */
.status-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: rgba(21,115,71,.12); color: #0F7A44;
  border: 1px solid rgba(21,115,71,.28);
}
.status-pill .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-success); position: relative; flex-shrink: 0;
}
.status-pill .dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--color-success);
  animation: statpulse 2.2s ease-out infinite;
}
.status-pill.closed { background: rgba(220,38,38,.10); color: #B91C1C; border-color: rgba(220,38,38,.28); }
.status-pill.closed .dot { background: var(--color-danger); }
.status-pill.closed .dot::after { border-color: var(--color-danger); }
@keyframes statpulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }
/* Auf dunklen Bereichen (Hero / Page-Hero) heller darstellen */
.hero .status-pill, .page-hero .status-pill {
  background: rgba(37,211,102,.14); color: #8FF0B6; border-color: rgba(37,211,102,.32);
}
.hero .status-pill.closed, .page-hero .status-pill.closed {
  background: rgba(248,113,113,.14); color: #FCA5A5; border-color: rgba(248,113,113,.32);
}
.status-pill { margin-bottom: var(--space-5); }
