/* Heidelogik — Website-Stylesheet
   Werte 1:1 aus dem Heidelogik Design System (tokens.json, README, Anwendung).
   Eine Markenfarbe, viel Weiß, 4-px-Raster, violett getönte Schatten, keine Verläufe,
   kein Glanz, keine 3D-Effekte, höchstens zwei lila Vollflächen pro Seite.

   Aufbau
   1  Schrift, Tokens, Grundlagen        7  Kennen Sie das? (Chaos → Ordnung)
   2  Typografie, Buttons, Chips          8  Leistungen als Tafeln
   3  Logo, Kopfzeile, Navigation         9  Vergleich, Ablauf, Garantien
   4  Sektionen, Karten, Listen          10  Region, Fragen
   5  Hero „IT mit Wurzeln“              11  Kontakt, Fuß, Finale
   6  Programme-Band                     12  Unterseiten, Buchung, Motion

   Statischer Zustand = fertige Seite (ohne JS, bei „Bewegung reduzieren“).
   html.motion-ready (gesetzt von motion.js) schaltet Bühnen und Szenen ein. */

/* ═══ 1  Schrift, Tokens, Grundlagen ══════════════════════════════════ */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --heide-50: #f6f1fa;
  --heide-100: #ede3f4;
  --heide-200: #dcc8e8;
  --heide-300: #c4a3de;
  --heide-400: #a27dbf;
  --heide-500: #7b509c;
  --heide-600: #663589;
  --heide-700: #542478;
  --heide-800: #461d62;
  --heide-900: #3c1848;

  --surface-0: #ffffff;
  --surface-50: #f7f5f9;
  --surface-100: #efebf3;
  --border: #ddd6e4;
  --border-strong: #b9aec6;

  --text-primary: var(--heide-900);
  --text-secondary: #5e5566;
  --text-muted: #74697f;
  --text-on-brand: #ffffff;
  --text-on-brand-muted: #e6d6f2;
  --link: var(--heide-500);
  --focus-ring: var(--heide-500);

  --success: #1f7a4d;
  --success-bg: #e6f4ec;
  --warning: #8a5a00;
  --warning-bg: #fff4df;
  --error: #b3261e;
  --error-bg: #fbe9e7;
  --info: var(--heide-700);
  --info-bg: var(--heide-50);

  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(60, 24, 72, 0.08);
  --shadow-md: 0 8px 24px rgba(60, 24, 72, 0.12);
  --shadow-lg: 0 20px 48px rgba(60, 24, 72, 0.18);

  /* Bewegung – Kurven aus dem Werbespot: Einstieg expo.out, Kamera sine.inOut, Snap höchstens back.out(1.2) */
  --ease-enter: cubic-bezier(.16, 1, .3, 1);
  --ease-move: cubic-bezier(.37, 0, .63, 1);
  --ease-snap: cubic-bezier(.34, 1.3, .64, 1);

  /* Layout */
  --gutter: var(--space-4);
  --container: 1152px;
  --section-y: var(--space-12);
  --header-h: 68px;
}
@media (min-width: 720px) { :root { --gutter: var(--space-8); --header-h: 76px; } }
@media (min-width: 1100px) { :root { --gutter: var(--space-16); --section-y: var(--space-24); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--space-4)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--surface-0);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--heide-700); }
strong, b { font-weight: 600; }
::selection { background: var(--heide-200); color: var(--heide-900); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 2px; }
.on-brand :focus-visible { outline-color: var(--text-on-brand); }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 200;
  padding: var(--space-3) var(--space-6); border-radius: var(--radius-md);
  background: var(--heide-700); color: var(--text-on-brand); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--space-4); color: var(--text-on-brand); }
.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; }
.nowrap { white-space: nowrap; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Flächenfarben für SVG (Klassen statt Attribute, damit die Tokens greifen) */
.hf-200 { fill: var(--heide-200); }
.hf-300 { fill: var(--heide-300); }
.hf-400 { fill: var(--heide-400); }
.hf-500 { fill: var(--heide-500); }
.hf-700 { fill: var(--heide-700); }
.hf-900 { fill: var(--heide-900); }
.mk-900 { fill: var(--heide-900); }
.mk-700 { fill: var(--heide-700); }
.mk-500 { fill: var(--heide-500); }
.mk-400 { fill: var(--heide-400); }
.mk-300 { fill: var(--heide-300); }
.mk-neg { fill: var(--surface-0); }
.mk-o90 { fill-opacity: .9; }
.mk-o78 { fill-opacity: .78; }
.mk-o64 { fill-opacity: .64; }
.mk-o50 { fill-opacity: .5; }

/* ═══ 2  Typografie, Buttons, Chips ═══════════════════════════════════ */
.display { font-size: clamp(38px, 1.6rem + 3.6vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
.h1 { font-size: clamp(32px, 1.4rem + 2.2vw, 48px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.h2 { font-size: clamp(26px, 1.2rem + 1.4vw, 36px); line-height: 1.18; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
.h3 { font-size: clamp(20px, 1rem + 0.6vw, 24px); line-height: 1.3; font-weight: 600; }
.eyebrow { display: block; font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--heide-500); }
.body-lg { font-size: 18px; line-height: 1.6; }
@media (max-width: 719px) { .body-lg { font-size: 17px; } }
.small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--text-muted); }
.secondary { color: var(--text-secondary); }

.section-head { display: grid; gap: var(--space-4); margin-bottom: var(--space-8); }
.section-head .eyebrow { margin-bottom: calc(var(--space-1) * -1); }
.section-head p { max-width: 64ch; color: var(--text-secondary); }
.section-head--flush { margin-bottom: 0; }
@media (min-width: 1100px) { .section-head { margin-bottom: var(--space-12); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: var(--space-3) var(--space-6);
  border: 1.5px solid transparent; border-radius: var(--radius-md);
  font: inherit; font-size: 16px; line-height: 1; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn > span { display: inline-flex; align-items: center; gap: var(--space-2); pointer-events: none; }
.btn svg { flex: none; }
.btn--primary { background: var(--heide-700); color: var(--text-on-brand); }
.btn--primary:hover { background: var(--heide-600); color: var(--text-on-brand); }
.btn--primary:active { background: var(--heide-800); }
.btn--secondary { background: var(--surface-0); color: var(--heide-700); border-color: var(--heide-700); }
.btn--secondary:hover { background: var(--heide-50); color: var(--heide-700); }
.btn--on-brand { background: var(--surface-0); color: var(--heide-700); }
.btn--on-brand:hover { background: var(--heide-50); color: var(--heide-700); }
.btn--block { width: 100%; }

.text-link { position: relative; display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; color: var(--heide-700); text-decoration: none; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left center; transition: transform .45s var(--ease-enter); }
.text-link:hover { color: var(--heide-600); }
.text-link:hover::after { transform: scaleX(1); }
.text-link svg { transition: transform .3s var(--ease-enter); }
.text-link:hover svg { transform: translateX(3px); }

.chip { display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); background: var(--heide-100); color: var(--heide-900); font-size: 14px; line-height: 1.4; font-weight: 500; white-space: nowrap; }
.chip--plain { background: var(--surface-0); border: 1px solid var(--border); }
a.chip { text-decoration: none; color: var(--heide-900); }
a.chip:hover { background: var(--heide-50); border-color: var(--border-strong); color: var(--heide-700); }

.status { display: inline-flex; align-items: center; gap: var(--space-1); padding: 2px var(--space-2); border-radius: var(--radius-sm); font-size: 13px; line-height: 1.5; font-weight: 600; white-space: nowrap; }
.status--success { background: var(--success-bg); color: var(--success); }
.status--warning { background: var(--warning-bg); color: var(--warning); }
.status--error { background: var(--error-bg); color: var(--error); }
.status--info { background: var(--info-bg); color: var(--info); }
.status[data-state] { transition: background-color .35s ease, color .35s ease; }
.status[data-state] .st { display: none; align-items: center; gap: var(--space-1); }
.status[data-state="work"] { background: var(--info-bg); color: var(--info); }
.status[data-state="error"] { background: var(--error-bg); color: var(--error); }
.status[data-state="done"] { background: var(--success-bg); color: var(--success); }
.status[data-state="work"] .st-work, .status[data-state="error"] .st-error, .status[data-state="done"] .st-done { display: inline-flex; }

.icon-tile { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--heide-50); color: var(--heide-700); }

/* ═══ 3  Logo, Kopfzeile, Navigation ══════════════════════════════════ */
.logo { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--heide-900); text-decoration: none; }
.logo:hover { color: var(--heide-900); }
.logo__mark { height: 44px; width: auto; aspect-ratio: 180 / 272; flex: none; overflow: visible; }
.logo__text { display: grid; gap: 3px; }
.logo__word { font-size: 25px; line-height: 1; letter-spacing: -0.025em; font-weight: 700; }
.logo__word span { font-weight: 300; }
.logo__sub { font-size: 9.5px; line-height: 1.2; letter-spacing: 0.12em; font-weight: 500; text-transform: uppercase; color: var(--heide-500); }
@media (max-width: 899px) { .logo__sub { display: none; } .logo__mark { height: 38px; } .logo__word { font-size: 23px; } }
.logo--negativ { color: var(--text-on-brand); }
.logo--negativ:hover { color: var(--text-on-brand); }
.logo--negativ .logo__sub { display: block; color: var(--text-on-brand-muted); }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--surface-0);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, transform .45s var(--ease-enter);
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: var(--header-h); }
.site-nav { display: none; }
.site-nav ul { display: flex; align-items: center; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-md); color: var(--heide-900); text-decoration: none; font-weight: 500; transition: background-color .2s ease, color .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--heide-50); color: var(--heide-700); }
.site-header__cta { display: none; }
@media (min-width: 1000px) { .site-nav { display: block; } .site-header__cta { display: inline-flex; } }
/* CTA und Kundenlogin teilen sich den rechten Rand. Das Schloss-Symbol erst ab 1280 px –
   darunter reicht der Platz neben der Navigation nicht; dann führt Mobilmenü bzw. Fuß zum Login. */
