/* ==========================================================================
   Lumina Alltagsbegleitung — Design System 2.0
   Colors matched to hemby.de: deep navy/indigo dominant, soft sky-blue and
   peach section bands, mint-green CTA accent. Star ratings stay amber (the
   universal rating color) regardless of brand accent.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@500;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand colors (matched to hemby.de) */
  --color-ink: #15193f;        /* deep indigo-navy, dominant brand color */
  --color-ink-soft: #123a63;
  --color-gold: #ffffff;       /* button accent on dark backgrounds */
  --color-gold-dark: #c98a22;  /* warm accent for icons/checkmarks */
  --color-gold-soft: #f8dfab;
  --color-silver: #a9afc0;      /* cool grey for eyebrow/role labels on dark backgrounds */
  --color-silver-dark: #5c6578; /* cool grey for eyebrow/role labels on light backgrounds */
  --color-star: #f5b400;       /* review-star amber, independent of accent */
  --color-coral: #f3b596;      /* section band */
  --color-coral-soft: #f9e9de;
  --color-sky: #9cd8f5;        /* baby blue section band / accent */
  --color-sky-soft: #ddf2fc;
  --color-sky-dark: #1a85b8;
  --color-white: #ffffff;
  --color-ink-text: #1a2140;
  --color-text-muted: #525a78;

  /* Semantic */
  --bg-page: var(--color-white);
  --bg-dark: var(--color-ink);
  --bg-sky: var(--color-sky-soft);
  --bg-coral: var(--color-coral-soft);
  --fg-body: var(--color-ink-text);
  --fg-muted: var(--color-text-muted);
  --fg-on-dark: #ffffff;
  --fg-on-dark-muted: rgba(255, 255, 255, 0.76);
  --ring: var(--color-ink);
  --border: rgba(20, 26, 61, 0.1);

  /* Typography */
  --font-heading: 'DM Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --fs-base: 1.125rem;
  --fs-lg: 1.3rem;
  --fs-h1: clamp(2.4rem, 4.8vw, 3.6rem);
  --fs-h2: clamp(1.9rem, 3.2vw, 2.6rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --lh-body: 1.65;
  --lh-heading: 1.15;

  /* Spacing / shape */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5.5rem;
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 14px rgba(20, 26, 61, 0.08);
  --shadow-md: 0 16px 40px rgba(20, 26, 61, 0.14);
  --max-width: 1200px;
  --transition: 200ms ease;
}

/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@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; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--fg-body);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: var(--lh-heading);
  color: var(--color-ink);
  margin: 0 0 var(--space-sm);
  font-weight: 800;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 var(--space-sm); }
ul { padding-left: 1.3em; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-ink);
  color: #fff;
  padding: 0.8em 1.4em;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-silver-dark);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-xs);
  text-decoration: none;
}
a.eyebrow:hover { text-decoration: underline; }
.eyebrow::before {
  content: "";
  width: 1.5em;
  height: 2px;
  background: var(--color-silver-dark);
  display: inline-block;
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 3.1rem;
  padding: 0.85em 1.8em;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.02rem;
  font-family: var(--font-body);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--color-gold);
  color: var(--color-ink);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-ink); color: #fff; box-shadow: var(--shadow-md); }
.btn-dark {
  background: var(--color-ink);
  color: #fff;
}
.btn-dark:hover { background: var(--color-ink-soft); box-shadow: var(--shadow-md); }
.btn-white {
  background: #fff;
  color: var(--color-ink);
}
.btn-white:hover { background: var(--color-gold-soft); }
.btn-outline {
  background: rgba(10, 13, 38, 0.35);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.btn-outline:hover { background: rgba(10, 13, 38, 0.55); border-color: #fff; }
.btn-ghost {
  background: var(--color-white);
  color: var(--color-ink);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-sky); }
.btn-block { width: 100%; }
.btn-sm { min-height: 2.6rem; padding: 0.6em 1.3em; font-size: 0.95rem; }

/* ---------------------------------------------------------------------- */
/* Header                                                                  */
/* ---------------------------------------------------------------------- */
.site-header {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.9rem var(--space-md);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 58px; width: auto; }

.main-nav { display: flex; align-items: center; gap: var(--space-md); }
.main-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none;
  color: var(--fg-on-dark-muted);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; border-color: var(--color-gold); }

