/* ==========================================================================
   VANTRY · vantry.de
   Farben, Schriften und Regeln: siehe 01_BrandGuidelines/CLAUDE.md
   ========================================================================== */

/* ---------- Schriften (lokal, kein CDN) ---------- */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/archivo-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/archivo-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --black: #0B0E0C;      /* Near Black: Haupt-Hintergrund */
  --forest: #07130F;     /* Dark Forest: zweite dunkle Fläche */
  --forest-2: #1D392D;   /* Secondary Forest: Karten, Flächen */
  --ivory: #F3F0E8;      /* Ivory: Text auf Dunkel, helle Sections */
  --sage: #8FA77F;       /* Sage Green: nur Akzent */

  --ivory-88: rgba(243, 240, 232, .88);
  --ivory-72: rgba(243, 240, 232, .72);
  --ivory-56: rgba(243, 240, 232, .56);
  --ivory-20: rgba(243, 240, 232, .2);
  --ivory-12: rgba(243, 240, 232, .12);
  --ivory-08: rgba(243, 240, 232, .08);
  --ink-72: rgba(11, 14, 12, .72);
  --ink-56: rgba(11, 14, 12, .56);
  --ink-16: rgba(11, 14, 12, .16);
  --ink-08: rgba(11, 14, 12, .08);
  --sage-40: rgba(143, 167, 127, .4);

  --ff-display: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --maxw: 1320px;
  --header-h: 72px;
  --section-y: clamp(96px, 12vw, 168px);
  --radius: 12px;
  --radius-xl: clamp(24px, 3vw, 40px);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 18px; } }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--sage); color: var(--black); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }
.section--ivory :focus-visible { outline-color: var(--forest-2); }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ivory); color: var(--black);
  font-weight: 500; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typografie ---------- */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 11px/16px var(--ff-body);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ivory-72);
}
.label::before {
  content: ""; flex: none;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage);
}
/* Micro Label mit kurzem Strich darunter */
.label--rule {
  display: grid; grid-template-columns: auto 1fr;
  align-items: center; justify-items: start;
  column-gap: 12px; row-gap: 20px;
  margin-bottom: 28px;
}
.label--rule::after {
  content: ""; grid-column: 1 / -1;
  width: 48px; height: 1px;
  background: var(--sage-40);
  transform-origin: left;
}
.section--ivory .label { color: var(--ink-72); }
.section--ivory .label--rule::after { background: rgba(29, 57, 45, .45); }

.display {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(46px, 6.8vw, 108px);
  line-height: .96;
  letter-spacing: -.025em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.line { display: block; }
.accent { color: var(--sage); }
.section--ivory .accent { color: var(--forest-2); }

.lead {
  max-width: 30em;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ivory-88);
}
.body-lg {
  max-width: 36em;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.7;
  color: var(--ivory-72);
  hyphens: auto;
}
.section--ivory .body-lg { color: var(--ink-72); }

/* Offene Punkte: vor Go-live alle entfernen */
.offen {
  display: inline-block;
  padding: 3px 8px;
  border: 1px dashed rgba(240, 190, 100, .65);
  border-radius: 6px;
  background: rgba(240, 190, 100, .08);
  color: #F0BE64;
  font: 500 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0; text-transform: none;
  vertical-align: middle;
}
.section--ivory .offen { color: #7A5200; background: rgba(240, 190, 100, .2); border-color: rgba(122, 82, 0, .45); }
.offen-row { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 16px;
  min-height: 56px; padding: 6px 6px 6px 28px;
  border-radius: 999px;
  background: var(--ivory); color: var(--black);
  font: 500 14px/1.2 var(--ff-body);
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: var(--sage);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn__icon {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(11, 14, 12, .18);
  overflow: hidden;
}
.btn__icon svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .55s var(--ease-out);
}
.btn:hover .btn__icon svg { transform: translateX(3px); }
@media (max-width: 420px) {
  .btn { gap: 10px; padding-left: 20px; font-size: 13px; letter-spacing: .03em; }
}
.hide-xs { display: none; }
@media (min-width: 480px) { .hide-xs { display: inline; } }
.btn--sm { min-height: 44px; padding: 4px 4px 4px 18px; gap: 12px; font-size: 12px; }
.btn--sm .btn__icon { width: 36px; height: 36px; }
.btn:hover .btn__icon--back svg { transform: translateX(-3px); }

/* Liquid Glass: durchsichtig, hebt sich durch Lichtkante, Blur und einen langsamen Glanz ab */
.btn--glass {
  background: linear-gradient(135deg, rgba(243, 240, 232, .18), rgba(243, 240, 232, .05) 55%, rgba(243, 240, 232, .1));
  color: var(--ivory);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  box-shadow:
    inset 0 0 0 1px rgba(243, 240, 232, .22),
    inset 0 1px 0 rgba(255, 255, 255, .28),
    inset 0 -10px 18px -10px rgba(143, 167, 127, .35),
    0 12px 32px -14px rgba(0, 0, 0, .7);
}
.btn--glass::before { background: rgba(143, 167, 127, .3); }
.btn--glass::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sheen 7s var(--ease-io) 2s infinite;
}
@keyframes sheen {
  0% { transform: translateX(-120%); }
  18%, 100% { transform: translateX(120%); }
}
.btn--glass .btn__icon { background: var(--ivory); color: var(--black); box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  view-transition-name: site-header;
  transition: transform .6s var(--ease-out), background-color .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  background: rgba(11, 14, 12, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 var(--ivory-08);
}
.site-header.is-hidden:not(:focus-within) { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-header__logo { display: block; margin-right: auto; padding: 8px 0; }
.site-header__logo img { height: 15px; width: auto; }
@media (min-width: 768px) { .site-header__logo img { height: 18px; } }

.site-header__nav { display: none; }
@media (min-width: 1024px) {
  .site-header__nav { display: flex; gap: clamp(20px, 2.6vw, 40px); margin-right: 8px; }
}
.site-header__nav a {
  position: relative; padding: 8px 0;
  font: 500 12px/1 var(--ff-body);
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: var(--ivory-72);
  transition: color .25s;
}
.site-header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--sage);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.site-header__nav a:hover { color: var(--ivory); }
.site-header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Glow (Signature-Element) ---------- */
.glow-canvas {
  position: absolute; left: 0; top: -10%; z-index: -1;
  width: 100%; height: 120%;
  pointer-events: none;
}
.glow-css { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.glow-css span {
  position: absolute; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(143, 167, 127, .36), rgba(29, 57, 45, .4) 55%, rgba(29, 57, 45, 0));
  filter: blur(40px);
  animation: glow-drift 16s ease-in-out infinite alternate;
}
.has-webgl .glow-css { display: none; }
@keyframes glow-drift {
  to { transform: translate3d(7%, -5%, 0) scale(1.12); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
  padding-bottom: calc(var(--radius-xl) + clamp(24px, 3vw, 40px));
  background: var(--black);
}
@media (min-width: 1024px) {
  .hero { min-height: max(760px, 100svh); display: flex; flex-direction: column; }
}
.hero .glow-css span:nth-child(1) { width: min(1100px, 120vw); left: -38%; bottom: -55%; }
.hero .glow-css span:nth-child(2) { width: min(760px, 90vw); right: -24%; top: -30%; animation-delay: -8s; }

.hero__grid { display: grid; gap: 64px; align-items: center; }
@media (min-width: 1024px) {
  .hero__grid { flex: 1; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 96px); }
}
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(24px, 2.6vw, 36px); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; margin-top: 8px; }

