/* =========================================================
   Autoverwertung Wülfel , Styles
   Brand: #1B3A6F (Industrie-Blau, Werkstatt-Vibe)
   Stil: kantig, robust, harte Kanten, dezente Akzente
   ========================================================= */

:root {
  --color-primary: #1B3A6F;
  --color-primary-hover: #2A4F8F;
  --color-primary-soft: #305FA8;
  --color-accent: #16A34A;        /* Werkstatt-Grün, kräftig & sichtbar */
  --color-text: #0f172a;
  --color-text-soft: #475569;
  --color-muted: #64748b;
  --color-bg: #ffffff;
  --color-bg-alt: #f1f5f9;
  --color-bg-dark: #112647;
  --color-border: #cbd5e1;
  --color-border-strong: #94a3b8;

  --radius: 2px;
  --radius-lg: 4px;
  --max-width: 1200px;
  --shadow-sm: 0 1px 0 rgba(15, 23, 42, 0.04);
  --shadow-md: 0 2px 4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 4px 12px rgba(15, 23, 42, 0.12);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --transition: 150ms cubic-bezier(.4,0,.2,1);
}

/* 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.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-hover); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-primary);
  margin: 0 0 .75rem;
  text-transform: none;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: -0.035em; font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0 0 1rem; color: var(--color-text-soft); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 .8rem;
}
.eyebrow-light { color: #4ADE80; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--color-primary);
  font-weight: 700;
}
/* Header- + Footer-Branding (typografisch, generischer Wordmark) */
.brand-logo {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
/* Logo-Bild füllt das Badge-Quadrat, kein Hintergrund-Kasten */
img.brand-logo { background: none; object-fit: cover; padding: 0; }
.brand-light img.brand-logo { background: none; }
.brand-text { font-size: 1.05rem; letter-spacing: -0.01em; font-weight: 700; }
/* Header etwas dominanter als Footer */
.site-header .brand-logo { width: 44px; height: 44px; font-size: 1.05rem; }
.site-header .brand-text { font-size: 1.15rem; }

.nav { display: flex; gap: 1.6rem; }
.nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: .25rem 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav a:hover { color: var(--color-primary); }
.nav a:hover::after { transform: scaleX(1); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  font-size: 0.95rem;
}
.header-cta svg { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px; height: 42px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-primary);
  margin: 5px auto;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 1.5rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a {
  color: var(--color-text);
  padding: .85rem .25rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a.btn { margin-top: .75rem; border-bottom: 0; }
.mobile-nav[aria-hidden="false"] { display: flex; }

@media (max-width: 880px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 520px) {
  .brand-text { display: none; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.95rem 1.5rem; font-size: 1rem; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border-strong);
}
.btn-ghost:hover { border-color: var(--color-primary); background: var(--color-bg-alt); }

.btn-light {
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { background: var(--color-accent); color: var(--color-primary); box-shadow: var(--shadow-md); }

/* =========================================================
   HERO , Bild im Hintergrund, hell gehalten
   ========================================================= */
.hero {
  position: relative;
  padding: 7rem 0 5.5rem;
  overflow: hidden;
  background-color: #fafbfd; /* Fallback */
  isolation: isolate;
  color: var(--color-text);
  min-height: clamp(520px, 75vh, 720px);
  display: flex;
  align-items: center;
}

/* Layer 1: Bild , Schrottplatz-Top-View, nur rechts stark sichtbar */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  z-index: -3;
  /* Schrottplatz-Optik bleibt rauh, kein Boost */
  filter: contrast(1.02);
}

/* Layer 2: Heller Verlauf , links komplett weiß, rechts lässt das Bild durch */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg,
      rgba(255,255,255,0.98) 0%,
      rgba(255,255,255,0.94) 30%,
      rgba(255,255,255,0.7) 55%,
      rgba(255,255,255,0.45) 80%,
      rgba(255,255,255,0.55) 100%
    ),
    linear-gradient(180deg, rgba(255,255,255,0.35) 0%, transparent 35%, rgba(255,255,255,0.4) 100%);
  z-index: -2;
}

