/* ═══════════════════════════════════════════════════════
   pages.css — Seitenspezifische Styles (Startseite)
   Hero · Trust Bar · Prozess · Pakete · Referenzen ·
   FAQ · Über uns · Anfrage · Kontakt
   endlich-online.ch
   ═══════════════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0B1426;
  color: #fff;
  text-align: center;
  isolation: isolate;
}

/* Background Layer 1: Basis-Gradient */
.bg-base {
  position: absolute;
  inset: 0;
  z-index: -5;
  background:
    radial-gradient(ellipse at 35% 35%, #2B4A82 0%, transparent 55%),
    radial-gradient(ellipse at 75% 65%, var(--color-navy) 0%, transparent 60%),
    linear-gradient(135deg, #0B1426 0%, #10203A 50%, var(--color-navy) 100%);
}

/* Background Layer 2: Wandernde Aurora */
.bg-aurora {
  position: absolute;
  inset: -25%;
  z-index: -4;
  background:
    radial-gradient(circle at 22% 28%, rgba(123, 176, 243, 0.35) 0%, transparent 38%),
    radial-gradient(circle at 78% 72%, rgba(64, 126, 209, 0.40) 0%, transparent 42%),
    radial-gradient(circle at 50% 85%, rgba(157, 195, 242, 0.18) 0%, transparent 35%);
  filter: blur(35px);
  animation: hero-pan 32s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes hero-pan {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(-3%, 2%) rotate(6deg) scale(1.05); }
  100% { transform: translate(-7%, -4%) rotate(14deg) scale(1.1); }
}

/* Background Layer 3: Lichtstrahlen */
.bg-rays {
  position: absolute;
  inset: -15%;
  z-index: -3;
  background:
    linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.04) 45%,
      rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 55%, transparent 65%),
    linear-gradient(115deg, transparent 55%, rgba(123, 176, 243, 0.06) 62%,
      rgba(123, 176, 243, 0.10) 65%, rgba(123, 176, 243, 0.06) 68%, transparent 75%);
  animation: hero-rays 24s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

@keyframes hero-rays {
  0%   { opacity: 0.6; transform: translateX(0); }
  100% { opacity: 1; transform: translateX(8%); }
}

/* Background Layer 4: Bokeh */
.bg-bokeh {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    radial-gradient(circle 90px at 16% 22%, rgba(255, 255, 255, 0.10), transparent 70%),
    radial-gradient(circle 55px at 84% 28%, rgba(123, 176, 243, 0.14), transparent 70%),
    radial-gradient(circle 120px at 72% 78%, rgba(157, 195, 242, 0.10), transparent 70%),
    radial-gradient(circle 40px at 28% 82%, rgba(255, 255, 255, 0.08), transparent 70%),
    radial-gradient(circle 65px at 50% 50%, rgba(123, 176, 243, 0.06), transparent 70%);
  animation: hero-bokeh 16s ease-in-out infinite alternate;
}

@keyframes hero-bokeh {
  0%   { opacity: 0.65; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.06); }
}

/* Background Layer 5: Film-Grain */
.bg-grain {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Background Layer 6: Vignette */
.bg-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(11, 20, 38, 0.55) 100%),
    linear-gradient(180deg, rgba(11, 20, 38, 0.20) 0%, rgba(11, 20, 38, 0.55) 100%);
}

/* Hero Content */
.hero-content {
  max-width: 820px;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* Eyebrow pill */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 99px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: hero-fadeUp 0.6s 0.15s ease-out forwards;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky-light);
  box-shadow: 0 0 14px rgba(123, 176, 243, 0.85);
  animation: eyebrow-pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes eyebrow-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(123, 176, 243, 0.85); }
  50%       { box-shadow: 0 0 22px rgba(123, 176, 243, 1); }
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
  min-height: 2.4em;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
  opacity: 0;
  animation: hero-fadeUp 0.6s 1.4s ease-out forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: hero-fadeUp 0.6s 1.65s ease-out forwards;
}

@keyframes hero-fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: hero-fadeIn 1s 2.2s ease-out forwards;
  white-space: nowrap;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent);
  animation: scroll-slide 2.4s ease-in-out infinite;
}

@keyframes scroll-slide {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(8px); opacity: 1; }
}

