/* ========================================================================
   CareTable Landing — Eingliederungshilfe
   Extrahiert aus der Hauptwebsite (globals.css) — Tokens + benötigte Patterns.
   ====================================================================== */

/* Lokal gehostete Fonts — keine Verbindung zu Google-Servern (DSGVO). */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("fonts/caveat-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CardiumA";
  src: url("fonts/CardiumA-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CardiumA";
  src: url("fonts/CardiumA-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CardiumA";
  src: url("fonts/CardiumA-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ct-yellow:           #f2d028;
  --ct-yellow-soft:      #fae89a;
  --ct-yellow-deep:      #d9b820;
  --ct-yellow-pale:      #fdf6dd;

  --ct-petrol:           #073946;
  --ct-petrol-700:       #0a4a5d;
  --ct-petrol-500:       #2a6675;
  --ct-petrol-300:       #6f9099;
  --ct-petrol-100:       #c9d6da;

  --ct-canvas:           #f5f7fc;
  --ct-canvas-pure:      #ffffff;
  --ct-canvas-warm:      #fbf6e8;

  --ct-ink:              #0d2d36;
  --ct-body:             #2f4d57;
  --ct-muted:            #5a727b;
  --ct-muted-soft:       #8aa0a8;
  --ct-on-dark:          #f5f7fc;
  --ct-on-dark-muted:    #b9c8cd;
  --ct-on-yellow:        #073946;

  --ct-hairline:         #d8e0e6;
  --ct-hairline-soft:    #e7ecef;
  --ct-border-strong:    #b6c3c9;

  --ct-shadow-card:
    rgba(7, 57, 70, 0.04) 0 0 0 1px,
    rgba(7, 57, 70, 0.06) 0 2px 6px 0,
    rgba(7, 57, 70, 0.10) 0 8px 24px -4px;
  --ct-shadow-soft:
    rgba(7, 57, 70, 0.06) 0 1px 2px,
    rgba(7, 57, 70, 0.05) 0 4px 12px -2px;
  --ct-shadow-pop:
    rgba(7, 57, 70, 0.08) 0 2px 4px,
    rgba(7, 57, 70, 0.14) 0 16px 40px -8px;

  --ct-font-display: "CardiumA", "Source Serif Pro", "Georgia", serif;
  --ct-font-body:    "Inter", -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ct-radius-sm:   8px;
  --ct-radius-md:   14px;
  --ct-radius-lg:   24px;

  --ct-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ct-canvas);
  color: var(--ct-ink);
  font-family: var(--ct-font-body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ct-font-display);
  color: var(--ct-ink);
  margin: 0 0 0.5em 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
  text-wrap: balance;
}
p  { margin: 0 0 1em 0; max-width: 68ch; text-wrap: pretty; }
::selection { background: var(--ct-yellow); color: var(--ct-on-yellow); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section--petrol { background: var(--ct-petrol); color: var(--ct-on-dark); }
.section--warm   { background: var(--ct-canvas-warm); }
.section--petrol h1, .section--petrol h2, .section--petrol h3 { color: var(--ct-on-dark); }

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 8px;
  font-family: var(--ct-font-body); font-weight: 500; font-size: 15px;
  border: 0; cursor: pointer; text-decoration: none;
  transition: background 160ms ease, transform 80ms ease, color 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--ct-yellow); outline-offset: 3px; }
.btn--primary { background: var(--ct-yellow); color: var(--ct-on-yellow); }
.btn--primary:hover { background: var(--ct-yellow-deep); }
.btn--ghost { background: transparent; color: var(--ct-ink); border: 1px solid var(--ct-border-strong); }
.btn--ghost:hover { border-color: var(--ct-petrol); }
.btn--ghost-on-dark { background: transparent; color: var(--ct-on-dark); border: 1px solid rgba(245,247,252,0.35); }
.btn--ghost-on-dark:hover { border-color: var(--ct-yellow); }
.btn--petrol { background: var(--ct-petrol); color: var(--ct-on-dark); }
.btn--petrol:hover { background: var(--ct-petrol-700); }
.btn--lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn--md { height: 44px; padding: 0 18px; font-size: 14px; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }

/* ------------------------------------------------------------------- Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 88px;
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, height 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(245, 247, 252, 0.94);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--ct-hairline);
  box-shadow: 0 4px 18px -10px rgba(7,57,70,0.18);
}
.nav__inner {
  width: 100%; max-width: 1240px; margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; gap: 32px;
}
.nav__logo { height: 28px; display: block; }
.nav__logo--dark { display: block; }
.nav__logo--light { display: none; }
.nav.is-scrolled .nav__logo--dark { display: none; }
.nav.is-scrolled .nav__logo--light { display: block; }

.nav__links { display: flex; gap: 6px; flex: 1; justify-content: center; }
.nav__link {
  font-size: 15px; font-weight: 500;
  color: var(--ct-on-dark);
  text-decoration: none; padding: 8px 14px; border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}
.nav__link:hover { background: rgba(245,247,252,0.10); }
.nav.is-scrolled .nav__link { color: var(--ct-ink); }
.nav.is-scrolled .nav__link:hover { background: rgba(7,57,70,0.06); }
.nav__link.is-active { background: var(--ct-petrol); color: var(--ct-on-dark); }
.nav.is-scrolled .nav__link.is-active { background: var(--ct-petrol); color: var(--ct-on-dark); }
.nav__actions { display: flex; gap: 10px; align-items: center; }

/* ----------------------------------------------------- Photo placeholder */
.photo {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #fbf6e8 0%, #fae89a 60%, #f2d028 100%);
  border-radius: var(--ct-radius-lg);
}
.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 28% 30%, rgba(255,255,255,0.55), transparent 42%),
    radial-gradient(circle at 80% 70%, rgba(7,57,70,0.10), transparent 50%);
}
.photo--petrol { background: linear-gradient(160deg, #0a4a5d 0%, #073946 60%, #00222b 100%); }
.photo--petrol::after {
  background:
    radial-gradient(circle at 25% 25%, rgba(242,208,40,0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05), transparent 50%);
}
.photo--cream { background: linear-gradient(160deg, #fbf6e8 0%, #f3e6c2 60%, #e8d28f 100%); }
.photo--mint  { background: linear-gradient(160deg, #dfeaee 0%, #b8d2d8 60%, #8aa0a8 100%); }
.photo--peach { background: linear-gradient(160deg, #f6e0db 0%, #ecbcae 60%, #d49887 100%); }

.photo__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  z-index: 1;
}
.photo:has(.photo__img)::after { display: none; }

.photo__note {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(255,255,255,0.94); border-radius: 999px;
  padding: 6px 12px; font-size: 11px; font-weight: 600; color: var(--ct-petrol);
  letter-spacing: 0.04em;
  max-width: calc(100% - 36px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.photo__caption {
  position: absolute; left: 20px; bottom: 20px; right: 20px; z-index: 2;
  background: rgba(255,255,255,0.96); border-radius: 14px; padding: 14px 18px;
  display: flex; gap: 14px; align-items: center;
  box-shadow: var(--ct-shadow-pop);
}
.photo__caption .avatar {
  width: 40px; height: 40px; border-radius: 9999px;
  background: linear-gradient(135deg,#073946,#2a6675);
  display: flex; align-items: center; justify-content: center;
  color: var(--ct-yellow); font-weight: 700; flex: 0 0 auto;
}
.photo__caption .who   { color: var(--ct-ink); font-weight: 600; font-size: 14px; }
.photo__caption .where { color: var(--ct-muted); font-size: 12px; }

/* ------------------------------------------------------------------ Hero */
.hero { padding: 144px 0 0; position: relative; overflow: hidden; }
.hero--petrol { background: var(--ct-petrol); color: var(--ct-on-dark); }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px; align-items: center; padding-bottom: 96px;
}
.hero__title {
  font-family: var(--ct-font-display);
  font-size: 56px; font-weight: 700; line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ct-on-dark);
}
.hero__num {
  display: inline-block; min-width: 0.85em;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  margin-right: 0.08em;
}
.hero__title em { font-style: normal; color: var(--ct-yellow); }
.hero__lede { font-size: 19px; line-height: 1.55; max-width: 520px; color: var(--ct-on-dark-muted); }
.hero__cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero__photo { aspect-ratio: 4/5; box-shadow: rgba(0,0,0,0.20) 0 30px 80px -20px; }
.hero__trustline {
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 247, 252, 0.15);
  font-size: 14px;
  color: var(--ct-on-dark-muted);
}
.hero__trustline strong { color: var(--ct-yellow); font-weight: 700; }

/* -------------------------------------------------- Headlines & sections */
.h-section {
  font-family: var(--ct-font-display);
  font-size: 40px; font-weight: 700; line-height: 1.08;
  letter-spacing: -0.02em; margin: 14px 0 0; text-wrap: balance;
}
.lede {
  font-size: 18px; line-height: 1.55; color: var(--ct-body);
  max-width: 600px; margin: 16px 0 0;
}
.section--petrol .lede { color: var(--ct-on-dark-muted); }

.section__head {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px;
  margin-bottom: 56px; align-items: end;
}
.section__head--center { display: block; text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section__head--center .lede { margin-left: auto; margin-right: auto; }

.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.center { text-align: center; }

/* -------------------------------------------------------------- Hotspots */
.hotspots { display: flex; flex-direction: column; gap: 18px; }
.hotspots__photo {
  position: relative;
  width: 100%; aspect-ratio: 16 / 8;
  border-radius: 22px;
  overflow: visible;
  box-shadow: var(--ct-shadow-card);
}
.hotspots__caption {
  font-size: 14px; color: var(--ct-body); text-align: center;
}

.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.hotspot.is-open { z-index: 5; }

/* Mobile-Akkordeon unter dem Hotspot-Foto — auf Desktop ausgeblendet. */
.hotspots__acc { display: none; }
.hotspots__acc-item {
  background: var(--ct-canvas-pure);
  border: 1px solid var(--ct-hairline-soft);
  border-radius: 12px;
  box-shadow: var(--ct-shadow-soft);
}
.hotspots__acc-item summary {
  cursor: pointer; list-style: none;
  padding: 14px 18px;
  font-family: var(--ct-font-display);
  font-size: 16px; font-weight: 700; color: var(--ct-ink);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.hotspots__acc-item summary::-webkit-details-marker { display: none; }
.hotspots__acc-item summary::after {
  content: "+"; font-size: 20px; color: var(--ct-muted); flex: 0 0 auto;
  font-family: var(--ct-font-body); font-weight: 400;
}
.hotspots__acc-item[open] summary::after { content: "−"; }
.hotspots__acc-body {
  padding: 0 18px 14px;
  font-size: 14px; line-height: 1.55; color: var(--ct-body);
}
.hotspots__acc-body p { margin: 0; max-width: none; }

.hotspot__dot {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 9999px;
  background: var(--ct-yellow);
  border: 3px solid var(--ct-canvas-pure);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 14px -4px rgba(7,57,70,0.4), 0 0 0 1px rgba(7,57,70,0.08);
  transition: transform 200ms var(--ct-ease);
}
.hotspot__dot:hover,
.hotspot__dot:focus-visible { transform: scale(1.12); }
.hotspot__dot:focus-visible { outline: 3px solid var(--ct-petrol); outline-offset: 4px; }

.hotspot__pulse {
  position: absolute; inset: -3px;
  border-radius: 9999px;
  background: var(--ct-yellow);
  opacity: 0.5;
  animation: hotspot-pulse 1.8s var(--ct-ease) infinite;
}
.hotspot.is-open .hotspot__pulse { animation-play-state: paused; opacity: 0; }

@keyframes hotspot-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}


/* Pill und Card haben dieselbe Breite (max-content, gedeckelt) — beim
   Öffnen wächst nur die Höhe. Das hält den Übergang ruhig. */
.hotspot__tip {
  position: absolute;
  background: var(--ct-canvas-pure);
  color: var(--ct-ink);
  border-radius: 18px;
  padding: 7px 14px;
  width: max-content;
  max-width: 250px;
  box-shadow:
    0 1px 2px rgba(7,57,70,0.08),
    0 4px 14px -6px rgba(7,57,70,0.20);
  transition:
    border-radius 260ms var(--ct-ease),
    padding 260ms var(--ct-ease),
    box-shadow 260ms var(--ct-ease);
}
.hotspot.is-open .hotspot__tip {
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow:
    0 1px 2px rgba(7,57,70,0.06),
    0 12px 28px -12px rgba(7,57,70,0.28),
    0 24px 60px -24px rgba(7,57,70,0.32);
}

.hotspot--top    .hotspot__tip { left: 50%; bottom: calc(100% + 14px); transform: translate(-50%, 0); }
.hotspot--bottom .hotspot__tip { left: 50%; top: calc(100% + 14px);    transform: translate(-50%, 0); }
.hotspot--left   .hotspot__tip { right: calc(100% + 14px); top: 50%;    transform: translate(0, -50%); }
.hotspot--right  .hotspot__tip { left:  calc(100% + 14px); top: 50%;    transform: translate(0, -50%); }

.hotspot__tip::after {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  background: var(--ct-canvas-pure);
  transform: rotate(45deg);
}
.hotspot--top    .hotspot__tip::after { left: 50%; bottom: -5px; margin-left: -5px;
  box-shadow: 4px 4px 8px -4px rgba(7,57,70,0.18); }
.hotspot--bottom .hotspot__tip::after { left: 50%; top: -5px;    margin-left: -5px;
  box-shadow: -2px -2px 6px -3px rgba(7,57,70,0.10); }
.hotspot--left   .hotspot__tip::after { right: -5px; top: 50%;   margin-top: -5px;
  box-shadow: 4px -4px 8px -4px rgba(7,57,70,0.18); }
.hotspot--right  .hotspot__tip::after { left: -5px;  top: 50%;   margin-top: -5px;
  box-shadow: -4px 4px 8px -4px rgba(7,57,70,0.18); }

.hotspot__tip-title {
  font-family: var(--ct-font-display);
  font-size: 14px; font-weight: 700; color: var(--ct-ink); line-height: 1.3;
  letter-spacing: -0.005em;
}
/* Body fährt über den Grid-Rows-Trick weich aus (0fr → 1fr) statt hart
   per display umzuschalten. Der innere <span> liefert das overflow-Clipping. */
.hotspot__tip-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  font-size: 13px; line-height: 1.5; color: var(--ct-body);
  transition:
    grid-template-rows 280ms var(--ct-ease),
    opacity 200ms var(--ct-ease),
    margin-top 280ms var(--ct-ease);
}
.hotspot__tip-body > span {
  overflow: hidden;
  min-height: 0;
}
.hotspot.is-open .hotspot__tip-body {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 5px;
}

/* --------------------------------------- Features (sticky scroll-through) */
.feature-scroll {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.feature-scroll__sticky {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Crossfading visual stack — one per feature, only the active is visible. */
.feature-scroll__photo-stack {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 8px 20px -8px rgba(7, 57, 70, 0.10),
    0 24px 60px -16px rgba(7, 57, 70, 0.20);
}
.feature-scroll__photo {
  position: absolute;
  inset: 0;
  border-radius: 0;
  opacity: 0;
  transition: opacity 600ms var(--ct-ease);
}
.feature-scroll__photo.is-active { opacity: 1; }

.feature-scroll__num {
  font-family: var(--ct-font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ct-petrol);
  margin-top: 4px;
}
.feature-scroll__num::after {
  content: " / 06";
  font-size: 22px;
  color: var(--ct-muted-soft);
  letter-spacing: 0;
}

.feature-scroll__label {
  font-size: 18px;
  color: var(--ct-body);
  font-weight: 500;
  margin-top: -10px;
}

.feature-scroll__progress {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.feature-scroll__progress-dot {
  flex: 1;
  max-width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--ct-hairline);
  transition: background 300ms ease;
}
.feature-scroll__progress-dot.is-active { background: var(--ct-yellow); }

.feature-scroll__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.feature-scroll__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 0 28px 28px;
  border-left: 2px solid var(--ct-hairline);
  transition: border-color 300ms ease, opacity 300ms ease;
  opacity: 0.45;
}
.feature-scroll__item.is-active {
  border-left-color: var(--ct-yellow);
  opacity: 1;
}

/* In-Card-Foto: nur im mobilen Karussell sichtbar — auf Desktop übernimmt
   der Sticky-Stack links die Bebilderung. */
.feature-scroll__item-photo { display: none; }

/* Pfeil-Navigation fürs mobile Karussell — auf Desktop ausgeblendet. */
.feature-scroll__arrows { display: none; }
.feature-scroll__arrow {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--ct-canvas-pure);
  border: 1px solid var(--ct-hairline);
  color: var(--ct-petrol);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: opacity 200ms ease, border-color 200ms ease;
}
.feature-scroll__arrow:focus-visible {
  outline: 3px solid var(--ct-yellow); outline-offset: 3px;
}
.feature-scroll__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.feature-scroll__item-title {
  font-family: var(--ct-font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--ct-petrol);
  letter-spacing: -0.01em;
  margin: 0;
}

.feature-scroll__item-body {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ct-ink);
  margin: 0;
  max-width: 480px;
}


/* ------------------------------------------------------ Scenario posters */
.scenarios-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.scenario-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 320ms var(--ct-ease), box-shadow 320ms var(--ct-ease);
  box-shadow:
    0 1px 2px rgba(7,57,70,0.06),
    0 18px 40px -20px rgba(7,57,70,0.30);
}
.scenario-poster:hover {
  transform: translateY(-3px);
  box-shadow:
    0 1px 2px rgba(7,57,70,0.06),
    0 28px 60px -24px rgba(7,57,70,0.40);
}
.scenario-poster__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 57, 70, 0.85) 0%,
    rgba(7, 57, 70, 0.55) 32%,
    rgba(7, 57, 70, 0.10) 60%,
    rgba(7, 57, 70, 0.00) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.scenario-poster__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 28px 28px 30px;
  color: var(--ct-on-dark);
  display: flex; flex-direction: column; gap: 6px;
}
.scenario-poster__when {
  font-size: 12px; font-weight: 600;
  color: var(--ct-yellow);
  letter-spacing: 0.04em;
  display: inline-flex; align-self: flex-start;
  background: rgba(7, 57, 70, 0.55);
  backdrop-filter: blur(6px);
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(245,247,252,0.18);
  margin-bottom: 6px;
}
.scenario-poster__title {
  font-family: var(--ct-font-display);
  font-size: 26px; font-weight: 700; line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ct-on-dark);
  margin: 0;
}
.scenario-poster__what {
  font-size: 15px; line-height: 1.45;
  color: rgba(245, 247, 252, 0.85);
  margin: 0;
}

/* ------------------------------------------------- Alltag: Tab-Umschalter */
.alltag-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.alltag-tab {
  background: var(--ct-canvas-pure);
  border: 1px solid var(--ct-hairline);
  color: var(--ct-muted);
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.alltag-tab:hover {
  border-color: var(--ct-muted-soft);
  color: var(--ct-petrol);
}
.alltag-tab:focus-visible {
  outline: 3px solid var(--ct-yellow); outline-offset: 3px;
}
.alltag-tab.is-active {
  background: var(--ct-petrol);
  color: var(--ct-on-dark);
  border-color: var(--ct-petrol);
}

/* .scenarios-grid setzt display:grid und würde das hidden-Attribut
   überstimmen — deshalb hier explizit. */
.alltag-panel[hidden] { display: none !important; }
.alltag-panel:not([hidden]) {
  animation: alltag-panel-fade 320ms var(--ct-ease);
}
@keyframes alltag-panel-fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------------ Lead quote */
.lead-quote {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  background: var(--ct-canvas-warm);
  border-radius: 18px;
  padding: 56px;
}
.lead-quote__photo { aspect-ratio: 4/5; border-radius: 14px; }
.lead-quote__body  { position: relative; padding-top: 110px; }
.lead-quote__mark {
  position: absolute; top: -30px; left: -8px;
  font-family: var(--ct-font-display);
  font-size: 140px; line-height: 0.9;
  color: var(--ct-yellow);
  font-weight: 700;
  pointer-events: none;
}
.lead-quote__text {
  font-family: var(--ct-font-display);
  font-size: 32px; font-weight: 500; line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ct-petrol);
  margin: 0 0 28px; padding: 0;
  text-wrap: pretty;
}

.lead-quote--full-photo {
  align-items: stretch;
  padding: 0;
}
.lead-quote--full-photo .lead-quote__photo {
  aspect-ratio: auto;
  height: 100%;
  border-radius: 18px 0 0 18px;
}
.lead-quote--full-photo .lead-quote__body {
  padding-top: 140px;
  padding-right: 56px;
  padding-bottom: 56px;
  padding-left: 0;
}
.lead-quote--full-photo .lead-quote__mark { top: 0; left: 0; }
.lead-quote--full-photo .lead-quote__photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(7, 57, 70, 0) 35%,
    rgba(7, 57, 70, 0.55) 70%,
    rgba(7, 57, 70, 0.92) 100%);
  pointer-events: none;
}
.lead-quote--full-photo .lead-quote__photo-content {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lead-quote--full-photo .lead-quote__photo-name {
  font-family: var(--ct-font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ct-on-dark);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.lead-quote--full-photo .lead-quote__photo-role {
  font-size: 14px;
  color: var(--ct-on-dark-muted);
}

/* --------------------------------------------------------- Price summary */
.price-summary {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0;
  background: var(--ct-canvas-pure);
  border: 1px solid var(--ct-hairline-soft);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--ct-shadow-card);
}
.price-summary__head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ct-on-dark);
  padding: 48px 44px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 460px;
}
.price-summary__head-photo {
  position: absolute; inset: 0;
  z-index: 0;
  border-radius: 0;
}
.price-summary__head-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      135deg,
      rgba(7, 57, 70, 0.94) 0%,
      rgba(7, 57, 70, 0.82) 55%,
      rgba(7, 57, 70, 0.70) 100%
    );
  pointer-events: none;
}
.price-summary__head-content {
  position: relative;
  z-index: 2;
  display: flex; flex-direction: column; gap: 14px;
  flex: 1;
}
.price-summary__num-row { display: flex; align-items: baseline; gap: 10px; }
.price-summary__num-row--sub { margin-top: -2px; }
.price-summary__num {
  font-family: var(--ct-font-display);
  font-size: 64px; font-weight: 700; letter-spacing: -0.02em; line-height: 1;
  color: var(--ct-yellow);
}
.price-summary__num--sub {
  font-size: 36px;
  color: var(--ct-on-dark);
}
.price-summary__period { font-size: 18px; color: var(--ct-on-dark-muted); }
.price-summary__vat { font-size: 13px; color: var(--ct-on-dark-muted); letter-spacing: 0.02em; }
.price-summary__desc { font-size: 15px; line-height: 1.55; color: var(--ct-on-dark-muted); margin: 8px 0 0; }
.price-summary__list {
  padding: 48px 44px;
  display: flex; flex-direction: column; gap: 14px;
}
.price-summary__list-label {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ct-body); font-weight: 700; margin: 0;
}
.price-summary__list ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.price-summary__list li {
  font-size: 15px; line-height: 1.5; color: var(--ct-ink);
  display: flex; gap: 12px; align-items: flex-start;
}
.price-summary__list li::before {
  content: ''; flex: 0 0 auto;
  width: 14px; height: 8px;
  margin-top: 5px;
  border-left: 2px solid var(--ct-petrol);
  border-bottom: 2px solid var(--ct-petrol);
  transform: rotate(-45deg);
}
.price-summary__cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }

/* Förder-Hinweis unter dem Preis-Panel */
.foerder {
  margin-top: 24px;
  background: var(--ct-canvas-warm);
  border-radius: 18px;
  padding: 32px 36px;
  display: flex; gap: 24px; align-items: center;
}
.foerder__avatar {
  width: 64px; height: 64px; border-radius: 999px; flex-shrink: 0;
  aspect-ratio: 1;
}
.foerder__body { flex: 1; }
.foerder__title {
  font-family: var(--ct-font-display);
  font-size: 20px; font-weight: 700; color: var(--ct-petrol);
  margin: 0 0 6px; letter-spacing: -0.01em;
}
.foerder__text { font-size: 15px; line-height: 1.55; color: var(--ct-body); margin: 0; max-width: none; }

/* ------------------------------------------------------------ Trust strip */
.trust-strip {
  margin-top: 56px;
  text-align: center;
}
.trust-strip__label {
  font-size: 14px;
  color: var(--ct-muted);
  margin: 0 auto 20px;
  max-width: none;
}
.trust-strip__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px 24px;
  align-items: center;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.trust-strip__logos img {
  max-height: 42px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 200ms ease;
}
.trust-strip__logos img:hover { opacity: 1; }

/* ------------------------------------------------------------------- FAQ */
.faq { display: flex; flex-direction: column; gap: 8px; max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--ct-canvas-pure); border: 1px solid var(--ct-hairline-soft);
  border-radius: 14px; box-shadow: var(--ct-shadow-soft);
}
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 22px 28px;
  font-family: var(--ct-font-display); font-size: 19px; font-weight: 600; color: var(--ct-ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 24px; color: var(--ct-muted); flex: 0 0 auto;
  font-family: var(--ct-font-body); font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item__body { padding: 0 28px 24px; color: var(--ct-body); font-size: 16px; line-height: 1.6; }
.faq-item__body p { margin: 0; max-width: none; }
.faq-item__body a {
  color: var(--ct-petrol);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--ct-yellow);
}
.faq-item__body a:hover { color: var(--ct-yellow-deep); }

