/* =================================================================
   RoVa – Hauptwebseite
   Stylesheet / Designsystem
   Kanonisches RoVa-Designsystem (rova-design):
     · Deep Petrol   #003F46  (Markenanker, dunkle Flächen, Text auf hell)
     · Dark Petrol   #002B31  (dunkle Hintergründe)
     · Mint          #9FE6C4  (Interaktions-Akzent / Primär-CTA)
     · Mint Strong   #5FCBA1  (Rahmen, Fokus, Hover)
     · Green         #15835C  (lesbarer Akzent: Links, Eyebrow, Icons)
     · Electric Blue #1268FF  (NUR im Logo – nie im UI)
     · Cyan          #2DE2FF  (sparsamer Glow auf dunkel)
   Schriften (lokal gehostet in assets/fonts/, DSGVO-konform – kein CDN):
     · Space Grotesk – Display / Überschriften (geometrisch, mit Charakter)
     · Inter         – Fließtext / UI (humanistisch, klar, lesbar)
   ================================================================= */

/* ---------- 2. Design-Tokens (RoVa-Kanon) ---------- */
:root {
  /* Marken- und Flächenfarben */
  --color-ink:            #003F46;  /* Primär: Deep Petrol */
  --color-ink-deep:       #001F25;  /* dunkelste Fläche (Surface Deep) */
  --color-primary:        #15835C;  /* lesbarer Green-Akzent */
  --color-primary-dark:   #002B31;  /* Dark Petrol */
  --color-teal-soft:      #003F46;  /* Petrol für Tags/Labels */
  --color-accent:         #15835C;  /* RoVa Green: Links, Eyebrow, Icon-Strokes */
  --color-accent-dark:    #0f6647;  /* Green Hover */
  --color-accent-soft:    #E4F6EE;  /* zarter Mint-/Green-Tint */

  /* Interaktions-Akzent: RoVa Mint */
  --color-mint:           #9FE6C4;  /* Primär-CTA-Fläche, Chips */
  --color-mint-strong:    #5FCBA1;  /* Rahmen, Fokus, Hover-Fläche */
  --color-cyan:           #2DE2FF;  /* Glow auf dunkel, sehr sparsam */

  --color-background:     #FFFFFF;  /* Weiß */
  --color-background-alt:  #F4F8F9; /* zarte Fläche (Surface) */
  --color-surface:        #FFFFFF;  /* Kartenfläche */
  --color-surface-2:      #F4F8F9;

  --color-text:           #0B2A30;  /* Fließtext (Ink) */
  --color-heading:        #003F46;  /* Petrol */
  --color-muted:          #46606A;  /* Slate */
  --color-muted-light:    #8ba6ac;  /* auf dunklen Flächen */
  --color-border:         #DDE6E9;  /* Linie */
  --color-border-strong:  #c5d4d8;

  /* Typografie */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Maße */
  --container: 1240px;
  --logo-h: 32px;   /* sichtbare Höhe der Wortmarke (Tagline wird abgeschnitten) */
  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  /* Schatten – weich, mehrschichtig */
  --shadow-sm: 0 1px 2px rgba(1, 43, 52, .05), 0 2px 8px rgba(1, 43, 52, .04);
  --shadow:    0 4px 14px rgba(1, 43, 52, .07), 0 14px 40px rgba(1, 43, 52, .07);
  --shadow-lg: 0 10px 30px rgba(1, 43, 52, .10), 0 30px 70px rgba(1, 43, 52, .12);
  --shadow-accent: 0 8px 24px rgba(0, 31, 37, .12);

  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Spacing-Raster (4px-Schritte) – Abstände nur aus dieser Skala wählen */
  --space-1: 4px;  --space-2: 8px;   --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px;  --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-24: 96px;

  /* Lesebreite für Fließtext (ca. 60–70 Zeichen, frontend-design) */
  --measure: 62ch;
}

