/* ==========================================================================
   Stark gegen Mobbing – styles.css
   Foundation: Tokens (design-system.md), Reset, Typografie, Utilities,
   Navigation, Hero, Marquee, Motion.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Sink";
  src: url("assets/fonts/Sink.otf") format("opentype"),
       url("assets/fonts/Sink.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* DM Sans lokal (SIL OFL, assets/fonts/OFL-DM-Sans.txt), keine Verbindung zu Google. */
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-latin-ext-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-latin-ext-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Farben */
  --canvas: #FBF3EC;
  --white: #FFFFFF;
  --mist: #F3E9E1;
  --hairline: #E6D8CE;
  --ink: #1B1513;
  --slate: #5C514B;
  --brand: #D62F1E;
  --brand-deep: #8E1F13;
  --coral: #FF9C8C;
  --coral-wash: #FFDDD5;
  --sage: #9FB98E;
  --sage-wash: #E4ECDA;
  --sky: #8FB0CC;
  --sky-wash: #DCE7F0;
  --sun: #E9B949;
  --sun-wash: #F7E8C3;

  /* Typografie: genau drei Register */
  --font-display: "Sink", Impact, "Arial Black", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-body: 17px;
  --text-body-lh: 1.5;
  --text-label: 14px;
  --text-label-lh: 1.2;
  --display-sm: 2rem;                          /* 32px, nie unter 28px */
  --display-md: clamp(2.5rem, 5vw, 4.5rem);    /* 40–72px */
  --display-xl: min(17vw, 10rem);              /* Hero: 66px (390) bis 160px */
  --display-lh: 1;
  --display-tracking: 0.005em;

  /* Form */
  --radius-card: 12px;
  --radius-pill: 9999px;

  /* Abstand (8px-Raster) */
  --container: 1280px;
  --gutter: 24px;
  --section: 64px;
  --card-pad: 24px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;

  /* Nav + Marquee (Höhen, damit der Hero den Fold korrekt füllt) */
  --nav-h: 64px;
  --nav-inset: 16px;   /* gleichmäßiger Abstand der Nav zu oberer, linker und rechter Viewport-Kante */
  --marquee-h: 74px;

  /* Bewegung */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 600ms;
  --dur-hover: 250ms;
  --stagger: 80ms;
}

@media (min-width: 768px) {
  :root {
    --gutter: 48px;
    --section: 96px;
    --card-pad: 32px;
    --nav-h: 72px;
    --marquee-h: 88px;
  }
}

@media (min-width: 1200px) {
  :root { --section: 120px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--nav-inset) * 2);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--text-body-lh);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100svh;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
[tabindex="-1"]:focus-visible { outline: none; }

::selection { background: var(--coral-wash); color: var(--ink); }

/* ---------- Basis-Typografie ---------- */
/* Register 1: Display (Sink), nur Ink oder Brand, nie unter 28px */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--display-lh);
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
  color: var(--ink);
}
.display--sm { font-size: var(--display-sm); }
.display--md { font-size: var(--display-md); line-height: 0.98; }
.display--xl { font-size: var(--display-xl); line-height: 0.96; }
.display--brand { color: var(--brand); }
.display--deep { color: var(--brand-deep); }

/* Register 2: Body (DM Sans 16–17px) ist der Body-Default. */
.body-text { font-size: var(--text-body); line-height: var(--text-body-lh); }
.muted { color: var(--slate); }
.measure { max-width: 65ch; }

/* Register 3: Label (DM Sans 13–14px, 500/700) */
.label {
  font-size: var(--text-label);
  line-height: var(--text-label-lh);
  font-weight: 500;
}
.label--bold { font-weight: 700; }

/* Eyebrow: Label mit Brand-Punkt */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-label);
  line-height: var(--text-label-lh);
  font-weight: 500;
  color: var(--slate);
}
.eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

/* Badge: Label auf Wash-Fläche */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--mist);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
}

/* ---------- Layout-Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }

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

/* ---------- Pills / Buttons ---------- */
/* Primär: Ink-Füllung, weiße 14px-Bold-Beschriftung. Nie Rot. */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-label);
  line-height: var(--text-label-lh);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur-hover) var(--ease),
              color var(--dur-hover) var(--ease),
              transform var(--dur-hover) var(--ease);
}
.pill:hover { background: var(--brand-deep); color: var(--white); }
.pill:active { transform: translateY(1px); }

/* Sekundär: transparent, 1px Ink */
.pill--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.pill--ghost:hover { background: var(--mist); color: var(--ink); }

/* Textlink (Label-Register, nur außerhalb des Heros): Ink, 1px Hairline-Unterstrich, Hover Ink */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: var(--text-label);
  line-height: var(--text-label-lh);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: var(--hairline);
  transition: text-decoration-color var(--dur-hover) var(--ease);
}
.text-link:hover { text-decoration-color: var(--ink); }
.text-link-icon { flex: none; transition: transform var(--dur-hover) var(--ease); }
.text-link:hover .text-link-icon { transform: translateY(3px); }

/* ---------- Karten ---------- */
/* Reine Farbflächen: 12px Radius, kein Schatten, kein Rahmen. Ein Wash pro Karte. */
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: var(--card-pad);
  transition: transform var(--dur-hover) var(--ease);
}
.card--mist  { background: var(--mist); }
.card--coral { background: var(--coral-wash); }
.card--sage  { background: var(--sage-wash); }
.card--sky   { background: var(--sky-wash); }
.card--sun   { background: var(--sun-wash); }
.card--deep  { background: var(--brand-deep); color: var(--white); }
.card--deep .muted { color: var(--coral-wash); }

.card--hover:hover { transform: translateY(-4px); }
.card--hover:hover .card-deco { transform: rotate(10deg); }

/* Deko-Form, die bewusst die Kartenkante bricht */
.card-deco {
  position: absolute;
  width: var(--s, 72px);
  height: var(--s, 72px);
  border-radius: 50%;
  background: var(--c, var(--brand));
  transition: transform var(--dur-hover) var(--ease);
  pointer-events: none;
}
.card-deco--square { border-radius: 22%; transform: rotate(45deg); }
.card--hover:hover .card-deco--square { transform: rotate(55deg); }
.card--clip { overflow: visible; }