/* ----------------------------------------------------------- Quote cards */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card {
  background: var(--ct-canvas-pure); border: 1px solid var(--ct-hairline-soft);
  border-radius: 14px; padding: 28px; box-shadow: var(--ct-shadow-soft);
  display: flex; flex-direction: column; gap: 18px;
}
.quote-card blockquote {
  margin: 0; font-size: 16px; line-height: 1.6; color: var(--ct-body); flex: 1;
}
.quote-card cite { font-style: normal; display: flex; gap: 12px; align-items: center; }
.quote-card .avatar {
  width: 40px; height: 40px; border-radius: 9999px; flex: 0 0 auto;
  background: linear-gradient(135deg,#073946,#2a6675);
}
.quote-card cite strong { display: block; color: var(--ct-ink); font-size: 14px; font-weight: 600; }
.quote-card cite span { display: block; color: var(--ct-muted); font-size: 12px; }

/* ----------------------------------------------------- CTA hero mit Form */
.kennenlernen-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start; padding-bottom: 96px;
}
.kennenlernen-hero__bullets {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 12px;
}
.kennenlernen-hero__bullets li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 16px; line-height: 1.5; color: var(--ct-on-dark-muted);
}
.kennenlernen-hero__bullets li svg {
  flex-shrink: 0; margin-top: 3px; color: var(--ct-yellow);
  width: 18px; height: 18px;
}