/* ---------- 3. Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-background);
  /* feine Papier-/Körnungstextur für Wärme und Tiefe */
  background-image:
    radial-gradient(120% 120% at 100% 0%, rgba(95,203,161,.10) 0%, transparent 42%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* Fokus – deutlich sichtbar, barrierearm */
:focus-visible {
  outline: 3px solid var(--color-mint-strong);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip-Link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--color-ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 10px;
  z-index: 200;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 4. Layout-Hilfen ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: clamp(52px, 5.5vw, 92px); position: relative; }
.section--alt { background: var(--color-background-alt); }
.section--dark {
  background: var(--color-ink);
  color: #eaf2f3;
}
.section--tight { padding-block: clamp(40px, 4vw, 64px); }

.section-head { max-width: 660px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }

/* Eyebrow – kleines Label mit Flow-Pfeil */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section--dark .eyebrow { color: #9FE6C4; }

/* ---------- 5. Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0;
  font-optical-sizing: auto;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

h1 { font-size: clamp(2.5rem, 5.4vw, 4.15rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; }
.lead {
  font-size: clamp(1.12rem, 1.5vw, 1.32rem);
  line-height: 1.6;
  color: var(--color-muted);
  font-weight: 400;
  max-width: var(--measure);
}
/* zentrierte Abschnittsköpfe: schmaleren Lead mittig halten */
.section-head--center .lead { margin-inline: auto; }
.section--dark .lead { color: #b9cdd0; }
p { margin: 0 0 1em; }
strong { font-weight: 600; color: var(--color-heading); }
.section--dark strong { color: #fff; }

/* Akzent in Überschriften (RoVa Green) */
.accent-italic { font-style: normal; font-weight: 600; color: var(--color-primary); }
.section--dark .accent-italic { color: var(--color-mint); }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
/* Gedrückt-Zustand: kurzer „Druck", hebt die Hover-Anhebung auf */
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary {
  background: var(--color-mint);
  color: var(--color-ink);
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover { background: var(--color-mint-strong); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--color-heading);
  box-shadow: inset 0 0 0 1.5px var(--color-border-strong);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--color-ink); transform: translateY(-2px); }

.btn--light {
  background: #fff;
  color: var(--color-ink);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--block { width: 100%; }
.btn--lg { padding: 17px 30px; font-size: 1.05rem; }

/* Textlink mit Flow-Pfeil */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
  color: var(--color-accent);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- 7. Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 234, .72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(246, 242, 234, .9);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
/* Logo: Tagline („AI · PRODUCTIVITY · FLOW") ist im PNG eingebacken und wird
   über einen Clip-Container abgeschnitten – nur die obere Wortmarke bleibt sichtbar. */
.nav__brand {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  overflow: hidden;
  height: var(--logo-h);
}
.nav__logo {
  height: calc(var(--logo-h) * 1.25);  /* untere ~20 % (Tagline) werden weggeschnitten */
  width: auto;
  display: block;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}
.nav__link {
  font-weight: 550;
  font-size: .94rem;
  color: var(--color-text);
  white-space: nowrap; /* Menüpunkte nie zweizeilig („Warum RoVa", „Über uns") */
  padding: 9px 11px;
  border-radius: 9px;
  position: relative;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover { color: var(--color-ink); background: rgba(1, 43, 52, .05); }
.nav__link.is-active { color: var(--color-accent); }

.nav__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  box-shadow: inset 0 0 0 1.5px var(--color-border-strong);
}
.nav__toggle span {
  position: relative;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 8. Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; }
.hero__flow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__flow svg { position: absolute; right: -6%; top: 2%; width: min(960px, 82%); opacity: .95; }
.hero__flow-line {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: flow-draw 2.4s var(--ease) .25s forwards;
}
.hero__flow-arrow {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: flow-pop .5s var(--ease) 2.3s forwards;
}
@keyframes flow-draw { to { stroke-dashoffset: 0; } }
@keyframes flow-pop { 0% { opacity: 0; transform: scale(.4) translateY(6px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero__flow-line { stroke-dashoffset: 0; animation: none; }
  .hero__flow-arrow { opacity: 1; animation: none; }
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 550;
  color: var(--color-muted);
  margin-bottom: 26px;
}
.hero__pill b { color: var(--color-ink); font-weight: 700; }
.hero__pill .tag {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .76rem;
}
.hero h1 { margin-bottom: 22px; }
.hero__sub { max-width: 540px; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__trust {
  display: flex; align-items: center; gap: 10px;
  font-size: .92rem; color: var(--color-muted);
}
.hero__trust svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; }

/* Hero-Markenpanel */
.hero__panel {
  position: relative;
  background: linear-gradient(155deg, #00505a 0%, #003F46 55%, #002B31 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
.hero__panel::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 80% 0%, rgba(45,226,255,.20), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(95,203,161,.16), transparent 60%);
  z-index: -1;
}
.hero__panel-logo {
  width: 132px;
  margin-bottom: 30px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
}
.hero__panel h2 {
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 24px;
  font-weight: 500;
}
.hero__chips { display: flex; flex-direction: column; gap: 12px; }
.hero__chip {
  display: flex; align-items: center; gap: 13px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 13px 16px;
  color: #dceaec;
  font-weight: 500;
  font-size: .98rem;
}
.hero__chip svg { width: 20px; height: 20px; color: #9FE6C4; flex-shrink: 0; }

/* Hero-Produktpanel: Dienstplaner-Vorschau als erster, konkreter Beweis */
.hero__panel--product { padding: 30px; }
.hero__panel--product .product__badge { margin-bottom: 18px; }
.hero__panel--product h2 { font-size: 1.28rem; margin-bottom: 18px; }
.hero__panel--product .planner__body { padding: 16px; }
.hero__panel-note { color: #c4d6d8; font-size: .93rem; line-height: 1.55; margin: 16px 0 10px; }

/* ---------- 9. Logo-Laufband (Tonalität / Werte) ---------- */
.marquee {
  border-block: 1px solid var(--color-border);
  background: var(--color-surface-2);
  padding-block: 20px;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll-x 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--color-primary);
  white-space: nowrap;
}
.marquee__item::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-mint-strong); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- 9b. Zahlen-/Beweis-Band ---------- */
.section--stats { padding-block: clamp(36px, 4vw, 56px); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  color: var(--color-ink);
  margin-bottom: 6px;
}
.stat__label { color: var(--color-muted); font-size: .95rem; line-height: 1.5; }
.stats__foot { margin-top: 14px; font-size: .8rem; color: var(--color-muted-light); }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr; } }

/* ---------- 10. Problem-Sektion ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.problem-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--color-border-strong); }
.problem-card__mark {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.problem-card__mark svg { width: 21px; height: 21px; }
.problem-card p { margin: 0; font-size: .99rem; color: var(--color-text); }

/* ---------- 11. Lösung / Nutzen ---------- */
.solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.benefit-list { display: grid; gap: 4px; }
.benefit {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}
.benefit:last-child { border-bottom: none; }
.benefit__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--color-ink);
  color: #fff;
}
.benefit__icon svg { width: 21px; height: 21px; }
.benefit h3 { font-size: 1.12rem; margin-bottom: 3px; font-family: var(--font-body); font-weight: 700; color: var(--color-heading); }
.benefit p { margin: 0; font-size: .96rem; color: var(--color-muted); }

/* ---------- 12. Zielgruppen ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
/* Zwei gleichwertige Karten (Kita + Pflege) statt drei */
.audience-grid--two { grid-template-columns: repeat(2, 1fr); }

/* KMU „leise": ruhiges Band unterhalb der Hauptzielgruppen */
.audience-aside {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px 28px;
}
.audience-aside__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.audience-aside__icon svg { width: 24px; height: 24px; }
.audience-aside h3 { font-size: 1.18rem; margin-bottom: 6px; }
.audience-aside p { margin: 0; font-size: .96rem; color: var(--color-muted); }
.audience-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.audience-card::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-mint-strong));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.audience-card:hover::before { transform: scaleX(1); }
.audience-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--color-ink);
  color: #fff;
  margin-bottom: 22px;
}
.audience-card__icon svg { width: 28px; height: 28px; }
.audience-card h3 { margin-bottom: 12px; }
.audience-card__intro { color: var(--color-muted); font-size: .98rem; margin-bottom: 18px; }
.audience-card__list { display: grid; gap: 9px; margin-bottom: 22px; }
.audience-card__list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .95rem; color: var(--color-text);
}
.audience-card__list li svg { width: 17px; height: 17px; color: var(--color-accent); flex-shrink: 0; margin-top: 4px; }
.audience-card__note {
  margin-top: auto;
  background: var(--color-surface-2);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 10px 10px 0;
  padding: 13px 15px;
  font-size: .88rem;
  color: var(--color-muted);
  line-height: 1.5;
}
.audience-card__note b { color: var(--color-heading); }