.header-contact { display: flex; align-items: center; gap: var(--space-sm); }
.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.5em 1em;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-phone svg { flex-shrink: 0; color: var(--color-gold); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-sm);
  color: #fff;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
}

/* Prevent grid/flex items from refusing to shrink below their image's
   intrinsic size (causes horizontal overflow on narrow viewports). */
.hero-grid > *, .feature-row > *, .team-spotlight > *,
.funding-card > *, .cta-band > * { min-width: 0; }

/* ---------------------------------------------------------------------- */
/* Hero — full-bleed photo with a baked-in dark-navy blend on the left     */
/* (matches hemby.de's hero pattern), text overlaid on the navy side.     */
/* ---------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 0;
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  overflow: hidden;
}
.hero-media { position: absolute; top: 0; left: 0; right: 0; z-index: 0; aspect-ratio: 4 / 3; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 13, 38, 0) 0%, rgba(10, 13, 38, 0.04) 48%, rgba(10, 13, 38, 0.68) 72%, rgba(10, 13, 38, 0.95) 100%);
  pointer-events: none;
}
.hero-copy-wrap {
  position: relative;
  z-index: 2;
  background: none;
  padding: 150px 0 var(--space-lg);
}
.hero-copy-wrap .container { width: 100%; }
.hero-copy { max-width: 560px; }
.hero-copy h1 { color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45); }
.hero-copy p.lead {
  font-size: var(--fs-lg);
  font-weight: 500;
  color: #fff;
  max-width: 42ch;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin: var(--space-md) 0; }
.brand-tagline {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  color: var(--color-gold);
  margin: 0 0 var(--space-sm);
}
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.5em 1em 0.5em 0.6em;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  color: inherit;
  text-decoration: none;
  transition: background var(--transition);
}
a.hero-rating:hover { background: rgba(255, 255, 255, 0.16); }
.hero-rating .stars { color: var(--color-star); }

@media (min-width: 981px) {
  .hero { width: 100%; aspect-ratio: 1672 / 941; max-height: 760px; }
  .hero-media { inset: 0; aspect-ratio: auto; }
  .hero-media img { object-position: left 18%; }
  .hero::before {
    background: linear-gradient(90deg, rgba(10, 13, 38, 0.82) 0%, rgba(10, 13, 38, 0.6) 32%, rgba(10, 13, 38, 0.15) 55%, transparent 70%);
  }
  .hero-copy-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0;
  }
}

.hero-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  gap: 0.5em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* Trust logo strip — endless loop of partner Pflegekassen, each grows on hover */
.trust-strip-band {
  background: var(--color-ink-soft);
  padding: var(--space-sm) 0;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}
.trust-strip-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.trust-strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--space-lg);
  animation: trustScroll 24s linear infinite;
}
.trust-strip-marquee:hover .trust-strip-track { animation-play-state: paused; }
@keyframes trustScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform var(--transition), color var(--transition);
}
/* The static (non-marquee) trust strip wraps onto new lines on narrow
   viewports, so its long "+ alle ... Versicherungen" badge must be able
   to wrap text too, unlike the scrolling marquee variant. */
.trust-strip .trust-badge { white-space: normal; text-align: center; }
.trust-badge img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) opacity(0.65);
  transition: filter var(--transition);
}
.trust-badge:hover {
  transform: scale(1.18);
  color: #fff;
}
.trust-badge:hover img { filter: brightness(0) invert(1) opacity(1); }
@media (prefers-reduced-motion: reduce) {
  .trust-badge { transition: none; }
  .trust-strip-track { animation: none; }
  .trust-strip-marquee { overflow-x: auto; }
}
.trust-strip-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin-top: var(--space-xs);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}
.trust-strip-note svg { flex-shrink: 0; color: var(--color-sky); }