@keyframes hero-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ── TYPEWRITER ── */
.typewriter-wrap { display: inline; }
.typewriter-static { color: #fff; }

.typewriter-animated {
  background: linear-gradient(120deg, var(--sky-light) 0%, #fff 60%, var(--sky-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-shimmer 6s linear infinite;
}

@keyframes hero-shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--sky-light);
  margin-left: 3px;
  vertical-align: text-bottom;
  border-radius: 1px;
  animation: blink 0.75s step-end infinite;
  box-shadow: 0 0 12px rgba(123, 176, 243, 0.7);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}


/* ── TRUST BAR ── */
.trust-bar {
  background: linear-gradient(180deg, #0B1426 0%, #0F1B33 100%);
  border-top: 1px solid rgba(123, 176, 243, 0.15);
  padding: 22px 28px;
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  font-weight: 500;
}

.trust-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(64, 126, 209, 0.18);
  color: var(--sky-light);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  border: 1px solid rgba(64, 126, 209, 0.35);
  flex-shrink: 0;
}


/* ── SECTION UTILITIES ── */
.section-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 48px;
  background: var(--color-eisblau);
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--color-tinte);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 48px;
  opacity: 0.75;
}


/* ── HOW IT WORKS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
}

/* Progress track — Desktop (horizontal) */
.steps-progress-track {
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  margin-bottom: 32px;
  overflow: hidden;
}

.steps-progress-fill {
  height: 100%;
  width: calc(var(--steps-progress, 0) * 100%);
  background: var(--color-sky);
  border-radius: 99px;
  transition: width 0.15s ease-out;
  will-change: width;
}

/* Progress track — Mobile (vertikal) */
@media (max-width: 960px) {
  .steps-outer {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
  }

  .steps-progress-track {
    width: 3px;
    height: auto;
    margin-bottom: 0;
    flex-shrink: 0;
    align-self: stretch;
    border-radius: 99px;
  }

  .steps-progress-fill {
    width: 100%;
    height: calc(var(--steps-progress, 0) * 100%);
    transition: height 0.15s ease-out;
    will-change: height;
  }

  .steps { flex: 1; min-width: 0; }

  .step.is-active {
    box-shadow: 0 4px 16px rgba(26, 46, 87, 0.08);
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .steps-progress-fill { transition: none; }
}


/* ── LEISTUNGEN / PRODUCTS ── */
#leistungen .section-title,
body.page-leistungen .section-title { margin-bottom: 36px; }

/* Abstände auf /leistungen: kein h2 über den Karten, daher kompaktere Übergänge */
body.page-leistungen .section-wrap { padding-top: 48px; padding-bottom: 52px; }


/* ── REFERENZEN ── */
#referenzen { background: var(--color-eisblau); }

.referenzen-sub {
  font-size: 17px;
  color: var(--color-tinte);
  max-width: 640px;
  margin: 0 0 48px;
  line-height: 1.75;
  opacity: 0.75;
}

.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

@media (max-width: 900px) {
  .referenzen-grid { grid-template-columns: 1fr; gap: 28px; }
}

.referenzen-foot {
  margin-top: 40px;
  font-size: 15px;
  color: var(--steel);
  text-align: center;
}

.referenzen-foot a {
  color: var(--color-sky);
  font-weight: 700;
  text-decoration: none;
}

.referenzen-foot a:hover { text-decoration: underline; }


/* ── FAQ ── */
.faq-bg { background: var(--color-eisblau); }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}


/* ── ÜBER UNS ── */
.ueber-uns { background: var(--white); }

.ueber-uns-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 48px;
}

.ueber-uns-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-eisblau);
  border: 3px solid var(--border);
  display: block;
}

.ueber-uns-photo-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--color-eisblau);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  flex-shrink: 0;
}

.ueber-uns-text .section-label { margin-bottom: 16px; }

.ueber-uns-text p {
  font-size: 16px;
  color: var(--color-tinte);
  line-height: 1.75;
  margin-bottom: 14px;
  opacity: 0.85;
}

.ueber-uns-sig {
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding-top: 16px;
}

.ueber-uns-sig-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.ueber-uns-linkedin {
  color: var(--color-sky);
  display: flex;
  align-items: center;
  transition: opacity 0.15s;
}

