/* ==========================================================================
   Bau Vermittlungen UG (haftungsbeschränkt) — Stylesheet
   Ruhig, seriös, hochwertig · System-Fontstack (DSGVO-neutral, kein Font-CDN)
   ========================================================================== */

/* ---------- Design-Tokens ---------- */
:root {
  --paper: #fcfcfb;
  --surface: #f6f6f4;
  --ink: #171c25;
  --ink-soft: #5a6272;
  --ink-faint: #939aa8;
  --navy: #0f2e54;
  --navy-deep: #0a2140;
  --navy-ghost: rgba(15, 46, 84, 0.05);
  --gold: #b08d4a;
  --gold-soft: #e6c07a;
  --gold-ghost: rgba(176, 141, 74, 0.1);
  --line: #e7e8e9;
  --line-soft: #efefed;

  --radius-lg: 16px;
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1140px;

  --shadow-sm: 0 1px 2px rgba(10, 33, 64, 0.04), 0 3px 10px rgba(10, 33, 64, 0.04);
  --shadow-md: 0 2px 4px rgba(10, 33, 64, 0.04), 0 14px 34px rgba(10, 33, 64, 0.07);
  --shadow-lg: 0 4px 8px rgba(10, 33, 64, 0.04), 0 28px 64px rgba(10, 33, 64, 0.1);

  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sect: clamp(88px, 11vw, 136px);
  --pad: clamp(56px, 7vw, 92px);
}

/* ---------- Basis ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

::selection { background: rgba(230, 192, 122, 0.3); color: var(--navy-deep); }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 3px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(22px, 4vw, 32px);
}

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.eyebrow.center::before { display: none; }

.section-head { max-width: 640px; margin-bottom: clamp(48px, 6vw, 68px); }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); margin-bottom: 18px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; max-width: 56ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }

section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); background: #fff; }
.btn-light {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }

.btn .arr { transition: transform 0.3s var(--ease); font-family: var(--sans); }
.btn:hover .arr { transform: translateX(3px); }

/* Für ältere Verweise (Legal-Seiten u. a.) */
.btn-gold { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--navy-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 252, 251, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line-soft); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.brand img { width: 36px; height: 36px; }
.brand small {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 1px;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav-links a.active { color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 11px 22px; font-size: 0.89rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile-Navigation (absolut im Sticky-Header: dieser ist durch backdrop-filter
   Containing Block für fixed-Elemente) */
.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - 80px);
  height: calc(100dvh - 80px);
  background: var(--paper);
  z-index: 90;
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  padding: 26px clamp(22px, 4vw, 32px) 40px;
  overflow-y: auto;
}
body.nav-open .mobile-nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
body.nav-open .mobile-nav li { opacity: 1; transform: none; }
body.nav-open .mobile-nav li:nth-child(1) { transition-delay: 0.05s; }
body.nav-open .mobile-nav li:nth-child(2) { transition-delay: 0.09s; }
body.nav-open .mobile-nav li:nth-child(3) { transition-delay: 0.13s; }
body.nav-open .mobile-nav li:nth-child(4) { transition-delay: 0.17s; }
body.nav-open .mobile-nav li:nth-child(5) { transition-delay: 0.21s; }
body.nav-open .mobile-nav li:nth-child(6) { transition-delay: 0.25s; }
.mobile-nav ul a {
  display: block;
  padding: 17px 4px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .btn { margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding: clamp(72px, 9vw, 118px) 0 var(--pad);
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}
/* Sehr dezentes Planraster, nur oben */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 46, 84, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 46, 84, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 20%, transparent 70%);
}
/* Interaktive Raster-Ebene: leuchtet dezent unter dem Cursor auf (JS setzt --mx/--my) */
.hero-bg-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background-image:
    linear-gradient(rgba(176, 141, 74, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 141, 74, 0.22) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(220px circle at var(--mx, 50%) var(--my, -20%), #000 0%, transparent 72%);
  mask-image: radial-gradient(220px circle at var(--mx, 50%) var(--my, -20%), #000 0%, transparent 72%);
  transition: opacity 0.6s var(--ease);
}
.hero.grid-live .hero-bg-glow { opacity: 1; }
.hero .container { position: relative; z-index: 1; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(44px, 6vw, 80px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  margin-bottom: 26px;
}
.hero h1 .accent { color: var(--gold); }

.hero-lead {
  font-size: clamp(1.04rem, 1.4vw, 1.13rem);
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 44px);
  row-gap: 22px;
  border-top: 1px solid var(--line-soft);
  padding-top: 28px;
  max-width: 520px;
}
.hero-trust .stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 2px;
}
.hero-trust .stat span { font-size: 0.84rem; color: var(--ink-soft); }

/* Hero-Panel: ruhige weiße Karte */
.hero-panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 3vw, 40px);
  box-shadow: var(--shadow-lg);
}
.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  opacity: 0.8;
}
.hero-panel h3 { font-size: 1.2rem; margin-bottom: 6px; }
.hero-panel p.sub { color: var(--ink-faint); font-size: 0.88rem; margin-bottom: 28px; }
.hero-panel-list { display: flex; flex-direction: column; gap: 0; }
.hero-panel-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--ink);
  padding: 14px 0;
}
.hero-panel-list li + li { border-top: 1px solid var(--line-soft); }
.hero-panel-list .dot {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 700;
  margin-top: 1px;
  font-family: var(--sans);
}