.site-header__aktionen { display: none; }
@media (min-width: 1000px) { .site-header__aktionen { display: flex; align-items: center; gap: var(--space-2); } }
.site-header__login { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-0); color: var(--heide-900); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.site-header__login:hover { background: var(--heide-50); border-color: var(--border-strong); color: var(--heide-700); }
@media (min-width: 1280px) { .site-header__login { display: inline-flex; } }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--heide-700); transform: scaleX(0); transform-origin: left center; }

.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-0); color: var(--heide-900); cursor: pointer; }
.menu-toggle:hover { background: var(--heide-50); }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
@media (min-width: 1000px) { .menu-toggle { display: none; } }
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--surface-0); padding: var(--space-4) 0 var(--space-6); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; }
.mobile-nav a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 var(--space-2); border-bottom: 1px solid var(--surface-100); color: var(--heide-900); text-decoration: none; font-weight: 500; font-size: 17px; }
.mobile-nav a[aria-current="page"] { color: var(--heide-700); background: var(--heide-50); }
@media (min-width: 1000px) { .mobile-nav, .mobile-nav.is-open { display: none; } }

/* ═══ 4  Sektionen, Karten, Listen ════════════════════════════════════ */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-50); }
.card { background: var(--surface-0); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); }
.card--stack { display: grid; gap: var(--space-4); align-content: start; }
.checklist { display: grid; gap: var(--space-2); align-content: start; list-style: none; margin: 0; padding: 0; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-3); align-items: start; color: var(--text-secondary); }
.checklist svg { margin-top: 3px; color: var(--heide-700); }
.service__lead { font-size: 18px; line-height: 1.55; color: var(--text-secondary); }
.feature-list { display: grid; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.feature-list li { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-4); }
.feature-list h3, .feature-list h4 { margin-bottom: 2px; font-size: 17px; line-height: 1.4; font-weight: 600; }
.feature-list p { color: var(--text-secondary); }
.turn { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-8); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--heide-50); }
.turn p { max-width: 46ch; font-size: 18px; line-height: 1.5; font-weight: 500; color: var(--heide-900); }
.turn .secondary { margin-top: var(--space-1); font-size: 16px; font-weight: 400; color: var(--text-secondary); }
.split { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--space-16); } }
.split__copy { display: grid; gap: var(--space-6); }
.split__copy > p { color: var(--text-secondary); }

/* ═══ 5  Hero „IT mit Wurzeln“ ════════════════════════════════════════
   Statisch: Text, Heide, darunter das Erdreich mit Botschaft und drei Knoten.
   Mit motion-ready: Bühne in Bildschirmhöhe, die Kamera taucht beim Scrollen ab. */
.stage { position: relative; margin-top: calc(var(--header-h) * -1); background: var(--surface-0); }
.stage__pin { position: relative; }
.stage__copy { position: relative; z-index: 4; display: grid; gap: var(--space-6); padding-top: calc(var(--header-h) + var(--space-12)); padding-bottom: var(--space-8); }
.stage__copy > p { max-width: 36em; color: var(--text-secondary); }
/* Die H1 trägt Dachzeile und Slogan; sie hält denselben Abstand wie die übrigen Teile von .stage__copy */
.hero-h1 { display: grid; gap: inherit; }
.hero-h1 .eyebrow { text-wrap: balance; }
.hero-title { display: block; max-width: 14em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); list-style: none; margin: 0; padding: 0; }
.hero__facts li { display: inline-flex; align-items: center; gap: var(--space-2); font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
.hero__facts svg { color: var(--heide-700); }
@media (max-width: 479px) { .hero__actions .btn { width: 100%; } }

.stage__heath { position: relative; z-index: 1; height: clamp(160px, 26vw, 360px); overflow: hidden; pointer-events: none; }
.heath-row { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage__ground { position: relative; z-index: 2; background: var(--heide-900); color: var(--text-on-brand); padding-block: var(--space-16); }
.stage__under { position: relative; z-index: 3; display: grid; gap: var(--space-4); }
.stage__under .eyebrow { color: var(--text-on-brand-muted); }
.stage__under .h1 { max-width: 12em; }
.stage__under p { max-width: 34em; color: var(--text-on-brand-muted); font-size: 18px; }
.stage__nodes { display: flex; flex-wrap: wrap; gap: var(--space-3); width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: var(--space-8) auto 0; padding-inline: var(--gutter); list-style: none; }
.node { display: inline-flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2); border-radius: var(--radius-lg); background: var(--surface-0); color: var(--heide-900); box-shadow: var(--shadow-lg); white-space: nowrap; }
.node__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--heide-50); color: var(--heide-700); }
.node__text { display: grid; line-height: 1.25; }
.node b { font-size: 15px; }
.node small { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--success); }
.rack, .stage__roots, .scroll-cue { display: none; }

.motion-ready .stage__pin { height: 100vh; height: 100svh; overflow: hidden; }
.motion-ready .stage__copy { padding-top: calc(var(--header-h) + clamp(24px, 7vh, 88px)); }
.motion-ready .stage__heath { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(170px, 34svh, 400px); }
.motion-ready .stage__ground { position: absolute; left: 0; right: 0; top: 100%; height: 100%; padding: 0; }
.motion-ready .stage__roots { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.motion-ready .stage__under { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + clamp(16px, 7vh, 72px)); }
@media (max-width: 999px) { .motion-ready .stage__under { padding-right: 64px; } }
.motion-ready .stage__nodes { position: absolute; inset: 0; display: block; max-width: none; margin: 0; padding: 0; pointer-events: none; }
.motion-ready .node { position: absolute; left: 0; top: 0; }
.motion-ready .rack { display: grid; position: absolute; left: 0; top: 0; }
.motion-ready .scroll-cue { display: flex; position: absolute; z-index: 4; right: var(--gutter); bottom: calc(clamp(170px, 34svh, 400px) + var(--space-4)); align-items: center; gap: var(--space-3); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.scroll-cue i { position: relative; display: block; width: 1.5px; height: 40px; background: var(--heide-200); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--heide-700); animation: hl-cue 1.8s var(--ease-move) infinite; }
@media (max-width: 719px) {
  .motion-ready .stage__heath { height: 24svh; }
  .motion-ready .scroll-cue { display: none; }
  .motion-ready .stage__under .h1 { font-size: 30px; }
  .motion-ready .stage__under p { font-size: 16px; }
}
@media (max-height: 760px) and (min-width: 720px) {
  .motion-ready .stage__copy { gap: var(--space-4); }
  .motion-ready .stage__heath { height: 28svh; }
}

/* Serverschrank = Wurzelballen des Wacholders */
.rack { width: 112px; padding: 14px 12px; gap: 8px; border-radius: var(--radius-md); background: var(--heide-700); box-shadow: 0 0 0 6px rgba(255, 255, 255, .06); }
.rack i { position: relative; display: block; height: 16px; border-radius: 4px; background: var(--heide-800); }
.rack i::before { content: ""; position: absolute; left: 10px; top: 7px; width: 40%; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .14); }
.rack i::after { content: ""; position: absolute; right: 10px; top: 5px; width: 6px; height: 6px; border-radius: 1.5px; background: var(--heide-300); transform: rotate(45deg); animation: hl-led 2.4s steps(1) infinite; }
.rack i:nth-child(2)::after { animation-delay: -.6s; }
.rack i:nth-child(3)::after { animation-delay: -1.3s; }
.rack i:nth-child(4)::after { animation-delay: -.2s; }
.rack i:nth-child(5)::after { animation-delay: -1.9s; }
@media (max-width: 719px) { .rack { width: 84px; padding: 10px 9px; gap: 6px; } .rack i { height: 12px; } .rack i::after { top: 3px; } }
.root { fill: none; stroke: var(--heide-500); stroke-width: 3; stroke-linecap: round; }
.root--trunk { stroke-width: 4; }
.root--fine { stroke: var(--heide-700); stroke-width: 1.5; }
.pulse { fill: var(--heide-300); }
.juniper .j9 { fill: var(--heide-900); }
.juniper .j8 { fill: var(--heide-800); }

