/* =============================================================================
   Startseite (rk-startseite.css), Präfix hs-
   Version: 1.4 | 2026-10-05 | Spec 104 P104c: neues Logo im Startbild (≥ 190 px, auch App-Ansicht) und im Block Referenzen (hell/dunkel).
   Version: 1.3 | 2026-10-03 | Kopf „Warum …?“ linksbündig (Regel ausrichtung-und-lesefluss).
   Version: 1.2 | 2026-10-01 | Spec 004 Runde 2: App-Abschnitt auf Design-Token umgestellt (Abstände, Schriftstufen), Karten- und Vergleichsbilder 16:9, Zahl im Academy-Block kleiner.
   Version: 1.1 | 2026-10-01 | Spec 004 K4: Abschnitt „App-Ansicht“ am Ende (nur bis 767 px, nur html[data-view="app"]).
   Version: 1.0 | 2026-10-01 | Spec 004 Kriterium 7: aus dem Inline-<style> von src/index.html (0.7) unverändert
   ausgelagert. Eingebunden über `pageStyles` im Front-Matter der Startseite (letztes Stylesheet im <head>,
   damit dieselbe Kaskadenreihenfolge wie vorher: nach allen zentralen Dateien, vor rk-startseite-bereiche.css).
   Bei jeder Änderung den Parameter ?v= in src/index.html (pageStyles) hochzählen.
   ============================================================================= */
/* =============================================================================
   Startseite (Präfix hs-) — seiteneigene Tokens nach Muster vor-ort-schulung.
   Hex-Werte stehen ausschließlich in den Token-Blöcken (Hell / Dunkel).
   ============================================================================= */
:root {
  /* UDS-Ergänzungen, global in main-v2.css nicht vorhanden (Knopf-Token kommen zentral als --rk-*) */
  --font-display: var(--font-ui); /* zentraler Stapel inkl. „Guaruja Fallback“ */
  --fs-h3: 20px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  /* Runde 6: Linie/Tiefe aus den zentralen Tokens (war Beige #eceae3 und eigene Schatten) */
  --border-subtle: var(--rk-line);
  --shadow-md: var(--rk-shadow-card);
  --shadow-lg: var(--rk-shadow-card-hover);
  --shadow-xl: 0 24px 64px rgba(20, 20, 18, .16), 0 8px 24px rgba(20, 20, 18, .08);
  --overlay-modal: rgba(0, 0, 0, .72);
  --motion-base: .22s cubic-bezier(.2, .8, .2, 1);
  --motion-slow: .42s cubic-bezier(.2, .8, .2, 1);

  /* Startseite: Farben */
  --hs-gold-text: var(--rk-gold-text); /* Runde 6: zentrales Text-Gold (hell #7a5a1c, dunkel #c1b783) */
  --hs-media-dark: #0e0e0d;
  --hs-on-media: #fafaf7;
  --hs-on-media-muted: rgba(250, 250, 247, .86);
  --hs-on-media-line: rgba(250, 250, 247, .34);
  --hs-gold-on-media: #d4c896;
  --hs-overlay: linear-gradient(180deg, rgba(10, 10, 9, .58) 0%, rgba(10, 10, 9, .80) 100%);
  --hs-tag-bg: rgba(10, 10, 9, .78);
  --hs-insta-bg: #1a1a18; /* Runde 6: war Goldfläche #8a6a2a — Gold nur als Text (Runde 5), jetzt bewusst dunkler Abschnitt */
  --hs-insta-fg: #ffffff;
  --hs-insta-fg-muted: rgba(255, 255, 255, .92);
  --hs-insta-band: rgba(255, 255, 255, .16);
  /* Ghost-Wörter (PROJEKTE, PHILOSOPHIE …): ein gemeinsamer Satz für alle */
  --hs-ghost-stroke: rgba(138, 106, 42, .42);
  --hs-ghost-fill: rgba(193, 183, 131, .10);
  --hs-ghost-stroke-w: 1.5px;
  --hs-focus: #1a1a18;
  --hs-frame: rgba(193, 183, 131, .7);
  --hs-deco-hero-a: rgba(212, 200, 150, .55);
  --hs-deco-hero-b: rgba(255, 102, 0, .55);
  --hs-phone-shadow: rgba(0, 0, 0, .35);
  /* Runde 6: Kitt-Streif neutral statt Gold (Bewegung unverändert) */
  --hs-kitt-core: color-mix(in srgb, var(--text-primary) 70%, transparent);
  --hs-kitt-mid: color-mix(in srgb, var(--text-primary) 38%, transparent);
  --hs-kitt-edge: color-mix(in srgb, var(--text-primary) 14%, transparent);
  --hs-kitt-line: color-mix(in srgb, var(--text-primary) 45%, transparent);
  --hs-backdrop-filter: blur(28px) saturate(1.1) brightness(.72);
  --hs-teaser-fade: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, 0) 100%);
  --hs-phone-shadow-hover: rgba(0, 0, 0, .45);

  /* Startseite: Maße und Schrift (skaliert mit dem A11y-Schriftgrößen-Layer) */
  --hs-fs-scale: 1;
  --hs-maxw: 1440px;
  --hs-gutter: clamp(16px, 4vw, 48px);
  --hs-section-py: clamp(64px, 9vw, 128px);
  --hs-fs-h1: calc(clamp(34px, 4.4vw + 1rem, 96px) * var(--hs-fs-scale));
  /* Runde 6: Lesestufen aus den zentralen Tokens (rem → skalieren über den A11y-Layer, daher ohne --hs-fs-scale);
     Überschriften nie kleiner als bisher (max). Hero-h1, h2-xl und Ghost bleiben unverändert. */
  --hs-fs-h2: max(calc(clamp(26px, 2.4vw + 1rem, 60px) * var(--hs-fs-scale)), var(--rk-fs-h2));
  --hs-fs-h2-xl: calc(clamp(40px, 6vw + 1rem, 104px) * var(--hs-fs-scale));
  --hs-fs-h3: max(calc(clamp(20px, 1vw + .9rem, 30px) * var(--hs-fs-scale)), var(--rk-fs-h3));
  --hs-fs-stat: calc(clamp(32px, 2vw + 1.25rem, 52px) * var(--hs-fs-scale));
  --hs-fs-lead: var(--rk-fs-lead);
  --hs-fs-body: var(--rk-fs-body);
  --hs-fs-eyebrow: var(--rk-fs-eyebrow);
  --hs-fs-micro: var(--rk-fs-meta);
  --hs-fs-ghost: clamp(64px, 13vw, 200px);
}
[data-theme="dark"] {
  --hs-insta-bg: #222220;
  /* --border-subtle, --shadow-md/lg drehen über die zentralen Tokens mit */
  --shadow-xl: 0 28px 68px rgba(0, 0, 0, .7), 0 8px 28px rgba(0, 0, 0, .4);
  --hs-ghost-stroke: rgba(212, 200, 150, .34);
  --hs-ghost-fill: rgba(193, 183, 131, .06);
  --hs-focus: #f5f4f1;
  --hs-frame: rgba(193, 183, 131, .55);
}
[data-fs-accessible="lg"] {
  --fs-h3: 24px;
  --hs-fs-scale: 1.13;
}
[data-fs-accessible="xl"] {
  --fs-h3: 28px;
  --hs-fs-scale: 1.3;
}