/* ---------- Scroll-Reveal (wird von späteren Sektionen wiederverwendet) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Umlautpunkte der Sink ----------
   Die Punkte über Ä/Ö/Ü ragen ~0.16em über die Zeilenbox. Safari (iOS/macOS) legt animierte
   Elemente (Reveal, Hero-Zeilen, Laufband) auf eigene Ebenen in Größe ihrer Box und schneidet
   alles darüber ab. Diese Elemente bekommen oben Luft und geben sie per negativem Margin zurück:
   das Layout bleibt gleich, die Box umfasst die Punkte. Laufband: siehe .marquee-list li. */
.display.reveal,
.hero-line { padding-top: .2em; margin-top: -.2em; }
.hero-row { display: flow-root; } /* verhindert, dass der negative Margin durch h1 kollabiert */
.split-text.reveal { padding-top: calc(var(--display-md) * .2); margin-top: calc(var(--display-md) * -.2); }

/* ---------- Skip-Link ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-200%);
  transition: none;
}
.skip-link:focus-visible {
  transform: none;
  outline-offset: 3px;
}

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--canvas);
  padding: var(--nav-inset) var(--nav-inset) 0;
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: var(--white);
  border-radius: var(--radius-card);
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 44px;
  border-radius: 6px;
  margin-right: auto;
}
.logo-svg {
  height: 44px;
  width: auto;
  overflow: visible;
}

/* Logo-Punktering: Punkte poppen gestaffelt ein, dann langsame Rotation */
.logo-ring {
  transform-box: view-box;
  transform-origin: 66px 66px;
  animation: ring-spin 60s linear infinite;
  animation-delay: 1.4s;
}
.logo-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: dot-pop 480ms var(--ease) both;
  animation-delay: calc(140ms + var(--i, 0) * 70ms);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--dur-hover) var(--ease);
}
.nav-links a:hover { background: var(--mist); }

.nav-cta { flex: none; }

/* Burger */
.nav-burger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex: none;
  border: 0;
  background: transparent;
  border-radius: var(--radius-pill);
  color: var(--ink);
  transition: background-color var(--dur-hover) var(--ease);
}
.nav-burger:hover { background: var(--mist); }
.nav-burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur-hover) var(--ease), opacity var(--dur-hover) var(--ease);
}
.nav-burger[aria-expanded="true"] .nav-burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger[aria-expanded="true"] .nav-burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile-Panel im selben Stil: weiße Fläche, 12px Radius, kein Rahmen, kein Schatten */
.nav-panel {
  position: fixed;
  left: var(--nav-inset);
  right: var(--nav-inset);
  top: calc(var(--nav-h) + var(--nav-inset) * 2);
  bottom: var(--nav-inset);
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-4);
  overflow: auto;
  padding: var(--space-3);
  background: var(--white);
  border-radius: var(--radius-card);
  animation: rise 360ms var(--ease) both;
}
.nav-panel[hidden] { display: none; }
.nav-panel-links { display: grid; gap: 2px; }
.nav-panel-links a {
  display: block;
  padding: 10px 0;
  font-size: 2.25rem; /* 36px Display */
  text-decoration: none;
  color: var(--ink);
  transition: color var(--dur-hover) var(--ease), transform var(--dur-hover) var(--ease);
}
.nav-panel-links a:hover { color: var(--brand); transform: translateX(6px); }
.nav-panel-cta {
  width: 100%;
}
.menu-open { overflow: hidden; }

@media (min-width: 900px) {
  .nav { padding: 0 16px; gap: 16px; }
  .brand { margin-right: 0; }
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .nav-panel { display: none !important; }
}

/* ---------- Hero ---------- */
/* Header-Höhe = Nav + Inset oben; Hero füllt den Fold bis zum Marquee-Band. */
.hero {
  position: relative;
  overflow: hidden; /* fängt die Deko-Formen ein: kein horizontales Scrollen */
  min-height: calc(100svh - var(--nav-h) - var(--nav-inset) - var(--marquee-h));
  display: flex;
  align-items: flex-start;
  padding: 40px 0 56px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero-eyebrow {
  animation: rise 600ms var(--ease) both;
  animation-delay: 120ms;
}
/* Im Hero sitzt der Punkt direkt über dem roten Display-Wort: deshalb Ink statt Brand-Rot */
.hero-eyebrow .eyebrow-dot { background: var(--ink); }

/* Headline: „Stark" / „gegen Mobbing". Unter 900px dreizeilig. */
.hero-title {
  margin-top: var(--space-2);
  font-size: var(--display-xl);
  line-height: 0.96;
}
.hero-row { display: block; }
/* Stagger zeilenweise (90ms pro Zeile): unter 900px ist jedes Wort eine Zeile (--i),
   ab 900px teilen sich „gegen" und „Mobbing" eine Zeile und nutzen den Zeilenindex --row. */
.hero-line {
  display: block;
  vertical-align: top;
  animation: rise 650ms var(--ease) both;
  animation-delay: calc(220ms + var(--i, 0) * 90ms);
}
.hero-line--brand { color: var(--brand); }

.hero-sub {
  max-width: 29em; /* ≈ 65 Zeichen pro Zeile in DM Sans 17px */
  margin-top: var(--space-3);
  animation: rise 600ms var(--ease) both;
  animation-delay: 560ms;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-4);
  animation: rise 600ms var(--ease) both;
  animation-delay: 660ms;
}

/* Deko-Formen: Beiwerk aus dem Logo-Punktering. Vier Formen, Größe relativ zur Display-Zeile
   (nie höher als eine Zeile), zusammen deutlich weniger Fläche als die Headline. */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.shape {
  position: absolute;
  width: var(--s);
  height: var(--s);
  animation: pop 700ms var(--ease) both;
  animation-delay: var(--d, 500ms);
}
.shape::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--c);
  animation: drift var(--t, 12s) ease-in-out infinite;
  animation-delay: var(--d, 500ms);
}
.shape--square::before {
  border-radius: 22%;
  transform: rotate(45deg);
  animation-name: drift-square;
}

/* Mobile (< 768px): dreizeilig, Formen klein neben der Headline, nur Sky im Band neben der Pille.
   Das Quadrat sitzt rechts neben „Stark“ (kurze erste Zeile), nicht unten: dort lief es auf kurzen
   Handy-Bildschirmen unter die Pille. Keine Form höher als eine Display-Zeile: alle ≤ 56px. */