/* ═══ 6  Programme-Band ══════════════════════════════════════════════ */
.tools-band { position: relative; z-index: 1; padding-block: var(--space-8); background: var(--surface-50); border-block: 1px solid var(--border); overflow: hidden; }
.tools-band__title { margin-bottom: var(--space-4); text-align: center; text-wrap: balance; font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--heide-500); }
.marquee { display: flex; width: max-content; }
.marquee__track { display: flex; flex: none; gap: var(--space-3); margin: 0; padding: 0 var(--space-3) 0 0; list-style: none; }
.marquee__track .chip { padding: var(--space-2) var(--space-4); font-size: 15px; }
@media (prefers-reduced-motion: no-preference) {
  .marquee { animation: hl-marquee 70s linear infinite; }
  .marquee:hover { animation-play-state: paused; }
  .motion-ready .marquee { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { width: auto; padding-inline: var(--gutter); }
  .marquee__track { flex-wrap: wrap; justify-content: center; padding: 0; }
  .marquee__track[aria-hidden="true"] { display: none; }
}

/* ═══ 7  Kennen Sie das? Chaos → Ordnung ════════════════════════════ */
.problems { padding-top: var(--section-y); }
.problems__pin { padding-bottom: var(--space-12); }
.problems__list { display: grid; gap: var(--space-16); list-style: none; margin: 0; padding: 0; }
.pitem { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .pitem { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: var(--space-16); } }
.pitem__text { display: grid; gap: var(--space-4); align-content: center; }
.pitem__no { font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: 0.12em; color: var(--heide-500); }
.pitem__no span { color: var(--text-muted); font-weight: 500; }
.pitem__quote { font-size: clamp(26px, 1.1rem + 1.8vw, 42px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.pitem__desc { max-width: 34em; font-size: 18px; color: var(--text-secondary); }
.pitem__fix { display: grid; grid-template-columns: 22px 1fr; gap: var(--space-3); max-width: 34em; padding: var(--space-4) var(--space-6) var(--space-4) var(--space-4); border-radius: var(--radius-md); background: var(--heide-50); color: var(--heide-900); font-weight: 500; }
.pitem__fix svg { margin-top: 2px; color: var(--heide-700); }
.problems__steps { display: none; }
.problems .turn { margin-bottom: var(--section-y); }

.motion-ready .problems { padding-top: 0; }
.motion-ready .problems__pin { height: 100vh; height: 100svh; display: flex; align-items: stretch; padding: calc(var(--header-h) + var(--space-6)) 0 var(--space-8); }
.motion-ready .problems__pin > .container { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.motion-ready .problems__head { margin-bottom: var(--space-6); grid-template-columns: 1fr auto; align-items: end; }
.motion-ready .problems__head .eyebrow { grid-column: 1 / -1; }
.motion-ready .problems__steps { display: flex; gap: var(--space-2); padding-bottom: 12px; }
.problems__steps i { position: relative; display: block; width: 40px; height: 4px; border-radius: var(--radius-full); background: var(--heide-100); overflow: hidden; }
.problems__steps b { position: absolute; inset: 0; border-radius: inherit; background: var(--heide-700); transform: scaleX(0); transform-origin: left center; }
.motion-ready .problems__list { position: relative; display: block; min-height: 0; }
.motion-ready .pitem { position: absolute; inset: 0; }
.motion-ready .pitem .art { height: 100%; width: auto; max-height: 480px; max-width: 100%; aspect-ratio: 4 / 3; justify-self: center; }
@media (max-width: 899px) {
  .motion-ready .pitem { grid-template-rows: auto minmax(0, 1fr); gap: var(--space-4); align-items: stretch; }
  .motion-ready .pitem__text { gap: var(--space-2); }
  .motion-ready .pitem__quote { font-size: 24px; }
  .motion-ready .pitem__desc { font-size: 15px; }
  .motion-ready .pitem__fix { padding: var(--space-3); font-size: 14px; }
  .motion-ready .problems__head { margin-bottom: var(--space-4); }
  .motion-ready .problems__head .h2 { font-size: 24px; }
  .motion-ready .problems__steps i { width: 22px; }
}

/* Szenenbild: Teile sitzen in Ordnungs-Position (scenes.css), motion.js verstreut sie */
.art { position: relative; width: 100%; max-width: 600px; aspect-ratio: 4 / 3; margin-inline: auto; border-radius: var(--radius-xl); background: var(--heide-50); overflow: hidden; container-type: inline-size; font-size: clamp(10px, 2.9cqi, 15px); color: var(--heide-900); }
.pc { position: absolute; display: block; }
.pc.pc--out { display: none; }
.motion-ready .pc.pc--out { display: flex; }
.motion-ready .pc.pc--out.frame-desk { display: block; }
.tx { display: inline-grid; }
.tx > * { grid-area: 1 / 1; }
.tx--grow { flex: 1; min-width: 0; }
.t-chaos { visibility: hidden; }
.motion-ready .t-chaos { visibility: visible; }

.frame { border: max(2px, .45cqi) solid var(--heide-900); border-radius: 6cqi; background: var(--surface-0); }
.frame::before { content: ""; position: absolute; left: 38%; top: 2.2%; width: 24%; height: 1.4%; border-radius: var(--radius-full); background: var(--heide-900); }
.frame-desk { border: 1.5px solid var(--border-strong); border-radius: 1.2cqi; background: var(--surface-0); }
.frame-desk__bar { display: flex; gap: 1cqi; padding: 1.6cqi 2cqi; border-bottom: 1px solid var(--border); background: var(--surface-100); }
.frame-desk__bar i { width: 1.6cqi; height: 1.6cqi; border-radius: 50%; background: var(--border-strong); }
.bar { border-radius: .6cqi; }
.bar--brand { background: var(--heide-700); }
.bar--ink { background: var(--heide-900); }
.bar--btn { border-radius: 1.2cqi; }
.block { border-radius: 2cqi; background: var(--heide-100); }
.card-ph { border: 1.5px solid var(--border); border-radius: 2cqi; background: var(--surface-0); }
.card-ph::before, .card-ph::after { content: ""; position: absolute; left: 8%; height: 16%; border-radius: 2px; }
.card-ph::before { top: 30%; width: 52%; background: var(--heide-200); }
.card-ph::after { top: 58%; width: 34%; background: var(--surface-100); }
.tag { white-space: nowrap; }
.art .status { font-size: clamp(10px, 2.5cqi, 13px); padding: .3em .7em; }
.art .status svg { width: 1.1em; height: 1.1em; }
.callrow, .row, .banner { display: flex; align-items: center; gap: 2.4cqi; padding: 0 3cqi; border-radius: var(--radius-md); }
.callrow { background: var(--surface-0); box-shadow: var(--shadow-md); }
.callrow svg { flex: none; color: var(--error); }
.callrow span { display: grid; line-height: 1.25; }
.callrow small { color: var(--text-muted); font-size: .85em; }
.pcard { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 3cqi 4cqi; align-content: center; padding: 5cqi; border-radius: var(--radius-lg); background: var(--surface-0); box-shadow: var(--shadow-md); font-size: 1.05em; }
.pcard .icon-tile { width: 12cqi; height: 12cqi; }
.pcard__who { display: grid; gap: 1cqi; line-height: 1.3; }
.pcard__who small { color: var(--text-secondary); }
.pcard__num { display: inline-flex; align-items: center; gap: 1.5cqi; font-weight: 600; color: var(--heide-700); }
.pcard > .status { grid-column: 2; justify-self: start; }
.bubble { display: flex; align-items: center; padding: 0 4cqi; border-radius: 4cqi 4cqi 1cqi 4cqi; background: var(--heide-700); color: var(--text-on-brand); font-weight: 600; }
.thead { display: flex; align-items: center; justify-content: space-between; padding: 0 3cqi; font-size: .78em; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--heide-500); border-bottom: 1.5px solid var(--heide-200); }
.row { background: var(--surface-0); border: 1px solid var(--border); }
.row > svg { flex: none; color: var(--heide-500); }
.row .tx--grow { font-weight: 600; }
.row .t-chaos { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 500; font-size: .86em; color: var(--text-secondary); }
.mail__from { font-weight: 600; }
.banner { background: var(--error-bg); color: var(--error); font-weight: 600; }
.banner svg { flex: none; }

/* ═══ 8  Leistungen als gestapelte Tafeln ═══════════════════════════ */
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
.panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); padding: var(--space-6); border-radius: var(--radius-xl); background: var(--surface-0); border: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + var(--space-6)); }
@media (min-width: 1000px) { .panel { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: var(--space-12); padding: var(--space-12); align-items: center; } }
.panel__copy { display: grid; gap: var(--space-4); align-content: start; }
.panel__copy .text-link { justify-self: start; margin-top: var(--space-2); }
.panel__no { font-size: 13px; line-height: 1; font-weight: 600; letter-spacing: 0.12em; color: var(--text-muted); }
.panel__art { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--heide-50); padding: clamp(16px, 3vw, 40px); }
.app__caption { margin-top: var(--space-4); font-size: 14px; color: var(--text-muted); text-align: center; }
@media (min-width: 1000px) and (min-height: 720px) {
  .motion-ready .stack { gap: 12vh; }
  .motion-ready .panel { position: sticky; top: calc(var(--header-h) + var(--space-6)); min-height: min(640px, calc(100svh - var(--header-h) - 64px)); border-color: transparent; box-shadow: var(--shadow-md); transform-origin: 50% 0; }
  .motion-ready .panel:nth-child(2) { top: calc(var(--header-h) + var(--space-6) + 14px); }
  .motion-ready .panel:nth-child(3) { top: calc(var(--header-h) + var(--space-6) + 28px); }
}