/* Branchen: Schwerpunkt Handwerk, offen für weitere */
.industries {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: -6px; padding: 10px 18px 10px 14px;
  border-radius: 14px;
  background: rgba(243, 240, 232, .05);
  box-shadow: inset 0 0 0 1px var(--ivory-12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 15px; line-height: 1.45; color: var(--ivory-72);
}
.industries::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 0 4px rgba(143, 167, 127, .18);
}
.industries strong { font-weight: 600; color: var(--sage); }


/* Hero-Visual: Handy + Benachrichtigungen */
.hero__visual {
  --phone-w: clamp(236px, 23vw, 312px);
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  padding-inline: clamp(0px, 3vw, 40px);
}

.notif {
  position: absolute; z-index: 2;
  display: flex; align-items: flex-start; gap: 12px;
  width: max-content; max-width: 210px;
  padding: 14px 18px 14px 14px;
  border-radius: 16px;
  background: rgba(10, 22, 17, .8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--ivory-12), 0 24px 48px -18px rgba(0, 0, 0, .75);
  opacity: 0; transform: translateY(16px) scale(.96);
  transition: opacity .6s var(--ease-out), transform .9s var(--ease-out);
}
.notif.is-shown { opacity: 1; transform: none; }
/* Bis 1279 px ist immer nur eine Kachel sichtbar (siehe main.js): oben über der Statusleiste, abwechselnd rechts und links */
.notif--1, .notif--3 { right: 0; top: 3%; }
.notif--2, .notif--4 { left: 0; top: 3%; }
/* Breite Screens: alle vier Kacheln rund ums Handy, ragen nur knapp in den Rand */
@media (min-width: 1280px) {
  .notif { max-width: 192px; }
  .notif--1 { right: calc(50% + var(--phone-w) / 2 - 28px); top: 6%; }
  .notif--3 { right: calc(50% + var(--phone-w) / 2 - 16px); top: 49%; }
  /* rechts nie über den Seitenrand hinaus: höchstens bis in den Außenabstand */
  .notif--2, .notif--4 { right: auto; left: min(calc(50% + var(--phone-w) / 2 - 28px), calc(100% + var(--gutter) - 204px)); }
  .notif--2 { top: 27%; }
  .notif--4 { top: 70%; }
}
/* Neue Bewerbung kommt rein: Kachel hebt sich kurz, Punkt pulsiert */
.notif.is-shown.is-ping { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--sage-40), 0 24px 48px -18px rgba(0, 0, 0, .75); }
.notif.is-ping .notif__dot { animation: ping 1.4s var(--ease-out); }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(143, 167, 127, .7); }
  100% { box-shadow: 0 0 0 14px rgba(143, 167, 127, 0); }
}
.notif__dot {
  flex: none; width: 8px; height: 8px; margin-top: 4px; border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(143, 167, 127, .18);
}
.notif__status { font: 500 10px/14px var(--ff-body); letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.notif__title { margin-top: 4px; font: 600 15px/1.25 var(--ff-display); color: var(--ivory); }
.notif__meta { margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--ivory-56); }

/* Handy */
.phone {
  position: relative;
  width: var(--phone-w);
  aspect-ratio: 9 / 19.5;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(150deg, #2a302c 0%, #101311 38%, #1b1f1d 100%);
  box-shadow:
    0 0 0 1px rgba(243, 240, 232, .14),
    0 50px 100px -30px rgba(0, 0, 0, .85),
    0 30px 80px -40px rgba(143, 167, 127, .4);
}
@media (prefers-reduced-motion: no-preference) {
  .phone { animation: phone-float 9s ease-in-out infinite; }
}
@keyframes phone-float { 50% { transform: translateY(-10px); } }

.phone__screen {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  border-radius: 37px; overflow: hidden;
  background: var(--ivory); color: var(--black);
}
.ps-status {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px; padding: 10px 22px 0;
  font: 600 12px/1 var(--ff-body);
}
.ps-island { width: 34%; height: 24px; border-radius: 20px; background: var(--black); }
.ps-battery { position: relative; width: 22px; height: 11px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--black); }
.ps-battery::after { content: ""; position: absolute; inset: 3px 6px 3px 3px; border-radius: 1px; background: var(--black); }

.ps-head { display: flex; align-items: center; gap: 10px; padding: 12px 18px 10px; font: 600 13px/1 var(--ff-display); }
.ps-logo { width: 24px; height: 24px; border-radius: 7px; background: var(--forest-2); box-shadow: inset 0 0 0 5px var(--forest-2), inset 0 0 0 7px var(--sage-40); }

.ps-job {
  margin: 0 10px; padding: 14px 16px 16px;
  border-radius: 18px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(143, 167, 127, .4), transparent 60%), var(--forest-2);
  color: var(--ivory);
}
.ps-kicker { margin-bottom: 8px; font: 500 9px/1 var(--ff-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-72); }
.ps-title { font: 700 18px/1.1 var(--ff-display); letter-spacing: -.01em; text-transform: uppercase; transition: opacity .3s; }
.ps-job.is-swap .ps-title { opacity: 0; }
.ps-meta { margin-top: 6px; font-size: 11px; line-height: 1.3; color: var(--ivory-72); }

.ps-body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 8px; }
.ps-progress {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font: 500 9px/1 var(--ff-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-56);
}
.ps-bar { flex: 0 0 42%; height: 4px; border-radius: 4px; background: var(--ink-08); overflow: hidden; }
.ps-bar i { display: block; height: 100%; width: 33%; border-radius: inherit; background: var(--forest-2); transition: width .7s var(--ease-out); }

.ps-stage { position: relative; }
.ps-step { display: flex; flex-direction: column; gap: 8px; transition: opacity .35s, transform .5s var(--ease-out); }
.ps-step.is-out { opacity: 0; transform: translateX(-16px); }
.ps-step.is-pre { opacity: 0; transform: translateX(16px); transition: none; }
.ps-q { margin-bottom: 4px; font: 600 15px/1.3 var(--ff-display); }

.ps-opt, .ps-field {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  height: 40px; padding: 0 12px 0 14px;
  border-radius: 12px;
  background: rgba(11, 14, 12, .03);
  box-shadow: inset 0 0 0 1px var(--ink-16);
  font: 500 12.5px/1 var(--ff-body);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.ps-opt::after {
  content: ""; flex: none;
  width: 14px; height: 14px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--ink-16);
  transition: box-shadow .3s, background-color .3s;
}
.ps-opt.is-picked { background: var(--forest-2); color: var(--ivory); box-shadow: none; }
.ps-opt.is-picked::after { background: var(--sage); box-shadow: inset 0 0 0 3px var(--forest-2); }
/* Tipp-Welle */
.ps-opt::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  background: rgba(243, 240, 232, .35);
  opacity: 0; transform: scale(0);
}
.ps-opt.is-picked::before { animation: tap .7s var(--ease-out); }
@keyframes tap { 0% { opacity: 1; transform: scale(0); } 100% { opacity: 0; transform: scale(5); } }

.ps-field { justify-content: flex-start; gap: 10px; color: var(--ink-56); font-weight: 400; }
.ps-field__value { height: 8px; width: 0; border-radius: 4px; background: rgba(11, 14, 12, .5); transition: width .7s var(--ease-out); }
.ps-field.is-filled { box-shadow: inset 0 0 0 1.5px var(--forest-2); }
.ps-field.is-filled .ps-field__value { width: 42%; }

.ps-btn {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center;
  height: 42px; border-radius: 999px;
  background: var(--black); color: var(--ivory);
  font: 600 11px/1 var(--ff-body); letter-spacing: .1em; text-transform: uppercase;
  transition: transform .18s, background-color .3s;
}
.ps-btn.is-press { transform: scale(.95); background: var(--forest-2); }