.ueber-uns-linkedin:hover { opacity: 0.7; }

.ueber-uns-sig-sub {
  font-size: 13px;
  color: var(--steel);
}

@media (max-width: 640px) {
  .ueber-uns-inner {
    grid-template-columns: 1fr;
    padding: 48px 20px;
    gap: 20px;
    text-align: left;
  }

  .ueber-uns-photo {
    width: 100px;
    height: 100px;
    margin: 0;
  }
}


/* ── KONTAKT ── */
#kontakt { background: var(--color-eisblau); }


/* ── GLOBAL RESPONSIVE ── */
@media (max-width: 640px) {
  .hero { min-height: 100vh; }
  .hero-content { padding: 0 22px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 1.2px; padding: 6px 12px; }
  .hero h1 { font-size: 34px; min-height: 2.8em; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .btn-primary, .btn-outline { padding: 13px 24px; font-size: 14px; width: 100%; max-width: 340px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .trust-bar { gap: 18px 24px; padding: 18px 22px; font-size: 12.5px; }
  .scroll-hint { bottom: 24px; }
  .section-wrap { padding: 52px 20px; }
  .form-section { padding: 52px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-brand { flex-direction: column; align-items: center; text-align: center; }
  .footer-tagline { text-align: center; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .bg-aurora, .bg-rays, .bg-bokeh,
  .hero-eyebrow, .hero-sub, .hero-actions, .scroll-hint,
  .eyebrow-dot, .scroll-hint::after { animation: none !important; }
  .hero-eyebrow, .hero-sub, .hero-actions { opacity: 1; }
  .typewriter-animated {
    background: none;
    color: var(--sky-light);
    -webkit-text-fill-color: var(--sky-light);
  }
}

/* ============================================================
   === /leistungen ===
   ============================================================ */

/* Utility: visuell versteckt, für Screen Reader sichtbar */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Active-Nav-Link per Body-Klasse — Sky-Blau Glow */
body.page-leistungen .site-nav__link[href="/leistungen"],
body.page-referenzen  .site-nav__link[href="/referenzen"],
body.page-ablauf      .site-nav__link[href="/ablauf"],
body.page-ueber-uns  .site-nav__link[href="/ueber-uns"],
body.page-kontakt     .site-nav__link[href="/kontakt"] {
  color: #fff;
  border-bottom-color: transparent;
  text-shadow:
    0 0 6px rgba(74, 144, 217, 1),
    0 0 16px rgba(74, 144, 217, 0.9),
    0 0 32px rgba(74, 144, 217, 0.6);
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--color-eisblau);
  padding: calc(72px + var(--space-xl)) var(--space-lg) 40px;
  text-align: center;
}

.page-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.page-hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-sky);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin: 0 0 16px;
}

.page-hero__sub {
  font-size: 18px;
  color: var(--color-tinte);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── VERTRAUENSHINWEIS (innerhalb section-wrap) ── */
.trust-note {
  font-size: 13px;
  color: var(--color-stahlgrau);
  text-align: center;
  margin: var(--space-lg) 0 0;
}

/* ── FINAL CTA ── */
.page-cta {
  background: var(--color-navy);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.page-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.page-cta__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-sky);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.page-cta h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.page-cta__sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 var(--space-lg);
  line-height: 1.6;
}

.page-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 32px;
  background: var(--color-sky);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.page-cta__btn:hover {
  background: #3570bb;
  transform: translateY(-2px);
}

/* ── /leistungen RESPONSIVE ── */
@media (max-width: 780px) {
  .pakete__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .paket-card--featured {
    margin-top: 0;
    order: -1;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: calc(72px + var(--space-lg)) var(--space-md) var(--space-lg);
  }
  .pakete          { padding: var(--space-lg) var(--space-md); }
  .trust-note      { padding: 0 var(--space-md) var(--space-lg); }
  .why-recurring   { padding: var(--space-lg) var(--space-md); }
  .faq-excerpt     { padding: var(--space-lg) var(--space-md); }
  .page-cta        { padding: var(--space-lg) var(--space-md); }
  .paket-card      { padding: var(--space-md); }
}


/* ════════════════════════════════════════════
   === /kontakt ===
   ════════════════════════════════════════════ */

body.page-kontakt .section-wrap { padding-top: 48px; padding-bottom: 52px; }

.kontakt-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.kontakt-path {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.kontakt-path--featured {
  border-color: var(--color-sky);
  box-shadow: 0 0 0 1px var(--color-sky);
}

.kontakt-path__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-sky);
  margin: 0 0 12px;
}