/* Website-Bau */
.build { position: relative; aspect-ratio: 5 / 4; container-type: inline-size; }
.build__browser { position: absolute; left: 0; top: 2%; width: 86%; border-radius: 2.4cqi; background: var(--surface-0); box-shadow: var(--shadow-md); overflow: hidden; }
.build__chrome { display: flex; align-items: center; gap: 1.2cqi; padding: 2cqi 2.4cqi; border-bottom: 1px solid var(--border); background: var(--surface-50); }
.build__chrome i { width: 1.6cqi; height: 1.6cqi; border-radius: 50%; background: var(--border-strong); }
.build__chrome span { margin-left: 2cqi; padding: .5cqi 2.4cqi; border-radius: var(--radius-full); border: 1px solid var(--border); background: var(--surface-0); font-size: 2.2cqi; color: var(--text-muted); }
.build__page { display: grid; gap: 3.4cqi; padding: 3.4cqi; }
.b-nav { display: flex; align-items: center; gap: 2cqi; }
.b-logo { width: 11cqi; height: 2.8cqi; border-radius: .6cqi; background: var(--heide-700); }
.b-link { width: 6cqi; height: 1.6cqi; border-radius: .5cqi; background: var(--surface-100); }
.b-link:nth-child(2) { margin-left: auto; }
.b-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.4cqi; align-items: center; }
.b-copy { display: grid; gap: 1.7cqi; }
.b-h { display: block; height: 3.4cqi; width: 92%; border-radius: .6cqi; background: var(--heide-900); }
.b-h--short { width: 62%; }
.b-p { display: block; height: 1.6cqi; width: 96%; border-radius: .5cqi; background: var(--surface-100); }
.b-p--short { width: 70%; }
.b-btn { display: block; width: 15cqi; height: 4.2cqi; margin-top: 1cqi; border-radius: 1cqi; background: var(--heide-700); }
.b-img { position: relative; aspect-ratio: 4 / 3; border-radius: 2cqi; background: var(--heide-100); overflow: hidden; }
.b-img i { position: absolute; width: 18%; aspect-ratio: 1; border-radius: 12%; transform: rotate(45deg); }
.b-img i:nth-child(1) { left: 18%; bottom: 14%; background: var(--heide-700); }
.b-img i:nth-child(2) { left: 44%; bottom: 30%; width: 14%; background: var(--heide-500); }
.b-img i:nth-child(3) { left: 64%; bottom: 52%; width: 10%; background: var(--heide-300); }
.b-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqi; }
.b-cards span { height: 13cqi; border-radius: 1.6cqi; border: 1px solid var(--border); background: var(--surface-0); }
.build__phone { position: absolute; right: 0; bottom: 0; display: grid; gap: 1.6cqi; align-content: start; width: 31%; aspect-ratio: 9 / 18; padding: 4cqi 2.2cqi 2.4cqi; border-radius: 4.4cqi; border: .9cqi solid var(--heide-900); background: var(--surface-0); box-shadow: var(--shadow-lg); }
.build__phone > span { display: block; border-radius: .5cqi; }
.build__phone .b-nav { height: 2.2cqi; background: var(--heide-700); }
.build__phone .b-img { aspect-ratio: 16 / 11; border-radius: 1.4cqi; }
.build__phone .b-h { height: 2.4cqi; width: 90%; }
.build__phone .b-p { width: 80%; }
.build__phone .b-btn { width: 60%; height: 3.4cqi; margin-top: .6cqi; }
.build__phone .b-card { height: 9cqi; border: 1px solid var(--border); border-radius: 1.2cqi; }
.build__badge { position: absolute; left: 3%; bottom: 3%; }
.build__badge .status { font-size: clamp(11px, 2.6cqi, 14px); padding: .35em .8em; box-shadow: var(--shadow-md); }

/* Beispielansicht Software */
.app__window { background: var(--surface-0); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.app__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-6); border-bottom: 1px solid var(--border); }
.app__title { font-weight: 700; font-size: 16px; }
.app__count { font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.app__rows { list-style: none; margin: 0; padding: 0; }
.app__row { display: grid; grid-template-columns: 1fr auto; gap: var(--space-1) var(--space-4); align-items: center; padding: var(--space-4) var(--space-6); border-bottom: 1px solid var(--surface-100); }
.app__name { font-weight: 600; font-size: 15px; line-height: 1.4; }
.app__sub { font-size: 13px; color: var(--text-muted); }
.app__date { font-size: 14px; font-weight: 500; color: var(--text-secondary); text-align: right; font-variant-numeric: tabular-nums; }
.app__row .status { justify-self: end; }
.app__note { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-3); margin: var(--space-4) var(--space-6) var(--space-6); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--info-bg); color: var(--heide-900); font-size: 14px; line-height: 1.5; }
.app__note svg { margin-top: 2px; color: var(--heide-700); transform-origin: 50% 15%; }

/* IT-Übersicht */
.board { display: grid; gap: var(--space-4); max-width: 480px; margin-inline: auto; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-0); box-shadow: var(--shadow-md); }
.board__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); }
.board__head b { font-size: 16px; }
.board__head span { font-size: 13px; color: var(--text-muted); }
.board__rows { display: grid; gap: var(--space-2); }
.board__row { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3) var(--space-2) var(--space-2); border-radius: var(--radius-md); background: var(--surface-50); }
.board__row .icon-tile { width: 36px; height: 36px; background: var(--surface-0); }
.board__label { font-size: 15px; font-weight: 500; }
.board__visit { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--heide-700); color: var(--text-on-brand); font-size: 14px; }
.board__visit b { font-weight: 600; margin-right: var(--space-1); }

/* ═══ 9  Vergleich, Ablauf, Garantien ═══════════════════════════════ */
.compare { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
.compare__col { border-radius: var(--radius-lg); padding: var(--space-6); }
@media (min-width: 720px) { .compare__col { padding: var(--space-8); } }
.compare__col--them { background: var(--surface-50); }
.compare__col--us { background: var(--surface-0); border: 1.5px solid var(--heide-700); }
.compare__title { margin-bottom: var(--space-6); font-size: 19px; font-weight: 700; }
.compare__col--them .compare__title { color: var(--text-secondary); }
.compare ul { display: grid; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.compare li { display: grid; grid-template-columns: 22px 1fr; gap: var(--space-3); align-items: start; }
.compare li svg { margin-top: 2px; }
.compare__col--them li { color: var(--text-secondary); }
.compare__col--them li svg { color: var(--text-muted); }
.compare__col--us li { color: var(--heide-900); font-weight: 500; }
.compare__col--us li svg { color: var(--heide-700); }
.cmp-text { position: relative; }
.cmp-line { position: relative; }
.strike { position: absolute; left: -2px; right: -2px; top: 52%; height: 2px; border-radius: 1px; background: var(--heide-400); transform: scaleX(0); transform-origin: left center; pointer-events: none; }

.flow { position: relative; }
.flow__svg, .flow__rhombus { display: none; }
.steps { display: grid; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } }
.step { position: relative; display: grid; gap: var(--space-3); align-content: start; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface-0); border: 1px solid var(--border); }
.step__no { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--space-2); border: 2px solid var(--heide-700); border-radius: var(--radius-md); background: var(--heide-700); color: var(--text-on-brand); font-weight: 700; font-size: 18px; }
.step__meta { font-size: 14px; font-weight: 500; color: var(--heide-500); }
.step p { color: var(--text-secondary); }
.flow__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); margin-top: var(--space-12); }
@media (min-width: 1000px) {
  .motion-ready .flow { padding-top: 22px; }
  .motion-ready .flow__svg { display: block; position: absolute; left: 0; right: 0; top: -38px; width: 100%; height: 120px; overflow: visible; pointer-events: none; }
  .motion-ready .flow__rhombus { display: block; position: absolute; left: 0; top: 0; z-index: 2; width: 18px; height: 18px; border-radius: 3px; background: var(--heide-700); box-shadow: 0 0 0 6px var(--surface-0); }
  .motion-ready .step { text-align: center; justify-items: center; padding-top: 0; }
  .motion-ready .step__no { position: relative; z-index: 3; margin: -22px auto var(--space-2); box-shadow: 0 0 0 6px var(--surface-0); }
}
.flow__track { fill: none; stroke: var(--heide-200); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.flow__line { fill: none; stroke: var(--heide-700); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.guarantees { background: var(--heide-50); }
.promise-quote { max-width: 30em; font-size: clamp(20px, 1rem + 0.9vw, 28px); line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; color: var(--heide-900); text-wrap: pretty; }
.stats { display: grid; gap: var(--space-8) var(--space-6); margin-top: var(--space-12); padding: var(--space-12) 0 0; border-top: 1px solid var(--heide-200); list-style: none; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .stats { grid-template-columns: repeat(4, 1fr); margin-top: var(--space-16); padding-top: var(--space-16); } }
.stats li { display: grid; gap: var(--space-2); align-content: start; }
.stats__num { display: inline-flex; align-items: baseline; gap: .12em; font-size: clamp(44px, 1.6rem + 2.8vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: var(--heide-700); font-variant-numeric: tabular-nums; }
.stats__label { max-width: 24ch; color: var(--text-secondary); }
.odo { display: inline-flex; align-items: flex-start; height: 1em; line-height: 1; overflow: hidden; }
.odo__col { display: flex; flex-direction: column; }
.odo__col > span { display: block; height: 1em; }
.promise-grid { display: grid; gap: var(--space-8) var(--space-6); margin-top: var(--space-12); padding: var(--space-12) 0 0; border-top: 1px solid var(--heide-200); list-style: none; }
@media (min-width: 720px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .promise-grid { grid-template-columns: repeat(4, 1fr); } }
.promise { display: grid; gap: var(--space-3); align-content: start; }
.promise__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--surface-0); color: var(--heide-700); }
.promise h3 { font-size: 19px; line-height: 1.35; font-weight: 600; }
.promise p { color: var(--text-secondary); }

/* ═══ 10  Region, Fragen ═════════════════════════════════════════════ */
.region { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 1000px) { .region { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); } }
.region__copy { display: grid; gap: var(--space-6); }
.region__towns { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.region__map { border-radius: var(--radius-xl); background: var(--heide-50); padding: var(--space-4); }
.region__map svg { width: 100%; height: auto; }
.map-ring { fill: none; stroke: var(--heide-200); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.map-root { fill: none; stroke: var(--heide-400); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.map-ring-label { fill: var(--text-muted); font: 500 17px var(--font-sans); letter-spacing: 0.04em; }
.map-town { fill: var(--heide-500); }
.map-home { fill: var(--heide-700); }
.map-label { fill: var(--text-secondary); font: 500 19px var(--font-sans); }
.map-label--home { fill: var(--heide-900); font-weight: 700; font-size: 22px; }
.map-ring, .map-pulse, .map-town-g { transform-box: view-box; transform-origin: 0 0; }
.map-pulse { fill: none; stroke: var(--heide-500); stroke-width: 2; opacity: 0; vector-effect: non-scaling-stroke; }
@media (max-width: 719px) { .map-label { font-size: 24px; } .map-label--home { font-size: 28px; } .map-ring-label { font-size: 20px; } }

.faq { display: grid; gap: var(--space-12); }
@media (min-width: 1000px) { .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-16); align-items: start; } .faq .section-head { position: sticky; top: calc(var(--header-h) + var(--space-8)); } }
.faq__list { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; padding: var(--space-4) 0; font-size: 17px; line-height: 1.45; font-weight: 600; color: var(--heide-900); cursor: pointer; list-style: none; transition: color .2s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--heide-700); }
.faq summary .plus { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-full); background: var(--surface-0); color: var(--heide-700); transition: transform .35s var(--ease-enter), background-color .2s ease; }
.faq summary:hover .plus { background: var(--heide-100); }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { padding: 0 var(--space-12) var(--space-6) 0; color: var(--text-secondary); max-width: 64ch; }