.page-hero { background: var(--bg-dark); color: var(--fg-on-dark); padding: var(--space-lg) 0; }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: var(--color-gold); }
.page-hero .eyebrow::before { background: var(--color-gold); }
.page-hero p.lead { color: var(--fg-on-dark-muted); font-size: var(--fs-lg); max-width: 56ch; }

/* ---------------------------------------------------------------------- */
/* Sections                                                                 */
/* ---------------------------------------------------------------------- */
section { padding: var(--space-xl) 0; }
.section-sky { background: var(--bg-sky); }
.section-coral { background: var(--bg-coral); }
.section-dark { background: var(--bg-dark); color: var(--fg-on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--color-gold); }
.section-dark .eyebrow::before { background: var(--color-gold); }
.section-dark .process-step p { color: var(--fg-on-dark-muted); }
.section-dark .feature-copy p { color: var(--fg-on-dark-muted); }
.section-dark .check-list li { color: var(--fg-on-dark-muted); }
.section-dark .process-step:not(:last-child)::after { background: repeating-linear-gradient(to right, var(--color-gold) 0 6px, transparent 6px 12px); opacity: 0.3; }
.section-dark .funding-card h2 { color: var(--color-ink); }
.section-dark .funding-card .eyebrow { color: var(--color-silver-dark); }
.section-dark .funding-card .eyebrow::before { background: var(--color-silver-dark); }
.section-head { max-width: 62ch; margin-bottom: var(--space-lg); }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* Split feature rows (image + text, alternating) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.feature-row.reverse .feature-media { order: 2; }
.feature-row.reverse .feature-copy { order: 1; }
.feature-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; object-position: center 12%; }
.feature-media.wide img { aspect-ratio: 3/2; object-position: center 20%; }
.feature-copy h2 { margin-bottom: var(--space-sm); }
.feature-copy p { color: var(--fg-muted); font-size: 1.05rem; }
.feature-row + .feature-row { margin-top: var(--space-xl); }
.check-list { list-style: none; padding: 0; margin: var(--space-sm) 0 0; display: grid; gap: 0.55em; }
.check-list li { display: flex; align-items: flex-start; gap: 0.6em; color: var(--fg-muted); font-size: 0.98rem; text-align: left; }
.check-list li svg { color: var(--color-gold-dark); flex-shrink: 0; margin-top: 0.2em; }

/* Illustrated feature media — for topics without matching photography */
.feature-media.illustrated {
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-media.illustrated.tone-sky { background: linear-gradient(150deg, var(--color-sky-soft) 0%, var(--color-sky) 140%); }
.feature-media.illustrated.tone-ink { background: linear-gradient(150deg, var(--color-ink) 0%, var(--color-ink-soft) 140%); }
.feature-media.illustrated svg { width: 58%; height: 58%; color: var(--color-ink); opacity: 0.8; }
.feature-media.illustrated.tone-ink svg { color: #fff; opacity: 0.85; }

/* Floating visit card over a photo */
.visit-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm) var(--space-md);
  max-width: 260px;
}
.visit-card .vc-head { display: flex; align-items: center; gap: 0.7em; margin-bottom: 0.6em; }
.visit-card .vc-avatar {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--color-gold-soft); color: var(--color-gold-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0;
}
.visit-card .vc-title { font-weight: 700; font-size: 0.95rem; }
.visit-card .vc-time { font-size: 0.82rem; color: var(--fg-muted); }
.visit-card ul { list-style: none; padding: 0; margin: 0; }
.visit-card li { display: flex; align-items: center; gap: 0.5em; font-size: 0.88rem; color: var(--fg-muted); padding: 0.2em 0; }
.visit-card li svg { color: var(--color-gold-dark); flex-shrink: 0; }