.shape--coral  { --c: var(--coral);      --s: 56px; --a: 10px; --d: 420ms; --t: 11s; right: -16px; top: 100px; }
.shape--ink    { --c: var(--ink);        --s: 18px; --a: 8px;  --d: 560ms; --t: 9s;  right: 130px; top: 160px; }
.shape--square { --c: var(--brand-deep); --s: 36px; --a: 10px; --d: 640ms; --t: 12s; right: 72px;  top: 52px; }
.shape--sky    { --c: var(--sky);        --s: 56px; --a: 10px; --d: 720ms; --t: 13s; right: 64px;  bottom: 64px; }

/* Tablet hochkant (768–899px): weiterhin dreizeilig, Formen skalieren mit der Display-Zeile */
@media (min-width: 768px) {
  .hero-title { margin-top: var(--space-3); }
  .hero-sub { margin-top: var(--space-4); }
  .hero-actions { margin-top: var(--space-6); }

  .shape--coral  { --s: calc(var(--display-xl) * 0.9);  --a: 14px; right: calc(var(--s) * -0.3); top: 48px; }
  .shape--ink    { --s: calc(var(--display-xl) * 0.18); --a: 10px; right: 120px; top: 400px; }
  .shape--square { --s: calc(var(--display-xl) * 0.6);  --a: 12px; left: auto; right: 160px; top: 260px; bottom: auto; }
  .shape--sky    { --s: calc(var(--display-xl) * 0.75); --a: 16px; right: 200px; bottom: 56px; }
}

/* Desktop (ab 900px): zweizeilig „Stark" / „gegen Mobbing", Schrift 11.12vw (100–160px),
   die zweite Zeile belegt ~68 % der Viewport-Breite. Subline und Pille bleiben bei 1024x768 über der Falz. */
@media (min-width: 900px) {
  :root { --display-xl: min(11.12vw, 10rem); }
  .hero { align-items: center; }
  .hero-line { display: inline-block; animation-delay: calc(220ms + var(--row, 0) * 90ms); }

  .shape--coral  { top: 48px; }
  .shape--square { right: 160px; top: 128px; }
  .shape--ink    { right: 120px; top: calc(var(--display-xl) * 2); }
  .shape--sky    { right: 200px; bottom: 56px; }
}

/* Große Bildschirme (ab 1440px): der Hero wächst in den Proportionen von 1440px weiter, statt bei
   160px Schrift und 1280px Container stehen zu bleiben. Alles hängt an --display-xl (= 160px bei 1440),
   die Höhe begrenzt die Schrift, damit Titel, Text und Pille auch auf flachen Breitbildschirmen passen.
   Nur der Hero: die Sektionen darunter behalten Container und Schriftgrößen. */
@media (min-width: 1440px) {
  :root { --display-xl: min(11.12vw, 19svh); }
  .hero-inner { max-width: none; padding-inline: 8.9vw; }
  .hero-sub { font-size: clamp(var(--text-body), 1.18vw, 30px); margin-top: calc(var(--display-xl) * .2); }
  .hero-actions { margin-top: calc(var(--display-xl) * .3); }
  .hero-actions .pill { font-size: clamp(var(--text-label), 1vw, 24px); padding: .8em 1.45em; }

  .shape--coral  { top: calc(var(--display-xl) * .3); }
  .shape--square { right: var(--display-xl); top: calc(var(--display-xl) * .8); }
  .shape--ink    { right: calc(var(--display-xl) * .75); }
  .shape--sky    { right: calc(var(--display-xl) * 1.25); bottom: calc(var(--display-xl) * .35); }
}

/* ---------- Marquee ---------- */
/* Liegt ohne Linien auf dem Cream. Startet auf einer Wortgrenze am Seitenrand; die Kanten faden aus. */
.marquee {
  position: relative;
  overflow: hidden;
  min-height: var(--marquee-h);
  display: flex;
  align-items: center;
  padding: 8px 0; /* + 0.22em an den Wörtern = gleiche Höhe wie vorher */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  transform: translateX(var(--gutter));
  animation: marquee 46s linear infinite;
  animation-delay: 2s;
  will-change: transform;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

.marquee-list {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee-list li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  /* Sink-Umlautpunkte ragen ~0.16em über die Versalhöhe. Safari schneidet im animierten
     Laufband alles außerhalb der Box ab: deshalb Luft oben und unten. */
  padding-block: 0.22em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.25rem; /* 36px */
  line-height: 1;
  letter-spacing: var(--display-tracking);
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-list li::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
@media (min-width: 768px) {
  .marquee { padding: 10px 0; }
  .marquee-list li { font-size: 2.75rem; gap: 36px; padding-right: 36px; } /* 44px */
  .marquee-list li::after { width: 16px; height: 16px; }
}

/* ---------- Sektions-Bausteine (Über uns, Angebote) ---------- */
/* Display-Größe für Sektions-Headlines: 44px (390) bis 92px (ab 1416px). Bleibt im Display-Register. */
.display--lg { font-size: clamp(2.75rem, 6.5vw, 5.75rem); line-height: 0.96; }
.t-line { display: block; }

/* Deko-Formen brechen Kartenkanten, aber nie die Viewport-Kante */
.about, .offers { overflow-x: clip; }

/* Karten mit Deko-Form: Innenabstand rechts, damit Text und Form sich nicht berühren */
.about-point, .offer { padding-right: calc(var(--card-pad) + 16px); }

/* ---------- Über uns ---------- */
.about-head { display: grid; gap: var(--space-2); }
.about-title { max-width: 14ch; }
.about-lead { max-width: 44ch; margin-top: var(--space-2); font-weight: 500; }

.about-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-6);
}
.about-text {
  display: grid;
  gap: var(--space-3);
  max-width: 60ch;
}
.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-top: var(--space-1);
}

.about-side-label {
  display: block;
  color: var(--slate);
  margin-bottom: var(--space-3);
}
.about-points {
  display: grid;
  gap: var(--space-3);
  padding-top: var(--space-2); /* Platz für die Form, die über die erste Kartenkante ragt */
}
.about-point h3 {
  font-size: var(--display-sm); /* 32px: Display-klein, wie alle Kartentitel */
  line-height: 1;
  margin-bottom: var(--space-2);
}
/* Deko-Formen: eine pro Karte, 40px (die Karten sind 160–220px hoch, also unter 1/4),
   brechen die Kante, berühren nie Text. Driften langsam wie im Hero. */