/* ═══ 11  Kontakt, Fuß, Finale (lila Vollfläche) ═════════════════════ */
.contact { background: var(--heide-700); color: var(--text-on-brand); overflow: hidden; }
.contact__cta { display: grid; gap: var(--space-8); padding-block: var(--section-y) var(--space-16); }
@media (min-width: 1000px) { .contact__cta { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--space-16); align-items: end; } }
.contact__cta .eyebrow { color: var(--text-on-brand-muted); }
.contact__cta .h1 { margin-top: var(--space-3); }
.contact__cta p { max-width: 40em; color: var(--text-on-brand-muted); }
.contact__lead { margin-top: var(--space-4); font-size: 18px; }
.contact__proof { margin-top: var(--space-2); font-size: 14px; }
.contact__box { display: grid; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--heide-800); }
.contact__box .btn { width: 100%; }
.contact__phone { display: flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; color: var(--text-on-brand); font-weight: 600; text-decoration: none; font-size: 17px; }
.contact__phone:hover { color: var(--text-on-brand); text-decoration: underline; }
.contact__fine { text-align: center; font-size: 14px; color: var(--text-on-brand-muted); }
.site-footer { padding-block: 0 var(--space-8); }
.site-footer__grid { display: grid; gap: var(--space-8); padding-top: var(--space-12); border-top: 1px solid rgba(255, 255, 255, 0.18); }
.contact > .site-footer:first-child .site-footer__grid { border-top: 0; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--space-12); } }
.site-footer__brand { display: grid; gap: var(--space-4); align-content: start; }
.site-footer__brand .logo__mark { height: 52px; }
.site-footer__brand p { max-width: 34em; color: var(--text-on-brand-muted); font-size: 15px; }
.site-footer h2 { margin-bottom: var(--space-3); font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-on-brand-muted); }
.site-footer ul { display: grid; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--text-on-brand); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--text-on-brand); }
.site-footer li a { display: inline-flex; align-items: center; min-height: 32px; }
.site-footer address { font-style: normal; color: var(--text-on-brand-muted); font-size: 15px; line-height: 1.7; }
.site-footer address a { color: var(--text-on-brand); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-6); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 14px; color: var(--text-on-brand-muted); }

/* Finale: Kompakt-Logo, negativ. motion.js lässt die neun Rauten zusammenfliegen */
.finale { display: flex; align-items: flex-end; gap: clamp(10px, 1.6vw, 28px); margin-top: var(--space-16); color: var(--text-on-brand); text-decoration: none; }
.finale:hover { color: var(--text-on-brand); text-decoration: none; }
.finale__mark { flex: none; height: clamp(84px, 15vw, 236px); width: auto; aspect-ratio: 180 / 272; overflow: visible; }
.finale__word { display: block; margin-bottom: -.14em; font-size: clamp(52px, 11.6vw, 184px); line-height: 1.12; font-weight: 700; letter-spacing: -0.035em; white-space: nowrap; }
.finale__logik { font-weight: 300; }

/* ═══ 12  Unterseiten, Buchung, Motion ═══════════════════════════════ */
.page-hero { padding-block: var(--space-12) var(--space-8); }
@media (min-width: 1000px) { .page-hero { padding-block: var(--space-16) var(--space-12); } }
.page-hero .eyebrow { margin-bottom: var(--space-4); }
.page-hero p { margin-top: var(--space-6); color: var(--text-secondary); max-width: 40em; }
.prose { max-width: 72ch; padding-bottom: var(--section-y); }
.prose h2 { margin: var(--space-12) 0 var(--space-3); font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.prose h3 { margin: var(--space-8) 0 var(--space-2); font-size: 17px; line-height: 1.4; font-weight: 600; }
.prose p, .prose ul, .prose ol { margin: 0 0 var(--space-4); color: var(--text-secondary); }
.prose ul, .prose ol { padding-left: var(--space-6); }
.prose li { margin-bottom: var(--space-2); }
.prose strong { color: var(--heide-900); }
.prose .stand { font-size: 14px; color: var(--text-muted); }
.prose .tablewrap { overflow-x: auto; margin: 0 0 var(--space-6); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: var(--space-3) var(--space-4) var(--space-3) 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; color: var(--text-secondary); }
.prose th { color: var(--heide-900); font-weight: 600; }
.legal-nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--border); font-size: 15px; }
.offen { background: var(--warning-bg); color: var(--warning); padding: 0 var(--space-1); border-radius: 4px; font-weight: 600; }
.offen-box { margin: 0 0 var(--space-8); padding: var(--space-4) var(--space-6); border-radius: var(--radius-md); background: var(--warning-bg); color: var(--warning); font-size: 15px; }
.offen-box strong { color: var(--warning); }
.values { display: grid; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); } }
.values h3 { margin: var(--space-4) 0 var(--space-2); font-size: 19px; font-weight: 600; }
.values p { color: var(--text-secondary); }
.section--flush-top { padding-top: 0; }
.stack--tight { gap: var(--space-4); }
.person { display: grid; gap: var(--space-6); margin: 0; padding: var(--space-8); box-shadow: var(--shadow-md); }
.person__quote { margin: 0; container-type: inline-size; }
/* Schrift wächst mit der Kartenbreite, damit der Schlusssatz immer in eine Zeile passt */
.person__quote p { font-size: clamp(19px, 1rem + 0.45vw, 22px); font-size: min(22px, 4.75cqi); line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; color: var(--heide-900); text-wrap: pretty; text-wrap: balance; }
.person__close { display: block; margin-top: var(--space-2); }
@media (max-width: 599px) { .person { padding: var(--space-6) 20px; } }
.person__who { display: flex; align-items: center; gap: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--border); }
.person__who b { display: block; font-weight: 700; color: var(--heide-900); }
.person__who small { display: block; font-size: 14px; color: var(--text-secondary); }
.person__mono { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--heide-700); color: var(--text-on-brand); font-size: 18px; font-weight: 700; letter-spacing: 0.02em; }
.name-mark { display: grid; place-items: center; padding: var(--space-12) var(--space-8); border-radius: var(--radius-xl); background: var(--heide-50); }
.name-mark svg { width: auto; height: clamp(180px, 26vw, 300px); aspect-ratio: 180 / 272; overflow: visible; }
@media (max-width: 999px) { .name-mark { order: 2; } }
.notfound { min-height: 100svh; display: grid; place-items: center; padding: var(--space-8) var(--gutter); text-align: center; }
.notfound__inner { display: grid; justify-items: center; gap: var(--space-6); max-width: 32em; }
.notfound__inner p { color: var(--text-secondary); }

