/* ── SELF-HOSTED FONTS (DSGVO-konform, kein Google-CDN) ── */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-v12-latin-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-v12-latin-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-v9-latin-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-v9-latin-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-v9-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-v9-latin-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-v21-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ── RESET & CUSTOM PROPERTIES ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
:root {
  /* ── Neue Farbpalette ── */
  --smart-blue:       #0466c8;
  --sapphire:         #0353a4;
  --regal-navy:       #023e7d;
  --prussian-blue:    #002855;
  --prussian-blue-2:  #001845;
  --prussian-blue-3:  #001233;
  --twilight-indigo:  #33415c;
  --blue-slate:       #5c677d;
  --slate-grey:       #7d8597;
  --lavender-grey:    #979dac;

  /* ── Semantische Variablen ── */
  --dark:    #001233;   /* prussian-blue-3 — dunkle Sektionen */
  --dark2:   #001845;   /* prussian-blue-2 — Karten in dunklen Sektionen */
  --dark3:   #002855;   /* prussian-blue   — Hover auf dunklem BG */
  --blue:    #0466c8;   /* smart-blue — primäre CTA-Farbe */
  --blue2:   #0353a4;   /* sapphire — Hover */
  --blue-lt: #e8f0fb;   /* helle Hintergründe */
  --blue-md: #c5d5ee;   /* Ränder & mittlere Akzente */
  --white:   #ffffff;
  --off:     #f3f6fb;   /* ganz leichtes Blau-Weiß */
  --off2:    #e4ecf7;
  --border:  #d0dcea;
  --text:    #001233;   /* prussian-blue-3 für Fließtext */
  --muted:   #5c677d;   /* blue-slate */
  --muted2:  #7d8597;   /* slate-grey */
}
body {
  /* Plus Jakarta Sans lädt nach Cookie-Consent; System-Stack als sauberer Fallback */
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  min-width: 320px;
}
/* Bricolage Grotesque → InterVariable / Segoe UI als Fallback für Headlines */
.display { font-family: 'Bricolage Grotesque', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links li { display: flex; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; line-height: 1; }
.nav-links a:hover { color: var(--text); }

/* ── Leistungen Dropdown ── */
.nav-links .nav-dropdown-wrap { position: relative; }
.nav-links .nav-dropdown-wrap > a {
  display: flex; align-items: center; gap: 5px; cursor: default;
}
.nav-links .nav-dropdown-wrap > a::after {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}
.nav-links .nav-dropdown-wrap:hover > a::after {
  transform: rotate(-135deg) translateY(-2px);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,18,51,0.12);
  min-width: 248px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 200;
}
/* Unsichtbare Brücke über den Spalt — hält den Hover-Bereich aufrecht */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0; right: 0;
  height: 14px;
}
.nav-dropdown-wrap:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink) !important;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: var(--off);
  color: var(--blue) !important;
}
.nav-dropdown-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: rgba(4,102,200,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-dropdown-icon svg {
  width: 13px; height: 13px;
  stroke: var(--blue); fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.nav-cta {
  background: var(--blue); color: #fff;
  padding: 10px 20px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.01em; text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue2); }

/* ── BAFA BANNER ── */
.bafa-banner {
  background: var(--prussian-blue-3);
  padding: 12px 5%;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap;
}
.bafa-banner p { font-size: 14px; color: rgba(255,255,255,0.9); font-weight: 400; }
.bafa-banner strong { color: #fff; font-weight: 600; }
.bafa-banner a {
  background: rgba(255,255,255,0.15);
  color: #fff; font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 6px;
  text-decoration: none; letter-spacing: 0.04em;
  text-transform: uppercase; border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.2s;
}
.bafa-banner a:hover { background: rgba(255,255,255,0.25); }

/* ── HERO ── */
.hero {
  padding: 140px 5% 120px;
  background: url('../images/hero.webp') center center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 90vh;
  border-bottom: none;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,18,51,0.78) 0%,
    rgba(0,18,51,0.50) 30%,
    rgba(0,18,51,0.12) 58%,
    rgba(0,18,51,0.00) 72%
  );
  z-index: 0;
}
.hero > div {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); color: #fff;
  backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.25);
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #fff;
}
.hero h1 span { color: var(--prussian-blue-2); }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.82); font-weight: 400; line-height: 1.7; margin-bottom: 44px; max-width: 520px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  background: var(--blue); color: #fff;
  padding: 14px 28px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue2); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
  padding: 13px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--text); }