.about-point .card-deco {
  --s: 40px;
  --a: 4px;
  animation: drift var(--t, 14s) ease-in-out infinite;
}
.about-point--1 .card-deco { --c: var(--brand); --t: 14s; top: -18px; right: 28px; }
.about-point--2 .card-deco { --c: var(--sage);  --t: 17s; top: 28px; right: -6px; } /* bricht die rechte Kante, bleibt im Seitenrand */
.about-point--3 .card-deco { --c: var(--ink);   --t: 12s; bottom: -22px; right: 40px; }
/* Mobile/Tablet: mehr Innenabstand rechts, damit der Kreis keinen Text berührt */
.about-point--2 { padding-right: calc(var(--card-pad) + 24px); }
/* Fakten-Badges im 14px-Label-Register */
.about-facts .badge { font-size: var(--text-label); }

@media (min-width: 900px) {
  .about-head {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    column-gap: var(--space-8);
    align-items: end;
  }
  .about-head .eyebrow { grid-column: 1 / -1; }
  .about-lead { margin: 0 0 6px; } /* Lead rechts neben der Headline, auf deren Grundlinie */
  .about-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-8);
    align-items: start;
  }
  .about-grid { margin-top: var(--space-8); }
  .about-side { padding-top: var(--space-1); }
  /* Leichter Versatz der mittleren Karte: editorialer Rhythmus statt Stapel */
  .about-point--2 { margin-left: var(--space-6); padding-right: calc(var(--card-pad) + 16px); }
  .about-point--2 .card-deco { top: 40px; right: auto; left: -20px; } /* Kreis bricht die linke Kante im Versatz, 12px Luft zum Text */
}

/* ---------- Angebote ---------- */
.offers-head { display: grid; gap: var(--space-2); }
.offers-intro { max-width: 44ch; margin-top: var(--space-2); }

.offers-grid {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-2); /* Platz für Formen über der oberen Kartenkante */
}
.offers-grid > li { display: grid; }

.offer {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.offer-num { line-height: 1; align-self: flex-start; } /* 32px Display-klein, wie der Kartentitel */
.offer h3 { margin-top: var(--space-1); align-self: flex-start; }
.offer p { max-width: 60ch; }
.offer-link {
  margin-top: auto;
  padding-top: var(--space-2);
  align-self: flex-start;
}
.offer-link:hover .text-link-icon { transform: translateX(3px); }

/* Hover: Karte hebt sich 4px, Form dreht und rückt leicht */
.offer:hover { transform: translateY(-4px); }
.offer:hover .card-deco { transform: translate(3px, -4px) rotate(12deg); }
.offer:hover .card-deco--square { transform: translate(3px, -4px) rotate(57deg); }

/* Deko-Formen: eine pro Karte, unter 1/4 der Kartenhöhe (Karten 300–450px hoch).
   Mobile/Tablet 48/56/64px, Desktop 56/64/72px. Der Brand-Rot-Kreis sitzt an der rechten
   Kante von Karte 03, weit außerhalb der Wortbreite des roten Display-Worts. */
.offer--1 .card-deco { --c: var(--ink);   --s: 48px; bottom: -18px; right: 28px; }            /* Raute, untere Kante */
.offer--2 .card-deco { --c: var(--coral); --s: 56px; top: -20px; left: calc(50% - 28px); }  /* Kreis, obere Kante mittig */
.offer--3 .card-deco { --c: var(--brand); --s: 64px; top: 44px; right: -16px; }             /* Kreis, rechte Kante, bleibt im Seitenrand */

.offers-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-6);
}
.offers-foot p { max-width: 60ch; }

@media (min-width: 900px) {
  .offers-head {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    column-gap: var(--space-8);
    align-items: end;
  }
  .offers-head .eyebrow { grid-column: 1 / -1; }
  .offers-intro { margin: 0 0 6px; }
  .offers-grid { margin-top: var(--space-8); }
}
@media (min-width: 1024px) {
  .offers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offer--1 .card-deco { --s: 56px; bottom: -20px; }
  .offer--2 .card-deco { --s: 64px; top: -22px; left: calc(50% - 32px); }
  .offer--3 .card-deco { --s: 72px; right: -26px; }
}

/* ---------- Illustrationen (Eindrücke, Team) ---------- */
/* Flache SVG-Formen in Token-Farben: pro Kachel Wash + eine gesättigte Farbe + Ink. */
.ill { display: block; width: 100%; height: 100%; }
.f-ink   { fill: var(--ink); }
.f-brand { fill: var(--brand); }
.f-sun   { fill: var(--sun); }
.f-sky   { fill: var(--sky); }
.f-sage  { fill: var(--sage); }
.f-mist  { fill: var(--mist); }
.f-w-sky   { fill: var(--sky-wash); }
.f-w-sage  { fill: var(--sage-wash); }
.f-w-coral { fill: var(--coral-wash); }
.s-ink { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
/* Knockout-Strich in der Kachel-Wash-Farbe: trennt überlappende Flächen ohne Umriss */
.k-mist { stroke: var(--mist); stroke-width: 12; stroke-linejoin: round; }
.k-sage { stroke: var(--sage-wash); stroke-width: 10; stroke-linejoin: round; }

/* Bewegliche Gruppen: Hover bewegt sie minimal (3° Schwenk, 4px Wippen) */
.ill-move {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform var(--dur-hover) var(--ease);
}
.ill-spot { transform-box: view-box; transform-origin: 640px 44px; }
.ill-page-l, .ill-page-r { transform-box: view-box; transform-origin: 400px 344px; }
.impression:hover .ill-spot { transform: rotate(3deg); }
.impression:hover .ill-bob { transform: translateY(-4px); }
.impression:hover .ill-tilt-l { transform: rotate(-2deg); }
.impression:hover .ill-tilt-r { transform: rotate(2deg); }
.impression:hover .ill-nudge-l { transform: translate(-3px, -3px); }
.impression:hover .ill-nudge-r { transform: translate(3px, 3px); }
.impression:hover .ill-page-l { transform: rotate(-1.5deg); }
.impression:hover .ill-page-r { transform: rotate(1.5deg); }

/* ---------- Eindrücke ---------- */
.impressions, .team { overflow-x: clip; }

.impressions-head, .team-head { display: grid; gap: var(--space-2); }
.impressions-intro, .team-intro { max-width: 44ch; margin-top: var(--space-2); }

/* Raster: Mobile/Tablet 2 Spalten, breite Kacheln über beide; ab 1024px 4 Spalten, 2 Reihen */
.impressions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3) var(--space-2);
  margin-top: var(--space-6);
  padding-top: var(--space-2); /* Platz für die Form über der Kachelkante */
  align-items: start;
}
.impression { position: relative; }
.impressions-grid > .cell--wide { grid-column: span 2; }