/* ─── Seitenrahmen + Deko-Layer ─────────────────────────────── */
.hs-page {
  position: relative;
  overflow-x: clip;
  color: var(--text-primary);
  font-family: var(--font-ui);
}
.hs-page *, .hs-page *::before, .hs-page *::after { box-sizing: border-box; }
.hs-page > .deco-layer { z-index: 0; }
.hs-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* allgemeiner Fokus (geringe Spezifität, zentrale Knöpfe haben eigenen Ring) */
:where(.hs-page) :focus-visible {
  outline: 3px solid var(--hs-focus);
  outline-offset: 3px;
}
.hs-container {
  position: relative;
  z-index: 2;
  max-width: var(--hs-maxw);
  margin-inline: auto;
  padding-inline: var(--hs-gutter);
}
.hs-section {
  position: relative;
  z-index: 2;
  padding-block: var(--hs-section-py);
  border-top: 1px solid var(--border-subtle);
}
.hs-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ─── Typografie-Bausteine ──────────────────────────────────── */
.hs-eyebrow {
  margin: 0 0 16px;
  font-size: var(--hs-fs-eyebrow);
  letter-spacing: var(--rk-ls-eyebrow);
  text-transform: uppercase;
  color: var(--hs-gold-text);
}
.hs-h2 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--hs-fs-h2);
  line-height: 1.08;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.hs-h2--xl { font-size: var(--hs-fs-h2-xl); line-height: 1; }
.hs-h2 .hs-gold { color: var(--hs-gold-text); }
.hs-h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--hs-fs-h3);
  line-height: 1.2;
  color: var(--text-primary);
}
.hs-text {
  margin: 0 0 18px;
  max-width: 62ch;
  font-size: var(--hs-fs-body);
  line-height: 1.7;
  color: var(--text-secondary);
}
.hs-text strong { color: var(--text-primary); }
.hs-lead {
  margin: 0 auto;
  max-width: 760px;
  font-size: var(--hs-fs-lead);
  line-height: 1.6;
  color: var(--text-secondary);
}
.hs-audience {
  margin: 8px 0 28px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  max-width: 62ch;
  font-size: var(--rk-fs-small);
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--text-secondary);
}
.hs-ghost {
  position: absolute;
  left: 0; right: 0;
  top: clamp(16px, 3vw, 48px);
  z-index: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--hs-fs-ghost);
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: var(--hs-ghost-fill);
  -webkit-text-stroke: var(--hs-ghost-stroke-w) var(--hs-ghost-stroke);
  pointer-events: none;
  user-select: none;
}
.hs-ghost--wide { --hs-fs-ghost: clamp(48px, 9vw, 150px); }

/* ─── Buttons + Links: zentral aus main-v2.css („Zentrale Komponenten v1“, .rk-btn*).
   Hier nur noch Verhalten der Pause-Knöpfe (Symbolwechsel) ─── */
[data-rk-video-pause] .hs-icon-play { display: none; }
[data-rk-video-pause][data-rk-video-state="paused"] .hs-icon-play { display: block; }
[data-rk-video-pause][data-rk-video-state="paused"] .hs-icon-pause { display: none; }
.hs-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--hs-tag-bg);
  color: var(--hs-on-media);
  font-size: var(--hs-fs-micro);
  letter-spacing: .16em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ─── Block 1 · Hero ────────────────────────────────────────── */