.contact-form {
  background: var(--ct-canvas-pure);
  border-radius: 18px;
  padding: 36px;
  box-shadow:
    0 1px 2px rgba(7,57,70,0.06),
    0 24px 60px -24px rgba(0,0,0,0.45);
  display: flex; flex-direction: column; gap: 14px;
}
.contact-form__title {
  font-family: var(--ct-font-display);
  font-size: 26px; font-weight: 700; color: var(--ct-ink);
  margin: 0; letter-spacing: -0.01em;
}
.contact-form__sub { font-size: 14px; color: var(--ct-muted); margin: 0 0 8px; }

/* Eingebettetes HubSpot-Formular */
#hubspot-form { min-height: 320px; }
#hubspot-form iframe { width: 100% !important; }

.contact-person {
  display: flex; align-items: center; gap: 20px;
  margin-top: 28px; padding: 18px 20px;
  background: rgba(245, 247, 252, 0.06);
  border: 1px solid rgba(245, 247, 252, 0.14);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}
.contact-person__photo {
  width: 96px; height: 96px;
  border-radius: 999px; flex-shrink: 0;
  aspect-ratio: 1;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.35);
}
.contact-person__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.contact-person__name {
  font-family: var(--ct-font-display);
  font-size: 19px; font-weight: 700; color: var(--ct-on-dark);
  letter-spacing: -0.005em;
}
.contact-person__role { font-size: 14px; color: var(--ct-on-dark-muted); }
.contact-person__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.contact-person__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ct-yellow);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}
.contact-person__link:hover { color: var(--ct-canvas-pure); }
.contact-person__link svg { flex-shrink: 0; width: 14px; height: 14px; }