.ps-done {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 20px; text-align: center;
  background: var(--ivory);
  font: 600 15px/1.35 var(--ff-display);
  opacity: 0; visibility: hidden;
  transition: opacity .45s, visibility .45s;
}
.ps-done.is-shown { opacity: 1; visibility: visible; }
.ps-done__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--forest-2); }
.ps-done__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--sage); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.ps-done.is-shown .ps-done__icon svg { stroke-dashoffset: 0; transition: stroke-dashoffset .7s var(--ease-out) .2s; }

.ps-foot { padding: 6px 0 4px; text-align: center; font: 500 8.5px/1 var(--ff-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-56); }
.ps-home { width: 36%; height: 4px; margin: 6px auto 8px; border-radius: 4px; background: var(--black); }

/* Band unter dem Hero */
.strip {
  display: grid; gap: 12px;
  margin-top: clamp(56px, 7vw, 88px); padding-top: 22px;
  border-top: 1px solid var(--ivory-08);
}
.strip li {
  display: flex; align-items: center; gap: 14px;
  font: 500 11px/16px var(--ff-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--ivory-56);
}
.strip li::before {
  content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%;
  background: var(--sage-40);
}
@media (min-width: 768px) {
  .strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); background: var(--black); }
.section--forest { background: var(--forest); }
.section--ivory { background: var(--ivory); color: var(--black); }

/* Gestapelte Karten: jede Section schiebt sich mit runden Ecken über die vorige */
.stack {
  margin-top: calc(var(--radius-xl) * -1);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: inset 0 1px 0 var(--ivory-08);
}
.section--ivory.stack { box-shadow: none; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section--ivory.stack {
      animation: stack-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 80%;
    }
  }
}
@keyframes stack-in {
  from { clip-path: inset(0 clamp(12px, 3vw, 48px) 0 round var(--radius-xl) var(--radius-xl) 0 0); }
  to   { clip-path: inset(0 0 0 round var(--radius-xl) var(--radius-xl) 0 0); }
}

.sec-head { display: grid; gap: 24px; margin-bottom: clamp(48px, 6vw, 88px); }
@media (min-width: 1024px) {
  .sec-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(40px, 6vw, 96px); align-items: end; }
}
.sec-head__aside { max-width: 28em; font-size: 17px; line-height: 1.65; color: var(--ivory-72); hyphens: auto; }
.section--ivory .sec-head__aside { color: var(--ink-72); }

/* 01 Problem: Überschrift bleibt links stehen, rechts laufen drei Karten nacheinander ein */
.problem { display: grid; gap: clamp(40px, 5vw, 64px); }
@media (min-width: 1024px) {
  .problem { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 112px); align-items: start; }
  .problem__head { position: sticky; top: calc(var(--header-h) + 56px); }
}
.problem__aside { margin-top: 28px; max-width: 26em; font-size: 17px; line-height: 1.65; color: var(--ink-72); }
.problem__index { display: none; }
@media (min-width: 1024px) {
  .problem__index { display: grid; margin-top: 44px; max-width: 360px; }
  .problem__index li {
    position: relative; display: flex; align-items: center; gap: 16px;
    padding: 14px 0; border-top: 1px solid var(--ink-16);
    font: 500 15px/1.3 var(--ff-body); color: var(--ink-56);
    transition: color .5s;
  }
  .problem__index li:last-child { border-bottom: 1px solid var(--ink-16); }
  .problem__index li span { font: 500 11px/1 var(--ff-body); letter-spacing: .16em; transition: color .5s; }
  .problem__index li::after {
    content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px;
    background: var(--forest-2);
    transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out);
  }
  .problem__index li.is-on { color: var(--black); }
  .problem__index li.is-on::after { transform: scaleX(1); }
  .problem__index li.is-current span { color: var(--forest-2); }
}

.pains { display: grid; gap: clamp(20px, 3vw, 36px); }
.pain {
  display: grid;
  padding: 12px;
  border-radius: 24px;
  background: linear-gradient(165deg, #17281f 0%, var(--black) 70%);
  color: var(--ivory);
  box-shadow: 0 40px 80px -48px rgba(11, 14, 12, .6);
}
@media (min-width: 640px) {
  .pain { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; }
}
/* noch nicht erreichte Karten sind gedimmt (wie im Ablauf) */
.js .pain { opacity: .35; transform: scale(.97); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); }
.js .pain.is-active { opacity: 1; transform: none; }
.pain__visual {
  display: flex; flex-direction: column; justify-content: center;
  min-height: 228px; padding: 22px;
  border-radius: 16px;
  background: radial-gradient(80% 70% at 100% 0%, rgba(143, 167, 127, .14), transparent 60%), rgba(243, 240, 232, .035);
  box-shadow: inset 0 0 0 1px var(--ivory-08);
}
.pain__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 14px 16px; }
@media (min-width: 640px) { .pain__body { padding: 24px 28px; } }
.pain__no { font: 500 11px/16px var(--ff-body); letter-spacing: .18em; color: var(--sage); }
.pain__title { font: 600 clamp(22px, 2.2vw, 30px)/1.18 var(--ff-display); letter-spacing: -.015em; text-wrap: balance; }
.pain__text { font-size: 17px; color: var(--ivory-72); }

/* Mini-Szenen (starten, sobald die Karte aktiv ist) */
.mini { display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: var(--ivory-72); }
.mini__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mini__chip { font: 500 10px/1.2 var(--ff-body); letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.mini__muted { font-size: 12px; color: var(--ivory-56); }
.mini__title { font: 600 17px/1.2 var(--ff-display); color: var(--ivory); }
.mini__line { position: relative; overflow: hidden; height: 7px; border-radius: 4px; background: rgba(243, 240, 232, .08); }
.mini__line--short { width: 62%; }
.mini__line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(243, 240, 232, .16), transparent);
  transform: translateX(-100%);
}
.pain.is-active .mini__line::after { animation: shimmer 2.4s var(--ease-io) infinite; }
.pain.is-active .mini__line--short::after { animation-delay: .3s; }
@keyframes shimmer { to { transform: translateX(100%); } }
.mini__status { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding: 10px 12px; border-radius: 10px; background: rgba(243, 240, 232, .05); }
.mini__typing { display: inline-flex; gap: 3px; }
.mini__typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--ivory-56); }
.pain.is-active .mini__typing i { animation: typing 1.4s ease-in-out infinite; }
.pain.is-active .mini__typing i:nth-child(2) { animation-delay: .18s; }
.pain.is-active .mini__typing i:nth-child(3) { animation-delay: .36s; }
@keyframes typing {
  0%, 60%, 100% { opacity: .3; transform: none; }
  30% { opacity: 1; transform: translateY(-3px); }
}