/* Terminbuchung (Modal aus booking.js) */
.bk-overlay { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: var(--space-6); background: rgba(60, 24, 72, 0.55); font-family: var(--font-sans); }
.bk-overlay.bk-open { display: flex; }
.bk-dialog { position: relative; width: 100%; max-width: 600px; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; background: var(--surface-0); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: var(--space-8); color: var(--heide-900); }
.bk-close { position: absolute; top: var(--space-4); right: var(--space-4); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-0); color: var(--text-secondary); cursor: pointer; }
.bk-close:hover { background: var(--heide-50); color: var(--heide-700); }
.bk-title { margin: 0 52px var(--space-1) 0; font-size: 24px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; color: var(--heide-900); }
.bk-sub { margin: 0 0 var(--space-6); font-size: 14px; color: var(--text-secondary); }
.bk-label { display: flex; align-items: center; gap: var(--space-2); margin: var(--space-6) 0 var(--space-3); font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--heide-500); }
.bk-label b { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: var(--radius-sm); background: var(--heide-100); color: var(--heide-700); font-size: 12px; font-weight: 700; letter-spacing: 0; }
.bk-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.bk-chip { min-height: 40px; padding: var(--space-2) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-full); background: var(--surface-0); cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--heide-900); transition: background-color .15s, border-color .15s, color .15s; }
.bk-chip:hover { border-color: var(--border-strong); background: var(--heide-50); }
.bk-chip.bk-on { background: var(--heide-700); border-color: var(--heide-700); color: var(--text-on-brand); }
.bk-dates { display: flex; gap: var(--space-2); overflow-x: auto; padding-bottom: var(--space-2); -webkit-overflow-scrolling: touch; }
.bk-date { flex: none; min-width: 72px; padding: var(--space-2) var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-0); cursor: pointer; font-family: inherit; text-align: center; transition: background-color .15s, border-color .15s; }
.bk-date:hover { border-color: var(--border-strong); background: var(--heide-50); }
.bk-date.bk-on { background: var(--heide-700); border-color: var(--heide-700); }
.bk-date .d1 { display: block; font-size: 12px; font-weight: 500; color: var(--text-muted); }
.bk-date .d2 { display: block; font-size: 15px; font-weight: 700; color: var(--heide-900); font-variant-numeric: tabular-nums; }
.bk-date.bk-on .d1, .bk-date.bk-on .d2 { color: var(--text-on-brand); }
.bk-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); margin-top: var(--space-3); }
.bk-time { min-height: 40px; padding: var(--space-2) var(--space-1); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-0); cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--heide-900); font-variant-numeric: tabular-nums; transition: background-color .15s, border-color .15s; }
.bk-time:hover:not(:disabled) { border-color: var(--border-strong); background: var(--heide-50); }
.bk-time.bk-on { background: var(--heide-700); border-color: var(--heide-700); color: var(--text-on-brand); }
.bk-time:disabled { background: var(--surface-50); color: var(--text-muted); text-decoration: line-through; cursor: not-allowed; }
.bk-note { margin-top: var(--space-3); font-size: 14px; color: var(--text-muted); }
.bk-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.bk-field { display: block; margin-bottom: var(--space-3); }
.bk-field span { display: block; margin-bottom: var(--space-1); font-size: 14px; font-weight: 600; color: var(--heide-900); }
.bk-field input, .bk-field textarea { width: 100%; min-height: 44px; padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-100); font-family: inherit; font-size: 16px; color: var(--heide-900); outline: none; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.bk-field input::placeholder, .bk-field textarea::placeholder { color: var(--text-muted); }
.bk-field input:focus, .bk-field textarea:focus { border-color: var(--border-strong); background: var(--surface-0); box-shadow: 0 0 0 2px var(--surface-0), 0 0 0 4px var(--focus-ring); }
.bk-field textarea { min-height: 88px; resize: vertical; }
.bk-field.bk-err input { border-color: var(--error); background: var(--error-bg); }
.bk-consent { display: flex; align-items: flex-start; gap: var(--space-3); margin-top: var(--space-4); font-size: 14px; line-height: 1.55; color: var(--text-secondary); }
.bk-consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--heide-700); }
.bk-consent a { color: var(--link); font-weight: 600; }
.bk-submit { width: 100%; min-height: 48px; margin-top: var(--space-6); padding: var(--space-3) var(--space-6); border: 0; border-radius: var(--radius-md); background: var(--heide-700); color: var(--text-on-brand); font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: background-color .15s; }
.bk-submit:hover:not(:disabled) { background: var(--heide-600); }
.bk-submit:disabled { opacity: .6; cursor: wait; }
.bk-hint { margin-top: var(--space-3); text-align: center; font-size: 14px; color: var(--text-muted); }
.bk-tel { color: inherit; font-weight: 600; }
.bk-error { display: none; margin-top: var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--error-bg); color: var(--error); font-size: 14px; line-height: 1.5; }
.bk-error.bk-show { display: block; }
.bk-success { display: none; text-align: center; padding: var(--space-6) var(--space-2) var(--space-2); }
.bk-success.bk-show { display: block; }
.bk-sicon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto var(--space-4); border-radius: var(--radius-lg); background: var(--success-bg); color: var(--success); }
.bk-success h3 { margin: 0 0 var(--space-2); font-size: 24px; font-weight: 700; color: var(--heide-900); }
.bk-success p { margin: 0 0 var(--space-2); font-size: 16px; line-height: 1.6; color: var(--text-secondary); }
.bk-success .bk-after { margin-top: var(--space-4); }
.bk-sbox { margin: var(--space-4) auto var(--space-2); max-width: 340px; padding: var(--space-4); border-radius: var(--radius-md); background: var(--heide-50); font-size: 15px; font-weight: 600; color: var(--heide-900); }
.bk-hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
@media (max-width: 640px) {
  .bk-overlay { padding: 0; align-items: stretch; }
  .bk-dialog { max-width: none; max-height: 100dvh; border-radius: 0; padding: var(--space-6) var(--space-4) var(--space-24); }
  .bk-times { grid-template-columns: repeat(3, 1fr); }
  .bk-grid2 { grid-template-columns: 1fr; gap: 0; }
}

/* ── Motion: Grundbewegungen (CSS) ── */
@keyframes hl-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hl-line { from { transform: translateY(110%); } to { transform: none; } }
@keyframes hl-bloom { from { opacity: 0; scale: 0; } to { opacity: 1; scale: 1; } }
@keyframes hl-fade { from { opacity: 0; } }
@keyframes hl-rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes hl-marquee { to { transform: translateX(-50%); } }
@keyframes hl-led { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes hl-cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }
@keyframes hl-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(5); opacity: 0; } }
@keyframes hl-vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes hl-vt-in { from { opacity: 0; transform: translateY(18px); } }

.hero-title .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-title .line > span { display: inline-block; }
.reveal-pending { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .8s var(--ease-enter); }
.reveal-pending.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .enter { animation: hl-enter .9s var(--ease-enter) both; }
  .hero-title .enter { animation-name: hl-line; animation-duration: 1.1s; }
  .enter-1 { animation-delay: .1s; }
  .enter-2 { animation-delay: .18s; }
  .enter-3 { animation-delay: .3s; }
  .enter-4 { animation-delay: .46s; }
  .enter-5 { animation-delay: .56s; }
  .enter-6 { animation-delay: .66s; }

  /* Heide blüht beim Laden auf: vorn zuerst, dann nach hinten */
  .stage__heath .heath-row { animation: hl-enter 1.1s var(--ease-enter) backwards; }
  .stage__heath .heath-row:nth-child(6) { animation-delay: .05s; }
  .stage__heath .heath-row:nth-child(5) { animation-delay: .14s; }
  .stage__heath .heath-row:nth-child(4) { animation-delay: .23s; }
  .stage__heath .heath-row:nth-child(3) { animation-delay: .32s; }
  .stage__heath .heath-row:nth-child(2) { animation-delay: .41s; }
  .stage__heath .heath-row:nth-child(1) { animation-delay: .5s; }

  /* Das Logo in der Kopfzeile blüht von unten nach oben auf */
  .home .site-header .logo__mark .mk-r { transform-box: fill-box; transform-origin: center; animation: hl-bloom .6s var(--ease-snap) both; }
  .home .site-header .logo__mark .mk-r:nth-of-type(1) { animation-delay: .15s; }
  .home .site-header .logo__mark .mk-r:nth-of-type(2) { animation-delay: .2s; }
  .home .site-header .logo__mark .mk-r:nth-of-type(3) { animation-delay: .25s; }
  .home .site-header .logo__mark .mk-r:nth-of-type(4) { animation-delay: .3s; }
  .home .site-header .logo__mark .mk-r:nth-of-type(5) { animation-delay: .35s; }
  .home .site-header .logo__mark .mk-r:nth-of-type(6) { animation-delay: .4s; }
  .home .site-header .logo__mark .mk-r:nth-of-type(7) { animation-delay: .45s; }
  .home .site-header .logo__mark .mk-r:nth-of-type(8) { animation-delay: .5s; }
  .home .site-header .logo__mark .mk-r:nth-of-type(9) { animation-delay: .55s; }

  .map-pulse { animation: hl-pulse 3.2s var(--ease-enter) infinite; }
  .bk-overlay.bk-open { animation: hl-fade .3s ease both; }
  .bk-overlay.bk-open .bk-dialog { animation: hl-rise .5s var(--ease-enter) both; }

  /* Karten heben sich beim Überfahren (statt 3D-Kippen) */
  .step, .values .card { transition: opacity .6s ease, transform .6s var(--ease-enter), box-shadow .35s ease, border-color .35s ease; }
  @media (hover: hover) {
    .step:hover, .values .card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-md); }
  }

  /* Häufige Fragen klappen weich auf (wo der Browser es kann) */
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease-enter), content-visibility .5s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }

  /* Seitenwechsel als weiche Überblendung, die Kopfzeile bleibt stehen */
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: hl-vt-hold .75s linear both; }
  ::view-transition-new(root) { animation: hl-vt-diamond .75s var(--ease-enter) both; }
}
.bare { padding-top: 0; }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }

/* Schmale Bildschirme: Tafeln und Illustrationen enger, Raster dürfen schrumpfen */
.board { grid-template-columns: minmax(0, 1fr); }
.board__row { grid-template-columns: 36px minmax(0, 1fr) auto; }
@media (max-width: 519px) {
  .panel { padding: var(--space-4); gap: var(--space-6); }
  .panel__art { padding: var(--space-3); border-radius: var(--radius-lg); }
  .board { padding: var(--space-3); gap: var(--space-3); }
  .board__row { grid-template-columns: 30px minmax(0, 1fr) auto; gap: var(--space-2); padding: 6px 8px 6px 6px; }
  .board__row .icon-tile { width: 30px; height: 30px; }
  .board__label { font-size: 14px; }
  .board .status { font-size: 12px; }
  .board__head span { font-size: 12px; }
  .app__bar, .app__row { padding-inline: var(--space-4); }
  .app__note { margin-inline: var(--space-4); }
}
.stone { fill: var(--heide-800); }

/* ═══ Für Betriebe wie Ihren: Illustration über die volle Breite ═══ */
.businesses { padding-bottom: 0; }
.businesses__head { margin-bottom: var(--space-8); }
.businesses__figure { margin: 0; }
.businesses__frame { position: relative; width: 100%; aspect-ratio: 2048 / 1120; max-height: 92vh; overflow: hidden; container-type: inline-size; background: var(--surface-0); }
.businesses__frame picture, .businesses__img { display: block; width: 100%; height: 100%; }
.businesses__img { object-fit: cover; object-position: 50% 0%; transform-origin: 50% 30%; }
.businesses__tags { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.biz { position: absolute; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -100%); }
.biz::after { content: ""; display: block; width: 1.5px; height: 2.4cqi; margin-top: 4px; background: var(--heide-300); }
.biz__chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px 5px 8px; border-radius: var(--radius-full); background: var(--surface-0); color: var(--heide-900); box-shadow: var(--shadow-md); font-size: 14px; font-weight: 600; white-space: nowrap; }
.biz__chip svg { color: var(--success); }
.biz--0 { left: 13.3%; top: calc(11.8 * 100cqi * 1120 / 2048 / 100 - 6px); }
.biz--1 { left: 35.6%; top: calc(27 * 100cqi * 1120 / 2048 / 100 - 6px); }
.biz--2 { left: 50%; top: calc(22.8 * 100cqi * 1120 / 2048 / 100 - 6px); }
.biz--3 { left: 66.4%; top: calc(21.7 * 100cqi * 1120 / 2048 / 100 - 6px); }
.biz--4 { left: 79.4%; top: calc(12.6 * 100cqi * 1120 / 2048 / 100 - 6px); }
.biz--5 { left: 90.6%; top: calc(25.4 * 100cqi * 1120 / 2048 / 100 - 6px); }
.businesses__caption { padding-top: var(--space-6); padding-bottom: var(--section-y); }
@media (min-width: 900px) { .businesses__caption { display: none; } }
@media (max-width: 899px) { .businesses__tags { display: none; } }

/* Buchung nicht erreichbar: Hinweis mit Telefon statt Formular */
.bk-sicon--info { background: var(--heide-50); color: var(--heide-700); }
.bk-call { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: var(--space-3) var(--space-8); border-radius: var(--radius-md); background: var(--heide-700); color: var(--text-on-brand); font-size: 18px; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.bk-call:hover { background: var(--heide-600); color: var(--text-on-brand); }

/* ═══ Impressum: Kernangaben als Karten, darunter die Rechtstexte ═══ */
.imprint-cards { display: grid; gap: var(--space-4); margin-bottom: var(--space-12); }
@media (min-width: 900px) { .imprint-cards { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } }
.imprint-card { display: grid; gap: var(--space-3); align-content: start; }
.imprint-card h2 { margin-top: var(--space-2); font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--heide-500); }
.imprint-card p, .imprint-card address { font-style: normal; color: var(--heide-900); }
.imprint-card strong { font-weight: 700; }
.imprint-card__hint { font-size: 14px; color: var(--text-secondary) !important; }
.imprint-toc { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.imprint-toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-3); border-radius: var(--radius-full); border: 1px solid var(--border); color: var(--heide-900); font-size: 14px; font-weight: 500; text-decoration: none; }
.imprint-toc a:hover { background: var(--heide-50); border-color: var(--border-strong); color: var(--heide-700); }
.imprint-prose h2 { scroll-margin-top: calc(var(--header-h) + var(--space-6)); }

/* ═══ Region: Foto des Heidehofs über die volle Breite (KI-generiert, gekennzeichnet) ═══ */
.region-section { padding-top: 0; }
.heath-photo { position: relative; margin: 0 0 var(--section-y); }
.heath-photo__frame { position: relative; width: 100%; overflow: hidden; aspect-ratio: 1 / 1; background: var(--heide-100); }
@media (min-width: 720px) { .heath-photo__frame { aspect-ratio: 16 / 9; max-height: 88vh; } }
.heath-photo__frame picture, .heath-photo__img { display: block; width: 100%; height: 100%; }
.heath-photo__img { object-fit: cover; object-position: 50% 40%; transform-origin: 60% 55%; }
.heath-photo__ai { position: absolute; left: var(--gutter); bottom: var(--space-4); padding: 3px 10px; border-radius: var(--radius-full); background: var(--surface-0); color: var(--heide-900); font-size: 12px; font-weight: 500; letter-spacing: .02em; box-shadow: var(--shadow-sm); }
.heath-photo__caption { padding-top: var(--space-6); }
.heath-photo__caption .eyebrow { color: var(--heide-700); margin-bottom: var(--space-2); }
.heath-photo__line { font-size: clamp(30px, 1.2rem + 3.4vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -0.025em; color: var(--heide-900); }
@media (min-width: 900px) {
  /* Text steht im ruhigen Himmel oben links (Kontrast Dunkelviolett auf Lavendelgrau über 7:1) */
  .heath-photo__caption { position: absolute; left: 0; right: 0; top: 0; padding-top: clamp(40px, 6vw, 96px); pointer-events: none; }
  .heath-photo__line { max-width: 9em; }
}

@keyframes hl-vt-diamond { from { clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%); } to { clip-path: polygon(50% -60%, 160% 50%, 50% 160%, -60% 50%); } }
@keyframes hl-vt-hold { to { opacity: .55; } }

/* ═══ v2: größere Hero-Überschrift (Gewicht wird von motion.js gesteuert) ═══ */
.hero-title { font-size: clamp(36px, 0.5rem + 8vw, 108px); line-height: 1; letter-spacing: -0.035em; max-width: none; }
.hero-title .hc { display: inline-block; }
@media (min-width: 720px) { .motion-ready .stage__heath { height: clamp(150px, 28svh, 340px); } }

/* ═══ v2: Typografie-Moment ═══ */
.kinetic { position: relative; overflow: hidden; padding-block: var(--section-y); background: var(--surface-0); }
.kinetic__row { display: flex; align-items: center; gap: .32em; width: max-content; font-size: clamp(56px, 10.5vw, 176px); line-height: 1.02; letter-spacing: -0.04em; white-space: nowrap; color: var(--heide-900); font-weight: 700; }
.kinetic__row + .kinetic__row { margin-top: .06em; }
.kd { flex: none; display: inline-block; width: .2em; height: .2em; border-radius: .03em; background: var(--heide-400); transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) {
  .kinetic__row { width: auto; flex-wrap: wrap; justify-content: center; font-size: clamp(32px, 6vw, 80px); white-space: normal; }
}

/* ═══ v2: Rauten-Cursor (nur Maus) ═══ */
.cursor { position: fixed; left: 0; top: 0; z-index: 2000; width: 12px; height: 12px; margin: -6px 0 0 -6px; pointer-events: none; opacity: 0; visibility: hidden; transition: width .35s var(--ease-snap), height .35s var(--ease-snap), margin .35s var(--ease-snap); }
.cursor::before { content: ""; position: absolute; inset: 0; border: 1.5px solid transparent; border-radius: 22%; background: var(--heide-700); transform: rotate(45deg); transition: background-color .25s ease, border-color .25s ease; }
.cursor.is-hot { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.cursor.is-hot::before { background: transparent; border-color: var(--heide-700); }
.cursor.is-light::before { background: var(--surface-0); }
.cursor.is-light.is-hot::before { background: transparent; border-color: var(--surface-0); }
.cursor.is-off::before { opacity: 0; }
/* Systemzeiger aus, solange der Rauten-Cursor läuft (setzt motion.js nur bei Maus und ohne „Bewegung reduzieren“) */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto !important; }

/* ═══ v2 · Was wir alles können: Galerie mit Live-Demos ═══
   Statisch/Handy: waagerecht wischbar mit Einrasten. Mit motion-ready ab 1000 px:
   der Abschnitt hält an, die Karten wandern beim Scrollen nach links. */