.kontakt-path__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  margin: 0 0 12px;
}

.kontakt-path__desc {
  font-size: 16px;
  color: var(--color-tinte);
  line-height: 1.7;
  margin: 0 0 28px;
  opacity: 0.85;
}

.kontakt-path__btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: var(--color-navy);
  color: #fff;
  border-radius: 8px;
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}

.kontakt-path__btn:hover        { background: #142349; }
.kontakt-path__btn--sky         { background: var(--color-sky); }
.kontakt-path__btn--sky:hover   { background: #3570bb; }

.kontakt-trust {
  font-size: 13px;
  color: var(--color-stahlgrau);
  text-align: center;
  margin: 36px 0 0;
  line-height: 1.6;
}

@media (max-width: 780px) {
  .kontakt-paths  { grid-template-columns: 1fr; }
  .kontakt-path   { padding: 28px 20px; }
}


/* ════════════════════════════════════════════
   === /ueber-mich ===
   ════════════════════════════════════════════ */

/* Active-Nav — bereits via globale Regel oben abgedeckt */

/* section-wrap auf warmweiss-Sektion transparent */
.um-werdegang .section-wrap {
  background: transparent;
}

/* ── Porträt-Sektion ──
   Navy-Hintergrund passend zum Bild (1366×768, navy bg).
   Kein section-wrap — Grid läuft randlos über die volle Breite. */
.um-portrait {
  background: #0B1426;
}

.um-portrait__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 440px;
  background: var(--color-navy);
  padding: 40px;
  gap: 40px;
}

/* Linke Spalte: Bild füllt die gesamte Spalte, object-fit contain
   damit das navy-Bild nahtlos mit dem Sektion-Hintergrund verschmilzt */
.um-portrait__foto-col {
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.um-portrait__foto {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}

/* Rechte Spalte: Text auf #0B1426, vertikal zentriert */
.um-portrait__text-col {
  display: flex;
  align-items: center;
  background: #0B1426;
  padding: 56px 56px 56px 40px;
}

.um-portrait__text-inner {
  width: 100%;
}

.um-portrait__heading {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.um-portrait__text-col p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 14px;
}

.um-portrait__text-col p:last-of-type {
  margin-bottom: 28px;
}

.um-portrait__sig {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 18px;
  margin-top: 4px;
}

.um-portrait__sig-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.um-portrait__linkedin {
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  transition: color 0.15s;
}

.um-portrait__linkedin:hover {
  color: var(--color-sky);
}

.um-portrait__sig-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* ── Werte-Sektion ── */
.um-werte {
  background: var(--color-eisblau);
}

.um-werte__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.um-werte__card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.um-werte__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--color-eisblau);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sky);
  flex-shrink: 0;
}

.um-werte__card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}

.um-werte__card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-stahlgrau, #4a5568);
  margin: 0;
}

/* ── Werdegang-Sektion ── */
.um-werdegang {
  background: var(--color-warmweiss, #faf9f7);
}

.um-werdegang__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}

.um-werdegang__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border, #e8e8e4);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
}

.um-werdegang__item:first-child {
  border-top: 1px solid var(--color-border, #e8e8e4);
}

.um-werdegang__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-sky);
  margin-top: 7px;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  /* Grid: kein Padding/Gap auf Mobile — Bild randlos, Überlappung per margin-top */
  .um-portrait__grid {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }

  /* Bild: volle Breite, keine Höhenbeschränkung */
  .um-portrait__foto-col {
    max-height: none;
  }

  .um-portrait__foto {
    width: 100%;
    height: auto;
  }

  /* Textspalte: ~1/3 der Bildhöhe (Bild ≈ 56vw hoch → 1/3 ≈ 19vw) nach oben ziehen */
  .um-portrait__text-col {
    position: relative;
    z-index: 1;
    margin-top: -19vw;
    padding: calc(19vw + 28px) 24px 40px;
  }
}