/* Layer 3: Grid-Pattern , dunkle Navy-Linien (passt zu hell) */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,58,111,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,58,111,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
  z-index: -1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
}
.hero-text { max-width: 640px; }
.hero-text .lead {
  font-size: 1.15rem;
  color: var(--color-text-soft);
  max-width: 560px;
  margin: 0 0 1.75rem;
}
.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
}

/* Phone-CTA aus der Skizze (Telefon-Icon + Nummer) */
.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--color-primary);
  padding: .55rem .35rem;
  text-decoration: none;
}
.phone-cta-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.phone-cta:hover .phone-cta-icon {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}
.phone-cta-text { display: flex; flex-direction: column; line-height: 1.2; }
.phone-cta-label { font-size: .78rem; color: var(--color-muted); font-weight: 500; }
.phone-cta-num { font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }

/* Phone-CTA auf dunklem Hintergrund (Hero) */
.phone-cta-onDark { color: #fff; }
.phone-cta-onDark .phone-cta-icon {
  background: var(--color-accent);
  color: var(--color-primary);
}
.phone-cta-onDark .phone-cta-label { color: rgba(255,255,255,0.7); }
.phone-cta-onDark .phone-cta-num { color: #fff; }

/* Trust-Bar */
.trust-bar {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}
.trust-bar li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--color-text-soft);
  font-size: .92rem;
  font-weight: 500;
}
.trust-bar svg { color: var(--color-accent); flex-shrink: 0; }

/* Hero Visual (nur noch für Über-uns / Anfahrt-Platzhalter genutzt) */
.hero-visual-placeholder {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(45deg, #eef2f7 0 12px, #f5f7fa 12px 24px);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--color-muted);
  font-size: .95rem;
  box-shadow: var(--shadow-md);
}
.hero-visual-placeholder small { color: var(--color-muted); font-size: .8rem; }
.placeholder-dark {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 12px, rgba(255,255,255,0.02) 12px 24px);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
}

/* =========================================================
   SECTIONS (allgemein)
   ========================================================= */
.section { padding: 5rem 0; }
.section-alt { background: var(--color-bg-alt); }