/* ---------- Segmente (B2B / Privat) ---------- */
.segments { padding: clamp(16px, 2.5vw, 32px) 0 0; }
.segment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.segment-card {
  border-radius: var(--radius-lg);
  padding: clamp(32px, 3.4vw, 48px);
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.segment-card:hover { border-color: #d8dade; box-shadow: var(--shadow-md); }
.segment-card .tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.segment-card h3 { font-size: clamp(1.35rem, 1.9vw, 1.6rem); margin-bottom: 14px; }
.segment-card p.desc { color: var(--ink-soft); margin-bottom: 26px; }
.segment-card ul { display: flex; flex-direction: column; gap: 13px; margin-bottom: 32px; }
.segment-card ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink);
}
.segment-card ul li svg { min-width: 17px; margin-top: 4px; color: var(--gold); }

/* ---------- Leistungen ---------- */
.services { padding: var(--sect) 0 0; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}
.service-card {
  background: #fff;
  padding: 36px 32px;
  transition: background-color 0.4s var(--ease);
}
.service-card:hover { background: #fbfaf8; }
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 22px;
}
.service-card h3 { font-size: 1.13rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.93rem; }
.service-card .note {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--navy);
  font-weight: 500;
}
.service-card .note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Ablauf ---------- */
.process { padding: var(--sect) 0; }
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3.4vw, 48px);
}
/* Scrollgekoppelte Konstruktionslinie (JS setzt --p) */
.process-line {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  z-index: 1;
}
.process-line::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.process-step { position: relative; padding-top: 24px; }
.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
}
.process-step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 1px;
  background: var(--gold);
}
@media (min-width: 981px) {
  .process-line { display: block; }
  .process-step::after { display: none; }
}
.process-step .num {
  display: block;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.process-step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.91rem; color: var(--ink-soft); }

/* ---------- Kontakt ---------- */
.contact-section { padding: var(--pad) 0; background: var(--surface); }
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--line-soft);
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin-bottom: 18px; }
.contact-info > p { color: var(--ink-soft); margin-bottom: 32px; max-width: 48ch; }

/* Ansprechpartner-Karte im Kontaktbereich */
.person-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.person-card .avatar {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.person-card h4 { font-size: 1.08rem; margin-bottom: 1px; }
.person-card .role {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.person-card .copy { color: var(--ink-soft); font-size: 0.9rem; }

.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.info-row .ico {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-row h4 { font-family: var(--sans); font-weight: 600; font-size: 0.94rem; margin-bottom: 1px; }
.info-row p, .info-row a { font-size: 0.92rem; color: var(--ink-soft); }
.info-row a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

.form-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 46, 84, 0.08);
}
.field textarea { resize: vertical; min-height: 130px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; }
.consent-row input { width: auto; margin-top: 4px; accent-color: var(--navy); }
.consent-row label { margin: 0; font-weight: 400; font-size: 0.86rem; color: var(--ink-soft); }
.consent-row label a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.form-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: 14px; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
#form-status { margin-top: 16px; font-size: 0.92rem; font-weight: 600; display: none; }
#form-status.ok { display: block; color: #1c6b39; }
#form-status.err { display: block; color: #a8271f; }

/* ---------- FAQ ---------- */
.faq { padding: var(--pad) 0 var(--sect); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.25s;
}
.faq-q:hover { color: var(--navy); }
.faq-q .plus {
  min-width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease), color 0.3s;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink-faint);
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); color: var(--gold); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 4px 24px; color: var(--ink-soft); font-size: 0.95rem; max-width: 64ch; }

/* ---------- CTA-Band ---------- */
.cta-wrap { position: relative; z-index: 2; }
.cta-band {
  max-width: calc(var(--maxw) - 2 * clamp(22px, 4vw, 32px));
  margin: 0 auto -84px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 60px) clamp(32px, 5vw, 64px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 10px;
  max-width: 480px;
  color: #fff;
}
.cta-band p { color: rgba(255, 255, 255, 0.68); }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  background: transparent;
}
.cta-band .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.05); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.62);
  padding: 148px 0 28px;
}
.site-footer.slim { padding-top: 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-brand img { width: 32px; height: 32px; }
.footer-grid > div > p { font-size: 0.91rem; max-width: 36ch; }
.footer-col h5 {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col p { font-size: 0.9rem; }
.footer-col a { transition: color 0.25s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
}
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a:hover { color: #fff; }

/* Easter Egg: Bauplan-Modus (5× Klick aufs Footer-Logo) */
body.blueprint-mode::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 46, 84, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 46, 84, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(15, 46, 84, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 46, 84, 0.1) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 16px);
  background: var(--navy-deep);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  z-index: 1000;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Legal-Seiten ---------- */
.legal-page { padding: 72px 0 120px; }
.legal-page .container { max-width: 860px; }
.legal-page h1 { font-size: 2.1rem; margin-bottom: 8px; }
.legal-page .updated { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 48px; }
.legal-page h2 { font-size: 1.3rem; margin-top: 44px; margin-bottom: 14px; color: var(--navy); }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 14px; }
.legal-page ul { list-style: disc; padding-left: 22px; }
.legal-page a { text-decoration: underline; text-underline-offset: 3px; color: var(--navy); }
.legal-page strong { color: var(--ink); }
.legal-page table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.legal-page td {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
  color: var(--ink-soft);
  vertical-align: top;
}
.legal-page td:first-child { width: 220px; color: var(--ink); font-weight: 600; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none !important;
}

/* ---------- Scroll-Reveals (dezent) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--rd, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 560px; }
  .segment-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 88px; }
  .nav-links, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .service-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 20px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .person-card { flex-direction: column; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