.hs-hero {
  position: relative;
  z-index: 2;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: clamp(640px, 92svh, 980px);
  padding: clamp(64px, 10vh, 120px) var(--hs-gutter) clamp(112px, 14vh, 150px);
  background: var(--hs-media-dark);
  color: var(--hs-on-media);
  text-align: center;
}
.hs-hero__media { position: absolute; inset: 0; z-index: -2; }
.hs-hero__video { width: 100%; height: 100%; object-fit: cover; opacity: .55; display: block; }
.hs-hero__media::after { content: ""; position: absolute; inset: 0; background: var(--hs-overlay); }
.hs-hero .deco-square {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid var(--hs-deco-hero-a);
  animation: hsDecoSpin 28s linear infinite;
}
/* Variante B (gespiegelt): groß oben links, klein unten rechts */
.hs-hero .deco-square--lg { width: clamp(180px, 22vw, 320px); height: clamp(180px, 22vw, 320px); top: 9%; left: 4%; animation-delay: -9s; }
.hs-hero .deco-square--md { width: clamp(110px, 12vw, 180px); height: clamp(110px, 12vw, 180px); bottom: 16%; right: 5%; border-color: var(--hs-deco-hero-b); animation-duration: 18s; animation-direction: reverse; animation-delay: -5s; }
@keyframes hsDecoSpin { to { transform: rotate(360deg); } }
.hs-hero.is-paused .deco-square,
.hs-hero.is-paused .hs-hero__scroll-line { animation-play-state: paused; }
.hs-hero__inner { position: relative; width: 100%; min-width: 0; max-width: 1180px; }
/* Spec 104 P104c: ganzes Logo, immer die weiße Fassung (Video dunkel); Breite ≥ 190 px hält die untere Zeile ≥ 7 px */
.hs-hero__logo { display: block; width: clamp(200px, 18vw, 260px); height: auto; margin: 0 auto 18px; }
.hs-hero .hs-eyebrow { color: var(--hs-gold-on-media); }
.hs-hero__title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--hs-fs-h1);
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--hs-on-media);
}
.hs-hero__title span { display: block; }
.hs-hero__title .hs-hero__gold { color: var(--hs-gold-on-media); }
.hs-hero__tagline {
  margin: 0 auto 28px;
  max-width: 780px;
  font-size: var(--hs-fs-lead);
  line-height: 1.6;
  color: var(--hs-on-media-muted);
}
.hs-hero__chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 0 0 40px; padding: 0; list-style: none;
}
.hs-hero__chips li {
  padding: 8px 16px;
  border: 1px solid var(--hs-on-media-line);
  border-radius: var(--radius-pill);
  font-size: var(--hs-fs-micro);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hs-on-media-muted);
}
.hs-stats {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch;
  gap: 0; margin: 0 0 40px; padding: 0; list-style: none;
}
.hs-stats li {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 4px clamp(18px, 3vw, 44px);
}
.hs-stats li + li { border-left: 1px solid var(--hs-on-media-line); }
.hs-stat__value {
  font-family: var(--font-display);
  font-size: var(--hs-fs-stat);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--hs-on-media);
}
.hs-stat__label {
  font-size: var(--hs-fs-micro);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hs-on-media-muted);
}
.hs-stats .hs-stat--pin { flex-direction: row; gap: 14px; }
.hs-stat--pin .hs-stat__text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hs-pin { position: relative; width: 26px; height: 38px; flex-shrink: 0; }
.hs-pin svg { position: relative; z-index: 1; width: 26px; height: 38px; }
.hs-pin__body { fill: var(--hs-gold-on-media); }
.hs-pin__hole { fill: var(--hs-media-dark); }
.hs-pin__ring {
  position: absolute; left: 50%; bottom: 0;
  width: 26px; height: 8px; margin-left: -13px;
  border: 1px solid var(--hs-gold-on-media);
  border-radius: 50%;
  opacity: 0;
}
.hs-pin.is-dropped svg { animation: hsPinDrop .9s cubic-bezier(.34, 1.56, .64, 1) 1 both; }
.hs-pin.is-dropped .hs-pin__ring { animation: hsPinRing 2.6s ease-out 3 both; }
.hs-pin.is-dropped .hs-pin__ring:nth-of-type(2) { animation-delay: .8s; }
@keyframes hsPinDrop { from { transform: translateY(-22px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hsPinRing { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
/* Jahr-Anzeige: Text und Plakette teilen sich eine Zelle */
.hs-year { display: inline-grid; justify-items: center; min-width: 6.6ch; }
.hs-year > span { grid-area: 1 / 1; transition: opacity var(--motion-slow), transform var(--motion-slow); }
.hs-year__badge { opacity: 0; transform: scale(.9); color: var(--hs-gold-on-media); }
.hs-year.is-peak .hs-year__text { opacity: 0; transform: scale(1.06); }
.hs-year.is-peak .hs-year__badge { opacity: 1; transform: none; }
.hs-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hs-hero__pause { position: absolute; right: var(--hs-gutter); bottom: 24px; z-index: 3; }
.hs-hero__scroll {
  position: absolute; left: 50%; bottom: 22px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transform: translateX(-50%);
  font-size: var(--hs-fs-micro); letter-spacing: .3em; text-transform: uppercase;
  color: var(--hs-on-media-muted);
}
.hs-hero__scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--hs-gold-on-media), transparent);
  transform-origin: top;
  animation: hsScrollPulse 2.2s ease-in-out 5;
}
@keyframes hsScrollPulse { 0%, 100% { transform: scaleY(.3); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ─── Vorher/Nachher-Umschalter (Block 2, 4, Modal) ─────────── */
/* Runde 9 / M1: Shop-Video in der Zielgruppen-Karte (Bildkarten-Optik, Verlauf blockiert keine Knöpfe) */
.rk-wow-audience__media .hs-shopvid { display: block; width: 100%; height: 100%; object-fit: cover; }
.rk-wow-audience__media::after { pointer-events: none; }
.rk-wow-audience__media:has(.hs-shopvid) { aspect-ratio: 16 / 9; }
.hs-layer { transition: opacity .45s ease; }
[data-hs-switch] .hs-layer--after { opacity: 1; }
[data-hs-switch] .hs-layer--before { opacity: 0; }
[data-hs-switch].is-before .hs-layer--after { opacity: 0; }
[data-hs-switch].is-before .hs-layer--before { opacity: 1; }

/* ─── Block 2 · Leistungen (Splits) ─────────────────────────── */
.hs-services { position: relative; z-index: 2; }
.hs-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  max-width: var(--hs-maxw);
  margin-inline: auto;
  padding: var(--hs-section-py) var(--hs-gutter);
  border-top: 1px solid var(--border-subtle);
}
.hs-services > .hs-split:first-child { border-top: 0; }
.hs-split--rev .hs-ba { order: 2; }
.hs-ba { position: relative; margin: 0; }
.hs-ba__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 78svh;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-sunken);
  box-shadow: var(--shadow-md);
}
.hs-ba__stage .hs-layer {
  position: absolute; top: 0; left: 0;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
/* Unscharfer Hintergrund aus demselben Bild/Poster: füllt die Ränder, wenn Hoch- und
   Querformat im selben Rahmen stehen (statt Schwarzbalken oder leerem Innenrahmen) */
.hs-ba__stage .hs-layer.hs-backdrop,
.hs-compare__stage .hs-layer.hs-backdrop {
  z-index: 0;
  inset: -10%;
  top: -10%; left: -10%;
  width: 120%; height: 120%;
  max-width: none;
  object-fit: cover;
  filter: var(--hs-backdrop-filter);
  pointer-events: none;
}
.hs-ba__btn { position: absolute; left: 50%; bottom: 16px; z-index: 3; transform: translateX(-50%); white-space: nowrap; }
@media (max-width: 599px) { .hs-ba__btn { max-width: calc(100% - 24px); } } /* Runde 10: bei 320 px 9 px abgeschnitten */
.hs-ba__btn:active:not(:disabled) { transform: translateX(-50%) scale(.98); }
.hs-split__content { position: relative; }

/* ─── Block 4 · Referenzen ──────────────────────────────────── */
.hs-refs-head { text-align: center; padding-top: clamp(96px, 11vw, 176px); }
.hs-refs-head > .hs-container:first-of-type { display: flex; flex-direction: column; align-items: center; }
.hs-refs-extra, .hs-teaser { min-width: 0; }
/* Spec 104 P104c: ganzes Logo, hell die dunkle, dunkel die weiße Fassung */
.hs-refs-head__logo { display: block; width: clamp(190px, 15vw, 220px); height: auto; margin: 0 0 12px; }
.hs-refs-head__logo--dunkel { display: none; }
[data-theme="dark"] .hs-refs-head__logo--hell { display: none; }
[data-theme="dark"] .hs-refs-head__logo--dunkel { display: block; }
.hs-refs-head .hs-lead { margin-bottom: 12px; }
.hs-compare { max-width: 1120px; margin: clamp(40px, 5vw, 64px) auto 0; text-align: left; }
.hs-compare__figure { margin: 0; }
.hs-compare__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--hs-media-dark);
  box-shadow: var(--shadow-lg);
}
.hs-compare__stage .hs-layer { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; }
.hs-compare__controls {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3;
  display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hs-compare__caption { margin: 20px 0 0; font-size: var(--hs-fs-body); line-height: 1.7; color: var(--text-secondary); }
.hs-compare__caption strong { display: block; color: var(--text-primary); font-weight: 400; font-size: var(--hs-fs-lead); margin-bottom: 4px; }
/* Teaser „6 weitere Projekte“: Vorschau-Streifen mit Auslaufen nach unten + Knopf */
.hs-teaser {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: box-shadow var(--motion-base), border-color var(--motion-base);
}
.hs-teaser:hover { box-shadow: var(--shadow-lg); border-color: var(--rk-line-strong); }
.hs-teaser__preview {
  position: relative;
  height: clamp(150px, 17vw, 230px);
  overflow: hidden;
  cursor: pointer;
  -webkit-mask-image: var(--hs-teaser-fade);
  mask-image: var(--hs-teaser-fade);
}
.hs-teaser__strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 0;
  padding: 14px 14px 0;
  list-style: none;
  transition: transform var(--motion-slow);
}
.hs-teaser:hover .hs-teaser__strip { transform: translateY(-10px); }
.hs-teaser__thumb {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--hs-media-dark);
}
.hs-teaser__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hs-teaser__thumb:nth-child(even) { transform: translateY(18px); }
.hs-teaser__body {
  position: relative;
  margin-top: calc(-1 * clamp(40px, 5vw, 64px));
  padding: 0 clamp(20px, 4vw, 48px) clamp(28px, 3.4vw, 44px);
}
.hs-teaser__body .hs-eyebrow { margin-bottom: 8px; }
.hs-teaser__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: var(--hs-fs-h2);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--text-primary);
}
.hs-teaser__places {
  margin: 0 auto 24px;
  max-width: 62ch;
  font-size: var(--hs-fs-body);
  line-height: 1.7;
  color: var(--text-secondary);
}
.hs-teaser__btn .hs-icon--chevron { transform: rotate(90deg); transition: transform var(--motion-base); }
.hs-teaser__btn[aria-expanded="true"] .hs-icon--chevron { transform: rotate(-90deg); }
/* aufgeklappt: Vorschau weg, nur noch Knopf zum Ausblenden */
.hs-teaser.is-open { border-color: transparent; background: transparent; box-shadow: none; }
.hs-teaser.is-open .hs-teaser__preview,
.hs-teaser.is-open .hs-teaser__body .hs-eyebrow,
.hs-teaser.is-open .hs-teaser__title,
.hs-teaser.is-open .hs-teaser__places { display: none; }
.hs-teaser.is-open .hs-teaser__body { margin-top: 0; padding-bottom: 0; }
.hs-refs-extra { margin-top: clamp(32px, 4vw, 48px); text-align: left; }
.hs-refs-extra.is-opening { animation: hsExtraIn .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hsExtraIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.hs-refs-extra__bar { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.hs-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.hs-tile {
  display: flex; flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-md);
  transition: transform var(--motion-base), box-shadow var(--motion-base);
}
.hs-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.hs-tile__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: var(--hs-media-dark);
  cursor: pointer;
  overflow: hidden;
}
.hs-tile__media .hs-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-tile__media:focus-visible { outline-offset: -4px; outline-color: var(--hs-on-media); }
.hs-tile__hint {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--hs-tag-bg);
  color: var(--hs-on-media);
  font-size: var(--hs-fs-micro);
  letter-spacing: .08em;
}
.hs-tile__hint .hs-icon { width: 16px; height: 16px; }
.hs-tile__body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2vw, 28px); }
.hs-tile__body .hs-eyebrow { margin-bottom: 8px; }
.hs-tile__body .hs-text { font-size: var(--hs-fs-body); margin-bottom: 20px; }
.hs-tile__body .hs-text strong { display: block; margin-bottom: 4px; font-weight: 400; }
.hs-tile__zoom { margin-top: auto; align-self: flex-start; }