/* Service tiles — bolder, with per-service accent bar + watermark numeral */
/* Leistungen — colorful bento mosaic of tiles instead of plain white cards */
.services-grid {
  display: flex;
  align-items: flex-start;
}
.service-card {
  flex: 1;
  text-align: center;
  padding: 0 var(--space-lg);
  border-left: 1px solid var(--border);
}
.service-card:first-child { border-left: none; }
.service-icon {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-icon svg { width: 32px; height: 32px; }
.service-card:hover .service-icon { transform: scale(1.1); }
.service-icon.tone-gold { background: var(--color-gold-soft); color: var(--color-gold-dark); }
.service-icon.tone-coral { background: var(--color-coral-soft); color: #c4572e; }
.service-icon.tone-sky { background: var(--color-sky-soft); color: var(--color-sky-dark); }
.service-icon.tone-ink { background: var(--color-ink); color: #fff; }
.service-card h3 {
  margin: 0 0 0.5em;
  color: var(--color-ink);
  font-size: 1.35rem;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card p { color: var(--fg-muted); font-size: 1.05rem; }
.service-card .check-list { max-width: 24ch; margin: var(--space-sm) auto; font-size: 1.02rem; }
.service-card .btn-ghost { margin-top: var(--space-md); }
@media (max-width: 720px) {
  .services-grid { flex-direction: column; }
  .service-card {
    flex: 1 1 auto;
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border);
    padding: var(--space-md) 0 0;
    margin-top: var(--space-md);
  }
  .service-card:first-child { border-top: none; padding-top: 0; margin-top: 0; }
}

/* "Ein Tag mit Lumina" — a process chain on dark background, mirroring
   the "Erstkontakt" process-chain so a day's flow reads as one connected
   journey rather than four separate cards. */
.day-journey {
  display: flex;
  gap: var(--space-md);
  position: relative;
  counter-reset: daystep;
}
.day-journey::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 10%;
  right: 10%;
  height: 160%;
  background: radial-gradient(ellipse at center, rgba(227, 166, 63, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.day-step {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  padding: 0 var(--space-xs);
}
.day-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.8rem;
  left: calc(50% + 1.8rem);
  right: calc(-50% + 1.8rem);
  height: 2px;
  background: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.32) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.day-icon {
  position: relative;
  z-index: 2;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-soft), #e8b65a);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  box-shadow: 0 0 0 6px rgba(227, 166, 63, 0.1), 0 0 22px rgba(227, 166, 63, 0.4);
  animation: dayIconPulse 3.6s ease-in-out infinite;
  transition: transform 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.day-step:hover .day-icon { transform: scale(1.12); }
@keyframes dayIconPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(227, 166, 63, 0.1), 0 0 22px rgba(227, 166, 63, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(227, 166, 63, 0.16), 0 0 30px rgba(227, 166, 63, 0.55); }
}
/* Alternate baby-blue icons on every other step for rhythm + more blue */
.day-journey .day-step:nth-child(2) .day-icon,
.day-journey .day-step:nth-child(4) .day-icon {
  background: linear-gradient(135deg, var(--color-sky-soft), var(--color-sky));
  color: var(--color-sky-dark);
  box-shadow: 0 0 0 6px rgba(26, 133, 184, 0.14), 0 0 22px rgba(26, 133, 184, 0.45);
  animation: dayIconPulseBlue 3.6s ease-in-out infinite;
}
@keyframes dayIconPulseBlue {
  0%, 100% { box-shadow: 0 0 0 6px rgba(26, 133, 184, 0.14), 0 0 22px rgba(26, 133, 184, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(26, 133, 184, 0.2), 0 0 30px rgba(26, 133, 184, 0.6); }
}
.day-journey .day-step:nth-child(2) .day-time,
.day-journey .day-step:nth-child(4) .day-time { color: var(--color-sky); }
.day-time {
  font-weight: 800;
  color: #e8b65a;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.4em;
}
.day-step h3 { font-size: 1.1rem; margin-bottom: 0.4em; color: #fff; }
.day-step p { color: rgba(255, 255, 255, 0.72); margin: 0 auto; font-size: 0.95rem; max-width: 24ch; }

@media (prefers-reduced-motion: reduce) {
  .day-icon,
  .day-journey .day-step:nth-child(2) .day-icon,
  .day-journey .day-step:nth-child(4) .day-icon { animation: none; }
  .service-icon { transition: none; }
}

/* Team spotlight */
.team-spotlight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-lg);
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
.team-photos { position: relative; display: flex; gap: var(--space-sm); min-width: 0; }
.team-photos > img {
  border-radius: var(--radius-md);
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 10%;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  box-shadow: var(--shadow-sm);
}
.team-tag {
  position: absolute;
  left: 50%;
  bottom: -0.9rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  background: #fff;
  padding: 0.5em 1.1em;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.team-tag img {
  height: 1.3rem;
  width: auto;
  display: block;
}
.team-spotlight h2 { margin-bottom: 0.3em; }
.team-spotlight .role-line { color: var(--color-silver-dark); font-weight: 700; margin-bottom: var(--space-sm); }
.team-spotlight p { color: var(--fg-muted); }

.chico-aside {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--bg-sky);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  margin-top: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
.chico-aside img {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-md);
}
.chico-aside .chico-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-ink);
  margin: 0 0 0.2em;
}
.chico-aside .chico-role {
  color: var(--color-silver-dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.4em;
}
.chico-aside p.chico-bio { margin: 0; color: var(--fg-muted); }

@media (max-width: 560px) {
  .chico-aside { flex-direction: column; text-align: center; padding: var(--space-lg); }
}

/* Process chain (visual step-by-step flow, e.g. "Erstkontakt") */
.process-chain {
  display: flex;
  gap: var(--space-md);
  counter-reset: pstep;
}
.process-step {
  flex: 1;
  position: relative;
  text-align: center;
  padding: 0 var(--space-xs);
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.7rem;
  left: calc(50% + 1.7rem);
  right: calc(-50% + 1.7rem);
  height: 2px;
  background: repeating-linear-gradient(to right, var(--color-gold-dark) 0 6px, transparent 6px 12px);
  opacity: 0.35;
  z-index: 1;
}
.process-step .num-circle {
  position: relative;
  z-index: 2;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--color-gold-dark);
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0 auto var(--space-sm);
  box-shadow: var(--shadow-sm);
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.4em; }
.process-step p { color: var(--fg-muted); font-size: 0.95rem; max-width: 24ch; margin: 0 auto; }

/* Funding card — soft card with a stat row and a glowing coin badge */
.funding-card {
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-lg);
  align-items: center;
  box-shadow: var(--shadow-md);
}
.funding-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -12%;
  width: 55%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(227, 166, 63, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.funding-icon {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-soft), #e8b65a);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 0 0 6px rgba(227, 166, 63, 0.12);
}
.funding-card > div:first-of-type { position: relative; z-index: 1; }
.funding-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin: var(--space-md) 0;
}
.funding-stat {
  padding-left: var(--space-sm);
  border-left: 3px solid var(--color-gold-dark);
}
.funding-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem);
  color: var(--color-ink);
  line-height: 1.1;
}
.funding-stat-unit {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  margin-left: 0.35em;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.funding-stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 0.25em;
  max-width: 22ch;
}
.funding-card h2 { margin-bottom: 0.4em; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); }
.funding-card h2 .accent {
  position: relative;
  color: var(--color-gold-dark);
  white-space: nowrap;
}
.funding-card h2 .accent::after {
  content: "";
  position: absolute;
  left: -0.05em;
  right: -0.05em;
  bottom: 0.03em;
  height: 0.28em;
  background: var(--color-gold-soft);
  border-radius: 2px;
  z-index: -1;
}
.funding-card p { color: var(--fg-muted); }
.funding-card .fine-print { font-size: 0.85rem; opacity: 0.7; margin-top: var(--space-sm); }