/* ------------------------------------------------------------ Danke-Seite */
.danke {
  padding: 160px 0 96px;
  min-height: 70vh;
}
.danke__wrap {
  max-width: 680px;
  margin: 0 auto;
}
.danke__title {
  font-family: var(--ct-font-display);
  font-size: 44px; font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  text-align: center;
}

.danke__card {
  display: flex; gap: 28px; align-items: flex-start;
  background: var(--ct-canvas-pure);
  border: 1px solid var(--ct-hairline-soft);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--ct-shadow-card);
}
.danke__photo {
  width: 112px; height: 112px;
  border-radius: 999px; flex-shrink: 0;
  aspect-ratio: 1;
  box-shadow: 0 8px 24px -8px rgba(7, 57, 70, 0.30);
}
.danke__message { flex: 1; min-width: 0; }
.danke__message p {
  font-size: 18px; line-height: 1.6;
  color: var(--ct-body);
  margin: 0 0 18px;
  max-width: none;
}
.danke__message a {
  color: var(--ct-petrol);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--ct-yellow);
}
.danke__message a:hover { color: var(--ct-yellow-deep); }
.danke__signature {
  font-family: 'Caveat', cursive;
  font-size: 40px; font-weight: 600;
  color: var(--ct-petrol);
  line-height: 1;
  display: inline-block;
  transform: rotate(-2deg);
}
.danke__role {
  font-size: 13px; color: var(--ct-muted);
  margin-top: 6px;
}