/* ---------- 13. Leistungen ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card {
  display: flex;
  gap: 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--color-border-strong); }
.service-card__num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: normal;
  color: var(--color-accent);
  width: 54px; height: 54px;
  border-radius: 15px;
  background: var(--color-accent-soft);
  display: grid; place-items: center;
}
.service-card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.service-card p { margin: 0 0 14px; font-size: .97rem; color: var(--color-muted); }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.service-card__tags span {
  font-size: .8rem; font-weight: 550;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-teal-soft);
  padding: 5px 11px; border-radius: 999px;
}
.service-card p em { font-style: italic; color: var(--color-text); }

/* ---------- 13b. Praxisbeispiele ---------- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usecase-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.usecase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--color-border-strong); }
.usecase-card__icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  margin-bottom: 18px;
}
.usecase-card__icon svg { width: 25px; height: 25px; }
.usecase-card h3 { font-size: 1.16rem; margin-bottom: 9px; }
.usecase-card p { margin: 0 0 18px; font-size: .96rem; color: var(--color-muted); }
.usecase-card p.usecase-card__result {
  margin: -6px 0 16px;
  font-size: .88rem;
  font-weight: 650;
  color: var(--color-accent-dark);
}
.usecase-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.usecase-card__tag {
  font-size: .78rem; font-weight: 700;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  padding: 5px 12px; border-radius: 999px;
}
.usecase-card__link { font-weight: 650; font-size: .9rem; color: var(--color-accent); }
.usecase-card__link:hover { color: var(--color-accent-dark); text-decoration: underline; }
.usecase-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 18px; text-align: center;
  margin-top: clamp(28px, 4vw, 44px);
}
.usecase-cta p { margin: 0; font-weight: 600; color: var(--color-heading); max-width: none; }

/* ---------- 14. Produkt / Diensturlaubsplaner ---------- */
.product { position: relative; }
.product__inner {
  display: grid;
  grid-template-columns: 1fr; /* einspaltig – die Dienstplan-Vorschau zeigt bereits das Hero-Panel */
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
  max-width: 900px;
}
.product__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(95,203,161,.16);
  color: #9FE6C4;
  border: 1px solid rgba(95,203,161,.32);
  font-weight: 650; font-size: .82rem;
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 20px;
}
.product__badge i { width: 8px; height: 8px; border-radius: 50%; background: #9FE6C4; display: inline-block; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0%,100%{opacity:1; transform:scale(1);} 50%{opacity:.4; transform:scale(.7);} }
.product__features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 26px 0 30px; }
.product__features li { display: flex; gap: 10px; align-items: center; font-size: .96rem; color: #cfe0e2; }
.product__features svg { width: 17px; height: 17px; color: #9FE6C4; flex-shrink: 0; }
.product__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.product__cta-link {
  display: inline-flex; align-items: center;
  font-weight: 650; font-size: .96rem;
  color: #9FE6C4;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.product__cta-link:hover { border-bottom-color: #9FE6C4; }
.product__hint {
  display: flex; align-items: center; gap: 10px;
  margin: 20px 0 0;
  font-size: .9rem; color: #b9cdd0;
}
.product__hint svg { width: 18px; height: 18px; color: #9FE6C4; flex-shrink: 0; }

/* Mock-Visual des Planers */
.planner {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.5);
}
.planner__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
}
.planner__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--color-border-strong); }
.planner__bar span { margin-left: 8px; font-size: .82rem; font-weight: 600; color: var(--color-muted); }
.planner__body { padding: 20px; }
.planner__row { display: grid; grid-template-columns: 92px repeat(5, 1fr); gap: 6px; align-items: center; margin-bottom: 6px; }
.planner__row--head .planner__cell { color: var(--color-muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: none; padding: 4px; }
.planner__name { font-size: .85rem; font-weight: 650; color: var(--color-heading); }
.planner__cell {
  height: 30px; border-radius: 7px;
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; color: #fff;
  background: var(--color-surface-2);
}
.planner__cell.d-frueh { background: #003F46; }
.planner__cell.d-spaet { background: #1f6b7a; }
.planner__cell.d-url   { background: #f0a92e; color: #4a3000; }
.planner__cell.d-krank { background: #e4694e; }
.planner__cell.d-fort  { background: var(--color-mint-strong); color: var(--color-ink); }
.planner__cell.d-frei  { background: var(--color-surface-2); color: var(--color-muted-light); }
.planner__legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--color-border); }
.planner__legend span { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--color-muted); font-weight: 550; }
.planner__legend i { width: 13px; height: 13px; border-radius: 4px; }

/* ---------- 15. Vorgehen ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step { position: relative; padding-top: 8px; }
.process-step__num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 600; font-style: normal;
  color: var(--color-accent);
  line-height: 1;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.process-step__num::after {
  content: ""; flex: 1; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--color-border-strong) 0 6px, transparent 6px 12px);
}
.process-step:last-child .process-step__num::after { display: none; }
.process-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.process-step p { margin: 0; font-size: .95rem; color: var(--color-muted); }

/* ---------- 16. Warum RoVa ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.why-item:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); }
.why-item__icon { color: #9FE6C4; margin-bottom: 16px; }
.why-item__icon svg { width: 26px; height: 26px; }
.why-item h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; font-family: var(--font-body); font-weight: 700; }
.why-item p { margin: 0; color: #b9cdd0; font-size: .95rem; }

/* ---------- 16b. Über uns / Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 920px;
}
.team-card {
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--color-border-strong); }
.team-card__avatar {
  flex-shrink: 0;
  width: 84px; height: 84px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(155deg, #00505a, #003F46 60%, #002B31);
  box-shadow: inset 0 0 0 3px var(--color-mint-strong);
  letter-spacing: .02em;
}
/* Wenn ein echtes Foto eingesetzt wird: <img class="team-card__avatar" ...> */
img.team-card__avatar { object-fit: cover; }
.team-card__body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.team-card__role { margin: 0 0 8px; font-size: .9rem; font-weight: 600; color: var(--color-accent); }
.team-card__bio { margin: 0; font-size: .95rem; color: var(--color-muted); }
.team-note {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 26px 0 0;
  font-size: .95rem; color: var(--color-muted);
}
.team-note svg { width: 19px; height: 19px; color: var(--color-accent); flex-shrink: 0; }

/* ---------- 17. Roadmap ---------- */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.roadmap::before {
  content: ""; position: absolute; left: 0; right: 0; top: 30px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-border-strong) 0 7px, transparent 7px 14px);
  z-index: 0;
}
.phase { position: relative; z-index: 1; }
.phase__dot {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-border-strong);
  display: grid; place-items: center;
  font-family: var(--font-display); font-style: normal; font-weight: 600;
  font-size: 1.3rem; color: var(--color-primary);
  margin-bottom: 22px;
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.phase:hover .phase__dot { border-color: var(--color-accent); color: var(--color-accent); transform: scale(1.06); }
.phase--now .phase__dot { background: var(--color-mint); border-color: var(--color-mint-strong); color: var(--color-ink); box-shadow: var(--shadow-accent); }
.phase__tag {
  font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 6px; display: block;
}
.phase h3 { font-size: 1.18rem; margin-bottom: 8px; }
.phase p { margin: 0; font-size: .92rem; color: var(--color-muted); }