/* ─── Vollbild-Dialog ───────────────────────────────────────── */
.hs-modal {
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-xl);
  overflow: auto;
}
.hs-modal[open] { animation: hsModalIn .35s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes hsModalIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.hs-modal::backdrop {
  background: var(--overlay-modal, rgba(0, 0, 0, .72));
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.hs-modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 16px 16px clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--border-subtle);
}
.hs-modal__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: var(--rk-fs-card-title); line-height: 1.25; }
.hs-modal__close { flex-shrink: 0; }
.hs-modal__close .hs-icon { width: 22px; height: 22px; }
.hs-modal__stage {
  position: relative;
  display: block;
  width: 100%;
  height: min(64svh, 680px);
  padding: 0;
  border: 0;
  background: var(--hs-media-dark);
  cursor: pointer;
}
.hs-modal__stage .hs-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.hs-modal__stage:focus-visible { outline-offset: -4px; outline-color: var(--hs-on-media); }
.hs-modal__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px clamp(20px, 3vw, 32px) 0;
}
.hs-modal__hint { margin: 0; font-size: var(--hs-fs-micro); color: var(--text-secondary); }
.hs-modal__text { margin: 0; padding: 16px clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px); font-size: var(--hs-fs-body); line-height: 1.7; color: var(--text-secondary); }
html.hs-modal-open { overflow: hidden; }