.hero .btn-outline {
  background: rgba(255,255,255,0.1); color: #fff;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.hero .btn-outline:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); }

/* ── LEISTUNGEN ── */
.services { padding: 96px 5%; background: var(--off); }
.section-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}
/* Partner & Timeline: zentriert, kein Strich */
.partners-inner .section-eyebrow,
.timeline-label .section-eyebrow { justify-content: center; }
.partners-inner .section-eyebrow::before,
.timeline-label .section-eyebrow::before { display: none; }
.section-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: clamp(30px, 3vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 12px; }
.section-sub { font-size: 16px; color: var(--muted); font-weight: 400; max-width: 520px; line-height: 1.7; }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 52px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  transition: box-shadow 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.service-card:hover { border-color: var(--blue-md); box-shadow: 0 4px 24px rgba(37,99,235,0.08); }
.service-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.service-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-lt);
  border: 1px solid var(--blue-md);
  padding: 4px 10px; border-radius: 100px;
  white-space: nowrap;
}
.service-icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue-lt); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-icon-wrap svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.service-card h3 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.service-link { display: inline-block; margin-top: 20px; font-size: 13px; font-weight: 600; color: var(--blue); text-decoration: none; }
.service-link::after { content: ' →'; }

/* ── ZEITSTRAHL ── */
.timeline {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.timeline-label {
  text-align: center;
  margin-bottom: 48px;
}
.timeline-track {
  position: relative;
}
.timeline-line {
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(to right, var(--blue), var(--regal-navy));
  z-index: 0;
}
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
.timeline-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--off), 0 4px 16px rgba(4,102,200,0.25);
  transition: transform 0.25s, box-shadow 0.25s;
}
.timeline-step:hover .timeline-dot {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px var(--off), 0 6px 24px rgba(4,102,200,0.35);
}
.timeline-dot span {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.timeline-step h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.timeline-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 180px;
}

/* ── ABOUT ── */
.about { padding: 96px 5%; background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "img content" "img values";
  row-gap: 24px;
  column-gap: 64px;
  align-items: start;
}
.about-img-wrap { grid-area: img; align-self: center; }
.about-content { grid-area: content; }
.about-values { grid-area: values; }
.about-img-wrap { position: relative; display: flex; justify-content: center; }
.about-img {
  border-radius: 14px; overflow: hidden;
  background: var(--off2);
  width: 400px;
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-badge-box {
  position: absolute; bottom: 24px;
  left: calc(50% - 150px + 16px); right: calc(50% - 150px + 16px);
  background: var(--dark);
  border-radius: 10px; padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
}
.about-badge-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.about-badge-name { font-size: 14px; font-weight: 600; color: #fff; }
.about-badge-title { font-size: 12px; color: rgba(255,255,255,0.5); }
.about-content .section-eyebrow { margin-bottom: 8px; }
.about-content h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 36px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px; }
.about-text { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 0; }
.val-item {
  background: var(--off); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 20px;
}
.val-item strong { font-size: 14px; font-weight: 600; display: block; margin-bottom: 4px; }
.val-item span { font-size: 13px; color: var(--muted); }

/* ── KALKULATRIX ── */
.kalk {
  padding: 96px 5%;
  background: var(--off);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.kalk-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }

/* Text-Seite */
.kalk-eyebrow { color: var(--smart-blue) !important; }
.kalk-title { color: var(--text) !important; margin-bottom: 0; line-height: 1.15; }
.kalk-logo-inline {
  height: 0.8em;
  width: auto;
  display: inline;
  vertical-align: middle;
  margin-left: 6px;
  position: relative;
  top: -0.05em;
}
.kalk-sub { color: var(--muted) !important; margin-top: 14px; }

.kalk-features { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.kalk-feat { display: flex; gap: 14px; align-items: flex-start; }
.kalk-feat-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--blue-lt); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.kalk-feat-icon svg { width: 16px; height: 16px; stroke: var(--smart-blue); fill: none; stroke-width: 2; }
.kalk-feat strong { font-size: 14px; font-weight: 600; color: var(--text); display: block; margin-bottom: 3px; }
.kalk-feat p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.kalk-cta { margin-top: 36px; }

/* Karussell */
.kalk-carousel-wrap { display: flex; flex-direction: column; gap: 20px; }
.kalk-carousel {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 0 0 1px var(--border);
}
.kalk-slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.kalk-slide { min-width: 100%; }
.kalk-slide img {
  width: 100%; display: block;
  border-radius: 16px;
}

/* Karussell-Navigation */
.kalk-carousel-nav {
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.kalk-nav-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.kalk-nav-btn:hover { background: var(--blue-lt); border-color: var(--smart-blue); color: var(--smart-blue); }
.kalk-nav-btn svg { width: 16px; height: 16px; }
.kalk-dots { display: flex; gap: 8px; align-items: center; }
.kalk-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
  cursor: pointer; transition: background 0.25s, transform 0.25s;
}
.kalk-dot.active { background: var(--smart-blue); transform: scale(1.3); }

/* ── QUOTE ── */
.quote-band {
  background: var(--prussian-blue-2);
  padding: 64px 5%; text-align: center;
  position: relative; overflow: hidden;
}
.quote-band::before,
.quote-band::after {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(200px, 22vw, 320px);
  font-weight: 700;
  color: rgba(255,255,255,0.07);
  position: absolute;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.quote-band::before {
  content: '\201C';
  top: 50%; transform: translateY(-60%);
  left: 2%;
}
.quote-band::after {
  content: '\201D';
  bottom: -6%; right: 2%;
  top: auto; transform: none;
}
blockquote {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700; line-height: 1.35;
  color: #fff; max-width: 780px; margin: 0 auto 16px;
  letter-spacing: -0.01em;
  position: relative; z-index: 1;
}
cite { font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.55); font-style: normal; letter-spacing: 0.01em; position: relative; z-index: 1; }


/* ── CTA ── */
.cta-section {
  padding: 96px 5%;
  background: var(--off);
  border-top: 1px solid var(--border);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Linke Seite */
.cta-eyebrow-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.cta-eyebrow-line {
  display: block; width: 32px; height: 2px;
  background: var(--blue); flex-shrink: 0;
}
.cta-eyebrow-row .section-eyebrow { margin-bottom: 0; }
.cta-eyebrow-row .section-eyebrow::before { display: none; }
.cta-left h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 16px;
}
.cta-desc {
  font-size: 15px; color: var(--muted);
  line-height: 1.8; margin-bottom: 36px;
}
.cta-contacts { display: flex; flex-direction: column; gap: 20px; }
.cta-contact-item {
  display: flex; align-items: center; gap: 16px;
}
.cta-contact-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-lt); border: 1px solid var(--blue-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cta-contact-icon svg { width: 16px; height: 16px; stroke: var(--blue); }
.cta-contact-label {
  display: block; font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted2); margin-bottom: 2px;
}
.cta-contact-item a,
.cta-contact-item span:not(.cta-contact-label) {
  font-size: 15px; font-weight: 500; color: var(--text);
  text-decoration: none;
}
.cta-contact-item a:hover { color: var(--blue); }