/* Rahmen trägt Kachel + Deko-Form und hebt sich als Ganzes; die Kachel selbst clippt nur die Illustration */
.impression-frame {
  position: relative;
  transition: transform var(--dur-hover) var(--ease);
}
.impression-media {
  aspect-ratio: 1 / 1; /* Fallback ohne Container-Query-Einheiten */
  border-radius: var(--radius-card);
  overflow: hidden;
}
.impression--wide .impression-media { aspect-ratio: 2.08 / 1; }
/* Kachelhöhe = Spaltenbreite, aus der Rasterbreite berechnet: breite und quadratische Kacheln
   einer Reihe sind exakt gleich hoch, die Bildunterschriften stehen auf derselben Grundlinie. */
@supports (width: 1cqw) {
  .impressions-grid { container-type: inline-size; }
  .impression-media, .impression--wide .impression-media {
    aspect-ratio: auto;
    height: calc((100cqw - var(--space-2)) / 2);
  }
}
.impression-media > svg,
.impression-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.impression-caption {
  margin-top: 12px;
  color: var(--slate);
}
.impression:hover .impression-frame { transform: translateY(-4px); }

/* Deko-Formen brechen Kachelkanten und driften ruhig */
.impression-frame .card-deco { animation: drift var(--t, 14s) ease-in-out infinite; }
.impression-frame .card-deco--square { animation-name: drift-square; }
/* Jede Form bricht eine Ecke und liegt zu max. 25 % ihrer Fläche in der Kachel (Fotos bleiben einsetzbar).
   Mittelpunkte: Brand-Kreis 56px an der oberen rechten Ecke der Masken (14px über, 18px innen);
   Sky-Kreis 40px an der unteren rechten Ecke der Sprechblasen (10px unter, 12–14px innen);
   Ink-Raute 44px an der unteren rechten Ecke des Buchs (14px unter, 21px innen).
   Rechts liegende Formen ragen max. 10px + 4px Drift in den 24px-Seitenrand (≥ 10px Luft zum Viewport). */
.impression--3 .card-deco { top: -42px; right: -10px; }
.impression--4 .card-deco { bottom: -30px; right: -6px; }  /* 390px: 6px + 4px Drift in den 16px-Spaltenabstand */
.impression--6 .card-deco { bottom: -36px; right: -1px; }

.impressions-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-6);
}
.impressions-foot p { max-width: 60ch; }
.impressions-note { display: grid; gap: var(--space-2); }
.impressions-press {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .impressions-grid { gap: var(--space-3); }
  .impression--4 .card-deco { right: -12px; }
  @supports (width: 1cqw) {
    .impression-media, .impression--wide .impression-media { height: calc((100cqw - var(--space-3)) / 2); }
  }
}
@media (min-width: 900px) {
  .impressions-head, .team-head {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    column-gap: var(--space-8);
    align-items: end;
  }
  .impressions-head { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); } /* Headline hält ≥ 45 % der Breite */
  .impressions-head .eyebrow, .team-head .eyebrow { grid-column: 1 / -1; }
  .impressions-intro, .team-intro { margin: 0 0 6px; }
  .impressions-grid { margin-top: var(--space-8); }
}
@media (min-width: 1024px) {
  .impressions-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  @supports (width: 1cqw) {
    .impression-media, .impression--wide .impression-media { height: calc((100cqw - 3 * var(--space-3)) / 4); }
  }
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-2); /* Platz für Formen über der oberen Kartenkante */
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.team-avatar {
  width: 112px;
  height: 112px;
  flex: none;
}
.team-card h3 { margin-top: var(--space-1); }
.team-role { color: var(--slate); }
.team-bio { max-width: 60ch; }
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-top: var(--space-1);
}
.team-mail {
  margin-top: auto;
  padding-top: var(--space-2);
  align-self: flex-start;
}
/* Die längste Adresse (muhammed.kocer@…) misst 298px bei 14px/700. Wo der Karteninhalt schmaler ist
   (unter 480px: 294px; 1200–1279px in drei Spalten: 288–301px), steht sie im 13px-Label auf einer Zeile. */
@media (max-width: 479px), (min-width: 1200px) and (max-width: 1279px) {
  .team-mail { font-size: 13px; }
}

/* Eine Deko-Form je Karte, driftet ruhig, bricht die Kante */
.team-card .card-deco { animation: drift var(--t, 14s) ease-in-out infinite; }
.team-card .card-deco--square { animation-name: drift-square; }
.team-card--1 .card-deco { top: -22px; right: 28px; } /* Ink: liegt in Wortbreite unter „ein Ziel.", deshalb kein Brand-Rot */
.team-card--2 .card-deco { top: -14px; left: calc(50% - 20px); } /* mittig über der oberen Kante, frei von Avatar und Text */
.team-card--3 .card-deco { top: 40px; right: -10px; } /* 10px außen + 4px Drift: 10px Luft zum Viewport-Rand bei 390px */

/* 640–1199px: Karte als Zeile, Avatar links. Drei Spalten erst ab 1200px, damit die
   E-Mail-Adressen (≈ 275px bei 14px/700) in jeder Karte auf einer Zeile stehen. */
@media (min-width: 640px) and (max-width: 1199px) {
  .team-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto 1fr;
    column-gap: var(--space-4);
    row-gap: var(--space-2);
    align-items: start;
  }
  .team-avatar { grid-column: 1; grid-row: 1 / -1; }
  .team-card > :not(.team-avatar):not(.card-deco) { grid-column: 2; }
  .team-card h3 { margin-top: 0; }
  .team-mail { margin-top: 0; align-self: start; }
}
@media (min-width: 900px) {
  .team-grid { margin-top: var(--space-8); }
}
@media (min-width: 1200px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-card--3 .card-deco { right: -22px; }
}

/* ---------- Kontakt ---------- */
.contact { overflow-x: clip; }
.contact-head { display: grid; gap: var(--space-2); }
.contact-intro { max-width: 44ch; margin-top: var(--space-2); }