.danke__steps {
  display: flex; flex-direction: column; gap: 0;
  margin-top: 28px;
  background: var(--ct-canvas-pure);
  border: 1px solid var(--ct-hairline-soft);
  border-radius: 18px;
  box-shadow: var(--ct-shadow-soft);
  overflow: hidden;
}
.danke__step {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 28px;
}
.danke__step + .danke__step { border-top: 1px solid var(--ct-hairline-soft); }
.danke__step-num {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ct-canvas);
  border: 1px solid var(--ct-hairline);
  color: var(--ct-muted);
  font-family: var(--ct-font-display);
  font-size: 16px; font-weight: 700;
}
.danke__step--done .danke__step-num {
  background: var(--ct-yellow);
  border-color: var(--ct-yellow);
  color: var(--ct-on-yellow);
}
.danke__step-num svg { width: 16px; height: 16px; }
.danke__step-title {
  font-family: var(--ct-font-display);
  font-size: 17px; font-weight: 700;
  color: var(--ct-ink);
  margin-top: 5px;
}
.danke__step-text {
  font-size: 14px; color: var(--ct-muted);
  line-height: 1.5;
  margin-top: 2px;
}

.danke__extra {
  margin-top: 28px;
  text-align: center;
}
.danke__extra-text {
  font-size: 15px; color: var(--ct-body);
  margin: 0 auto 16px;
  max-width: 48ch;
}
.danke__actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ---------------------------------------------------------------- Footer */
.footer {
  background: var(--ct-petrol); color: var(--ct-on-dark);
  padding: 48px 0 40px;
}
.footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.footer__brand img { height: 26px; }
.footer__tagline { color: var(--ct-on-dark-muted); font-size: 13px; margin: 10px 0 0; }
.footer__links { display: flex; gap: 24px; align-items: center; }
.footer__links a {
  color: var(--ct-on-dark-muted); font-size: 14px; text-decoration: none;
  transition: color 160ms ease;
}
.footer__links a:hover { color: var(--ct-yellow); }
.footer__copy { color: var(--ct-on-dark-muted); font-size: 13px; }