/* Rechte Karte */
.cta-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.cta-available {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--text);
  background: var(--off); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 14px;
  margin-bottom: 24px;
}
.cta-available-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  flex-shrink: 0;
}
.cta-card-title {
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 10px;
  color: var(--text);
}
.cta-card-desc {
  font-size: 14px; color: var(--muted);
  line-height: 1.7; margin-bottom: 28px;
}
.cta-book-btn {
  width: 100%; padding: 16px;
  font-size: 15px; font-weight: 600;
  border: none; cursor: pointer;
  border-radius: 10px;
}
.cta-powered {
  text-align: center; margin-top: 16px;
  font-size: 12px; color: var(--muted2);
}

/* ── FOOTER ── */
footer { background: var(--dark); padding: 64px 5% 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo-img { height: 50px; width: auto; display: block; margin-bottom: 14px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px; font-weight: 500; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; }


/* ── PARTNER ── */
.partners {
  padding: 56px 0;
  background: var(--prussian-blue-2);
  border-top: none;
  border-bottom: none;
  overflow: hidden;
}
.partners-inner { text-align: center; }
.partners-inner .section-eyebrow { margin-bottom: 36px; color: rgba(255,255,255,0.5); }

/* Laufendes Band */
.partners-track-wrap {
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
@keyframes partnerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.partners-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: partnerScroll 20s linear infinite;
}
.partners-track:hover { animation-play-state: paused; }

.partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 64px;
  height: 80px;
  border-right: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
  transition: opacity 0.3s;
  opacity: 0.55;
}
.partner-logo-wrap:hover { opacity: 1; }

.partner-logo-wrap img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.85);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.partner-logo-wrap:hover img {
  filter: brightness(0) invert(1) opacity(1);
  transform: scale(1.05);
}

/* ── ANIMATIONEN ── */

/* Hero — läuft direkt beim Laden */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge { animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: 0.05s; }
.hero h1    { animation: heroFadeUp 0.80s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: 0.20s; }
.hero-sub   { animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: 0.38s; }
.hero-btns  { animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: 0.54s; }