/* Einsatzgebiet — Foto-Streifen Wiesbaden & Mainz */
.area-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.area-photo {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
}
.area-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.area-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(0deg, rgba(10, 13, 38, 0.75) 0%, transparent 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
@media (max-width: 720px) {
  .area-photos { grid-template-columns: repeat(2, 1fr); }
}

/* Einsatzgebiet — Stadtteile */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
.area-card {
  background: var(--color-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
.area-card h3 { margin-bottom: var(--space-sm); }
.area-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5em; }
.area-tags li {
  background: var(--color-sky-soft);
  color: var(--color-ink);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45em 0.95em;
  border-radius: var(--radius-pill);
}
.area-tags.tone-coral li { background: var(--color-coral-soft); }
@media (max-width: 720px) {
  .area-grid { grid-template-columns: 1fr; }
}

/* Click-to-load map embed — nothing is requested from Google until the
   visitor actively asks to see the map, in keeping with the site's
   consent-first approach to third-party requests. */
.map-embed {
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-lg);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-embed-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  background: var(--color-sky-soft);
  border: none;
  cursor: pointer;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  transition: background var(--transition);
}
.map-embed-trigger svg { color: var(--color-sky-dark); }
.map-embed-trigger:hover { background: var(--color-sky); }
.contact-split .map-embed { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .map-embed { aspect-ratio: 4 / 5; }
}

.google-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.3em;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: var(--color-star); margin-bottom: 0.6em; letter-spacing: 0.1em; }
.testimonial-card p.quote { font-style: normal; color: var(--fg-body); margin-bottom: var(--space-sm); }
.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-meta { color: var(--fg-muted); font-size: 0.88rem; }