@media (max-width: 700px) {
  .um-werte__grid {
    grid-template-columns: 1fr;
  }
}

/* === end /ueber-uns === */


/* ════════════════════════════════════════════
   === /referenzen ===
   ════════════════════════════════════════════ */

/* Listing-Sektion: Eisblau (wie Referenzen-Block auf der Startseite) */
.referenzen-listing {
  background: var(--color-eisblau);
}

/* Beschreibende Tags pro Referenz-Karte */
.referenz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.referenz-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--color-navy);
  background: var(--color-eisblau);
  border: 1px solid rgba(30, 58, 100, 0.15);
  border-radius: 99px;
  padding: 4px 10px;
  line-height: 1.4;
}

/* Gratisentwurf-Badge: hebt sich ab */
.referenz-tag--entwurf {
  background: var(--color-sky);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
}

/* Tablet: 2-spaltig (überschreibt die 1-Spalte-Regel aus der Homepage) */
@media (min-width: 601px) and (max-width: 900px) {
  body.page-referenzen .referenzen-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Prozess-Sektion: eisblau, zentriert */
.referenzen-prozess {
  background: var(--color-eisblau);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.referenzen-prozess__inner {
  max-width: 700px;
  margin: 0 auto;
}

.referenzen-prozess__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: 14px;
}


/* ════════════════════════════════════════════
   === /ablauf ===
   ════════════════════════════════════════════ */

/* Active-Nav — bereits via globale Regel oben abgedeckt */

/* ── Vertrauens-Strip ── */
.ab-trust-strip {
  background: var(--color-warmweiss);
  border-bottom: 1px solid var(--color-eisblau);
}

.ab-trust-strip__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.ab-trust-strip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-stahlgrau);
}

.ab-trust-strip__icon {
  color: var(--color-sky);
  flex-shrink: 0;
}

/* ── Timeline-Sektion ── */
.ab-timeline {
  background: var(--color-eisblau);
  padding: var(--space-xl) var(--space-lg);
}

.ab-timeline__wrap {
  max-width: 1060px;
  margin: 0 auto;
}

.ab-timeline__heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* Steps container — vertikale Linie als ::before */
.ab-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.ab-steps::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(128, 141, 159, 0.3);
  z-index: 0;
}

/* Einzelner Schritt — 3-Spalten-Grid: [karte] [marker] [karte/leer] */
.ab-step {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  column-gap: var(--space-lg);
  align-items: start;
}

/* Marker (Zahlen-Kreis) */
.ab-step__node {
  justify-self: center;
  align-self: start;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-warmweiss);
  border: 2px solid var(--color-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  /* Leichte Verschiebung nach unten, damit Mitte des Kreises mit
     dem ersten Textzeile der Karte auf einer Höhe liegt */
  margin-top: 14px;
}

/* Karte — Linke Schritte: Karte in Spalte 1 (justify-self: end) */
.ab-step:not(.ab-step--r) .ab-step__card {
  justify-self: end;
  width: 100%;
  max-width: 440px;
}

/* Karte — Rechte Schritte: Karte in Spalte 3 (justify-self: start) */
.ab-step--r .ab-step__card {
  justify-self: start;
  width: 100%;
  max-width: 440px;
}

/* Füller-Zelle (leer, balanciert das Grid) */
.ab-step__fill {
  /* bewusst leer */
}

/* Karten-Stil */
.ab-step__card {
  background: var(--color-warmweiss);
  border-radius: 12px;
  padding: var(--space-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Karten-Eyebrow: GeistMono, Stahlgrau, Uppercase */
.ab-card__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-sky);
  margin: 0 0 12px;
}

/* Karten-Titel */
.ab-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 12px;
}

/* Karten-Beschreibung */
.ab-card__desc {
  font-size: 16px;
  line-height: 1.72;
  color: var(--color-tinte);
}

/* Trennlinie */
.ab-card__divider {
  border: none;
  border-top: 1px solid var(--color-eisblau);
  margin: var(--space-md) 0;
}

/* Du lieferst / Wir übernehmen */
.ab-card__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-md);
}

.ab-card__split-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-stahlgrau);
  margin-bottom: 6px;
}

.ab-card__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ab-card__bullets li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-stahlgrau);
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.ab-card__bullets li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-sky);
  margin-top: 6px;
}