.mini__flag { padding: 5px 10px; border-radius: 999px; background: rgba(143, 167, 127, .16); font: 600 11px/1 var(--ff-body); color: var(--sage); }
.mini__load { display: grid; gap: 11px; }
.mini__load li { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 10px; font-size: 12px; }
.mini__load b { height: 8px; border-radius: 4px; overflow: hidden; background: rgba(243, 240, 232, .08); }
.mini__load i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--forest-2), var(--sage)); transition: width 1.6s var(--ease-out); }
.mini__load li:nth-child(1) i { width: 94%; transition-delay: .2s; }
.mini__load li:nth-child(2) i { width: 100%; transition-delay: .35s; }
.mini__load li:nth-child(3) i { width: 97%; transition-delay: .5s; }
.js .pain:not(.is-active) .mini__load i { width: 0; }
.mini__alert {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 4px; padding: 10px 12px; border-radius: 10px;
  background: rgba(243, 240, 232, .05); font-size: 12.5px;
  transition: opacity .6s var(--ease-out) 1.6s, transform .8s var(--ease-out) 1.6s;
}
.js .pain:not(.is-active) .mini__alert { opacity: 0; transform: translateY(8px); }
.mini__alert em { flex: none; padding: 4px 9px; border-radius: 999px; background: rgba(243, 240, 232, .12); font: 600 11px/1 var(--ff-body); font-style: normal; color: var(--ivory); }
.mini__legend { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ivory-56); }
.mini__legend i { width: 12px; height: 2px; margin-left: 8px; border-radius: 2px; background: var(--sage); }
.mini__legend i.alt { background: var(--ivory-56); }
.mini__chart { width: 100%; height: auto; overflow: visible; margin-top: 6px; }
.mini__grid { fill: none; stroke: rgba(243, 240, 232, .08); stroke-width: 1; }
.mini__flat { fill: none; stroke: var(--sage); stroke-width: 2; stroke-linecap: round; }
.mini__flat--alt { stroke: var(--ivory-56); stroke-width: 1.5; }

/* 02 Lösung: Schritte erscheinen beim Scrollen nacheinander, die Seite scrollt normal weiter (main.js: initSolution) */
.flow { display: grid; gap: 44px; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px; } }
.flow__node {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: 16px;
  background: rgba(29, 57, 45, .3);
  box-shadow: inset 0 0 0 1px var(--ivory-08);
  transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), box-shadow .7s var(--ease-out);
}
.js .flow__node:not(.is-shown) { opacity: .08; transform: translateY(32px) scale(.97); }
.flow__node.is-current {
  background: radial-gradient(100% 120% at 100% 0%, rgba(143, 167, 127, .22), transparent 60%), var(--forest-2);
  box-shadow: inset 0 0 0 1px rgba(143, 167, 127, .45), 0 30px 70px -40px rgba(143, 167, 127, .55);
}
.flow__t { margin-top: 18px; font: 600 clamp(22px, 2vw, 26px)/1.2 var(--ff-display); letter-spacing: -.01em; }
.flow__d { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--ivory-72); }

.flow__link {
  position: absolute; left: 36px; top: 100%;
  width: 1px; height: 44px;
  background: var(--sage-40);
  transform-origin: top;
  pointer-events: none;
}
.flow__link i {
  position: absolute; left: -3px; top: 0;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 12px var(--sage);
  opacity: 0;
}
@media (min-width: 900px) {
  .flow__link { left: 100%; top: 50%; width: 64px; height: 1px; transform-origin: left; }
  .flow__link i { left: 0; top: -3px; }
}
/* Verbindung zeichnet sich, sobald der nächste Schritt erscheint */
.js .flow__link { transform: scaleY(0); transition: transform .9s var(--ease-out) .15s; }
@media (min-width: 900px) { .js .flow__link { transform: scaleX(0); } }
.js .flow__node:has(+ .flow__node.is-shown) .flow__link { transform: none; }
.flow__node:has(+ .flow__node.is-shown) .flow__link i { animation: flow-v 2.8s var(--ease-io) 1s infinite; }
@media (min-width: 900px) {
  .flow__node:has(+ .flow__node.is-shown) .flow__link i { animation-name: flow-h; }
}
@keyframes flow-v {
  0% { opacity: 0; transform: translateY(0); }
  20%, 80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(40px); }
}
@keyframes flow-h {
  0% { opacity: 0; transform: translateX(0); }
  20%, 80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(58px); }
}
.flow__progress { display: none; }
@media (min-width: 900px) {
  .js .flow__progress { display: block; margin-top: 48px; height: 2px; border-radius: 2px; overflow: hidden; background: var(--ivory-12); }
  .flow__progress i {
    display: block; width: 100%; height: 100%;
    background: linear-gradient(90deg, var(--ivory), var(--sage));
    transform-origin: left; transform: scaleX(var(--sp, 0));
  }
}

/* Rechner (main.js: initCalc) */
.problem__calc { padding-top: clamp(64px, 8vw, 112px); }
.problem__calc .calc {
  background: radial-gradient(70% 90% at 0% 0%, rgba(143, 167, 127, .14), transparent 60%), var(--black);
  color: var(--ivory);
  box-shadow: 0 40px 80px -48px rgba(11, 14, 12, .6);
}
.problem__calc .label { color: var(--ivory-72); }
.problem__calc :focus-visible { outline-color: var(--sage); }
.calc {
  display: grid; overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(243, 240, 232, .05), rgba(243, 240, 232, .015));
  box-shadow: inset 0 0 0 1px var(--ivory-08);
}
@media (min-width: 960px) { .calc { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.calc__inputs { display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: clamp(28px, 4vw, 56px); }
.calc__title { margin-top: -14px; font: 700 clamp(26px, 2.6vw, 38px)/1.1 var(--ff-display); letter-spacing: -.015em; text-transform: uppercase; }
.calc__field { display: grid; gap: 16px; }
.calc__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.calc__row label { font: 500 16px/1.45 var(--ff-body); color: var(--ivory-88); }
.calc__row output {
  flex: none; padding: 7px 12px; border-radius: 999px;
  background: rgba(143, 167, 127, .14); box-shadow: inset 0 0 0 1px rgba(143, 167, 127, .3);
  font: 600 14px/1 var(--ff-body); font-variant-numeric: tabular-nums; color: var(--sage);
}
.calc input[type="range"] {
  --fill: 50%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 28px; margin: 0;
  background: transparent; cursor: pointer;
}
.calc input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--forest-2), var(--sage)) 0 0 / var(--fill) 100% no-repeat, rgba(243, 240, 232, .1);
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; margin-top: -9px; border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 0 0 5px rgba(143, 167, 127, .25), 0 6px 16px rgba(0, 0, 0, .45);
  transition: box-shadow .2s;
}
.calc input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 9px rgba(143, 167, 127, .3), 0 6px 16px rgba(0, 0, 0, .45); }
.calc input[type="range"]:focus-visible { outline: none; }
.calc input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--black), 0 0 0 5px var(--sage); }
.calc input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(243, 240, 232, .1); }
.calc input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--forest-2), var(--sage)); }
.calc input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px; border: 0; border-radius: 50%;
  background: var(--ivory); box-shadow: 0 0 0 5px rgba(143, 167, 127, .25), 0 6px 16px rgba(0, 0, 0, .45);
}
.calc__result {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: clamp(28px, 4vw, 56px);
  background: radial-gradient(90% 70% at 100% 0%, rgba(143, 167, 127, .3), transparent 60%), var(--forest-2);
}
.calc__big { margin-top: 8px; font: 800 clamp(46px, 5.4vw, 84px)/1 var(--ff-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc__per { margin-top: -6px; font-size: 15px; color: var(--ivory-72); }
.calc__year {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  width: 100%; margin-top: 10px; padding: 16px 0;
  border-top: 1px solid var(--ivory-12); border-bottom: 1px solid var(--ivory-12);
  font-size: 15px; color: var(--ivory-72);
}
.calc__year--sub { margin-top: -14px; border-top: 0; }
.calc__year { flex-wrap: wrap; row-gap: 4px; }
.calc__year strong { font: 700 clamp(20px, 1.8vw, 26px)/1.2 var(--ff-display); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--sage); }
.calc__formula { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ivory-56); }
.calc__result .btn { margin-top: 10px; }
.calc__note { font-size: 12.5px; line-height: 1.55; color: var(--ivory-56); }