/* --------------------------------------------------------- Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ct-ease), transform 700ms var(--ct-ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* -------------------------------------------------------------- Reduced */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hotspot__pulse { animation: none; opacity: 0.3; }
  .hotspot__dot, .hotspot__tip, .hotspot__tip-title, .hotspot__tip-body { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scenario-poster, .btn { transition: none; }
  .feature-scroll__photo, .feature-scroll__item, .feature-scroll__progress-dot { transition: none; }
  .alltag-panel:not([hidden]) { animation: none; }
  .alltag-tab { transition: none; }
}

/* ------------------------------------------------------------ Responsive */
@media (max-width: 900px) {
  h1, .hero__title { font-size: 36px; }
  .h-section { font-size: 30px; }
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }

  .nav__links { display: none; }

  .hero { padding-top: 120px; }
  .hero__inner, .section__head, .kennenlernen-hero,
  .feature-scroll, .scenarios-grid, .quote-grid,
  .price-summary, .lead-quote {
    grid-template-columns: 1fr;
  }
  .price-summary__num--sub { font-size: 28px; }
  .trust-strip { margin-top: 40px; }
  .trust-strip__logos { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .trust-strip__logos img { max-height: 32px; max-width: 120px; }
  /* Anwendungen: horizontales Swipe-Karussell statt Sticky-Scroll.
     Jede Karte trägt ihr eigenes Bild, die nächste lugt am Rand rein. */
  .feature-scroll { display: block; }
  .feature-scroll__sticky { display: none; }
  .feature-scroll__list {
    flex-direction: row;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 4px 20px 12px;
  }
  .feature-scroll__list::-webkit-scrollbar { display: none; }
  .feature-scroll__item {
    flex: 0 0 84%;
    scroll-snap-align: center;
    opacity: 1;
    border-left: none;
    background: var(--ct-canvas-pure);
    border: 1px solid var(--ct-hairline-soft);
    border-radius: 16px;
    box-shadow: var(--ct-shadow-soft);
    overflow: hidden;
    padding: 0 0 20px;
    gap: 10px;
  }
  .feature-scroll__item-photo {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 0;
  }
  .feature-scroll__item-title { font-size: 20px; padding: 8px 18px 0; }
  .feature-scroll__item-body { font-size: 15px; padding: 0 18px; }
  .feature-scroll__arrows {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 4px;
  }
  .hero__inner { gap: 32px; padding-bottom: 64px; }
  .section__head { gap: 16px; margin-bottom: 36px; }

  .hotspots__photo { aspect-ratio: 4 / 3; }
  /* Mobile: Hotspots ausblenden — stattdessen Akkordeon unter dem Foto. */
  .hotspot { display: none; }
  .hotspots__acc {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
  }

  .scenario-poster { aspect-ratio: 4 / 3; }
  .scenario-poster__title { font-size: 22px; }

  .lead-quote { padding: 32px; gap: 32px; }
  .lead-quote--full-photo { padding: 0; }
  .lead-quote--full-photo .lead-quote__photo {
    border-radius: 18px 18px 0 0;
    aspect-ratio: 4 / 3; height: auto;
  }
  /* Kleineres „-Glyph auf Mobile — 90px × line-height 0.9 ≈ 81px hoch,
     das Body-Padding von 100px hält den Text darunter frei. */
  .lead-quote--full-photo .lead-quote__body {
    padding: 100px 28px 32px 28px;
  }
  .lead-quote--full-photo .lead-quote__mark { left: 20px; font-size: 90px; }
  .lead-quote__text { font-size: 24px; }

  .price-summary__head, .price-summary__list { padding: 32px 28px; }
  .price-summary__head { min-height: 0; }
  .price-summary__num { font-size: 48px; }

  .foerder { flex-direction: column; align-items: flex-start; padding: 28px; }

  .kennenlernen-hero { gap: 32px; padding-bottom: 40px; }
  .contact-form { padding: 24px; }
  .contact-person { flex-wrap: wrap; }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer__brand img { margin: 0 auto; }

  .danke { padding: 120px 0 64px; }
  .danke__title { font-size: 32px; }
  .danke__card { flex-direction: column; align-items: center; text-align: center; padding: 28px 24px; }
  .danke__message p { font-size: 16px; }
  .danke__step { padding: 16px 20px; }
}