/* FAQ accordion */
.faq-list { max-width: 850px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.3rem 0; }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--color-gold-dark);
  font-weight: 400;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 0.9rem; color: var(--fg-muted); max-width: 68ch; }

/* Contact / form */
.contact-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-lg); align-items: start; }
.form-card { background: var(--color-white); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.form-row { margin-bottom: var(--space-sm); }
.form-row label { display: block; font-weight: 700; margin-bottom: 0.4em; color: var(--color-ink); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 0.85em 1em;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--bg-sky);
  color: var(--color-ink-text);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--color-ink); outline: none; }
.form-consent { display: flex; gap: 0.7em; align-items: flex-start; font-size: 0.95rem; color: var(--fg-muted); }
.form-consent input { width: auto; margin-top: 0.3em; }
.form-note { color: var(--fg-muted); margin-top: var(--space-sm); font-weight: 600; }
.form-note.success { color: #1a7a3e; }
.form-note.error { color: #b3261e; }

.contact-cards { display: grid; gap: var(--space-sm); }
.contact-card { display: flex; gap: var(--space-sm); align-items: flex-start; background: var(--color-white); border-radius: var(--radius-md); padding: var(--space-sm) var(--space-md); box-shadow: var(--shadow-sm); }
.contact-card .icon { flex-shrink: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--color-gold-soft); display: flex; align-items: center; justify-content: center; color: var(--color-gold-dark); }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 0.2em; font-family: var(--font-body); }
.contact-card a, .contact-card p { color: var(--fg-muted); text-decoration: none; margin: 0; }
.contact-card a:hover { color: var(--color-ink); }

/* Closing CTA band */
.cta-band { background: var(--bg-dark); color: #fff; border-radius: var(--radius-lg); padding: var(--space-lg); display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-lg); align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--fg-on-dark-muted); }
.cta-phone { font-family: var(--font-heading); font-size: 2rem; color: var(--color-gold); text-decoration: none; font-weight: 800; }
.cta-hours { color: var(--fg-on-dark-muted); margin-top: 0.2em; }
.cta-actions { display: flex; flex-direction: column; gap: 0.8rem; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */
.site-footer { background: var(--color-ink); color: var(--fg-on-dark-muted); padding: var(--space-lg) 0 var(--space-md); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-lg); }
.footer-brand img { height: 36px; width: auto; margin-bottom: var(--space-sm); }
.footer-brand p { max-width: 32ch; }
.footer-col h3 { color: #fff; font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-sm); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6em; }
.footer-col a { color: var(--fg-on-dark-muted); text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-sm); font-size: 0.9rem; }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  background: #25a244; color: #fff;
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); text-decoration: none; z-index: 90;
  transition: transform var(--transition);
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* Cookie banner */
.cookie-banner {
  position: fixed; inset: auto 1rem 1rem 1rem; max-width: 560px; margin: 0 auto;
  background: var(--color-white); border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: var(--space-md); z-index: 200; border: 1px solid var(--border);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.1rem; margin-bottom: 0.4em; }