/* Inline-Link im Fließtext: Ink, 1px Hairline-Unterstrich, Hover Ink. Nie Rot. */
.inline-link {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--hairline);
  transition: text-decoration-color var(--dur-hover) var(--ease);
}
.inline-link:hover { text-decoration-color: var(--ink); }

.contact-grid {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-2); /* Platz für die Formen über der oberen Kartenkante */
  align-items: start;
}

/* Kontaktwege: Wash-Karte in natürlicher Höhe (nie gestreckt), fünf Blöcke mit 32px Abstand */
.contact-ways {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact-block { display: grid; gap: var(--space-1); justify-items: start; }
.contact-label { color: var(--slate); }
.contact-mail-main { font-size: var(--text-body); line-height: var(--text-body-lh); } /* Hauptadresse im Body-Register, 700 */
.contact-team { display: grid; gap: var(--space-1); }
.contact-team li { display: flex; }
/* Die längste Adresse (muhammed.kocer@…) misst 298px bei 14px/700; unter 480px ist der Karteninhalt
   schmaler (294px bei 390px), dort steht sie im 13px-Label (277px) auf einer Zeile. */
@media (max-width: 479px) {
  .contact-mail { font-size: 13px; }
}
/* Ablauf: nummerierte Schritte, Nummer als weißer 24px-Kreis mit 14px/700-Label */
.contact-steps {
  display: grid;
  gap: var(--space-1);
  margin-top: var(--space-1);
  counter-reset: step;
  max-width: 40ch;
}
.contact-steps li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}
.contact-steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-content: center;
  width: 24px;
  height: 24px;
  margin-top: 1px; /* optisch auf der ersten Textzeile (24px Zeilenhöhe bei 17px) */
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: var(--text-label);
  line-height: var(--text-label-lh);
  font-weight: 700;
}
.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-top: var(--space-1);
}
.contact-tags .badge { background: var(--white); font-size: var(--text-label); } /* Weiß auf Sky-Wash, 14px-Label */
/* Deko-Formen: eine je Karte, 56px (Karten 500–700px hoch, also unter 1/4).
   Koralle bricht die obere Kante der Wash-Karte. Brand-Rot bricht die rechte Kante des Formulars auf
   Höhe der Pille (rechts davon ist die Karte leer), 16px außen + 4px Drift < 24px Seitenrand, und weit
   außerhalb der Wortbreite der roten Headline. */
.contact-ways .card-deco,
.contact-form .card-deco { animation: drift var(--t, 14s) ease-in-out infinite; }
.contact-ways .card-deco { top: -22px; right: 28px; }
.contact-form .card-deco { bottom: 88px; right: -16px; }

/* Formular: weiße Karte, Felder gestapelt */
.contact-form {
  display: grid;
  gap: var(--space-3);
}
.field { display: grid; gap: var(--space-1); }
.field > .label { color: var(--ink); }
.field-row { display: grid; gap: var(--space-3); }

/* Inputs: Mist-Fläche, 1px Hairline, 12px Radius, 48px hoch (8px-Raster), Feldtext 17px */
.input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: var(--mist);
  color: var(--ink);
  font-size: var(--text-body);
  line-height: 24px;
  transition: border-color var(--dur-hover) var(--ease), background-color var(--dur-hover) var(--ease);
}
.input:hover { border-color: var(--slate); }
.input:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-color: var(--hairline);
}
/* Textarea: kein Browser-Griff in der gerundeten Ecke; wächst stattdessen mit dem Inhalt (field-sizing),
   sonst feste 144px mit Scroll. */
.input--area {
  min-height: 176px;
  max-height: 320px;
  resize: none;
  field-sizing: content;
}
.input--select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%231B1513' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.input--select:invalid { color: var(--slate); } /* Platzhalter „Bitte auswählen" in Slate */
.input--select option { color: var(--ink); }

/* Einwilligung: eigene Checkbox im Input-Stil (Mist, Hairline, Ink bei Auswahl) */
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.check input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  display: grid;
  place-content: center;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--mist);
  cursor: pointer;
  transition: background-color var(--dur-hover) var(--ease), border-color var(--dur-hover) var(--ease);
}
.check input::before {
  content: "";
  width: 11px;
  height: 11px;
  background: var(--white);
  clip-path: polygon(14% 44%, 0 64%, 42% 100%, 100% 20%, 84% 4%, 40% 66%);
  transform: scale(0);
  transition: transform var(--dur-hover) var(--ease);
}
.check input:hover { border-color: var(--slate); }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::before { transform: scale(1); }
.check input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.check-text {
  line-height: 1.4;
  max-width: 60ch;
}
.check-text label { cursor: pointer; }

.contact-submit {
  display: grid;
  gap: var(--space-2);
  justify-items: start;
  margin-top: var(--space-1);
}
.contact-submit .pill { border: 0; }
.contact-hint { max-width: 44ch; line-height: 1.4; }

@media (min-width: 560px) {
  .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 900px) {
  .contact-head {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    column-gap: var(--space-8);
    align-items: end;
  }
  .contact-head .eyebrow { grid-column: 1 / -1; }
  .contact-intro { margin: 0 0 6px; }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-8);
    align-items: start; /* beide Karten in natürlicher Höhe: keine leere Fläche in der Wash-Karte */
  }
  /* Zwischen 900 und 1199px sind die Spalten schmal (≤ 500px): Name und E-Mail untereinander */
  .field-row { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1200px) {
  .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---------- Footer ---------- */
/* Bleibt auf dem Cream-Canvas: keine dunkle Fläche, nur eine Hairline als Trenner oben. */
.footer {
  overflow-x: clip;
  padding-bottom: var(--space-4);
}
.footer-inner {
  border-top: 1px solid var(--hairline);
  padding-top: var(--space-6);
}
.footer-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-areas: "brand" "nav" "partner";
}
.footer-brand {
  grid-area: brand;
  display: grid;
  gap: var(--space-3);
  justify-items: start;
  align-content: start;
}
/* Eigenes Logo mindestens so präsent wie die Partnerlogos (56/72px) */
.footer-logo, .footer-logo .logo-svg { height: 64px; }
.footer-mail { font-weight: 500; }
.footer-heading {
  color: var(--slate);
  margin-bottom: var(--space-2);
}
/* Zwei Linkspalten nebeneinander: Seite / Angebote */
.footer-nav {
  grid-area: nav;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: var(--space-6);
  align-content: start;
}
.footer-links { display: grid; gap: var(--space-1); justify-items: start; }
.footer-links a { min-height: 24px; }
.text-link--quiet { font-weight: 500; }