/* 03 Ablauf: Timeline, Linie füllt sich beim Scrollen (--p kommt aus main.js) */
.process { --p: 0; position: relative; display: grid; gap: clamp(64px, 9vw, 128px); }
.process::before, .process::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 19px;
  width: 2px; border-radius: 2px;
}
.process::before { background: var(--ivory-12); }
.process::after {
  background: linear-gradient(var(--ivory), var(--sage));
  transform-origin: top; transform: scaleY(var(--p));
}
.process__step { position: relative; display: grid; gap: 28px; padding-left: 64px; }
.process__step::before {
  content: ""; position: absolute; left: 13px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--black); box-shadow: inset 0 0 0 2px var(--ivory-20);
  transition: background-color .5s, box-shadow .5s;
}
.process__step.is-active::before {
  background: var(--ivory);
  box-shadow: 0 0 0 6px rgba(243, 240, 232, .08), 0 0 24px rgba(143, 167, 127, .7);
}
.js .process__step { opacity: .32; transition: opacity .8s var(--ease-out); }
.js .process__step.is-active { opacity: 1; }
@media (min-width: 900px) {
  .process::before, .process::after { left: 50%; margin-left: -1px; }
  .process__step {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(96px, 12vw, 200px); align-items: center;
    padding-left: 0;
  }
  .process__step::before { left: 50%; top: 50%; margin: -7px 0 0 -7px; }
  .process__step:nth-child(even) .process__text { order: 2; }
}
.process__kicker { font: 500 12px/16px var(--ff-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-56); }
.process__title { margin-top: 14px; font: 600 clamp(30px, 3.4vw, 48px)/1.08 var(--ff-display); letter-spacing: -.02em; text-wrap: balance; }
.process__desc { margin-top: 18px; max-width: 30em; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; color: var(--ivory-72); }
.process__cta { margin-top: 32px; }

.process__visual {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background:
    radial-gradient(55% 60% at 50% 50%, rgba(143, 167, 127, .18), transparent 70%),
    linear-gradient(160deg, #13241c, var(--forest) 70%);
  box-shadow: inset 0 0 0 1px var(--ivory-08), 0 40px 80px -40px rgba(0, 0, 0, .8);
}
@media (min-width: 900px) { .process__visual { aspect-ratio: 4 / 3; } }
.process__no {
  position: absolute; left: 24px; top: 14px;
  font: 800 clamp(56px, 7vw, 112px)/1 var(--ff-display); letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(143, 167, 127, .3);
}
.process__rings { position: absolute; inset: 0; display: grid; place-items: center; }
.process__rings i {
  position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(143, 167, 127, .3);
  opacity: 0;
}
.process__step.is-active .process__rings i { animation: ring 4.5s var(--ease-out) infinite; }
.process__step.is-active .process__rings i:nth-child(2) { animation-delay: 1.5s; }
.process__step.is-active .process__rings i:nth-child(3) { animation-delay: 3s; }
@keyframes ring {
  0% { transform: scale(.6); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: scale(2.3); opacity: 0; }
}
.process__icon {
  position: relative;
  width: clamp(96px, 13vw, 190px); height: auto; overflow: visible;
  fill: none; stroke: var(--sage); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 18px rgba(143, 167, 127, .35));
}
.process__icon-fill { fill: var(--sage); stroke: none; }
/* Linien zeichnen sich, sobald der Container aktiv ist (Länge --len misst main.js; ohne Wert bleibt die Linie sichtbar) */
.js .draw { stroke-dasharray: var(--len, 0); stroke-dashoffset: var(--len, 0); transition: stroke-dashoffset 1.6s var(--ease-out); }
.js .draw:nth-child(2) { transition-delay: .15s; }
.js .draw:nth-child(3) { transition-delay: .3s; }
.js .draw:nth-child(4) { transition-delay: .45s; }
.js .is-active .draw { stroke-dashoffset: 0; }