/* Bild-Bereich in Schritt-Karten */
.ab-card__img {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0;
  aspect-ratio: 16 / 9;
  background: var(--color-eisblau);
}
.ab-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Akkordeon / FAQ am Ende jeder Karte */
.ab-card__faq {
  border-top: 1px solid var(--color-eisblau);
  margin-top: var(--space-md);
  padding-top: 14px;
}
.ab-card__faq summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}
.ab-card__faq summary::-webkit-details-marker { display: none; }
.ab-card__faq summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: var(--color-sky);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.ab-card__faq[open] summary::after {
  transform: rotate(45deg);
}
.ab-card__faq p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-tinte);
  margin: 10px 0 0;
}

/* Link innerhalb Karten-Text */
.ab-card__link {
  color: var(--color-sky);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* ── Übersicht-Sektion ── */
.ab-uebersicht {
  background: var(--color-warmweiss);
  padding: var(--space-xl) var(--space-lg);
}

.ab-uebersicht__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* section-label und section-title werden von components.css geliefert,
   aber section-wrap wird hier NICHT verwendet → kein bg-Konflikt */

.ab-uebersicht__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.ab-uebersicht__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-eisblau);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-navy);
}

.ab-uebersicht__item:first-child {
  border-top: 1px solid var(--color-eisblau);
}

.ab-uebersicht__dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-sky);
  margin-top: 7px;
}

.ab-uebersicht__link-wrap {
  margin-top: 28px;
}

/* ── CTA Eyebrow (nur auf /ablauf) ── */
.ab-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: 12px;
}

/* ── Sticky Side-Navigation: default hidden on mobile ── */
.ab-step-nav { display: none; }