.section-head {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-head .eyebrow { display: block; }
.section-sub {
  font-size: 1.05rem;
  color: var(--color-text-soft);
  margin: 0;
}
.section-foot { text-align: center; margin-top: 1.5rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
}
.link-arrow:hover svg { transform: translate(2px, -2px); }
.link-arrow svg { transition: transform var(--transition); }

/* =========================================================
   LEISTUNGEN , Dark Section, helle Cards
   ========================================================= */
.leistungen-section {
  position: relative;
  background: linear-gradient(135deg, #1B3A6F 0%, #2A4F8F 100%);
  color: rgba(255,255,255,0.85);
  overflow: hidden;
  isolation: isolate;
}
.leistungen-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 90% 10%, rgba(22,163,74,0.18), transparent 55%),
    radial-gradient(ellipse at 5% 95%, rgba(22,163,74,0.10), transparent 50%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: -1;
}
.leistungen-section h2 { color: #fff; }
.leistungen-section .section-sub { color: rgba(255,255,255,0.78); }

.leistungen-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.leistung-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: none;
  transition: border-color var(--transition), border-left-color var(--transition), box-shadow var(--transition);
}
.leistung-card:hover {
  border-left-color: var(--color-accent);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}
.leistung-img {
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(45deg, #eef2f7 0 12px, #f5f7fa 12px 24px);
  display: grid;
  place-items: center;
  color: var(--color-muted);
  font-size: .9rem;
}
.leistung-card h3 {
  margin: 1.25rem 1.25rem .5rem;
}
.leistung-card p {
  margin: 0 1.25rem 1.25rem;
  font-size: .95rem;
}

/* =========================================================
   ÜBER UNS , Dark Section
   ========================================================= */
.ueberuns-section {
  position: relative;
  background: linear-gradient(135deg, #1B3A6F 0%, #2A4F8F 100%);
  color: rgba(255,255,255,0.85);
  overflow: hidden;
  isolation: isolate;
}
.ueberuns-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 90% 10%, rgba(22,163,74,0.18), transparent 55%),
    radial-gradient(ellipse at 5% 95%, rgba(22,163,74,0.10), transparent 50%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  pointer-events: none;
  z-index: -1;
}
.ueberuns-section h2 { color: #fff; }
.ueberuns-section p { color: rgba(255,255,255,0.78); }

.ueberuns-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) {
  .ueberuns-grid { grid-template-columns: 1.1fr 0.9fr; }
}

.facts {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.facts li {
  border-left: 3px solid var(--color-accent);
  padding-left: 1rem;
}
.facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.facts span {
  color: rgba(255,255,255,0.65);
  font-size: .9rem;
}

/* =========================================================
   KONTAKT , Premium Split-Card
   ========================================================= */
.kontakt-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
@media (min-width: 920px) {
  .kontakt-card { grid-template-columns: 0.95fr 1.05fr; }
}

/* === Linkes Info-Panel (Dark Navy) === */
.kontakt-info-panel {
  position: relative;
  background: linear-gradient(135deg, #1B3A6F 0%, #2A4F8F 100%);
  color: #fff;
  padding: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  isolation: isolate;
}
.kontakt-info-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 90% 0%, rgba(22, 163, 74, 0.22), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(22, 163, 74, 0.10), transparent 50%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
  pointer-events: none;
  z-index: -1;
}
.kontakt-info-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0;
}
.kontakt-info-panel h3 {
  color: #fff;
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  margin: 0 0 .65rem;
  line-height: 1.2;
}
.kontakt-info-lead {
  color: rgba(255,255,255,0.78);
  margin: 0 0 1.75rem;
  font-size: .98rem;
  max-width: 32ch;
}

/* Channel-Liste */
.kontakt-channels {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}
.kontakt-channels li {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.kontakt-channels li:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.kontakt-channels a,
.kontakt-channels .kontakt-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  color: #fff;
  text-decoration: none;
  transition: padding-left var(--transition), background var(--transition);
}
.kontakt-channels a:hover {
  padding-left: .35rem;
  color: #fff;
}
.kontakt-channels a:hover .kontakt-arrow {
  opacity: 1;
  transform: translateX(0);
}
.kontakt-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: rgba(22, 163, 74, 0.14);
  color: var(--color-accent);
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 163, 74, 0.22);
  transition: background var(--transition), transform var(--transition);
}
.kontakt-channels a:hover .kontakt-icon {
  background: rgba(22, 163, 74, 0.22);
  transform: scale(1.05);
}
.kontakt-meta {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
  min-width: 0;
}
.kontakt-meta-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.kontakt-meta-value {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  word-break: break-word;
}
.kontakt-arrow {
  color: var(--color-accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--transition), transform var(--transition);
  flex-shrink: 0;
}

/* Antwort-Badge unten */
.kontakt-badge {
  margin-top: auto;
  padding-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,0.85);
  font-size: .9rem;
  font-weight: 500;
}
.kontakt-badge svg { color: var(--color-accent); flex-shrink: 0; }

/* === Rechtes Form-Panel (Hell) === */
.kontakt-form-panel {
  padding: clamp(2rem, 4vw, 3rem);
  background: #fff;
}
.kontakt-form-panel h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  color: var(--color-primary);
  margin: 0 0 .35rem;
  line-height: 1.2;
}
.form-intro {
  margin: 0 0 1.75rem;
  font-size: .98rem;
  color: var(--color-text-soft);
  max-width: 38ch;
}

.contact-form {
  display: grid;
  gap: 1.4rem;
  position: relative;
}