/* 04 Beispielmotive: Kartenstapel (main.js: initDeck) */
.ads { overflow: clip; }
.ads__grid { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) { .ads__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.ads__text .body-lg { margin-top: 24px; }
.deck-controls { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.deck-btn {
  display: grid; place-items: center;
  width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: transparent; color: var(--black);
  box-shadow: inset 0 0 0 1px var(--ink-16);
  cursor: pointer;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.deck-btn:hover { background: var(--black); color: var(--ivory); box-shadow: none; }
.deck-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.deck-count { font: 500 13px/1 var(--ff-body); letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--ink-56); }
.deck-count strong { font-weight: 600; color: var(--black); }
.ads__note { margin-top: 20px; font-size: 13px; color: var(--ink-56); }

.deck {
  position: relative;
  width: min(100% - 40px, 420px); aspect-ratio: 725 / 900;
  margin-inline: auto;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.ad-card {
  --pos: 0;
  position: absolute; inset: 0;
  container-type: inline-size;
  overflow: hidden;
  border-radius: 22px;
  background: var(--black);
  box-shadow: 0 30px 70px -30px rgba(11, 14, 12, .55), 0 0 0 1px rgba(11, 14, 12, .08);
  transform: translate3d(calc(var(--pos) * 24px), calc(var(--pos) * -8px), 0) rotate(calc(var(--pos) * 3.5deg)) scale(calc(1 - var(--pos) * .05));
  transform-origin: 50% 100%;
  z-index: calc(10 - var(--pos));
  transition: transform .8s var(--ease-out), opacity .6s var(--ease-out), filter .6s;
  cursor: grab;
}
/* Startreihenfolge ohne JavaScript */
.ad-card:nth-child(2) { --pos: 1; }
.ad-card:nth-child(3) { --pos: 2; }
.ad-card:nth-child(4) { --pos: 3; }
.ad-card:nth-child(n+5) { --pos: 4; opacity: 0; }
.ad-card:nth-child(n+2) { filter: brightness(.8) saturate(.9); }
/* Mit JavaScript steuern Klassen Reihenfolge und Sichtbarkeit */
.js .ad-card { opacity: 1; filter: brightness(.8) saturate(.9); }
.js .ad-card.is-front { filter: none; }
.js .ad-card.is-hidden,
.js .ad-card.is-recycle { opacity: 0; }
.js .ad-card.is-out-left { transform: translate3d(-120%, 6%, 0) rotate(-16deg); opacity: 0; }
.js .ad-card.is-out-right { transform: translate3d(120%, 6%, 0) rotate(16deg); opacity: 0; }
.ad-card.is-recycle { transition: none; }
.ad-card.is-dragging { transition: none; cursor: grabbing; }

.ad-card__photo, .ad-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-card__photo img { pointer-events: none; }
.ad-card__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11, 14, 12, .82) 0%, rgba(11, 14, 12, .25) 30%, rgba(11, 14, 12, 0) 48%, rgba(11, 14, 12, .3) 68%, rgba(11, 14, 12, .85) 100%);
}
.ad-card__top { position: absolute; left: 6cqw; right: 6cqw; top: 6.5cqw; }
.ad-card__kicker { font: 800 4.4cqw/1 var(--ff-display); letter-spacing: .04em; text-transform: uppercase; color: var(--ivory); }
.ad-card__headline { margin-top: 2.4cqw; font: 800 9.4cqw/1.04 var(--ff-display); letter-spacing: -.01em; text-transform: uppercase; color: var(--ivory); }
.ad-card__headline mark {
  display: inline-block; margin: 1cqw 0;
  padding: .8cqw 2.2cqw .4cqw;
  background: var(--mark); color: var(--mark-text);
}
.ad-card__sticker {
  position: absolute; right: 5cqw; top: 46%;
  display: grid; place-items: center;
  width: 25cqw; aspect-ratio: 1; border-radius: 50%;
  background: var(--sticker); color: var(--sticker-text);
  font: 800 2.9cqw/1.1 var(--ff-display); text-align: center; text-transform: uppercase;
  transform: rotate(-10deg);
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .35);
}
/* Chips und Balken unten gemeinsam gestapelt: längere Jobtitel schieben die Chips mit nach oben */
.ad-card__bottom { position: absolute; left: 0; right: 0; bottom: 0; }
.ad-card__perks { display: flex; flex-wrap: wrap; gap: 1.6cqw; padding: 0 5cqw 3.4cqw; }
.ad-card__perks li {
  display: inline-flex; align-items: center; gap: 1.5cqw;
  padding: 1.7cqw 2.8cqw 1.7cqw 2.2cqw;
  border-radius: 999px;
  background: rgba(243, 240, 232, .94); color: var(--black);
  font: 600 3.1cqw/1 var(--ff-body);
}
.ad-card__perks li::before { content: ""; flex: none; width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: var(--dot); }
.ad-card__bar { padding: 4.4cqw 6cqw 5.2cqw; background: var(--bar); color: var(--bar-text); }
.ad-card__job { font: 800 8.4cqw/1.02 var(--ff-display); letter-spacing: -.01em; text-transform: uppercase; }
.ad-card__job--long { font-size: 6cqw; }
.ad-card__job small { font-size: 3.4cqw; font-weight: 600; letter-spacing: 0; vertical-align: middle; }
.ad-card__meta { display: flex; align-items: center; gap: 2.2cqw; margin-top: 2.2cqw; font: 500 3.3cqw/1.2 var(--ff-body); color: var(--meta); }
.ad-card__pin { flex: none; padding: 1.1cqw 2.4cqw; border-radius: 999px; background: var(--pin); color: var(--pin-text); font-weight: 600; }
.ad-card__pin::before { content: "● "; color: var(--pin-dot); }
/* Jede Anzeige in der CI des jeweiligen Betriebs (Beispiel-Farbwelten, bewusst nicht VANTRY) */
.ad-card--elektro {
  --bar: #E30613; --bar-text: #fff; --meta: rgba(255, 255, 255, .9);
  --mark: #E30613; --mark-text: #fff; --sticker: #FFE500; --sticker-text: #111;
  --dot: #E30613; --pin: #111; --pin-text: #fff; --pin-dot: #FFE500;
}
.ad-card--tischler {
  --bar: #2E2016; --bar-text: #F5EADB; --meta: rgba(245, 234, 219, .85);
  --mark: #D9A35E; --mark-text: #2E2016; --sticker: #F5EADB; --sticker-text: #2E2016;
  --dot: #B87A3D; --pin: #D9A35E; --pin-text: #2E2016; --pin-dot: #2E2016;
}
.ad-card--shk {
  --bar: #0A4DA2; --bar-text: #fff; --meta: rgba(255, 255, 255, .88);
  --mark: #3BB7F2; --mark-text: #062A57; --sticker: #fff; --sticker-text: #0A4DA2;
  --dot: #0A4DA2; --pin: #3BB7F2; --pin-text: #062A57; --pin-dot: #062A57;
}
.ad-card--dach {
  --bar: #24272B; --bar-text: #fff; --meta: rgba(255, 255, 255, .85);
  --mark: #FF8A00; --mark-text: #1B1D20; --sticker: #FF8A00; --sticker-text: #1B1D20;
  --dot: #FF8A00; --pin: #FF8A00; --pin-text: #1B1D20; --pin-dot: #1B1D20;
}
.ad-card--maler {
  --bar: #0F6B66; --bar-text: #fff; --meta: rgba(255, 255, 255, .88);
  --mark: #FF6F5E; --mark-text: #fff; --sticker: #FF6F5E; --sticker-text: #fff;
  --dot: #0F6B66; --pin: #FF6F5E; --pin-text: #fff; --pin-dot: #fff;
}
/* unterschiedliche Typo-Handschriften */
.ad-card--tischler .ad-card__kicker, .ad-card--tischler .ad-card__headline,
.ad-card--maler .ad-card__kicker, .ad-card--maler .ad-card__headline { text-transform: none; letter-spacing: -.02em; }
.ad-card--tischler .ad-card__headline mark { border-radius: 1.6cqw; }
.ad-card--maler .ad-card__headline mark { padding-inline: 3.4cqw; border-radius: 99px; transform: rotate(-2deg); }
.ad-card--elektro .ad-card__headline mark { transform: skewX(-6deg); }
.ad-card--shk .ad-card__bar { border-radius: 6cqw 6cqw 0 0; }
.ad-card--dach .ad-card__bar { box-shadow: inset 0 1.4cqw 0 var(--mark); padding-top: 5.8cqw; }

/* 05 Vergleich */
.compare {
  overflow: hidden;
  padding: clamp(12px, 3vw, 48px) clamp(12px, 3.5vw, 56px);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(243, 240, 232, .055), rgba(243, 240, 232, .015));
  box-shadow: inset 0 0 0 1px var(--ivory-08);
}
.compare__table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.compare__table th, .compare__table td { padding: 18px 6px; text-align: center; vertical-align: middle; }
.compare__table thead th {
  padding-top: 30px; padding-bottom: 26px;
  font: 500 clamp(12px, 1.15vw, 16px)/1.3 var(--ff-body); color: var(--ivory-88);
}
.compare__table thead th:first-child { width: 34%; }
.compare__table tbody th {
  padding-right: 20px; text-align: left;
  font: 400 clamp(14px, 1.25vw, 17px)/1.45 var(--ff-body); color: var(--ivory-88);
}
/* hervorgehobene VANTRY-Spalte */
.compare__brand {
  background: rgba(143, 167, 127, .1);
  box-shadow: inset 1px 0 0 var(--ivory-20), inset -1px 0 0 var(--ivory-20);
}
thead .compare__brand {
  border-radius: 18px 18px 0 0;
  box-shadow: inset 1px 0 0 var(--ivory-20), inset -1px 0 0 var(--ivory-20), inset 0 1px 0 var(--ivory-20);
}
tbody tr:last-child .compare__brand {
  border-radius: 0 0 18px 18px;
  box-shadow: inset 1px 0 0 var(--ivory-20), inset -1px 0 0 var(--ivory-20), inset 0 -1px 0 var(--ivory-20);
}
thead .compare__brand img { width: auto; height: clamp(11px, 1.3vw, 17px); margin: 0 auto; }

.mark {
  display: inline-grid; place-items: center; vertical-align: middle;
  width: clamp(28px, 2.6vw, 40px); aspect-ratio: 1; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--ivory-20);
  color: var(--ivory-72);
}
.mark svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mark--no { color: var(--ivory-56); }
.compare__brand .mark--yes {
  background: var(--sage); color: var(--black);
  box-shadow: 0 0 0 4px rgba(143, 167, 127, .18), 0 0 22px rgba(143, 167, 127, .35);
}
/* Zeilen leuchten beim Scrollen nacheinander auf (wie der Ablauf) */
.js .compare tbody tr > :not(.compare__brand) { opacity: .3; transition: opacity .7s var(--ease-out); }
.js .compare tbody tr.is-active > * { opacity: 1; }
.js .compare tbody .compare__brand .mark { transform: scale(0); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.js .compare tbody tr.is-active .compare__brand .mark { transform: none; }

/* Mobil: Kriterium steht über den vier Spalten */
@media (max-width: 639px) {
  .compare__table, .compare__table thead, .compare__table tbody { display: block; }
  .compare__table tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .compare__table thead th:first-child { display: none; }
  .compare__table thead th { padding: 18px 2px 14px; font-size: 11px; }
  .compare__table tbody tr { border-top: 1px solid var(--ivory-08); }
  .compare__table tbody th { grid-column: 1 / -1; padding: 18px 4px 10px; }
  .compare__table td { padding: 6px 0 16px; }
  .compare__brand, thead .compare__brand, tbody tr:last-child .compare__brand { border-radius: 12px; box-shadow: inset 0 0 0 1px var(--ivory-20); }
}

/* 04 Über uns: Text links, Kennzahlen rechts */
.about { display: grid; gap: clamp(32px, 4vw, 56px); }
@media (min-width: 1024px) {
  .about { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 112px); align-items: center; }
}
.about__lead { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }

/* Glas-Badge (Name zum Foto) */
.glass-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(243, 240, 232, .16), rgba(243, 240, 232, .05));
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(243, 240, 232, .2), inset 0 1px 0 rgba(255, 255, 255, .22), 0 16px 40px -18px rgba(0, 0, 0, .7);
  font-size: 13px; line-height: 1.35; color: var(--ivory-72);
}
.glass-badge > span:last-child { display: flex; flex-direction: column; }
.glass-badge strong { font: 600 16px/1.25 var(--ff-display); color: var(--ivory); }
.glass-badge__dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 0 4px rgba(143, 167, 127, .2);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 7px rgba(143, 167, 127, .06); } }

.about__intro { max-width: 34em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--ivory-88); }
/* Kennzahlen neben dem Text (zählen beim Scrollen hoch, main.js: initCounters) */
.kpis { display: grid; gap: 14px; }
.kpi {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  border-radius: 18px;
  background: radial-gradient(80% 120% at 0% 0%, rgba(143, 167, 127, .12), transparent 60%), rgba(243, 240, 232, .03);
  box-shadow: inset 0 0 0 1px var(--ivory-12);
}
.kpi strong { font: 800 clamp(44px, 5vw, 72px)/1 var(--ff-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ivory); }
.kpi span { max-width: 12em; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.4; text-align: right; color: var(--ivory-72); }
@media (max-width: 560px) {
  .kpi { flex-direction: column; align-items: flex-start; gap: 10px; }
  .kpi span { text-align: left; }
}

/* 07 FAQ: einzelne Karten */
.faq-section { overflow: clip; }
.faq-section__glow {
  position: absolute; left: -22%; bottom: -35%;
  width: min(900px, 110vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(143, 167, 127, .2), rgba(29, 57, 45, .3) 55%, rgba(29, 57, 45, 0));
  filter: blur(40px);
  pointer-events: none;
  animation: glow-drift 16s ease-in-out infinite alternate;
}
.faq { position: relative; display: grid; gap: 48px; }
@media (min-width: 960px) {
  .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(56px, 7vw, 112px); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
}
.faq .h2 { font-size: clamp(36px, 4.4vw, 64px); }
.faq__note { margin-top: 28px; max-width: 22em; font-size: 16px; color: var(--ivory-72); }
.faq__note a { color: var(--ivory); text-decoration-color: var(--sage-40); }
.faq__list { display: grid; gap: 14px; }
.faq__item {
  border-radius: 16px;
  background: rgba(243, 240, 232, .035);
  box-shadow: inset 0 0 0 1px var(--ivory-08);
  transition: background-color .3s, box-shadow .3s;
}
.faq__item:hover { background: rgba(243, 240, 232, .055); }
.faq__item[open] { background: rgba(243, 240, 232, .06); box-shadow: inset 0 0 0 1px var(--ivory-12); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2.2vw, 30px) clamp(20px, 2.4vw, 32px);
  list-style: none; cursor: pointer;
  font: 500 clamp(16px, 1.35vw, 19px)/1.4 var(--ff-body);
  border-radius: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(243, 240, 232, .1);
  transition: background-color .3s, color .3s, transform .5s var(--ease-out);
}
.faq__icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.faq__item[open] .faq__icon { transform: rotate(180deg); background: var(--sage); color: var(--black); }
.faq__answer { max-width: 42em; padding: 0 clamp(20px, 2.4vw, 32px) clamp(22px, 2.4vw, 30px); color: var(--ivory-72); }
@supports (interpolate-size: allow-keywords) {
  .faq__item { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    height: 0; overflow: clip;
    transition: height .55s var(--ease-out), content-visibility .55s allow-discrete;
  }
  .faq__item[open]::details-content { height: auto; }
}

/* 05 Kontakt-Banner (dunkle Karte auf heller Fläche) */
.section--ivory.contact { padding-top: clamp(64px, 8vw, 120px); }
.contact-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid;
  border-radius: var(--radius-xl);
  background: var(--black); color: var(--ivory);
}
@media (min-width: 960px) {
  .contact-card { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 540px; }
}
.contact-card .glow-css span:nth-child(1) { width: min(900px, 120vw); right: -30%; bottom: -60%; }
.contact-card .glow-css span:nth-child(2) { width: min(520px, 80vw); left: -20%; top: -40%; animation-delay: -10s; }
.contact-card__text {
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
  padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px);
}
.contact-card__text .label--rule { margin-bottom: 0; }
.contact-card .h2 { font-size: clamp(32px, 4vw, 58px); }
.contact-card .label { color: var(--ivory-72); }
.contact-card .label--rule::after { background: var(--sage-40); }
.contact-card .accent { color: var(--sage); }
.contact-card .body-lg { color: var(--ivory-72); }
.contact-card .offen { color: #F0BE64; background: rgba(240, 190, 100, .08); border-color: rgba(240, 190, 100, .65); }
.contact-card :focus-visible { outline-color: var(--sage); }
/* Kontakt-Chips (Telefon, E-Mail) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: rgba(243, 240, 232, .05);
  box-shadow: inset 0 0 0 1px var(--ivory-12);
  font-size: 14px; color: var(--ivory); text-decoration: none;
  transition: background-color .3s, box-shadow .3s;
}
.chip:hover { background: rgba(143, 167, 127, .14); box-shadow: inset 0 0 0 1px rgba(143, 167, 127, .4); }
.chip svg { width: 18px; height: 18px; fill: none; stroke: var(--sage); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Freigestelltes Foto steht unten im Banner */
.contact-card__person { position: relative; min-height: 360px; margin: 0; }
@media (min-width: 960px) { .contact-card__person { min-height: 0; } }
.contact-card__halo {
  position: absolute; left: 50%; bottom: 6%;
  width: min(520px, 95%); aspect-ratio: 1; border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(143, 167, 127, .4), rgba(29, 57, 45, .3) 60%, rgba(29, 57, 45, 0));
}
.contact-card__photo {
  position: absolute; left: 50%; bottom: -48px; display: block;
  width: min(600px, 120%); margin-left: calc(min(600px, 120%) / -2);
}
.contact-card__photo img { display: block; width: 100%; height: auto; }
.contact-card__person::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
  background: linear-gradient(to top, var(--black), rgba(11, 14, 12, 0));
  pointer-events: none;
}
.contact-card__badge { position: absolute; left: 50%; bottom: 20px; z-index: 1; transform: translateX(-50%); white-space: nowrap; }
@media (min-width: 960px) { .contact-card__badge { left: 0; bottom: 44px; transform: none; } }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: calc(var(--radius-xl) * -1);
  padding: 64px 0 40px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--black);
  box-shadow: inset 0 1px 0 var(--ivory-08);
}
.site-footer__top { display: grid; gap: 32px; align-items: center; }
@media (min-width: 768px) { .site-footer__top { grid-template-columns: auto 1fr auto; gap: 48px; } }
.site-footer__logo { display: inline-block; }
.site-footer__logo img { height: 20px; width: auto; }
.site-footer__nav { display: flex; gap: 28px; }
@media (min-width: 768px) { .site-footer__nav { justify-content: center; } }
.site-footer__nav a {
  font-size: 15px; font-weight: 500; color: var(--ivory);
  text-decoration: underline; text-decoration-color: var(--ivory-20); text-underline-offset: 5px;
  transition: color .25s, text-decoration-color .25s;
}
.site-footer__nav a:hover, .site-footer__nav a[aria-current="page"] { color: var(--sage); text-decoration-color: var(--sage); }
.site-footer__contact a { font-size: 14px; color: var(--ivory-72); text-decoration: none; transition: color .25s; }
.site-footer__contact a:hover { color: var(--ivory); }
.site-footer__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 14px; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--ivory-08);
  font: 500 11px/16px var(--ff-body); letter-spacing: .18em; text-transform: uppercase;
  color: var(--ivory-56);
}