.showcase { padding-block: var(--section-y); background: var(--surface-50); overflow: hidden; }
.showcase__head { display: grid; gap: var(--space-4) var(--space-12); align-items: end; margin-bottom: var(--space-8); }
@media (min-width: 1000px) { .showcase__head { grid-template-columns: 1fr 1fr; } }
.showcase__intro { display: grid; gap: var(--space-4); }
.showcase__intro p { color: var(--text-secondary); }
.showcase__tech { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.showcase__tech li { padding: 3px 10px; border-radius: var(--radius-full); border: 1px solid var(--border); background: var(--surface-0); font-size: 13px; font-weight: 500; color: var(--heide-900); }
.showcase__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: var(--space-2); }
.showcase__viewport::-webkit-scrollbar { display: none; }
.showcase__track { display: flex; gap: var(--space-6); width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.sc { flex: none; display: grid; grid-template-rows: auto 1fr; width: min(84vw, 400px); border-radius: var(--radius-xl); background: var(--surface-0); box-shadow: var(--shadow-md); overflow: hidden; scroll-snap-align: center; }
.sc__body { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-6); }
.sc__no { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--text-muted); }
.sc h3 { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.sc__body p { color: var(--text-secondary); font-size: 15px; }
.sc__live { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-2); padding: 4px 10px; border-radius: var(--radius-sm); background: var(--success-bg); color: var(--success) !important; font-size: 13px !important; font-weight: 600; justify-self: start; }
.sc--cta { background: var(--heide-700); color: var(--text-on-brand); }
.sc__cta { display: grid; gap: var(--space-4); align-content: center; padding: var(--space-8); }
.sc__cta .eyebrow { color: var(--text-on-brand-muted); }
.sc__cta h3 { font-size: clamp(26px, 2.4vw, 34px); }
.sc__cta p { color: var(--text-on-brand-muted); }
.sc__cta .btn { justify-self: start; }
.showcase__progress { margin-top: var(--space-6); }
.showcase__progress i { display: block; height: 3px; border-radius: var(--radius-full); background: var(--heide-100); overflow: hidden; }
.showcase__progress b { display: block; height: 100%; background: var(--heide-700); transform: scaleX(0); transform-origin: left center; }
@media (min-width: 1000px) {
  .motion-ready .showcase { padding: 0; }
  .motion-ready .showcase__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
  .motion-ready .showcase__viewport { overflow: visible; scroll-snap-type: none; }
  .motion-ready .sc { width: 400px; }
}
@media (min-width: 1000px) and (max-height: 820px) { .motion-ready .showcase__head p { display: none; } .demo { height: 200px; } }

/* Demo-Bühne: Teile sitzen in Endstellung, motion.js baut sie nacheinander auf */
.demo { position: relative; height: 240px; background: var(--heide-50); overflow: hidden; container-type: inline-size; font-size: 13px; color: var(--heide-900); }
.demo__stage { position: absolute; inset: 0; }
.demo small { display: block; color: var(--text-muted); font-size: 11px; line-height: 1.3; }
.demo b { font-weight: 600; }
.d-ok { position: absolute; left: 6%; bottom: 8%; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: var(--radius-full); background: var(--success-bg); color: var(--success); font-size: 12px; font-weight: 600; box-shadow: var(--shadow-sm); }
.d-line { position: absolute; left: 40%; top: 30%; width: 14%; height: 2px; background: var(--heide-400); }
.d-line::after { content: ""; position: absolute; right: -4px; top: -3px; width: 8px; height: 8px; background: var(--heide-400); transform: rotate(45deg); border-radius: 1px; }
/* 1 Automatisierung */
.d-mail { position: absolute; left: 6%; top: 14%; width: 34%; display: flex; gap: 8px; align-items: center; padding: 10px; border-radius: 12px; background: var(--surface-0); box-shadow: var(--shadow-md); }
.d-mail svg { flex: none; color: var(--heide-700); }
.d-mail b { display: block; font-size: 11px; }
.d-fields { position: absolute; right: 6%; top: 10%; width: 38%; display: grid; gap: 6px; }
.d-fields span { display: block; padding: 6px 9px; border-radius: 8px; background: var(--surface-0); box-shadow: var(--shadow-sm); }
.d-fields b { font-size: 12px; }
/* 2 Terminbuchung */
.d-cal { position: absolute; left: 6%; top: 10%; width: 52%; padding: 10px; border-radius: 12px; background: var(--surface-0); box-shadow: var(--shadow-md); }
.d-cal__head { display: grid; gap: 4px; margin-bottom: 8px; }
.d-cal__head span { font-size: 10px; color: var(--text-muted); word-spacing: 6px; }
.d-cal__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.d-cal__grid i { height: 16px; border-radius: 4px; background: var(--heide-100); }
.d-cal__grid i.is-taken { background: var(--surface-100); }
.d-pick { position: absolute; left: calc(6% + 10px + (52% - 20px) * .2 + 1px); top: calc(10% + 52px); width: calc((52% - 20px - 20px) / 5); height: 16px; border-radius: 4px; background: var(--heide-700); }
.d-toast { position: absolute; right: 6%; top: 40%; width: 40%; display: flex; gap: 8px; align-items: center; padding: 10px; border-radius: 12px; background: var(--surface-0); box-shadow: var(--shadow-lg); }
.d-toast svg { flex: none; color: var(--heide-700); }
/* 3 Auswertungen */
.d-kpis { position: absolute; left: 6%; top: 10%; width: 88%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.d-kpis span { padding: 8px 10px; border-radius: 10px; background: var(--surface-0); box-shadow: var(--shadow-sm); }
.d-kpis b { font-size: 15px; font-weight: 700; }
.d-bars { position: absolute; left: 6%; right: 6%; bottom: 26%; height: 34%; display: flex; align-items: flex-end; gap: 6%; }
.d-bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--heide-300); }
.d-bars .b0 { height: 40%; } .d-bars .b1 { height: 55%; } .d-bars .b2 { height: 48%; } .d-bars .b3 { height: 70%; }
.d-bars .b4 { height: 62%; } .d-bars .b5 { height: 82%; } .d-bars .b6 { height: 76%; } .d-bars .b7 { height: 100%; background: var(--heide-700); }
/* 4 Vermietung */
.d-days { position: absolute; left: 30%; right: 6%; top: 9%; display: grid; grid-template-columns: repeat(6, 1fr); font-size: 10px; color: var(--text-muted); }
.d-row { position: absolute; left: 6%; right: 6%; height: 26px; display: grid; grid-template-columns: 24% 1fr; align-items: center; border-bottom: 1px solid var(--heide-100); }
.d-row:nth-of-type(2) { top: 20%; } .d-row:nth-of-type(3) { top: 34%; } .d-row:nth-of-type(4) { top: 48%; } .d-row:nth-of-type(5) { top: 62%; }
.d-row span { font-size: 11px; font-weight: 500; }
.d-row { position: absolute; }
.d-bk { position: relative; display: block; height: 14px; border-radius: 4px; background: var(--heide-400); }
.d-bk0 { margin-left: 0; width: 50%; background: var(--heide-700); } .d-bk1 { margin-left: 34%; width: 50%; }
.d-bk2 { margin-left: 16%; width: 34%; background: var(--heide-500); } .d-bk3 { margin-left: 66%; width: 34%; background: var(--heide-300); }
/* 5 Excel ablösen */
.d-sheet { position: absolute; left: 6%; top: 10%; width: 36%; padding: 8px; border-radius: 8px; background: var(--surface-0); box-shadow: var(--shadow-sm); transform: rotate(-3deg); }
.d-sheet b { display: block; margin-bottom: 6px; font-size: 10px; font-family: ui-monospace, Menlo, monospace; font-weight: 500; color: var(--text-secondary); }
.d-sheet__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.d-sheet__grid i { height: 9px; background: var(--surface-100); }
.d-line--short { left: 45%; width: 9%; }
.d-recs { position: absolute; right: 6%; top: 10%; width: 38%; display: grid; gap: 5px; }
.d-recs span { display: flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 7px; background: var(--surface-0); box-shadow: var(--shadow-sm); font-size: 11px; font-weight: 600; }
.d-recs svg { color: var(--success); }
/* 6 Eigene Server */
.d-srv { position: absolute; left: 6%; right: 6%; height: 30px; display: grid; grid-template-columns: 14px 1fr auto; gap: 8px; align-items: center; padding: 0 10px; border-radius: 8px; background: var(--surface-0); box-shadow: var(--shadow-sm); }
.d-srv:nth-of-type(1) { top: 8%; } .d-srv:nth-of-type(2) { top: 25%; } .d-srv:nth-of-type(3) { top: 42%; } .d-srv:nth-of-type(4) { top: 59%; }
.d-srv i { width: 8px; height: 8px; border-radius: 2px; background: var(--success); transform: rotate(45deg); }
.d-srv b { font-size: 11px; color: var(--success); }
/* 7 Handy */
.d-phone { position: absolute; left: 50%; top: 8%; width: 34%; height: 110%; margin-left: -17%; padding: 16px 8px; border: 4px solid var(--heide-900); border-radius: 18px; background: var(--surface-0); display: grid; gap: 6px; align-content: start; }
.d-phone__bar { height: 10px; border-radius: 3px; background: var(--heide-700); }
.d-phone span { display: grid; grid-template-columns: 14px 1fr; gap: 6px; align-items: center; }
.d-phone span i { width: 14px; height: 14px; border-radius: 4px; background: var(--heide-100); }
.d-phone span em { height: 7px; border-radius: 3px; background: var(--surface-100); }
.d-push { position: absolute; left: 10%; right: 10%; top: 6%; display: flex; gap: 8px; align-items: center; padding: 9px 11px; border-radius: 12px; background: var(--surface-0); box-shadow: var(--shadow-lg); }
.d-push svg { flex: none; color: var(--heide-700); }