/* Förderung und Partner: fremde Logos in Originalfarben, freigestellt (Quellen: LOGO/Partner) */
.footer-partner { grid-area: partner; }
.footer-partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
}
.footer-partner-logos a { display: block; border-radius: 4px; }
.footer-partner-logos img { display: block; width: auto; height: 56px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-3);
  border-top: 1px solid var(--hairline);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.footer-top { margin-left: auto; }
.footer-top:hover .text-link-icon { transform: translateY(-3px); }

/* Tablet/Laptop: links Logo + Mail, darunter die Partner; rechts die Links über beide Zeilen */
@media (min-width: 768px) {
  .footer { padding-bottom: var(--space-6); }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand nav" "partner nav";
    column-gap: var(--space-8);
  }
  .footer-logo, .footer-logo .logo-svg { height: 80px; }
  .footer-partner-logos img { height: 72px; }
}

/* Desktop: alles in einer Zeile, Footer geht in die Breite statt in die Höhe */
@media (min-width: 1200px) {
  .footer-grid {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav partner";
  }
  .footer-nav { justify-self: center; }
  .footer-logo, .footer-logo .logo-svg { height: 88px; }
}

/* ---------- Keyframes ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pop {
  from { opacity: 0; transform: scale(.4); }
  to   { opacity: 1; transform: none; }
}
@keyframes dot-pop {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ring-spin {
  to { transform: rotate(360deg); }
}
/* Drift: geschlossene, leicht elliptische Bahn, Amplitude --a (8–16px), 8–20s */
@keyframes drift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(calc(var(--a, 12px) * .8), calc(var(--a, 12px) * -.6)); }
  50%  { transform: translate(var(--a, 12px), calc(var(--a, 12px) * .4)); }
  75%  { transform: translate(calc(var(--a, 12px) * .2), var(--a, 12px)); }
  100% { transform: translate(0, 0); }
}
@keyframes drift-square {
  0%   { transform: rotate(45deg) translate(0, 0); }
  25%  { transform: rotate(49deg) translate(calc(var(--a, 12px) * .8), calc(var(--a, 12px) * -.6)); }
  50%  { transform: rotate(53deg) translate(var(--a, 12px), calc(var(--a, 12px) * .4)); }
  75%  { transform: rotate(49deg) translate(calc(var(--a, 12px) * .2), var(--a, 12px)); }
  100% { transform: rotate(45deg) translate(0, 0); }
}
@keyframes marquee {
  from { transform: translateX(var(--gutter)); }
  to   { transform: translateX(calc(-50% + var(--gutter))); }
}

/* ---------- Reduced Motion: alle Loops und Reveals aus ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .shape--square::before { transform: rotate(45deg); }
  .hero-line, .hero-eyebrow, .hero-sub, .hero-actions, .shape, .logo-dot { opacity: 1; transform: none; }
}

/* ---------- Eindrücke: Deko-Größen pro Breakpoint (max. 1/4 Kachelhöhe, min. 40px) ---------- */
.impression--4 .card-deco { --s: 42px !important; }
@media (max-width: 1099.98px) {
  .impression--3 .card-deco { --s: 48px !important; top: -34px; }
  .impression--6 .card-deco { --s: 48px !important; border-radius: 50%; transform: none; animation-name: drift; bottom: -30px; right: -6px; }
}
@media (max-width: 767.98px) {
  .impression--3 .card-deco { --s: 40px !important; top: -28px; right: -8px; }
  .impression--4 .card-deco { --s: 40px !important; }
  .impression--6 .card-deco { --s: 40px !important; bottom: -26px; right: -6px; }
}

/* ==========================================================================
   Bildwelt (website 3): Scherenschnitt-Illustrationen
   Die bestehenden Animationen oben bleiben unverändert (Goldstandard).
   Die neuen Bilder bewegen sich NUR beim Scrollen: Jede Szene ist in Einzelteile
   zerlegt (verlustfrei, 0 Pixel verloren); jedes Teil trägt einen Vektor weg vom
   Schwerpunkt. --a = Abstand der Szene zur Viewport-Mitte (0 = mittig = Originalbild).
   Scrollen stoppt, Bewegung stoppt. Reichweite 22–68px, Drehung ≤ 4,6°.
   ========================================================================== */
.scene { position: relative; width: 100%; aspect-ratio: var(--ar); --a: 0; --r: 0; }
.scene .pc {
  position: absolute;
  left: var(--l); top: var(--t); width: var(--w); height: auto; max-width: none;
  translate: calc(var(--ox) * var(--a)) calc(var(--oy) * var(--a));
  rotate: calc(var(--rot) * var(--r));
  will-change: translate, rotate;
}
/* Einzelmotiv: bewegt sich als Ganzes auf derselben Scroll-Uhr, wird nie zerlegt */
.solo {
  translate: 0 calc(var(--solo, 18px) * var(--sa, 0));
  rotate: calc(1.2deg * var(--sr, 0));
  will-change: translate, rotate;
}

/* Über uns: die Szene erzählt die Headline „Stark sein kann man lernen." */
.about-scene { margin: var(--space-6) auto 0; max-width: 1120px; }
@media (min-width: 900px) { .about-scene { margin-top: var(--space-8); } }

/* Angebote: Illustration steht auf der Karte und ragt über die obere Kante */
.offers-grid { padding-top: 56px; row-gap: 80px; }
@media (min-width: 1024px) { .offers-grid { row-gap: var(--space-3); } }
.offer-art {
  display: block;
  height: 168px; width: auto; max-width: 100%;
  object-fit: contain; object-position: left bottom;
  margin-top: calc(-1 * var(--card-pad) - 56px);
  align-self: flex-start;
}
@media (min-width: 1024px) { .offer-art { height: 188px; } }
/* Die Koralle von Karte 02 saß oben mittig, dort steht jetzt die Illustration: sie wandert an die untere Kante */
.offer--2 .card-deco { top: auto; bottom: -22px; left: auto; right: 32px; }
@media (min-width: 1024px) { .offer--2 .card-deco { top: auto; bottom: -24px; left: auto; right: 36px; } }