/* ── Desktop/Tablet (≥ 900px): Option A — Sticky Side Navigation ── */
@media (min-width: 900px) {

  /* 2-column grid: sticky nav left, scrollable steps right */
  body.page-ablauf .ab-timeline__wrap {
    display: grid;
    grid-template-areas:
      "heading heading"
      "nav     steps";
    grid-template-columns: 280px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 64px;
    align-items: start;
  }

  body.page-ablauf .ab-timeline__heading {
    grid-area: heading;
    margin-bottom: 56px;
  }

  /* Hide the old vertical line */
  body.page-ablauf .ab-steps::before { display: none; }

  /* Steps column */
  body.page-ablauf .ab-steps {
    grid-area: steps;
    display: block;
    position: relative;
  }
  body.page-ablauf .ab-steps::after { display: none; }

  /* Each step: full-width block with generous vertical padding */
  body.page-ablauf .ab-step {
    display: block;
    padding: 0 0 72px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
  }
  body.page-ablauf .ab-step:last-child {
    border-bottom: none;
    padding-bottom: 32px;
  }

  /* Hide structural elements only needed for the zigzag layout */
  body.page-ablauf .ab-step__node,
  body.page-ablauf .ab-step__fill { display: none; }

  /* Cards: full width, clean left-aligned */
  body.page-ablauf .ab-step__card,
  body.page-ablauf .ab-step:not(.ab-step--r) .ab-step__card,
  body.page-ablauf .ab-step--r .ab-step__card {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 36px 40px;
    background: var(--color-warmweiss);
    border: 1px solid rgba(64, 126, 209, 0.12);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(26, 46, 87, 0.06);
    overflow: hidden; /* für full-bleed Bild-Header */
  }

  /* Scroll-in animation: cards slide up gently */
  body.page-ablauf .ab-step__card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  body.page-ablauf .ab-step.is-visible .ab-step__card {
    opacity: 1;
    transform: translateY(0);
  }

  /* Active step: sky-blue border accent */
  body.page-ablauf .ab-step.is-active .ab-step__card {
    border-color: rgba(64, 126, 209, 0.3);
    box-shadow: 0 4px 24px rgba(26, 46, 87, 0.10),
                0 0 0 1px rgba(64, 126, 209, 0.12);
  }

  /* ── Bild-Header: full-bleed, 21:9, mit Schrittnummer-Wasserzeichen ── */
  .ab-card__img-wrap {
    position: relative;
    /* Negativ-Margins: Bild bricht aus dem Card-Padding aus */
    margin: -36px -40px 28px;
  }

  .ab-card__img-wrap .ab-card__img {
    aspect-ratio: 21 / 9;
    border-radius: 0;
    margin: 0;
    background: linear-gradient(135deg, #dae8f8 0%, #c5d9f2 60%, #d4e5f7 100%);
  }

  /* Grosse Schrittnummer als subtiles Wasserzeichen */
  .ab-card__step-num {
    position: absolute;
    bottom: 8px;
    right: 20px;
    font-size: 96px;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -5px;
    color: rgba(26, 46, 87, 0.13);
    font-family: var(--font-mono, monospace);
    user-select: none;
    pointer-events: none;
  }

  /* Split-Sektion: leichte Hintergrundboxen */
  body.page-ablauf .ab-card__split {
    gap: 12px;
  }
  body.page-ablauf .ab-card__split > div {
    padding: 14px 16px;
    border-radius: 8px;
  }
  body.page-ablauf .ab-card__split > div:first-child {
    background: rgba(26, 46, 87, 0.04);
    border: 1px solid rgba(26, 46, 87, 0.07);
  }
  body.page-ablauf .ab-card__split > div:last-child {
    background: rgba(64, 126, 209, 0.06);
    border: 1px solid rgba(64, 126, 209, 0.12);
  }

  /* ── Sticky Side Navigation ── */
  .ab-step-nav {
    grid-area: nav;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: sticky;
    top: 100px;
    align-self: start;
  }

  .ab-step-nav__btn {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 16px 12px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    border-radius: 10px;
    border-left: 2px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
    width: 100%;
  }

  .ab-step-nav__btn:hover {
    background: rgba(64, 126, 209, 0.06);
  }

  .ab-step-nav__btn.is-active {
    background: rgba(64, 126, 209, 0.08);
    border-left-color: var(--color-sky);
  }

  .ab-step-nav__num {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-sky);
    opacity: 0.45;
    min-width: 22px;
    padding-top: 2px;
    transition: opacity 0.2s ease;
  }

  .ab-step-nav__btn.is-active .ab-step-nav__num {
    opacity: 1;
  }

  .ab-step-nav__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .ab-step-nav__eyebrow {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--color-sky);
    opacity: 0.55;
    transition: opacity 0.2s ease;
  }

  .ab-step-nav__btn.is-active .ab-step-nav__eyebrow {
    opacity: 1;
  }

  .ab-step-nav__title {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-stahlgrau);
    line-height: 1.35;
    transition: color 0.2s ease;
  }

  .ab-step-nav__btn.is-active .ab-step-nav__title {
    color: var(--color-navy);
    font-weight: 600;
  }

  /* Progress line between nav buttons */
  .ab-step-nav__btn + .ab-step-nav__btn {
    position: relative;
  }

  /* Reduced Motion */
  @media (prefers-reduced-motion: reduce) {
    body.page-ablauf .ab-step__card {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
    }
  }
}

/* ── Mobile (≤ 599px): Trust-Strip gestapelt, feinere Abstände ── */
@media (max-width: 599px) {
  .ab-trust-strip__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px var(--space-md);
  }

  .ab-timeline {
    padding: var(--space-xl) var(--space-md);
  }

  .ab-uebersicht {
    padding: var(--space-xl) var(--space-md);
  }

  /* Split-Spalten auf sehr engen Viewports untereinander */
  .ab-card__split {
    grid-template-columns: 1fr;
    gap: var(--space-md) 0;
  }
}

/* ── Mobile Progress Indicator: default hidden ── */
.ab-mobile-progress { display: none; }

/* ── Mobile: Sticky Card Stack ──
   Der STEP ist das sticky-Element, bounded von ab-steps (direktem Parent).
   Die Karte ist ein normaler Block und füllt den Viewport vom Sticky-Top bis unten. */