/* ─── Block 5 · Warum wir ─────────────────────────────── */
.hs-trust__head { text-align: left; margin-bottom: clamp(40px, 5vw, 64px); } /* Ausrichtungsschema 2026-10-03: nie zwei zentrierte Köpfe hintereinander („Referenzen“ davor ist zentriert) */
.hs-page .hs-trust__head .kitt-divider { margin-inline: 0; max-width: 380px; }
.hs-trust__head .hs-trust__claim { margin-inline: 0; }
.hs-trust__head .hs-h2 { margin-bottom: 0; }
.hs-page .kitt-divider {
  position: relative;
  width: 380px; max-width: 90%; height: 3px;
  margin: 28px auto 28px;
  border: none;
  overflow: visible;
  background: linear-gradient(to right, transparent 0%, var(--hs-kitt-line) 50%, transparent 100%);
}
.hs-page .kitt-divider::before {
  content: "";
  position: absolute; top: 50%; left: 0;
  width: 90px; height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, var(--hs-kitt-core) 0%, var(--hs-kitt-mid) 30%, var(--hs-kitt-edge) 55%, transparent 75%);
  filter: blur(2.5px);
  /* Knight-Rider-Gleiten: dauerhaft hin und her, läuft aber nur, solange die Linie
     im Sichtbereich ist (Klasse is-running per IntersectionObserver). Vorher lief sie
     3× ab Seitenstart und stand beim Hinscrollen längst still am linken Rand. */
  animation: hsKittSweep 6s cubic-bezier(.45, 0, .55, 1) infinite;
  animation-play-state: paused;
}
.hs-page .kitt-divider.is-running::before { animation-play-state: running; }
@keyframes hsKittSweep { 0%, 100% { left: 0%; } 50% { left: 100%; } }
.hs-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.hs-card {
  position: relative;
  padding: clamp(24px, 2.4vw, 36px) clamp(22px, 2.2vw, 30px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-md);
  transition: transform var(--motion-base), box-shadow var(--motion-base), border-color var(--motion-base);
}
.hs-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--rk-line-strong); }
.hs-card__label { display: block; margin-bottom: 14px; font-size: var(--hs-fs-eyebrow); letter-spacing: var(--rk-ls-eyebrow); text-transform: uppercase; color: var(--hs-gold-text); }
.hs-card__value { display: block; margin-bottom: 14px; font-family: var(--font-display); font-size: var(--hs-fs-stat); line-height: 1.05; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.hs-card__value .hs-year__badge { color: var(--hs-gold-text); }
.hs-card .hs-text { margin: 0; font-size: var(--hs-fs-body); }
/* R8b: Kopf-Claim mit Hervorhebung, Zielgruppen-Bildkarten (rk-wow-audience), CTA-Band */
.hs-trust__claim { max-width: 900px; font-size: var(--rk-wow-fs-lead); line-height: 1.4; color: var(--text-primary); }
.hs-trust__claim .rk-wow-hl { display: inline; }
.hs-trust__audience { margin-top: clamp(20px, 2.4vw, 28px); }
.hs-trust__audience .rk-wow-audience__media { aspect-ratio: 16 / 9; }
.hs-trust__audience .rk-wow-audience__card:nth-child(2) img { object-position: 50% 62%; }
.hs-trust__audience .hs-text { margin: 0; }
.hs-trust__audience .rk-btn { justify-self: start; margin-top: 6px; }
@media (min-width: 720px) { .hs-trust__audience { grid-template-columns: repeat(2, 1fr); } }
.hs-wowband { padding-block: clamp(8px, 2vw, 24px); }
.hs-wowband .rk-wow-cta { margin-top: 0; }
.hs-wowband .rk-wow-aufruf { margin-top: 0; }
/* R8b: Preis als dunkle Bühne — Statement + nummerierte Gründe */
.hs-price.rk-wow-dark {
  border-block: 1px solid var(--rk-wow-dark-line);
  background: radial-gradient(60% 55% at 85% 8%, var(--rk-wow-dark-glow), transparent 62%), radial-gradient(50% 45% at 0% 100%, var(--rk-wow-dark-glow), transparent 60%), var(--rk-wow-dark-bg);
}
.hs-price__head { margin-bottom: clamp(36px, 5vw, 72px); }
.hs-price__h {
  margin: 0; font-family: var(--font-display); font-weight: 400; font-size: var(--hs-fs-h3); line-height: 1.2;
  letter-spacing: .02em; text-transform: uppercase; color: var(--text-secondary);
}
.hs-price__head .rk-wow-statement__kicker { color: var(--text-muted); font-size: var(--rk-wow-fs-big); line-height: 1.05; letter-spacing: -.03em; max-width: none; }
/* P0 (01.10.): Die Frage ist die größte Zeile des Blocks, die Antwort folgt kleiner und klar abgesetzt */
.hs-price__head h2.hs-price__q { font-size: clamp(2.3rem, 1.1rem + 5.2vw, 5rem); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.hs-price__head p.hs-price__a { display: grid; gap: 6px; margin: 0; padding-left: 18px; border-left: 2px solid var(--rk-wow-dark-line); max-width: 30ch; font-size: var(--rk-wow-fs-big); line-height: 1.12; letter-spacing: -.02em; color: var(--text-primary); }
.hs-price__a-lbl { font-size: var(--rk-fs-xs, .875rem); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }

/* ─── Block 7 · Über uns ───────────────────────────────────── */
.hs-about { padding-top: clamp(112px, 12vw, 180px); }
.hs-about__grid { display: grid; grid-template-columns: 5fr 6fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.hs-about__figure { position: relative; margin: 0; }
.hs-about__figure::before {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid var(--hs-frame);
  border-radius: var(--radius-sm);
  transform: translate(16px, 16px);
  pointer-events: none;
}
.hs-about__figure img {
  position: relative;
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.hs-about__line { width: 56px; height: 2px; margin: 0 0 28px; background: var(--accent); border: 0; }
.hs-quote {
  margin: 32px 0 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  font-size: var(--hs-fs-lead);
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
}
/* R8b: Claim als Blickfang — groß, Goldverlauf auf „Wir erschaffen.“, Unterzeile ruhig */
.hs-quote--claim { font-style: normal; border-left-color: var(--rk-wow-accent-line); padding: 6px 0 6px clamp(18px, 2vw, 26px); }
.hs-quote--claim p { margin: 0; font-size: var(--rk-wow-fs-big); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.hs-quote--claim small { display: block; margin-top: 14px; font-size: var(--hs-fs-lead); line-height: 1.5; color: var(--text-secondary); }
.hs-about__figure img { box-shadow: var(--rk-wow-sh-4); }

/* ─── Block 8 · Instagram-Teaser ───────────────────────────── */
.hs-insta__card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  max-width: 1120px;
  margin-inline: auto;
  color: var(--hs-insta-fg);
  text-decoration: none;
  border-radius: var(--radius-lg);
}
.hs-insta__phone {
  position: relative;
  z-index: 2;
  width: clamp(250px, 31vw, 450px);
  height: auto;
  filter: drop-shadow(0 24px 40px var(--hs-phone-shadow));
  transform-origin: 50% 80%;
  transition: transform 1.1s cubic-bezier(.22, 1, .36, 1), filter 1.1s cubic-bezier(.22, 1, .36, 1);
}
/* Hover/Fokus: das Handy gleitet in weicher Kurve weit nach links und kippt leicht */
.hs-insta__card:hover .hs-insta__phone,
.hs-insta__card:focus-visible .hs-insta__phone {
  transform: translateX(calc(-1 * clamp(130px, 9.5vw, 140px))) translateY(-8px) rotate(-7deg);
  filter: drop-shadow(18px 36px 48px var(--hs-phone-shadow-hover));
}
.hs-insta__panel {
  position: relative;
  z-index: 1;
  margin-left: clamp(-110px, -6vw, -40px);
  overflow: hidden;
  padding: clamp(40px, 5vw, 72px) clamp(28px, 5vw, 72px) clamp(40px, 5vw, 72px) clamp(72px, 9vw, 150px);
  border-radius: var(--radius-lg);
  background: var(--hs-insta-bg);
  box-shadow: var(--shadow-lg);
}
.hs-insta__band {
  position: absolute; top: 30px; right: -58px;
  width: 220px; padding: 8px 0;
  transform: rotate(45deg);
  background: var(--hs-insta-band);
  font-size: var(--hs-fs-micro);
  letter-spacing: .4em;
  text-align: center;
  text-transform: uppercase;
  color: var(--hs-insta-fg);
}
.hs-insta__label { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: var(--hs-fs-eyebrow); letter-spacing: .22em; text-transform: uppercase; color: var(--hs-insta-fg); }
.hs-insta__label .hs-icon { width: 26px; height: 26px; }
.hs-insta__title { margin: 0 0 16px; font-family: var(--font-display); font-weight: 400; font-size: var(--hs-fs-h2); line-height: 1.08; text-transform: uppercase; color: var(--hs-insta-fg); }
.hs-insta__sub { margin: 0 0 28px; max-width: 40ch; font-size: var(--hs-fs-lead); line-height: 1.55; color: var(--hs-insta-fg-muted); }
/* ganze Kachel ist der Link: Überfahren der Kachel füllt den Pfeilkreis wie beim Knopf selbst */
.hs-insta__card:hover .hs-insta__follow::before,
.hs-insta__card:focus-visible .hs-insta__follow::before { clip-path: circle(160% at calc(100% - 26px) 50%); }
.hs-insta__card:hover .hs-insta__follow { color: var(--rk-on-media-ink); border-color: var(--rk-on-media); }
.hs-insta__card:hover .hs-insta__follow .rk-btn__dot { transform: translateX(3px); }
.hs-insta__card:focus-visible { outline-offset: 6px; }

/* ─── Block 9 · Projektanfrage ─────────────────────────────── */
.hs-cta { text-align: center; }
.hs-cta .hs-lead { margin-bottom: 36px; }
.hs-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hs-cta__hint { margin: 28px 0 0; font-size: var(--hs-fs-micro); letter-spacing: .06em; line-height: 1.8; color: var(--text-secondary); }
.hs-cta__hint .hs-dot { display: inline-block; width: 4px; height: 4px; margin: 0 10px; vertical-align: middle; border-radius: 50%; background: var(--accent); }

/* ─── Reveal-on-Scroll ─────────────────────────────────────── */
.hs-page .rk-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1);
}
.hs-page .rk-reveal.is-revealed { opacity: 1; transform: none; }
.hs-page .hs-delay-1 { transition-delay: .1s; }
.hs-page .hs-delay-2 { transition-delay: .2s; }
.hs-page .hs-delay-3 { transition-delay: .3s; }

/* ─── Mobile-Bausteine (Basis: auf großen Schirmen unsichtbar) ── */
.hs-more-btn { display: none; margin: -6px 0 12px -14px; }
.hs-more-btn .hs-icon { transform: rotate(90deg); transition: transform var(--motion-base); }
.hs-more-btn[aria-expanded="true"] .hs-icon { transform: rotate(-90deg); }
.hs-swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: var(--hs-fs-micro);
  letter-spacing: .08em;
  color: var(--text-secondary);
}

/* ─── Responsiv (1200 / 900 / 600 / 360) ───────────────────── */
@media (max-width: 1199px) {
  .hs-trust__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 899px) {
  .hs-split { grid-template-columns: 1fr; }
  .hs-split--rev .hs-ba { order: 0; }
  .hs-ba__stage { max-height: 70svh; }
  .hs-tiles { grid-template-columns: repeat(2, 1fr); }
  .hs-about__grid { grid-template-columns: 1fr; }
  .hs-about__text { order: -1; }
  .hs-about__figure { max-width: 520px; }
}
@media (max-width: 899px) {
  .hs-insta__card:hover .hs-insta__phone,
  .hs-insta__card:focus-visible .hs-insta__phone { transform: translateX(-90px) translateY(-6px) rotate(-6deg); }
}
@media (max-width: 699px) {
  .hs-insta__card { grid-template-columns: 1fr; justify-items: center; }
  /* Handy steht über der Karte und gleitet beim Hineinscrollen hoch und gerade */
  .hs-insta__phone { width: clamp(210px, 62vw, 280px); margin: 0 0 -72px; transform: translateY(48px) rotate(-8deg) scale(.94); }
  .hs-insta__card.is-revealed .hs-insta__phone { transform: none; transition-delay: .2s; }
  .hs-insta__card:hover .hs-insta__phone,
  .hs-insta__card:focus-visible .hs-insta__phone { transform: translateY(-10px) rotate(-3deg); }
  .hs-insta__panel { width: 100%; margin-left: 0; padding: 96px 24px 36px; text-align: center; }
  .hs-insta__sub { margin-inline: auto; }
  .hs-insta__label { justify-content: center; }
}
@media (max-width: 599px) {
  .hs-stats { flex-direction: column; gap: 18px; }
  .hs-stats li + li { border-left: 0; }
  .hs-hero__ctas { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
  .hs-hero__scroll { display: none; }
  .hs-hero__pause .hs-media-btn__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .hs-hero__pause { padding: 0; }
  .hs-hero .deco-square--md { display: none; }
  .hs-trust__grid, .hs-tiles { grid-template-columns: 1fr; }
  .hs-compare__controls .hs-media-btn__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .hs-compare__stage { aspect-ratio: 4 / 5; }
  .hs-refs-extra__bar { justify-content: center; }
  .hs-cta__btns { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
  .hs-cta__hint .hs-dot { display: block; margin: 6px auto; }
  /* Vierecke-Mobile-Reduktion (Skill-Regel 27): max. 2, ca. 35 % kleiner */
  .hs-page .deco-scroll-square { scale: .65; }
  .hs-page .deco-scroll-square--xl,
  .hs-page .deco-scroll-square.hs-deco--desktop { display: none; }
}
/* Handy wie eine App: kurze Wege, große Tippflächen, wischbare Leisten */
@media (max-width: 599px) {
  .hs-page { --hs-section-py: 56px; --hs-gutter: 16px; }
  /* Hero: kompakt, erste Aussage + Knöpfe im ersten Bildschirm */
  .hs-hero { min-height: calc(100svh - 64px); padding: 40px 16px 88px; }
  .hs-hero__logo { width: 190px; margin-bottom: 12px; }
  .hs-hero__title { margin-bottom: 16px; }
  .hs-hero__tagline { margin-bottom: 20px; font-size: var(--rk-fs-body); }
  /* P0 (01.10.): Chips brechen um statt rechts abgeschnitten zu werden (Kai: „FUGE…“ lief aus dem Bild) */
  .hs-hero__chips { flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 20px; padding: 0; }
  .hs-hero__chips li { flex: 0 1 auto; padding: 8px 14px; letter-spacing: .08em; text-align: center; max-width: 100%; }
  .hs-stats { display: grid; grid-template-columns: repeat(3, 1fr); flex-direction: row; gap: 0; margin-bottom: 28px; }
  .hs-stats li { padding: 4px 6px; gap: 4px; }
  .hs-stats li + li { border-left: 1px solid var(--hs-on-media-line); }
  .hs-stats .hs-stat--pin { flex-direction: column; gap: 4px; }
  .hs-stat--pin .hs-stat__text { align-items: center; gap: 4px; }
  .hs-pin, .hs-pin svg { width: 18px; height: 26px; }
  .hs-stat__value { font-size: calc(24px * var(--hs-fs-scale)); }
  .hs-stat__label { letter-spacing: .06em; text-align: center; }
  /* Runde 10: Zahlenband als 2 + 1 statt 3 Spalten — bei 320 px liefen „Projekte“ und „deutschlandweit“ aus dem Bild */
  .hs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .hs-stats .hs-stat--pin { grid-column: 1 / -1; flex-direction: row; gap: 10px; justify-content: center; border-left: 0; padding-top: 14px; border-top: 1px solid var(--hs-on-media-line); }
  .hs-stats .hs-stat--pin .hs-stat__text { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 8px; }
  .hs-hero__ctas { width: 100%; max-width: none; }
  /* Leistungen: Bild oben randnah, Text darunter, zweiter Absatz per „Weiterlesen“ */
  .hs-split { gap: 24px; padding-block: 48px; }
  .hs-ba__stage { aspect-ratio: 4 / 5; max-height: 72svh; }
  .hs-more.is-collapsed { display: none; }
  .hs-more-btn { display: inline-flex; }
  .hs-h2 { margin-bottom: 16px; }
  /* Karten-Leisten zum Wischen (Kacheln, Warum-rauMKult) */
  .hs-page [data-hs-rail] {
    display: flex;
    gap: 12px;
    margin-inline: -16px;
    padding: 4px 16px 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }
  .hs-page [data-hs-rail]::-webkit-scrollbar { display: none; }
  .hs-page [data-hs-rail] > * { flex: 0 0 84%; scroll-snap-align: start; }
  .hs-page [data-hs-rail] > .hs-card:hover, .hs-page [data-hs-rail] > .hs-tile:hover { transform: none; }
  .hs-swipe-hint { display: flex; }
  .hs-teaser__strip { grid-template-columns: repeat(3, 1fr); }
  .hs-teaser__thumb:nth-child(n+4) { display: none; }
  .hs-teaser__preview { height: 150px; }
  .hs-teaser__body { margin-top: -20px; }
  .hs-teaser__btn { width: 100%; }
  .hs-refs-head { padding-top: 72px; }
  .hs-about { padding-top: 88px; }
  .hs-about__figure { max-width: none; margin-right: 16px; }
  .hs-cta__btns { max-width: none; }
  .hs-refs-extra__bar .hs-media-btn__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}
@media (max-width: 359px) {
  .hs-page .deco-scroll-square { display: none; }
  .hs-hero .deco-square { scale: .7; }
}

/* ─── Bewegung reduzieren (System + A11y-Schalter „Bewegungen aus") ─ */
@media (prefers-reduced-motion: reduce) {
  .hs-hero .deco-square, .hs-hero__scroll-line, .hs-page .kitt-divider::before,
  .hs-pin.is-dropped svg, .hs-pin.is-dropped .hs-pin__ring, .hs-modal[open], .hs-refs-extra.is-opening { animation: none; }
  .hs-page .kitt-divider::before { left: 50%; }
  .hs-page .rk-reveal, .hs-page .rk-reveal.is-revealed { opacity: 1; transform: none; transition: none; }
  .hs-layer, .hs-insta__phone, .hs-year > span { transition: none; }
}
html[data-motion="reduced"] .hs-page .deco-scroll-square { transform: none !important; }
html[data-motion="reduced"] .hs-page .kitt-divider::before { left: 50%; }
html[data-motion="reduced"] .hs-page .rk-reveal { opacity: 1; transform: none; }

/* =============================================================================
   App-Ansicht (Spec 004 K4) — nur bis 767 px und nur bei html[data-view="app"].
   Ziel: kurze Startseite durch Einklappen und Wischen (Bausteine .rk-mehr, [data-rk-karussell],
   [data-rk-wischzeile] aus rk-app.css). Inhalte und Reihenfolge bleiben; Webansicht und Desktop unberührt.
   ============================================================================= */
@media (max-width: 767px) {
  html[data-view="app"] .hs-page { --hs-section-py: var(--rk-space-5); --hs-gutter: var(--rk-space-4); --hs-fs-h2: calc(var(--rk-fs-h3) * var(--hs-fs-scale)); --hs-fs-h2-xl: calc(var(--rk-fs-h2) * var(--hs-fs-scale)); --hs-fs-stat: calc(var(--rk-fs-h2) * var(--hs-fs-scale)); --hs-fs-lead: var(--rk-fs-body); }
  html[data-view="app"] .hs-page .rk-wow-statement__sub { font-size: var(--rk-fs-body); }
  html[data-view="app"] .hs-page .hs-section { padding-block: var(--hs-section-py); }
  html[data-view="app"] .hs-page .hs-ghost,
  html[data-view="app"] .hs-page .deco-scroll-square { display: none; }

  /* ── Hero: höchstens 1,2 Bildschirmhöhen ── */
  html[data-view="app"] .hs-hero { min-height: 0; padding: var(--rk-space-4) var(--rk-space-4) calc(var(--rk-space-6) * 2); }
  html[data-view="app"] .hs-hero__logo { width: 190px; margin-bottom: var(--rk-space-2); } /* Spec 104: ganzes Logo, untere Zeile 7,5 px (F-104-1) */
  html[data-view="app"] .hs-hero .hs-eyebrow { margin-bottom: calc(var(--rk-space-2) * .75); }
  html[data-view="app"] .hs-hero__title { margin-bottom: var(--rk-space-3); font-size: calc(var(--rk-fs-h3) * var(--hs-fs-scale)); line-height: 1.1; }
  html[data-view="app"] .hs-hero__tagline { margin-bottom: var(--rk-space-3); font-size: var(--rk-fs-body); line-height: 1.45; }
  html[data-view="app"] .hs-hero__chips { margin: 0 0 var(--rk-space-2); gap: var(--rk-space-2); }
  html[data-view="app"] .hs-hero__chips li { padding: var(--rk-space-2) var(--rk-space-3); }
  html[data-view="app"] .rkb-hero-more { margin-bottom: var(--rk-space-3); }
  html[data-view="app"] .hs-stats { margin-bottom: var(--rk-space-3); row-gap: var(--rk-space-2); }
  html[data-view="app"] .hs-stats .hs-stat--pin { padding-top: var(--rk-space-2); }
  html[data-view="app"] .hs-hero__ctas { display: grid; grid-template-columns: repeat(auto-fit, minmax(calc(var(--rk-touch-comfort) * 3), 1fr)); gap: var(--rk-space-2); max-width: none; flex-direction: row; }
  html[data-view="app"] .hs-hero__ctas .rk-btn { min-width: 0; padding-inline: var(--rk-space-3); }
  html[data-view="app"] .hs-hero .deco-square { display: none; }

  /* ── Leistungen: ein Karussell der drei Leistungen (+ Handlungsband als letzte Karte) ── */
  html[data-view="app"] .hs-services { padding: var(--rk-space-5) var(--hs-gutter) calc(var(--rk-space-2) / 2); }
  html[data-view="app"] .hs-services[data-rk-karussell]:not(#rk-nie) { margin-inline: 0; padding-inline: var(--rk-app-rand); scroll-padding-inline: var(--rk-app-rand); }
  html[data-view="app"] .hs-services + .rk-karussell__nav { padding: 0 var(--hs-gutter) var(--rk-space-2); }
  html[data-view="app"] .hs-services[data-rk-karussell] { align-items: flex-start; }
  html[data-view="app"] .hs-services > .hs-split { display: flex; flex-direction: column; align-items: stretch; gap: var(--rk-space-3); padding: 0; border-top: 0; }
  html[data-view="app"] .hs-services > .hs-split .hs-ba { order: -1; margin: 0; }
  html[data-view="app"] .hs-services .hs-ba__stage { aspect-ratio: 16 / 9; max-height: none; border-radius: var(--rk-radius-md, 12px); }
  html[data-view="app"] .hs-services .hs-split__content { padding: 0; }
  html[data-view="app"] .hs-services .hs-h2 { margin-bottom: 0; font-size: calc(var(--rk-fs-card-title) * var(--hs-fs-scale)); line-height: 1.2; }
  html[data-view="app"] .hs-services .hs-eyebrow { margin-bottom: calc(var(--rk-space-2) / 2); }
  html[data-view="app"] .hs-services > .hs-wowband { order: 9; display: flex; padding: 0; margin: 0; }
  html[data-view="app"] .hs-services > .hs-wowband .rk-wow-cta { width: 100%; margin: 0; }
  html[data-view="app"] .hs-services > .hs-wowband .rk-wow-cta { padding: var(--rk-space-4); gap: var(--rk-space-3); }
  html[data-view="app"] .hs-services > .hs-wowband .rk-wow-cta__text { font-size: calc(var(--rk-fs-card-title) * var(--hs-fs-scale)); }
  html[data-view="app"] .hs-page details.rk-mehr .hs-more.is-collapsed { display: block; }
  html[data-view="app"] .hs-page details.rk-mehr .hs-more-btn { display: none; }

  /* ── Referenzen ── */
  html[data-view="app"] .hs-refs-head { padding-top: var(--hs-section-py); }
  html[data-view="app"] .hs-refs-head__logo { display: none; }
  html[data-view="app"] .hs-refs-head .hs-h2--xl { font-size: calc(var(--rk-fs-h2) * var(--hs-fs-scale)); margin-bottom: calc(var(--rk-space-2) * .75); }
  html[data-view="app"] .hs-refs-head .hs-lead { margin-bottom: var(--rk-space-3); }
  html[data-view="app"] .hs-compare { margin-top: var(--rk-space-4); }
  html[data-view="app"] .hs-compare__stage { aspect-ratio: 16 / 9; }
  html[data-view="app"] .hs-compare__caption { padding-top: var(--rk-space-2); }
  html[data-view="app"] .hs-teaser { margin-top: var(--rk-space-3); }
  html[data-view="app"] .hs-teaser__preview { display: none; }
  html[data-view="app"] .hs-teaser__body { margin-top: 0; padding-top: var(--rk-space-4); } /* Spec 017 K2: Etikett nicht am Rand */

  /* ── Warum wir: Wischleiste bleibt, Rest eingeklappt ── */
  html[data-view="app"] .hs-trust__head { margin-bottom: var(--rk-space-3); }
  html[data-view="app"] .hs-trust__claim { font-size: var(--rk-fs-body); }
  html[data-view="app"] .hs-page [data-hs-rail][data-rk-karussell]:not(#rk-nie) { padding-bottom: var(--rk-space-2); align-items: flex-start; }
  html[data-view="app"] .hs-services > .hs-wowband .rk-wow-cta__text small { font-size: var(--rk-fs-xs); }
  html[data-view="app"] .hs-page [data-rk-karussell] ~ .hs-swipe-hint { display: none; }
  html[data-view="app"] .hs-trust__grid .hs-card { padding: var(--rk-space-4); min-height: 0; }
  html[data-view="app"] .hs-trust__grid .hs-card__label,
  html[data-view="app"] .hs-trust__grid .hs-card__value { margin-bottom: calc(var(--rk-space-2) * .75); }
  html[data-view="app"] .hs-trust .rk-wow-cta { padding: var(--rk-space-4); }
  html[data-view="app"] .hs-trust .rk-wow-cta__text { font-size: calc(var(--rk-fs-card-title) * var(--hs-fs-scale)); }

  /* ── Shop: Kurzform ── */
  html[data-view="app"] #rkb-shop .rk-wow-feature { gap: var(--rk-space-3); }
  html[data-view="app"] #rkb-shop .rk-wow-feature__copy { gap: var(--rk-space-3); }
  html[data-view="app"] #rkb-shop .rk-wow-feature__title { font-size: calc(var(--rk-fs-h3) * var(--hs-fs-scale)); }
  html[data-view="app"] #rkb-shop .rkb-chips { display: flex; gap: var(--rk-space-2); margin: 0; padding-block: 2px; }
  html[data-view="app"] #rkb-shop .rk-wow-btnrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(calc(var(--rk-touch-comfort) * 3), 1fr)); gap: var(--rk-space-2); }
  html[data-view="app"] #rkb-shop .rk-wow-btnrow .rk-btn { min-width: 0; padding-inline: var(--rk-space-3); }
  html[data-view="app"] #rkb-shop .rk-wow-feature__img { aspect-ratio: 16 / 9; }
  html[data-view="app"] #rkb-shop .rk-wow-feature__badge { position: static; margin-top: var(--rk-space-3); padding: var(--rk-space-3) var(--rk-space-3); }

  /* ── Academy: Karussell der drei Wege ── */
  html[data-view="app"] .rkb-academy__head { margin-bottom: var(--rk-space-3); }
  html[data-view="app"] .rkb-bento[data-rk-karussell] { align-items: flex-start; }
  html[data-view="app"] .rkb-bento .rk-wow-bento__cell { gap: var(--rk-space-3); padding: var(--rk-space-4); }
  html[data-view="app"] .rkb-bento .rk-wow-bento__top { flex-wrap: wrap; gap: var(--rk-space-2); }
  html[data-view="app"] .rkb-bento .rk-wow-bento__tag { max-width: 100%; white-space: normal; }
  html[data-view="app"] .rkb-bento .rk-wow-bento__cell h3 { font-size: var(--rk-wow-fs-title); }
  html[data-view="app"] .rkb-bento .rk-wow-bento__big b { font-size: var(--rk-fs-display); }
  html[data-view="app"] .rkb-strip { gap: calc(var(--rk-space-2) * .75); }
  html[data-view="app"] .rkb-strip img { aspect-ratio: 16 / 10; }
  html[data-view="app"] .rkb-academy__more { margin-top: var(--rk-space-2); gap: var(--rk-space-2); }

  /* ── Kunsthandwerk: Frage groß, Antwort, drei Gründe als Akkordeon (Baustein [data-rk-akkordeon], rk-app.css/.js) ── */
  html[data-view="app"] .hs-price__reasons { gap: 0; margin-top: var(--rk-space-3); }
  /* Spec 017 K2: oben Luft zur Linie (Nummer „01“ saß mit Zeilenhöhe .9 direkt darauf), Rest wie gehabt */
  html[data-view="app"] .hs-price__reasons .rk-wow-reasons__item { padding: var(--rk-space-3) 0 0; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 20%, transparent); }

  /* ── Über uns ── */
  html[data-view="app"] .hs-about { padding-top: var(--hs-section-py); }
  html[data-view="app"] .hs-about__grid { grid-template-columns: calc(var(--rk-touch-comfort) * 2) minmax(0, 1fr); gap: var(--rk-space-4); align-items: start; }
  html[data-view="app"] .hs-about__figure { order: 0; margin: 0; max-width: none; }
  html[data-view="app"] .hs-about__text { order: 1; }
  html[data-view="app"] .hs-about__figure img { aspect-ratio: 1; object-fit: cover; border-radius: var(--rk-radius-md, 12px); }
  html[data-view="app"] .hs-about .hs-h2 { font-size: calc(var(--rk-fs-h3) * var(--hs-fs-scale)); margin-bottom: var(--rk-space-2); }
  html[data-view="app"] .hs-about__line { display: none; }

  /* ── Instagram: kompakte Karte ── */
  html[data-view="app"] .hs-insta__card { grid-template-columns: calc(var(--rk-touch-comfort) * 2) minmax(0, 1fr); justify-items: stretch; align-items: center; }
  html[data-view="app"] .hs-insta__phone { width: calc(var(--rk-touch-comfort) * 2); margin: 0; transform: none; }
  html[data-view="app"] .hs-insta__panel { padding: var(--rk-space-4); text-align: left; }
  html[data-view="app"] .hs-insta__label { justify-content: flex-start; }
  html[data-view="app"] .hs-insta__band { display: none; }
  html[data-view="app"] .hs-insta__title { font-size: calc(var(--rk-fs-card-title) * var(--hs-fs-scale)); }

  /* ── Abschluss-Aufruf ── */
  html[data-view="app"] .hs-cta__btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(calc(var(--rk-touch-comfort) * 3), 1fr)); gap: var(--rk-space-2); max-width: none; }
  html[data-view="app"] .hs-cta__btns .rk-btn { min-width: 0; padding-inline: var(--rk-space-3); }
}