/* ---------- 18. FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-item__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  text-align: left;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  font-weight: 500;
  color: var(--color-heading);
  transition: color .2s var(--ease);
}
.faq-item__q:hover { color: var(--color-accent); }
.faq-item__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-ink);
  transition: transform .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.faq-item__icon svg { width: 16px; height: 16px; }
.faq-item.is-open .faq-item__icon { background: var(--color-mint); color: var(--color-ink); transform: rotate(45deg); }
.faq-item__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s var(--ease);
}
.faq-item__a-inner { padding: 0 4px 26px; color: var(--color-muted); font-size: 1rem; max-width: 68ch; }
.faq-item__a-inner a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s var(--ease);
}
.faq-item__a-inner a:hover { color: var(--color-accent-dark); }

/* ---------- 19. Kontakt / CTA ---------- */
.cta {
  position: relative;
  background: linear-gradient(150deg, #00505a, #003F46 60%, #002B31);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 76px);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 88% 8%, rgba(45,226,255,.18), transparent 60%),
    radial-gradient(50% 60% at 4% 100%, rgba(95,203,161,.16), transparent 55%);
}
.cta__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta p { color: #c4d6d8; margin-bottom: 0; max-width: 460px; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; }
.cta__meta { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.cta__meta a, .cta__meta span { display: inline-flex; align-items: center; gap: 11px; color: #cfe0e2; font-size: .96rem; font-weight: 500; }
.cta__meta svg { width: 18px; height: 18px; color: #9FE6C4; flex-shrink: 0; }
.cta__meta a:hover { color: #fff; }

/* „So geht es weiter"-Schritte im Kontaktblock */
.cta__steps { display: grid; gap: 14px; margin-top: 26px; }
.cta__steps li { display: flex; align-items: flex-start; gap: 14px; }
.cta__steps li span {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--color-mint); color: var(--color-primary-dark);
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
}
.cta__steps li p { font-size: .98rem; margin-top: 3px; }
.cta__steps li strong { color: #fff; }

/* Eingebettetes Jotform-Formular (rechte Spalte des Kontaktblocks) */
.cta__form { min-width: 0; }
.cta p.cta__form-lead { font-size: .88rem; font-weight: 600; color: #9FE6C4; margin-bottom: 12px; max-width: none; }
.cta__form iframe {
  display: block;
  width: 100%;
  height: 920px;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.cta p.cta__form-note { font-size: .82rem; color: #8ba3a6; margin-top: 12px; max-width: none; line-height: 1.5; }
.cta__form-note a { color: var(--color-mint); text-decoration: underline; text-underline-offset: 2px; }
.cta__form-note a:hover { color: #fff; }

/* ---------- 20. Footer ---------- */
.footer { background: var(--color-ink-deep); color: #9fb4b7; padding-block: 64px 32px; }
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer__logo {
  width: 150px;
  height: 56px;            /* schneidet die eingebackene Tagline unten ab */
  object-fit: cover;
  object-position: top;
  margin-bottom: 18px;
}
.footer__about { font-size: .94rem; line-height: 1.6; color: #8ba3a6; max-width: 300px; }
.footer__col h4 {
  font-family: var(--font-body); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; color: #d7e3e4; margin-bottom: 16px;
}
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { font-size: .94rem; color: #9fb4b7; transition: color .2s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; padding-top: 26px;
  font-size: .85rem; color: #6f888b;
}
.footer__tag {
  font-family: var(--font-display); font-style: normal; font-weight: 600;
  color: #b9cdd0;
}
.footer__note {
  margin-top: 18px; padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  font-size: .8rem; color: #7d9598; line-height: 1.5;
}

/* ---------- 21. Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { max-width: 520px; }
  .problem-grid, .audience-grid, .usecase-grid, .why, .roadmap { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .roadmap::before { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__menu, .nav__actions .btn { display: none; }
  .nav__toggle { display: flex; }

  /* mobiles Menü */
  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: fixed;
    top: 76px; left: 0; right: 0;
    margin: 0;
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 24px 26px;
    box-shadow: var(--shadow);
    animation: slide-down .3s var(--ease);
  }
  .nav__menu.is-open .nav__link { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav__menu.is-open .nav__link::after { display: none; }
  .nav__menu.is-open .nav__mobile-cta { display: block; margin-top: 12px; }
  @keyframes slide-down { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

  .solution, .product__inner { grid-template-columns: 1fr; }
  /* minmax(0,1fr): Spur darf schmaler werden als der nowrap-Button (sonst läuft die Kontaktkarte über) */
  .cta__inner { grid-template-columns: minmax(0, 1fr); }
  .problem-grid, .audience-grid, .usecase-grid, .services-grid, .why, .process, .roadmap, .team-grid, .footer__top {
    grid-template-columns: 1fr;
  }
  .product__features { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .cta { padding: 32px 22px; }
  .planner__row { grid-template-columns: 70px repeat(5, 1fr); }
}

.nav__mobile-cta { display: none; }

@media (min-width: 761px) {
  .nav__mobile-cta { display: none !important; }
}

/* ---------- 23. Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal { max-width: 820px; margin-inline: auto; }
.legal__back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--color-accent); font-weight: 600; font-size: .95rem;
  margin-bottom: 28px;
}
.legal__back svg { width: 16px; height: 16px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }
.legal h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin: 40px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}
.legal h2:first-of-type { border-top: none; padding-top: 0; }
.legal h3 { font-size: 1.15rem; margin: 22px 0 8px; font-family: var(--font-body); font-weight: 700; }
.legal p { color: var(--color-text); margin: 0 0 1em; max-width: 68ch; }
.legal a { color: var(--color-accent); }
.legal a:hover { text-decoration: underline; }
.legal ul { list-style: disc; margin: 0 0 1em; padding-left: 22px; }
.legal ul li { margin-bottom: .5em; color: var(--color-text); }
.legal .legal__meta { color: var(--color-muted); font-size: .92rem; margin-bottom: 36px; }
.legal .legal__note {
  background: var(--color-surface-2);
  border-left: 3px solid var(--color-mint-strong);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px; margin: 8px 0 28px;
  font-size: .92rem; color: var(--color-muted);
}
.legal .legal__note b { color: var(--color-heading); }

/* ---------- 24. Sehr große Displays (z. B. 33" / WQHD+ / 4K) ---------- */
/* Verhindert, dass Inhalt als schmale Spalte in der Bildschirmmitte „verloren" wirkt:
   Container wird breiter, Basis-Schrift skaliert dezent mit. */
@media (min-width: 1600px) {
  :root { --container: 1340px; --logo-h: 38px; }
  body { font-size: 1.125rem; }
  .nav { height: 86px; }
  .nav__link { font-size: 1.02rem; padding: 10px 16px; }
  .container { padding-inline: 32px; }
}
@media (min-width: 2000px) {
  :root { --container: 1520px; --logo-h: 44px; }
  body { font-size: 1.1875rem; }
  .nav { height: 94px; }
  .hero__inner { gap: clamp(56px, 5vw, 96px); }
  .hero__panel-logo { width: 152px; }
  .footer__logo { width: 172px; height: 64px; }
}
@media (min-width: 2400px) {
  :root { --container: 1720px; --logo-h: 50px; }
  body { font-size: 1.25rem; }
  .nav { height: 102px; }
  .container { padding-inline: 40px; }
}