/* Scroll-Animationen — Ausgangszustände */
.sa {
  /* Cubic-bezier: schneller Einstieg, weiches Ausklingen — fühlt sich natürlich an */
  transition:
    opacity  0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.sa.sa-up    { opacity: 0; transform: translateY(32px); }
.sa.sa-left  { opacity: 0; transform: translateX(-40px); }
.sa.sa-right { opacity: 0; transform: translateX(40px); }
.sa.sa-scale { opacity: 0; transform: scale(0.95) translateY(18px); }
.sa.sa-fade  { opacity: 0; }

/* Sichtbar-Zustand */
.sa.visible {
  opacity: 1;
  transform: none;
}

/* Schwerere Elemente (Titel, Hero) etwas langsamer */
.sa.sa-up.sa-slow,
.sa.sa-left.sa-slow,
.sa.sa-right.sa-slow {
  transition-duration: 0.95s;
}

/* ═══════════════════════════════════════
   RESPONSIVE — Mobile (max 768px)
   Desktop bleibt vollständig unverändert
   ═══════════════════════════════════════ */

/* ── Hamburger (nur mobil sichtbar) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Menü ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 66px;
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 24px 5% 32px;
  z-index: 99;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}
.mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-cta {
  display: block;
  text-align: center;
  margin-top: 20px;
}

@media (max-width: 768px) {

  /* Nav */
  .nav-links,
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: block; }

  /* BAFA Banner */
  .bafa-banner { flex-direction: column; gap: 10px; text-align: center; padding: 14px 5%; }

  /* Hero */
  .hero {
    padding: 0 6% 36px;
    min-height: 82svh;
    align-items: flex-end;
    background-position: 74% top;
  }
  /* Doppelter Verlauf: stark von unten (Textzone) + leicht von links (Lesbarkeit) */
  .hero::before {
    background:
      linear-gradient(to top,
        rgba(0,18,51,0.97) 0%,
        rgba(0,18,51,0.88) 30%,
        rgba(0,18,51,0.40) 58%,
        transparent 78%
      ),
      linear-gradient(to right,
        rgba(0,18,51,0.30) 0%,
        transparent 50%
      );
  }
  .hero > div { max-width: 100%; }
  .hero-badge {
    background: rgba(255,255,255,0.12);
    color: #fff;
    margin-bottom: 12px;
    font-size: 11px;
  }
  .hero h1 {
    font-size: clamp(30px, 8vw, 42px);
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.08;
  }
  .hero h1 span { color: #90caf9; }
  .hero-sub {
    display: block;
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.75);
  }
  .hero-btns { flex-direction: column; gap: 8px; }
  .hero-btns a { text-align: center; }
  .hero .btn-outline {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.88);
    border-color: rgba(255,255,255,0.25);
    backdrop-filter: blur(6px);
    font-size: 13px;
    padding: 10px 24px;
  }

  /* Leistungen */
  .services { padding: 64px 5%; }
  .services-head { flex-direction: column; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Zeitstrahl → vertikal (1 Spalte) */
  .timeline { margin-top: 48px; padding-top: 40px; }
  .timeline-line { display: none; }
  .timeline-steps { grid-template-columns: 1fr; gap: 16px; }
  .timeline-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    grid-template-areas: "dot title" "dot desc";
    column-gap: 16px;
    row-gap: 4px;
    text-align: left;
    align-items: start;
    padding: 0;
    position: relative;
  }
  /* Verbindungslinie zwischen den Dots */
  .timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: -16px;
    width: 2px;
    background: linear-gradient(to bottom, var(--blue), var(--regal-navy));
    z-index: 0;
  }
  .timeline-dot {
    grid-area: dot;
    width: 48px; height: 48px;
    margin-bottom: 0;
    flex-shrink: 0;
    align-self: start;
    position: relative;
    z-index: 1;
  }
  .timeline-step h4 { grid-area: title; margin-top: 6px; margin-bottom: 0; }
  .timeline-step p  { grid-area: desc; max-width: none; }

  /* Partner */
  .partner-logo-wrap { padding: 0 28px; }
  .partner-logo-wrap img { height: 28px; }

  /* Über mich */
  .about { padding: 64px 5%; }
  .about-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "img"
      "values";
    row-gap: 28px;
    column-gap: 0;
  }
  .about-img-wrap {
    width: 200px;
    margin: 0 auto;
    align-self: auto;
  }
  .about-img { width: 200px; }
  .about-badge-box {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: max-content;
    min-width: 180px;
  }
  .about-values { grid-template-columns: 1fr 1fr; }

  /* Kalkulatrix */
  .kalk { padding: 64px 5%; }
  .kalk-inner { grid-template-columns: 1fr; gap: 40px; }
  .kalk-logo-inline { height: 0.75em; }

  /* Zitat */
  .quote-band { padding: 48px 6%; }
  .quote-band::before { font-size: 120px; left: 1%; }
  .quote-band::after  { font-size: 120px; right: 1%; }

  /* CTA */
  .cta-section { padding: 64px 5%; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-card { padding: 28px 24px; }

  /* Footer */
  footer { padding: 40px 5% 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-col { display: none; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {

  /* Footer → 1 Spalte */
  .footer-grid { grid-template-columns: 1fr; }

  /* About Values → 1 Spalte */
  .about-values { grid-template-columns: 1fr; }

  /* Kalk Carousel Nav */
  .kalk-carousel-nav { gap: 12px; }
}