.cookie-banner p { font-size: 0.95rem; color: var(--fg-muted); }
.cookie-actions { display: flex; gap: 0.7rem; margin-top: var(--space-sm); flex-wrap: wrap; }

/* Utility */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------------- */
/* Scroll-reveal animations &amp; extra motion                               */
/* ---------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy > * { animation: heroFadeIn 800ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-copy > *:nth-child(1) { animation-delay: 60ms; }
.hero-copy > *:nth-child(2) { animation-delay: 120ms; }
.hero-copy > *:nth-child(3) { animation-delay: 180ms; }
.hero-copy > *:nth-child(4) { animation-delay: 240ms; }
.hero-copy > *:nth-child(5) { animation-delay: 300ms; }
.hero-copy > *:nth-child(6) { animation-delay: 360ms; }
.hero-image {
  animation: heroFadeIn 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 160ms;
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-image { animation: none; }
}

/* Richer hover motion on existing components */
.feature-media { transition: transform 400ms ease, box-shadow 400ms ease; }
.feature-media:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-media img { transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1); }
.feature-media:hover img { transform: scale(1.04); }

.team-photos > img, .hero-image img { transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1); }
.team-photos:hover > img { transform: scale(1.03); }

.testimonial-card, .contact-card, .trust-badge, .process-step .num-circle {
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card:hover { transform: translateX(4px); }
.process-step:hover .num-circle { transform: scale(1.08); }

.main-nav a {
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.faq-item[open] p {
  animation: faqOpen 350ms ease both;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-banner:not([hidden]) { animation: cookieIn 450ms cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.whatsapp-fab { transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease; }

body.nav-open .main-nav { animation: navSlide 220ms ease both; }
@keyframes navSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .feature-media, .feature-media img, .team-photos img, .hero-image img,
  .testimonial-card, .contact-card, .process-step .num-circle,
  .main-nav a::after, .whatsapp-fab { transition: none; }
  .faq-item[open] p, .cookie-banner:not([hidden]), body.nav-open .main-nav { animation: none; }
}

/* ---------------------------------------------------------------------- */
/* Responsive                                                               */
/* ---------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { order: -1; min-height: 280px; }
  .hero-copy { padding-bottom: var(--space-lg); }
  .contact-split { grid-template-columns: 1fr; }
  .funding-card { grid-template-columns: 1fr; text-align: left; }
  .funding-icon { width: 2.4rem; height: 2.4rem; font-size: 1.05rem; }
  .funding-card > div:first-of-type { padding-right: 3rem; }
  .cta-band { grid-template-columns: 1fr; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media,
  .feature-row.reverse .feature-copy { order: initial; }
  .team-spotlight { grid-template-columns: 1fr; }
  .visit-card { position: static; margin-top: -2rem; margin-left: var(--space-md); margin-right: var(--space-md); }
  .process-chain { flex-direction: column; gap: var(--space-lg); }
  .process-step::after { display: none; }
  .process-step p { max-width: 40ch; }
  .day-journey { flex-direction: column; gap: var(--space-lg); }
  .day-step::after { display: none; }
  .day-step p { max-width: 40ch; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-inner { padding: 0.7rem var(--space-sm); gap: 0.6rem; }
  .brand img { height: 44px; }
  .header-phone { display: none; }
  .header-contact { gap: 0.6rem; }
  .header-contact .btn-primary { padding: 0.6em 1.1em; font-size: 0.92rem; min-height: 2.6rem; }
  body.nav-open .main-nav {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-dark); flex-direction: column; padding: var(--space-md); box-shadow: var(--shadow-md);
  }
  body.nav-open .main-nav ul { flex-direction: column; gap: 0.3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .trust-strip-track, .trust-strip { gap: var(--space-md); }
}

@media (max-width: 480px) {
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 430px) {
  .header-cta-word { display: none; }
}