@media (max-width: 899px) {
  /* Vertikale Linie ausblenden */
  body.page-ablauf .ab-steps::before { display: none; }

  /* Block-Layout */
  body.page-ablauf .ab-steps {
    display: block;
    gap: 0;
    position: relative;
  }

  /* Spacer im Content-Bereich: verlängert die Sticky-Bounds für Step 5 */
  body.page-ablauf .ab-steps::after {
    content: '';
    display: block;
    height: 100svh;
  }

  /* Knoten + Füller ausblenden */
  body.page-ablauf .ab-step__node,
  body.page-ablauf .ab-step__fill { display: none; }

  /* Step: sticky, bounded von ab-steps */
  body.page-ablauf .ab-step {
    display: block;
    position: sticky;
    min-height: 100svh;
    cursor: pointer;
  }

  /* Peek-Offset: 64 px pro vorherige Karte (mehr vom Eyebrow sichtbar) */
  body.page-ablauf .ab-step:nth-child(1) { top: 72px;               z-index: 1; }
  body.page-ablauf .ab-step:nth-child(2) { top: calc(72px + 64px);  z-index: 2; }
  body.page-ablauf .ab-step:nth-child(3) { top: calc(72px + 128px); z-index: 3; }
  body.page-ablauf .ab-step:nth-child(4) { top: calc(72px + 192px); z-index: 4; }
  body.page-ablauf .ab-step:nth-child(5) { top: calc(72px + 256px); z-index: 5; }

  /* Karte: normaler Block, füllt Viewport ab Step-Top */
  body.page-ablauf .ab-step__card,
  body.page-ablauf .ab-step:not(.ab-step--r) .ab-step__card,
  body.page-ablauf .ab-step--r .ab-step__card {
    display: block;
    width: 100%;
    max-width: none;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -6px 20px rgba(11, 20, 38, 0.14);
    padding: 14px var(--space-md) var(--space-xl);
    transform: none !important;
    opacity: 1 !important;
    transition: box-shadow 0.25s ease !important;
    position: relative;
  }

  /* Drag-Handle — absolut positioniert im bestehenden Padding-Bereich,
     kein Einfluss auf Content-Abstände */
  body.page-ablauf .ab-step__card::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--color-stahlgrau);
    opacity: 0.25;
    border-radius: 2px;
    pointer-events: none;
  }

  /* min-height = 100svh − step_top → Karte füllt Viewport vollständig aus */
  body.page-ablauf .ab-step:nth-child(1) .ab-step__card { min-height: calc(100svh - 72px); }
  body.page-ablauf .ab-step:nth-child(2) .ab-step__card { min-height: calc(100svh - 136px); }
  body.page-ablauf .ab-step:nth-child(3) .ab-step__card { min-height: calc(100svh - 200px); }
  body.page-ablauf .ab-step:nth-child(4) .ab-step__card { min-height: calc(100svh - 264px); }
  body.page-ablauf .ab-step:nth-child(5) .ab-step__card { min-height: calc(100svh - 328px); }

  .ab-card__title { font-size: 18px; }

  /* ── Mobile Progress Indicator: fixiertes Pill ── */
  .ab-mobile-progress {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    padding: 8px 14px;
    background: rgba(26, 46, 87, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    pointer-events: none;
  }

  .ab-mobile-progress__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: width 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.25s ease,
                border-radius 0.25s ease;
    flex-shrink: 0;
  }

  .ab-mobile-progress__dot.is-active {
    width: 20px;
    border-radius: 3px;
    background: #ffffff;
  }
}

/* === end /ablauf === */

.referenzen-prozess h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.25;
  margin: 0 0 20px;
}

.referenzen-prozess__body {
  font-size: 16px;
  color: var(--color-tinte);
  line-height: 1.75;
  opacity: 0.8;
  margin: 0 0 28px;
}

.referenzen-prozess__link {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-sky);
  text-decoration: none;
}

.referenzen-prozess__link:hover {
  text-decoration: underline;
}

/* Kundenstimmen-Platzhalter */
.ref-stimmen {
  background: var(--color-eisblau);
}

.ref-stimmen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.ref-stimmen__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ref-stimmen__card blockquote {
  margin: 0;
  padding: 0;
}

.ref-stimmen__card blockquote p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-tinte);
  font-style: italic;
  opacity: 0.6;
}

.ref-stimmen__author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
}

.ref-stimmen__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
}

.ref-stimmen__project {
  font-size: 12px;
  color: var(--color-sky);
  font-weight: 600;
  letter-spacing: 0.4px;
}

@media (max-width: 900px) {
  .ref-stimmen__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .ref-stimmen__grid { grid-template-columns: 1fr; }
}

/* === end /referenzen === */