/* ---------- Buchungsseite (/termin/) ---------- */
.booking {
  position: relative; isolation: isolate; overflow: clip;
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px));
  padding-bottom: calc(var(--section-y) + var(--radius-xl));
}
.booking .glow-css span:nth-child(1) { width: min(1100px, 130vw); left: 10%; bottom: -60%; }
.booking .glow-css span:nth-child(2) { width: min(600px, 80vw); right: -25%; top: -25%; animation-delay: -8s; }
.booking__layout { display: grid; gap: clamp(40px, 5vw, 64px); }
@media (min-width: 1024px) {
  /* links Headline + Infos (ca. 30 %), rechts direkt daneben Calendly */
  .booking__layout { grid-template-columns: minmax(300px, 1fr) minmax(0, 2.3fr); gap: clamp(40px, 4vw, 72px); align-items: start; }
  .booking__side { position: sticky; top: calc(var(--header-h) + 32px); }
}
.booking__side .h2 { font-size: clamp(34px, 3.6vw, 54px); }
.booking__intro { margin-top: 24px; max-width: 30em; font-size: 17px; line-height: 1.65; color: var(--ivory-72); }
.booking__details { display: grid; gap: 22px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--ivory-08); }
.booking__person { display: flex; align-items: center; gap: 14px; }
.booking__avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--black), 0 0 0 3px var(--sage-40); }
.booking__person p { display: flex; flex-direction: column; font-size: 14px; line-height: 1.35; color: var(--ivory-72); }
.booking__person strong { font-size: 16px; font-weight: 500; color: var(--ivory); }
.booking__meta { display: grid; gap: 14px; }
.booking__meta li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.5; color: var(--ivory-72); }
.booking__meta svg { width: 22px; height: 22px; fill: none; stroke: var(--sage); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.booking__meta a, .booking__note a { color: var(--ivory); text-decoration-color: var(--sage-40); }
.booking__note { font-size: 13px; color: var(--ivory-56); }
.booking-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(11, 14, 12, .82);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px var(--ivory-12), 0 60px 120px -50px rgba(0, 0, 0, .9);
}
.booking-card__cal { position: relative; min-height: 680px; }
.booking-card__loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  font-size: 15px; color: var(--ivory-72);
  transition: opacity .5s, visibility .5s;
}
.booking-card__cal.is-loaded .booking-card__loading,
.booking-card__cal.is-missing .booking-card__loading { opacity: 0; visibility: hidden; }
.booking-card__spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(143, 167, 127, .2); border-top-color: var(--sage);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.booking-card__missing { display: none; }
.booking-card__cal.is-missing .booking-card__missing {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 32px; text-align: center; color: var(--ivory-72);
}
.booking-card__missing a, .booking-card__noscript a { color: var(--ivory); text-decoration-color: var(--sage-40); }
.booking-card__noscript { padding: 32px; text-align: center; }
/* color-scheme light: sonst legt Chrome wegen unserer dunklen Seite einen weißen Hintergrund hinter das Calendly-iframe */
.booking-card__frame iframe { display: block; width: 100%; height: 100%; min-height: 680px; border: 0; color-scheme: light; }

/* ---------- Rechtliche Seiten (Impressum, Datenschutz) ---------- */
.legal { padding-top: calc(var(--header-h) + clamp(56px, 9vw, 120px)); padding-bottom: calc(var(--section-y) + var(--radius-xl)); }
.legal__inner { max-width: 760px; }
.legal .h2 { margin-bottom: 20px; font-size: clamp(30px, 4.6vw, 56px); hyphens: auto; -webkit-hyphens: auto; }
.legal__sub { margin-bottom: 36px; font: 600 clamp(18px, 1.6vw, 20px)/1.3 var(--ff-display); color: var(--ivory); }
.legal h2.legal__h { margin: 44px 0 12px; font: 600 20px/1.3 var(--ff-display); }
.legal p, .legal li, .legal address { color: var(--ivory-72); font-style: normal; line-height: 1.7; }
.legal a { color: var(--ivory); text-decoration-color: var(--sage-40); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal a:hover { color: var(--sage); }
/* Datenschutztext aus der Markdown-Datei */
.legal__md .h2 { margin-bottom: 36px; }
.legal__md h2 { margin: 48px 0 14px; font: 600 clamp(20px, 2vw, 24px)/1.3 var(--ff-display); color: var(--ivory); }
.legal__md h3 { margin: 32px 0 10px; font: 600 18px/1.35 var(--ff-display); color: var(--ivory); }
.legal__md h4, .legal__md h5, .legal__md h6 { margin: 24px 0 8px; font: 600 16px/1.4 var(--ff-body); color: var(--ivory); }
.legal__md p + p { margin-top: 14px; }
.legal__md ul, .legal__md ol { display: grid; gap: 6px; margin: 12px 0 16px; padding-left: 22px; }
.legal__md ul { list-style: disc; }
.legal__md ol { list-style: decimal; }
.legal__md strong { font-weight: 600; color: var(--ivory); }
.legal__md hr { margin: 40px 0; border: 0; border-top: 1px solid var(--ivory-12); }

/* ---------- Scroll-Reveal (nur mit JavaScript aktiv) ---------- */
.d-1 { --d: 1; } .d-2 { --d: 2; } .d-3 { --d: 3; } .d-4 { --d: 4; }

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Headlines: Zeile für Zeile aus einer Maske */
.js .reveal-lines .line { overflow: hidden; padding: .12em 0 .06em; margin: -.12em 0 -.06em; }
.js .reveal-lines .line > span {
  display: block;
  transform: translate3d(0, 112%, 0);
  transition: transform 1.15s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal-lines .line:nth-child(2) > span { transition-delay: calc(var(--d, 0) * 110ms + 130ms); }
.js .reveal-lines.is-in .line > span { transform: none; }

/* Micro-Label-Strich zeichnet sich */
.js .label--rule::after { transform: scaleX(0); transition: transform 1s var(--ease-out) .25s; }
.js .label--rule.is-in::after { transform: scaleX(1); }

/* ---------- Seitenwechsel (View Transitions) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-lines .line > span {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .js .label--rule::after, .js .flow__link {
    transform: none !important; transition: none !important;
  }
  .flow__link i, .ps-opt::before { display: none; }
  .glow-css span, .faq-section__glow, .btn--glass::after, .process__rings i,
  .glass-badge__dot, .mini__typing i, .mini__line::after { animation: none !important; }
  .js .process__step { opacity: 1; }
  .js .draw { stroke-dashoffset: 0; transition: none; }
  .js .compare tbody tr > * { opacity: 1; }
  .js .compare tbody .compare__brand .mark { transform: none; transition: none; }
  .js .pain, .js .flow__node:not(.is-shown) { opacity: 1; transform: none; }
  .ad-card { transition: opacity .3s; }
  .booking-card__spinner { animation-duration: 3s; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