.form-row {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Floating-Label-Felder , minimalistisch, nur Unterlinie */
.field {
  position: relative;
  padding-top: 1.1rem; /* Platz für die schwebende Label oben */
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  padding: .55rem 0 .65rem;
  border: 0;
  border-bottom: 1.5px solid var(--color-border-strong);
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
  transition: border-color var(--transition);
  appearance: none;
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input:hover,
.field textarea:hover {
  border-bottom-color: var(--color-muted);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--color-primary);
  border-bottom-width: 2px;
  padding-bottom: calc(.65rem - 0.5px); /* Layout-Shift durch dickere Border ausgleichen */
}
.field label {
  position: absolute;
  left: 0;
  top: 1.7rem;
  font-size: 1rem;
  color: var(--color-muted);
  pointer-events: none;
  transition: top var(--transition), font-size var(--transition),
              color var(--transition), letter-spacing var(--transition);
  font-weight: 500;
  background: transparent;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: 0;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
}

.btn-full { width: 100%; }

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-status { font-size: .95rem; min-height: 1.2em; margin: 0; }
.form-status.success { color: #15803d; font-weight: 600; }
.form-status.error { color: #b91c1c; font-weight: 600; }
.form-hint {
  font-size: .85rem;
  color: var(--color-muted);
  margin: 0;
}

/* =========================================================
   FINAL-CTA: Auto verkaufen?
   ========================================================= */
.section-cta {
  padding: 4rem 0;
}
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-card-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(22, 163, 74, 0.25), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(22, 163, 74, 0.15), transparent 50%),
    linear-gradient(135deg, #1B3A6F 0%, #2A4F8F 100%);
  z-index: 0;
}
.cta-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.cta-card-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.cta-card h2 { color: #fff; margin-bottom: 1rem; }
.cta-card .lead-light {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 1.75rem;
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* =========================================================
   ANFAHRT (Maps + Info)
   ========================================================= */
.anfahrt-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .anfahrt-grid { grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; }
}

.map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  background: var(--color-bg-alt);
}
.map-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(15%) contrast(1.05);
}
@media (min-width: 960px) {
  .map-wrap { aspect-ratio: auto; min-height: 460px; }
}

.anfahrt-info {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}
.anfahrt-block h3 {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: .35rem;
}
.anfahrt-block h3 svg { color: var(--color-accent); }
.anfahrt-block p { margin: 0; font-size: .95rem; }
.anfahrt-cols {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-top: .25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}
@media (min-width: 600px) and (max-width: 959px) {
  .anfahrt-cols { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-col h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 .85rem;
}
.footer-col p, .footer-col nav { font-size: .95rem; }
.footer-col a {
  color: rgba(255,255,255,0.85);
}
.footer-col a:hover { color: #fff; }
.brand-light { color: #fff; }
.brand-light .brand-logo { background: #fff; color: var(--color-primary); }
.footer-tag {
  margin: .85rem 0 0;
  color: rgba(255,255,255,0.7);
  font-size: .92rem;
  max-width: 280px;
}
.footer-bottom {
  padding-top: 1.5rem;
  font-size: .85rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
}
.footer-bottom p { margin: 0; color: inherit; }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}
.legal h1 { color: var(--color-primary); }
.legal h2 { color: var(--color-primary); margin-top: 2rem; font-size: 1.3rem; }
.legal p, .legal li { color: var(--color-text-soft); }

/* =========================================================
   FLOATING CALL-BUTTON (unten rechts, immer sichtbar)
   ========================================================= */
.call-fab {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.5rem);
  bottom: clamp(1rem, 2.5vw, 1.5rem);
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem 1rem .55rem .55rem;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(27, 58, 111, 0.32),
              0 4px 12px rgba(27, 58, 111, 0.18);
  z-index: 60;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 1px solid rgba(22, 163, 74, 0.4);
}
.call-fab:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 16px 40px rgba(27, 58, 111, 0.4),
              0 6px 16px rgba(27, 58, 111, 0.22);
}
.call-fab:active { transform: translateY(0); }

.call-fab-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
/* Pulse-Ring */
.call-fab-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  animation: callPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes callPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.6); opacity: 0;   }
  100% { transform: scale(1.6); opacity: 0;   }
}

.call-fab-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  padding-right: .25rem;
}
.call-fab-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}
.call-fab-num {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
}