/* Eindrücke: freigestellte Illustration auf der Wash-Fläche der Kachel.
   Fotos bleiben 1:1 einsetzbar: img ohne .impression-art füllt die Kachel (object-fit: cover). */
.impression-media > .impression-art {
  object-fit: contain;
  padding: 9% 8%;
  transition: scale var(--dur-hover) var(--ease);
}
.impression--wide .impression-media > .impression-art { padding: 6% 7%; }
.impression:hover .impression-art { scale: 1.03; }

/* Schlussband: das Ensemble verbeugt sich, das Konfetti fliegt beim Scrollen */
.finale { overflow-x: clip; padding-bottom: var(--space-6); }
.finale .scene { max-width: 1120px; margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  .scene .pc, .solo { translate: none !important; rotate: none !important; }
}

/* ==========================================================================
   Bausteine für Unterseiten (Vorschau und Code im Handbuch: designsystem.html → Bausteine)
   Nur vorhandene Tokens. Maße aus den Köpfen der Startseite übernommen.
   ========================================================================== */

/* Seitenkopf: Pfad, Eyebrow, Display-Headline, Lead, eine Form an der rechten Kante */
.page-hero { position: relative; overflow-x: clip; padding: var(--space-6) 0 var(--space-4); }
.page-hero .eyebrow { margin-top: var(--space-4); }
.page-hero .display--lg { margin-top: var(--space-2); max-width: 16ch; }
.page-hero-lead { max-width: 52ch; margin-top: var(--space-3); font-weight: 500; }
.page-hero-deco {
  --s: clamp(56px, 9vw, 120px); --a: 10px;
  top: var(--space-6); right: calc(var(--gutter) * -0.5);
  animation: drift 14s ease-in-out infinite;
}
@media (min-width: 900px) { .page-hero { padding-top: var(--space-8); } .page-hero-deco { right: var(--gutter); top: var(--space-8); } }

/* Pfad (Brotkrumen) im Label-Register */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: fit-content; max-width: 100%; color: var(--slate); }
.crumbs a { color: var(--slate); text-decoration: underline; text-decoration-color: var(--hairline); text-underline-offset: 4px; }
.crumbs a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

/* Sektionskopf: identisch zu Über uns / Angebote / Team / Kontakt */
.section-head { display: grid; gap: var(--space-2); }
.section-intro { max-width: 44ch; margin-top: var(--space-2); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: var(--space-8); align-items: end; }
  .section-head .eyebrow { grid-column: 1 / -1; }
  .section-intro { margin: 0 0 6px; }
  /* Gestapelt: Einleitung linksbündig direkt unter der Überschrift (z. B. „Gut zu wissen.“) */
  .section-head--stack { grid-template-columns: minmax(0, 1fr); }
  .section-head--stack .section-intro { margin: var(--space-2) 0 0; }
}

/* Kartenraster: 1 / 2 / 3 Spalten, Platz oben für Formen über der Kante */
.card-grid { display: grid; gap: var(--space-3); margin-top: var(--space-6); padding-top: var(--space-2); }
.card-grid > .card { display: grid; align-content: start; gap: var(--space-2); padding-right: calc(var(--card-pad) + 16px); }
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Kartenraster mit Bild: Illustration steht auf der Karte und ragt über die obere Kante,
   gleiche Mechanik wie die Angebotskarten der Startseite (.offer-art). Formen an die untere Kante. */
.card-grid--art { padding-top: 56px; row-gap: 80px; }
@media (min-width: 1024px) { .card-grid--art { row-gap: var(--space-3); } }
.card-art {
  display: block;
  height: 152px; width: auto; max-width: 100%;
  object-fit: contain; object-position: left bottom;
  margin-top: calc(-1 * var(--card-pad) - 56px);
  justify-self: start;
}
@media (min-width: 1024px) { .card-art { height: 168px; } }

/* Text und Bild */
.split { display: grid; gap: var(--space-6); align-items: center; margin-top: var(--space-6); }
.split-text { display: grid; gap: var(--space-2); justify-items: start; max-width: 60ch; }
.split-media img { display: block; width: 100%; height: auto; }
/* Einspaltig (unter 900px): erste Sektion der Angebotsseiten zeigt die Grafik direkt nach dem Seitenkopf */
@media (max-width: 899.98px) {
  .split--media-first-mobile .split-media { order: -1; }
  .split--media-first-mobile { margin-top: 0; row-gap: var(--space-8); } /* weniger Luft über dem Bild, mehr darunter */
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); }
  .split--flip .split-media { order: -1; }
}

/* Aufruf-Band: Coral-Wash, genau ein Button */
.cta-band {
  position: relative; display: grid; gap: var(--space-3); justify-items: start;
  margin-top: var(--space-6); padding: var(--space-6) var(--card-pad);
  border-radius: var(--radius-card); background: var(--coral-wash);
}
.cta-band .muted { margin-top: var(--space-1); max-width: 44ch; }
.cta-band .card-deco { animation: drift 15s ease-in-out infinite; --a: 4px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding: var(--space-8) var(--space-6); } }

/* Fragen und Antworten: aufklappbar ohne JavaScript */
.faq { display: grid; gap: var(--space-2); margin-top: var(--space-6); } /* volle Containerbreite wie das Aufruf-Band darunter */
.faq details { background: var(--white); border-radius: var(--radius-card); padding: var(--space-3) var(--card-pad); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-3);
  list-style: none; cursor: pointer; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--mist); font-weight: 700; transition: rotate var(--dur-hover) var(--ease);
}
.faq details[open] summary::after { rotate: 45deg; background: var(--coral-wash); }
.faq details p { margin-top: var(--space-2); max-width: 65ch; }

/* Fließtext: Impressum, Datenschutz, lange Texte */
.prose { max-width: 65ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: var(--space-6); font-family: var(--font-display); font-weight: 700; font-size: var(--display-sm); line-height: 1; text-transform: uppercase; letter-spacing: var(--display-tracking); }
.prose h3 { margin-top: var(--space-4); font-size: var(--text-body); font-weight: 700; }
.prose p, .prose ul, .prose ol { margin-top: var(--space-2); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--hairline); }
.prose a:hover { text-decoration-color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Zeile, die ?texte=neu unter dem Hero-Button einfügt */
.hero-hint { margin-top: var(--space-2); max-width: 40ch; line-height: 1.4; }