/* Mobile: Pill bleibt, etwas kompakter */
@media (max-width: 600px) {
  .call-fab {
    padding: .4rem .9rem .4rem .4rem;
    gap: .6rem;
  }
  .call-fab-icon { width: 38px; height: 38px; }
  .call-fab-icon svg { width: 18px; height: 18px; }
  .call-fab-label { font-size: .62rem; }
  .call-fab-num { font-size: .9rem; }
}

/* =========================================================
   ANIMATIONS , Hero-Load & Scroll-Reveal
   ========================================================= */

/* --- Hero Entrance (auf Page-Load, keine Observer nötig) --- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroBgFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes kenBurns {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1.10); }
}
@keyframes gridFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-bg {
  animation:
    heroBgFadeIn 1.2s ease-out both,
    kenBurns 22s ease-in-out infinite alternate;
}
.hero-overlay { animation: heroBgFadeIn 1.2s ease-out both; }
.hero-grid    { animation: gridFadeIn 1.6s 0.3s ease-out both; }

.hero-text > .eyebrow,
.hero-text > h1,
.hero-text > .lead,
.hero-text > .cta-row,
.hero-text > .trust-bar {
  opacity: 0;
  animation: heroFadeUp 900ms cubic-bezier(.2,.6,.2,1) both;
}
.hero-text > .eyebrow  { animation-delay: 200ms; }
.hero-text > h1        { animation-delay: 350ms; }
.hero-text > .lead     { animation-delay: 520ms; }
.hero-text > .cta-row  { animation-delay: 700ms; }
.hero-text > .trust-bar{ animation-delay: 880ms; }

/* Floating Call-FAB beim Laden ein-pop'en */
@keyframes fabPopIn {
  from { opacity: 0; transform: translateY(16px) scale(0.85); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.call-fab {
  animation: fabPopIn 600ms 1.2s cubic-bezier(.2,.8,.2,1.2) both;
}

/* --- Scroll-Reveal-System --- */
[data-reveal] {
  --reveal-delay: 0ms;
  --reveal-distance: 28px;
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition:
    opacity 800ms cubic-bezier(.2,.6,.2,1) var(--reveal-delay),
    transform 800ms cubic-bezier(.2,.6,.2,1) var(--reveal-delay);
  will-change: opacity, transform;
}
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] {
  transform: translateX(calc(var(--reveal-distance) * -1));
}
[data-reveal="right"] {
  transform: translateX(var(--reveal-distance));
}
[data-reveal="scale"] {
  transform: scale(0.96);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger für Card-Grids ohne extra Markup */
.leistungen-grid > [data-reveal]:nth-child(1) { --reveal-delay: 0ms; }
.leistungen-grid > [data-reveal]:nth-child(2) { --reveal-delay: 140ms; }
.leistungen-grid > [data-reveal]:nth-child(3) { --reveal-delay: 280ms; }
.leistungen-grid > [data-reveal]:nth-child(4) { --reveal-delay: 420ms; }

.facts > [data-reveal]:nth-child(1) { --reveal-delay: 0ms; }
.facts > [data-reveal]:nth-child(2) { --reveal-delay: 100ms; }
.facts > [data-reveal]:nth-child(3) { --reveal-delay: 200ms; }

.kontakt-channels > [data-reveal]:nth-child(1) { --reveal-delay: 0ms; }
.kontakt-channels > [data-reveal]:nth-child(2) { --reveal-delay: 80ms; }
.kontakt-channels > [data-reveal]:nth-child(3) { --reveal-delay: 160ms; }
.kontakt-channels > [data-reveal]:nth-child(4) { --reveal-delay: 240ms; }

.footer-inner > [data-reveal]:nth-child(1) { --reveal-delay: 0ms; }
.footer-inner > [data-reveal]:nth-child(2) { --reveal-delay: 80ms; }
.footer-inner > [data-reveal]:nth-child(3) { --reveal-delay: 160ms; }
.footer-inner > [data-reveal]:nth-child(4) { --reveal-delay: 240ms; }

/* Section-Head: Eyebrow → H2 → Sub stagger via direkte data-reveal-stagger Klassen */
.section-head > .eyebrow[data-reveal]      { --reveal-delay: 0ms; }
.section-head > h2[data-reveal]             { --reveal-delay: 120ms; }
.section-head > .section-sub[data-reveal]   { --reveal-delay: 240ms; }

/* --- Header: Shrink on Scroll --- */
.site-header { transition: padding var(--transition), box-shadow var(--transition), background var(--transition); }
.site-header.is-scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
}
.site-header.is-scrolled .header-inner { padding-top: .55rem; padding-bottom: .55rem; }
.header-inner { transition: padding var(--transition); }

/* =========================================================
   FACTS-LIST , Bullet-Liste mit Strong-Label + Beschreibung
   (für Ankauf-Sektion)
   ========================================================= */
.facts-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.facts-list li {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--color-border);
}
.facts-list li:last-child { border-bottom: 1px solid var(--color-border); }
.facts-list li strong {
  color: var(--color-primary);
  font-weight: 700;
}
.facts-list li span {
  color: var(--color-text-soft);
}
@media (max-width: 720px) {
  .facts-list li {
    grid-template-columns: 1fr;
    gap: .25rem;
  }
}

/* =========================================================
   TEILE-CTA , großes Call-out für Kleinanzeigen-Bestand
   ========================================================= */
.teile-cta {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.teile-cta::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(27, 58, 111, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.teile-cta-inner {
  position: relative;
  max-width: 720px;
}
.teile-cta-inner h3 {
  font-size: 1.5rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: .75rem;
}
.teile-cta-inner p {
  margin-bottom: 1.5rem;
}

/* =========================================================
   REDUCED MOTION , alles Animations-Zeug aus
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-text > * { opacity: 1; }
  .call-fab { opacity: 1; transform: none; }
}

/* =========================================================
   S&A: Echte Bilder in Leistung-Cards + Über-uns-Visual
   ========================================================= */
.leistung-img {
  display: block;
  padding: 0;
  background: var(--color-primary);
  overflow: hidden;
}
.leistung-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ueberuns-visual {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-primary);
}
.ueberuns-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =========================================================
   S&A: Embed-Slot (Google Maps) Platzhalter solange
   noch kein Cookie-Consent erteilt wurde
   ========================================================= */
.embed-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 1.75rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(27,58,111,.94), rgba(48,95,168,.94)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 10px, transparent 10px 20px);
  color: rgba(255,255,255,.95);
  border-radius: inherit;
}
.embed-placeholder-inner { max-width: 460px; }
.embed-placeholder p {
  margin: 0 0 1rem;
  font-size: .92rem;
  color: rgba(255,255,255,.85);
  line-height: 1.55;
}
.embed-placeholder a { color: var(--color-accent, #16A34A); text-decoration: underline; }
.embed-placeholder a:hover { color: #fff; }
.embed-placeholder .embed-load-btn { margin: 0 0 1rem; }

/* =========================================================
   S&A: Cookie / Datenschutz-Banner (Akzept + Ablehnen)
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 90;
  background: #fff;
  color: var(--color-text);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  border: 1px solid var(--color-border);
  max-width: 1100px;
  margin: 0 auto;
}
.cookie-banner-inner {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  flex-wrap: wrap;
}
.cookie-banner-inner p {
  margin: 0; flex: 1 1 320px;
  font-size: .92rem; line-height: 1.5;
}
.cookie-banner-actions {
  display: flex; gap: .6rem; flex-wrap: wrap;
}
.cookie-banner-actions .btn { white-space: nowrap; }

@media (max-width: 640px) {
  .cookie-banner { left: .5rem; right: .5rem; bottom: 5.5rem; }
  .cookie-banner-inner { padding: .85rem 1rem; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; }
}

/* =========================================================
   S&A: Footer-Credit
   ========================================================= */
.footer-credit {
  margin-top: .35rem !important;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-credit a { color: rgba(255,255,255,.78); text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: #fff; }
