/* ==========================================================================
   dreisechzehn – Startseite v2
   Farben, Form und Schrift aus dem Markenhandbuch (wie die bisherige Seite):
   DM Sans, #f7f7f7 / #2e2e2e, monochrom, Radius 20px, Pillen-Buttons.
   Aufbau und Bewegung nach Vorbild joinspread.app.
   ========================================================================== */

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

/* ---------- Tokens ---------- */
:root {
  --bg: #f7f7f7;
  --fg: #2e2e2e;
  --card: #f7f7f7;
  --muted: #ebebeb;
  --muted-fg: #555555;
  --border: #d4d4d4;
  --tag: #5e5e5e;
  --ink: #2e2e2e; /* dunkle Fläche */
  --ink-fg: #f7f7f7;
  --radius: 20px;
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: 80px;
  --inset: 12px;
  /* Ein Raster fuer allen Content: 1320px Inhalt, --gutter links und rechts.
     Jeder Content-Abschnitt haengt an --shell, damit alle dieselbe Kante haben.
     Nur Hero und volle Baender duerfen davon abweichen. */
  --content: 1320px;
  --shell: calc(var(--content) + 2 * var(--gutter));
  color-scheme: light;
}
html[data-theme='dark'] {
  --bg: #0a0a0a;
  --fg: #f7f7f7;
  --card: #141414;
  --muted: #1a1a1a;
  --muted-fg: #a0a0a0;
  --border: #585858;
  --tag: #a8a8a8;
  --ink: #161616;
  --ink-fg: #f7f7f7;
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}
html,
body {
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font-family: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 300;
  padding: 8px 12px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 8px;
}
.skip-link:focus {
  left: 8px;
}
:focus-visible {
  outline: 2px solid #f7f7f7;
  outline-offset: 0;
  box-shadow: 0 0 0 4px #2e2e2e;
}
/* Druckpunkt auf Touch */
.btn:active,
a.pill:active,
.gem-card:active,
.gem-extra:active,
.nav-cta:active,
.quote-tab:active,
.dark-tab:active {
  scale: 0.98;
  transition-duration: 0.1s;
}

/* ---------- Bausteine ---------- */
.tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tag);
  margin: 0 0 16px;
}
.h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: var(--fg);
  margin: 0 0 20px;
  max-width: 560px;
  text-wrap: balance;
}
.p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted-fg);
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
}
.link-inline {
  margin-top: 0;
}
.link svg {
  width: 16px;
  height: 16px;
  transition: translate 0.4s var(--ease-out-quint);
}
.link:hover svg {
  translate: 4px 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    translate 0.4s var(--ease-out-quint),
    box-shadow 0.4s ease,
    background 0.3s ease;
}
.btn:hover {
  translate: 0 -2px;
}
.btn-light {
  background: #f7f7f7;
  color: #2e2e2e;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45);
}
.btn-light:hover {
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.55);
}
.btn-dark {
  background: var(--fg);
  color: var(--bg);
  box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.4);
}
.btn-dark:hover {
  box-shadow: 0 24px 50px -14px rgba(0, 0, 0, 0.5);
}
.sub {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted-fg);
  line-height: 1.6;
}
.sub b {
  color: var(--fg);
  font-weight: 600;
}

/* ---------- Scroll-Reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    translate: 0 18px;
    transition:
      opacity 0.7s var(--ease-out-quint),
      translate 0.7s var(--ease-out-quint);
    transition-delay: var(--reveal-delay, 0ms);
  }
  [data-reveal='fade'] {
    translate: 0 0;
  }
  [data-reveal='scale'] {
    translate: 0 28px;
    scale: 0.97;
    transition:
      opacity 0.75s var(--ease-out-quint),
      translate 0.75s var(--ease-out-quint),
      scale 0.75s var(--ease-out-quint);
    transition-delay: var(--reveal-delay, 0ms);
  }
  [data-reveal].is-inview {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
  /* Wortmaske */
  [data-reveal='words'] {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
  .mask-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
  }
  .mask-word > span {
    display: inline-block;
    translate: 0 110%;
    transition: translate 1s var(--ease-out-expo);
    transition-delay: calc(var(--reveal-delay, 0ms) + var(--w, 0) * 30ms);
  }
  [data-reveal='words'].is-inview .mask-word > span {
    translate: 0 0;
  }
  /* Bildmaske */
  [data-reveal='mask'] {
    opacity: 1;
    translate: 0 0;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.9s var(--ease-out-expo);
    transition-delay: var(--reveal-delay, 0ms);
  }
  [data-reveal='mask'] img {
    scale: 1.15;
    transition: scale 1.4s var(--ease-out-expo);
    transition-delay: var(--reveal-delay, 0ms);
  }
  [data-reveal='mask'].is-inview {
    clip-path: inset(0 0 0 0);
  }
  [data-reveal='mask'].is-inview img {
    scale: 1;
  }
  /* Parallax (nur wo Scroll-Driven Animations gehen) */
  @supports (animation-timeline: view()) {
    [data-parallax] {
      animation: parallax linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes parallax {
      from {
        translate: 0 var(--parallax, 24px);
      }
      to {
        translate: 0 calc(var(--parallax, 24px) * -1);
      }
    }
  }
}

/* ==========================================================================
   Navigation – schwebende Pille
   ========================================================================== */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  translate: -50% 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 4px;
  /* --nav-w misst main.js: die natürliche Breite der Pille. Mit festem Wert
     lässt sich die Breite zwischen voller Leiste und Pille animieren. */
  width: var(--nav-w, max-content);
  padding: 8px 8px 8px 16px;
  border-radius: 100px;
  max-width: calc(100vw - 24px);
  background: rgba(20, 20, 20, 0.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  backdrop-filter: blur(28px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f7f7f7;
  animation: nav-in 0.9s var(--ease-out-expo) 0.3s backwards;
  transition:
    width 0.7s var(--ease-out-expo),
    top 0.7s var(--ease-out-expo),
    padding 0.7s var(--ease-out-expo),
    background 0.5s var(--ease-out-quint),
    border-color 0.5s var(--ease-out-quint),
    color 0.5s var(--ease-out-quint),
    box-shadow 0.5s ease,
    -webkit-backdrop-filter 0.5s ease,
    backdrop-filter 0.5s ease;
}
.nav.no-anim,
.nav.no-anim * {
  transition: none !important;
}
@keyframes nav-in {
  from {
    opacity: 0;
    translate: -50% -12px;
  }
  to {
    opacity: 1;
    translate: -50% 0;
  }
}
.nav.is-hidden {
  animation: none;
  opacity: 0;
  pointer-events: none;
  translate: -50% -16px;
  transition:
    opacity 0.35s ease,
    translate 0.5s var(--ease-out-expo);
}
.nav.is-light,
.nav.is-menu-open {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-color: color-mix(in srgb, var(--border) 70%, transparent);
  color: var(--fg);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.18);
}
/* Logo links und Aktionen rechts wachsen gleich stark, damit die Links
   in der vollen Leiste mittig stehen. In der Pille schrumpfen beide auf
   ihren Inhalt. */
.nav-logo,
.nav-actions {
  flex: 1 1 0;
  min-width: max-content;
  display: flex;
  align-items: center;
}
.nav-logo {
  padding-right: 12px;
  text-decoration: none;
  transition: padding 0.7s var(--ease-out-expo);
}
.nav-actions {
  justify-content: flex-end;
  gap: 4px;
}
/* Pille: nur der Schriftzug. Volle Leiste: nur die runde Bildmarke. */
.nav-mark {
  width: 0;
  height: 30px;
  opacity: 0;
  flex-shrink: 0;
  transition:
    width 0.7s var(--ease-out-expo),
    height 0.7s var(--ease-out-expo),
    opacity 0.3s ease;
}
.nav-mark-text {
  fill: #2e2e2e;
  transition: fill 0.4s ease;
}
.is-light .nav-mark-text,
.is-menu-open .nav-mark-text {
  fill: var(--bg);
}
.nav-word {
  display: block;
  overflow: hidden;
  max-width: 160px;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-weight: 300;
  transition:
    max-width 0.7s var(--ease-out-expo),
    opacity 0.4s ease 0.15s;
}
.nav-word b,
.menu-foot b,
.footer-brand b,
.hero-eyebrow b {
  font-weight: 700;
}
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  max-width: 480px;
  opacity: 1;
  border: 1px solid transparent;
  border-radius: 100px;
  transition:
    max-width 0.5s var(--ease-out-expo) 0.1s,
    opacity 0.2s ease,
    padding 0.7s var(--ease-out-expo),
    background 0.5s var(--ease-out-quint),
    border-color 0.5s var(--ease-out-quint);
}
.nav-links a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  opacity: 0.9;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}
.nav-links a:hover {
  opacity: 1;
}
.nav-links:hover a:not(:hover) {
  opacity: 0.45;
}
/* Die Pille bleibt beim Scrollen unverändert: ein halbes Schrumpfen
   wirkt unruhig, und die Menüpunkte sollen erreichbar bleiben. */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  background: #f7f7f7;
  color: #2e2e2e;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    translate 0.3s var(--ease-out-quint);
}
.nav-cta:hover {
  translate: 0 -1px;
}
.is-light .nav-cta,
.is-menu-open .nav-cta {
  background: var(--fg);
  color: var(--bg);
}
.nav-cta-short {
  display: none;
}
.nav-menu {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 100px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.nav-menu span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: currentColor;
  transition:
    translate 0.3s ease,
    rotate 0.3s ease;
}
.nav-menu span:first-child {
  top: 16px;
}
.nav-menu span:last-child {
  top: 22px;
}
.nav-menu[aria-expanded='true'] span:first-child {
  translate: 0 3px;
  rotate: 45deg;
}
.nav-menu[aria-expanded='true'] span:last-child {
  translate: 0 -3px;
  rotate: -45deg;
}
/* Ganz oben: volle Breite ohne Rahmen, links die Bildmarke lesbar groß.
   Beim Scrollen morpht die Leiste in die Pille (main.js setzt .is-top). */
.nav.is-top {
  top: 24px;
  /* Volle Breite wie der Footer: bis an --gutter, ohne Content-Deckel. */
  width: calc(100% - 2 * var(--gutter));
  max-width: none;
  padding: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: blur(0) saturate(1);
  backdrop-filter: blur(0) saturate(1);
}
.nav.is-top .nav-logo {
  padding-right: 0;
}
/* Über einem Hero-Bild bekommen die Links eine eigene halbtransparente
   Pille, damit sie auch auf hellen Bildern lesbar bleiben (z. B. Vahrenwald).
   Auf Seiten ohne Bild (is-light) entfällt sie. */
.nav.is-top:not(.is-light):not(.is-menu-open) .nav-links {
  padding: 4px;
  background: rgba(20, 20, 20, 0.5);
  border-color: rgba(255, 255, 255, 0.16);
}
.nav.is-top .nav-mark {
  width: 72px;
  height: 72px;
  opacity: 1;
  transition:
    width 0.7s var(--ease-out-expo),
    height 0.7s var(--ease-out-expo),
    opacity 0.4s ease 0.15s;
}
.nav.is-top .nav-word {
  max-width: 0;
  opacity: 0;
  transition:
    max-width 0.7s var(--ease-out-expo),
    opacity 0.2s ease;
}
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0.35s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.menu-inner {
  padding: 120px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
}
.menu-link {
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: none;
  padding: 6px 0;
  opacity: 0;
  translate: 0 16px;
  transition:
    opacity 0.4s ease,
    translate 0.5s var(--ease-out-expo);
}
.menu.is-open .menu-link {
  opacity: 1;
  translate: 0 0;
}
.menu-foot {
  margin-top: auto;
  font-size: 14px;
  color: var(--muted-fg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  z-index: 1;
}
.hero-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1a1a1a;
  border-radius: 0;
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Die Sektion liefert die Scrollstrecke, der Rahmen klebt so lange
       oben und schrumpft dabei zu einer Karte (Vorbild: joinspread.app). */
    .hero {
      height: 210vh;
    }
    .hero-frame {
      position: sticky;
      inset: auto;
      top: 0;
      height: 100svh;
      transform-origin: 50% 50%;
      animation: hero-shrink linear both;
      animation-timeline: scroll(root);
      animation-range: 0 65vh;
    }
    .hero-poster {
      animation: hero-parallax linear both;
      animation-timeline: scroll(root);
      animation-range: 0 150vh;
    }
    .hero-content,
    .hero-scroll {
      animation: hero-fade linear both;
      animation-timeline: scroll(root);
      animation-range: 0 45vh;
    }
  }
}
@keyframes hero-shrink {
  to {
    scale: 0.88;
    translate: 0 34px;
    border-radius: 28px;
  }
}
@keyframes hero-parallax {
  to {
    translate: 0 10%;
  }
}
@keyframes hero-fade {
  to {
    opacity: 0;
    translate: 0 -24px;
  }
}
.hero-poster {
  position: absolute;
  top: -7%;
  left: 0;
  right: auto;
  /* Standbild 0:19 aus dem Begrüßungsvideo, mittig: Markus und Thomas stehen
     nebeneinander, die Headline liegt über Markus' dunklem Pullover. */
  width: 100%;
  max-width: none;
  height: 114%;
  object-fit: cover;
  object-position: 47% 40%;
  scale: 1.04;
  transition: scale 1.8s var(--ease-out-expo);
}
.hero.is-ready .hero-poster {
  scale: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 20, 20, 0.84) 0%,
    rgba(20, 20, 20, 0.42) 40%,
    rgba(20, 20, 20, 0.12) 70%,
    rgba(20, 20, 20, 0.05) 100%
  );
}
.hero-content {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 80px;
  max-width: 720px;
  color: #f7f7f7;
  z-index: 2;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(247, 247, 247, 0.85);
  margin-bottom: 20px;
  opacity: 0;
  translate: 0 8px;
  transition:
    opacity 0.8s var(--ease-out-quint) 0.25s,
    translate 0.8s var(--ease-out-quint) 0.25s;
}
.hero-h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 24px;
}
.hero-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.hero-word > span {
  display: inline-block;
  translate: 0 112%;
  transition: translate 1.1s var(--ease-out-expo);
  transition-delay: calc(0.35s + var(--i, 0) * 45ms);
}
.hero-sub {
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.6;
  color: rgba(247, 247, 247, 0.76);
  max-width: 470px;
  margin: 0 0 32px;
  opacity: 0;
  translate: 0 14px;
  transition:
    opacity 0.9s var(--ease-out-quint) 0.9s,
    translate 0.9s var(--ease-out-quint) 0.9s;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  opacity: 0;
  translate: 0 14px;
  transition:
    opacity 0.9s var(--ease-out-quint) 1.05s,
    translate 0.9s var(--ease-out-quint) 1.05s;
}
.hero.is-ready .hero-eyebrow,
.hero.is-ready .hero-sub,
.hero.is-ready .hero-actions {
  opacity: 1;
  translate: 0 0;
}
.hero.is-ready .hero-word > span {
  translate: 0 0;
}
/* Scroll-Hinweis: großer Pfeil, der beim Laden dreimal antippt
   und danach ruhig stehen bleibt. */
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 72px;
  width: 72px;
  height: 72px;
  border-radius: 100px;
  border: 1px solid rgba(247, 247, 247, 0.4);
  background: rgba(247, 247, 247, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #f7f7f7;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  opacity: 0;
  transition:
    opacity 0.8s ease 1.3s,
    background 0.3s ease,
    border-color 0.3s ease,
    scale 0.4s var(--ease-out-quint);
}
.hero.is-ready .hero-scroll {
  opacity: 1;
}
.hero-scroll:hover {
  background: rgba(247, 247, 247, 0.2);
  border-color: rgba(247, 247, 247, 0.8);
  scale: 1.05;
}
.hero-scroll svg {
  width: 30px;
  height: 30px;
}
.hero.is-ready .hero-scroll svg {
  animation: scroll-nudge 1.5s var(--ease-out-quint) 1.9s 3;
}
@keyframes scroll-nudge {
  0%,
  55%,
  100% {
    translate: 0 0;
  }
  28% {
    translate: 0 7px;
  }
}

/* ==========================================================================
   Laufband
   ========================================================================== */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-fg);
  white-space: nowrap;
}
.marquee-item i {
  font-style: normal;
  opacity: 0.5;
}
@keyframes marquee {
  to {
    translate: -25% 0;
  }
}

/* ==========================================================================
   Feature (Text + Bild)
   ========================================================================== */
.feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: start;
  min-height: 80vh;
  padding: 72px 0 96px;
  max-width: 1600px;
  margin-inline: auto;
}
.feature.is-reversed {
  grid-template-columns: 7fr 5fr;
}
.feature-text {
  max-width: calc(460px + var(--gutter) + 40px);
  padding: 96px 40px 40px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature.is-reversed .feature-text {
  order: 2;
  margin-left: auto;
  padding: 40px var(--gutter) 40px 40px;
}
.feature-img {
  width: auto;
  margin: var(--inset) var(--inset) var(--inset) auto;
  display: flex;
  justify-content: flex-end;
}
.feature.is-reversed .feature-img {
  order: 1;
  margin: var(--inset) auto var(--inset) var(--inset);
  justify-content: flex-start;
}
.feature-img-mask {
  aspect-ratio: 9 / 10;
  width: min(100%, calc(84vh * 0.9));
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--muted);
}
.feature-img-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bibelvers: ein Zitat, kein Chat. Serifenschrift für den Vers,
   die Fundstelle als Quelle darunter. */
.verse {
  margin: 36px 0 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--fg);
}
.verse-text {
  margin: 0;
}
.verse-line {
  margin: 0;
  font-family: Georgia, 'Times New Roman', 'Iowan Old Style', serif;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--fg);
  text-wrap: pretty;
  opacity: 0;
  translate: 0 10px;
  transition:
    opacity 0.7s var(--ease-out-quint),
    translate 0.7s var(--ease-out-quint);
  transition-delay: var(--d, 0ms);
}
.verse-source {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0;
  translate: 0 10px;
  transition:
    opacity 0.7s var(--ease-out-quint),
    translate 0.7s var(--ease-out-quint);
  transition-delay: var(--d, 0ms);
}
.verse-source span {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted-fg);
}
.verse-source b {
  font-weight: 600;
  color: var(--fg);
}
.verse.is-inview .verse-line,
.verse.is-inview .verse-source {
  opacity: 1;
  translate: 0 0;
}

/* ==========================================================================
   Fotoband mit Zahlen
   ========================================================================== */
.band {
  position: relative;
  width: calc(100% - 2 * var(--inset));
  margin: var(--inset) auto;
  min-height: 78vh;
  border-radius: var(--radius);
  overflow: hidden;
  background: #1a1a1a;
  color: #fff;
}
.band.is-tall {
  min-height: min(100vh, 720px);
}
.band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Bild nach links hinaus verlängern, damit der linke Bildrand aus dem Ausschnitt fällt */
.band-img-shift {
  left: auto;
  right: 0;
  width: 118%;
  max-width: none;
}
/* Die Fotos bleiben unbearbeitet. Ihre Farbe ist der bewusste
   Gegenpol zum monochromen Grau der Oberfläche. */
img.zoom-left {
  transform: scale(1.22);
  transform-origin: 18% 50%;
}
.band-overlay {
  position: relative;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 32px;
  background:
    radial-gradient(ellipse 58% 62% at 50% 48%, rgba(24, 24, 24, 0.42), transparent 100%),
    rgba(24, 24, 24, 0.34);
}
.band.is-tall .band-overlay {
  min-height: min(100vh, 720px);
}
.band-inner {
  width: 100%;
  max-width: 960px;
}
.band-text {
  max-width: 560px;
  margin: 0 auto;
}
.band-h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 16px;
  text-wrap: balance;
}
.band-p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}
.band-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.band-num {
  font-size: 60px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.band-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

/* ==========================================================================
   Gemeinden
   ========================================================================== */
.gem {
  padding: 120px var(--gutter) 40px;
  max-width: none;
  margin: 0 auto;
}
.gem.gem-page {
  max-width: var(--shell);
}
.gem-head,
.pills-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}
.gem-head .p,
.pills-head .p,
.scroller-p,
.closing-p {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.gem-head .h2,
.pills-head .h2,
.scroller-h2 {
  max-width: none;
}
.gem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.gem-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--muted);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.3);
  /* Die Karte misst sich selbst: ist sie schmal, kommt die Kurzform der Zeit */
  container-type: inline-size;
  transition:
    translate 0.5s var(--ease-out-quint),
    box-shadow 0.5s ease;
}
@container (max-width: 300px) {
  .gem-card .t-long {
    display: none;
  }
  .gem-card .t-short {
    display: inline;
  }
}
.gem-card:hover {
  translate: 0 -4px;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.4);
}
.gem-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.8s var(--ease-out-quint);
}
.gem-card:hover img {
  scale: 1.05;
}
.gem-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.42) 35%, transparent 65%);
}
.t-short {
  display: none;
}
.gem-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
}
.gem-caption h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.gem-caption p {
  font-size: 13.5px;
  color: #d4d4d4;
}
.gem-arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 100px;
  display: grid;
  place-items: center;
  background: rgba(247, 247, 247, 0.14);
  border: 1px solid rgba(247, 247, 247, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  translate: 0 -6px;
  transition:
    opacity 0.35s ease,
    translate 0.5s var(--ease-out-quint);
}
.gem-arrow svg {
  width: 16px;
  height: 16px;
}
.gem-card:hover .gem-arrow {
  opacity: 1;
  translate: 0 0;
}
.gem-extras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.gem-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg);
  text-decoration: none;
  transition:
    background 0.4s ease,
    color 0.4s ease,
    translate 0.5s var(--ease-out-quint);
}
.gem-extra:hover {
  background: var(--fg);
  color: var(--bg);
  translate: 0 -2px;
}
.gem-extra h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 4px 0 0;
}
.gem-extra-kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
}
.gem-extra-arrow {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 100px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.gem-extra-arrow svg {
  width: 18px;
  height: 18px;
  transition: translate 0.4s var(--ease-out-quint);
}
.gem-extra:hover .gem-extra-arrow {
  opacity: 1;
}
.gem-extra:hover .gem-extra-arrow svg {
  translate: 3px 0;
}

/* Hannover City: gleiche Karte, aber ohne Foto (Bilder fehlen noch) */
.gem-card-plain {
  background: var(--ink);
  border: 1px solid rgba(247, 247, 247, 0.08);
}
.gem-card-kicker {
  font-size: 12px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
/* Braunschweig und Jena: klein und ausgegraut, ohne eigene Seite */
.gem-soon {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gem-soon-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: var(--muted);
  color: var(--muted-fg);
}
.gem-soon-item h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}
.gem-soon-item p {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.gem-extras-single {
  grid-template-columns: 1fr;
}
/* Fünf Karten werden unter 1400px zu schmal: drei oben, zwei unten */
@media (min-width: 1101px) and (max-width: 1400px) {
  .gem-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: clamp(280px, 27vw, 340px);
  }
  .gem-grid > .gem-card {
    grid-column: span 2;
    aspect-ratio: auto;
  }
  .gem-grid > .gem-card:nth-child(n + 4) {
    grid-column: span 3;
  }
}
@media (max-width: 1100px) {
  .gem-grid > .gem-card:nth-child(5) {
    grid-column: 1 / -1;
    aspect-ratio: 8 / 3;
  }
}
@media (max-width: 480px) {
  .gem-grid > .gem-card:nth-child(5) {
    aspect-ratio: 16 / 10;
  }
  .gem-soon {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
  }
  .gem-soon-item {
    padding: 14px 20px;
    border-radius: 16px;
  }
}

/* ==========================================================================
   Gemeinde gründen (Startseite)
   ========================================================================== */
/* Links Überschrift, rechts Text und Button, damit die dunkle Fläche nicht halb leer bleibt */
.found-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    'tag tag'
    'h2 text'
    'h2 btn';
  column-gap: 64px;
  align-items: start;
}
.found-inner > .tag {
  grid-area: tag;
}
.found-inner > .h2 {
  grid-area: h2;
  margin: 0;
}
.found-p {
  grid-area: text;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(247, 247, 247, 0.72);
  margin: 0 0 28px;
}
.found-inner > .btn {
  grid-area: btn;
  justify-self: start;
}
@media (max-width: 860px) {
  .found-inner {
    grid-template-columns: 1fr;
    grid-template-areas: 'tag' 'h2' 'text' 'btn';
  }
  .found-inner > .h2 {
    margin-bottom: 16px;
  }
}

/* ==========================================================================
   Video, lädt YouTube erst nach Klick (Gemeindegründung)
   ========================================================================== */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 960px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  color: var(--ink-fg);
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.video-play:focus-visible {
  outline: 2px solid var(--ink-fg);
  outline-offset: -8px;
  border-radius: var(--radius);
}
.video-play-icon {
  width: 72px;
  height: 72px;
  border-radius: 100px;
  display: grid;
  place-items: center;
  background: #f7f7f7;
  color: #2e2e2e;
}
.video-play-icon svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}
.video-play-label {
  font-size: 18px;
  font-weight: 500;
}
.video-play-note {
  font-size: 13px;
  line-height: 1.45;
  max-width: 360px;
  color: rgba(247, 247, 247, 0.62);
}
@media (prefers-reduced-motion: no-preference) {
  .video-play-icon {
    transition: scale 0.4s var(--ease-out-quint);
  }
  .video-play:hover .video-play-icon {
    scale: 1.06;
  }
}
@media (max-width: 480px) {
  .video {
    border-radius: 16px;
  }
  .video-play {
    gap: 8px;
    padding: 16px;
  }
  .video-play-icon {
    width: 52px;
    height: 52px;
  }
  .video-play-icon svg {
    width: 22px;
    height: 22px;
  }
  .video-play-label {
    font-size: 16px;
  }
  .video-play-note {
    font-size: 12px;
  }
}

/* ==========================================================================
   Zitat-Band
   ========================================================================== */
.quote {
  position: relative;
  width: calc(100% - 2 * var(--inset));
  margin: var(--inset) auto;
  min-height: 72vh;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: left;
  color: #fff;
  background: #1a1a1a;
}
.quote-bg {
  position: absolute;
  inset: 0;
  right: auto;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 0% 35%;
}
.quote-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(46, 46, 46, 0.82) 0%, rgba(46, 46, 46, 0.5) 50%, rgba(46, 46, 46, 0.08) 100%),
    rgba(30, 26, 22, 0.15);
}
.quote-inner {
  position: relative;
  max-width: 720px;
  padding: 80px calc(var(--gutter) - var(--inset)) 80px 32px;
  width: 100%;
}
.quote-inner .tag {
  margin-bottom: 28px;
}
.quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 84px;
  line-height: 0.6;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 32px;
  font-weight: 300;
}
.quote-text {
  position: relative;
  display: grid;
}
.quote-p {
  grid-area: 1 / 1;
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 620px;
  text-wrap: pretty;
  opacity: 0;
  translate: 0 -8px;
  transition:
    opacity 0.3s ease,
    translate 0.3s ease;
  pointer-events: none;
}
.quote-p.is-active {
  opacity: 1;
  translate: 0 0;
  transition:
    opacity 0.6s var(--ease-out-quint) 0.12s,
    translate 0.7s var(--ease-out-expo) 0.12s;
}
.quote-role {
  position: relative;
  height: 20px;
  margin-top: 24px;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.72);
}
.quote-role span {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.quote-role span.is-active {
  opacity: 1;
}
.quote-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 36px;
}
.quote-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}
.quote-tab:hover {
  background: rgba(255, 255, 255, 0.14);
}
.quote-tab.is-active {
  background: #f7f7f7;
  border-color: #f7f7f7;
  color: #2e2e2e;
}
.quote-tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background: currentColor;
  opacity: 0.6;
}

/* ==========================================================================
   Statement
   ========================================================================== */
.statement {
  padding: 140px var(--gutter) 120px;
  text-align: center;
  overflow: hidden;
}
.statement-tag {
  margin-bottom: 28px;
}
.statement-line {
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--fg);
  text-wrap: balance;
}
.statement-line-muted {
  color: #5a5a5a;
}
html[data-theme='dark'] .statement-line-muted {
  color: #a8a8a8;
}

/* ==========================================================================
   Dunkle Karte (DNA)
   ========================================================================== */
.dna {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  width: calc(100% - 2 * var(--inset));
  margin: var(--inset) auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  color: var(--ink-fg);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.18);
}
.dark-left {
  padding: 96px 56px 80px calc(var(--gutter) - var(--inset));
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
}
.tag-onDark {
  color: rgba(247, 247, 247, 0.62);
}
.tag-onPhoto {
  color: rgba(255, 255, 255, 0.8);
}
.h2-onDark {
  color: var(--ink-fg);
  font-size: clamp(1.875rem, 3.3vw, 3rem);
}
.p-onDark {
  color: rgba(247, 247, 247, 0.68);
}
.link-onDark {
  color: var(--ink-fg);
  margin-top: 40px;
}
.dark-toggle {
  margin-top: 40px;
}
.dark-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  border-radius: 100px;
  background: rgba(247, 247, 247, 0.07);
  border: 1px solid rgba(247, 247, 247, 0.1);
}
.dark-tab {
  position: relative;
  z-index: 1;
  padding: 12px 14px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  /* 0.62 statt 0.55: inaktive Tabs brauchen ≥ 4,5:1 auf #3c3c3c (axe color-contrast) */
  color: rgba(247, 247, 247, 0.62);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.dark-tab.is-active {
  color: #2e2e2e;
}
.dark-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 100px;
  background: #f7f7f7;
  transition: translate 0.5s var(--ease-out-expo);
}
.dark-desc {
  position: relative;
  display: grid;
  margin-top: 20px;
}
.dark-desc p {
  grid-area: 1 / 1;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(247, 247, 247, 0.72);
  opacity: 0;
  translate: 0 6px;
  transition:
    opacity 0.25s ease,
    translate 0.25s ease;
}
.dark-desc p.is-active {
  opacity: 1;
  translate: 0 0;
  transition:
    opacity 0.5s var(--ease-out-quint) 0.15s,
    translate 0.5s var(--ease-out-quint) 0.15s;
}
.dark-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-top: 1px solid rgba(247, 247, 247, 0.12);
}
.dark-step {
  padding: 22px 14px 4px;
  text-align: center;
  border-left: 1px solid rgba(247, 247, 247, 0.12);
}
.dark-step:first-child {
  border-left: 0;
}
.dark-step-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(247, 247, 247, 0.6);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.dark-step-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}
.dark-step-desc {
  font-size: 12.5px;
  color: rgba(247, 247, 247, 0.72);
  line-height: 1.5;
}
.dark-right {
  position: relative;
  overflow: hidden;
}
.dark-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dark-right-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--ink) 0%, transparent 45%);
}

/* ==========================================================================
   Pillen
   ========================================================================== */
.pills {
  padding: 120px var(--gutter) 120px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.pills-head {
  max-width: 560px;
  margin-bottom: 48px;
}
.pills-row {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 920px;
  margin: 0 auto;
  row-gap: 14px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  font-size: 15px;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition:
    background 0.35s var(--ease-out-quint),
    color 0.35s ease,
    border-color 0.35s ease,
    translate 0.4s var(--ease-out-quint);
}
a.pill:hover {
  background: var(--muted);
  border-color: var(--fg);
  translate: 0 -2px;
}
.pills-more {
  margin-top: 40px;
}
.pill-meta {
  font-size: 12px;
  color: #6a6a6a;
  letter-spacing: 0.02em;
  transition: color 0.35s ease;
}
a.pill:hover .pill-meta {
  color: var(--fg);
}

/* ==========================================================================
   Foto-Scroller
   ========================================================================== */
.scroller {
  padding: 96px 0 40px;
  overflow: hidden;
  background: var(--muted);
  border-radius: var(--radius);
  width: calc(100% - 2 * var(--inset));
  margin: 0 auto;
}
.scroller-head {
  text-align: center;
  padding: 0 24px;
  margin-bottom: 56px;
}
.scroller-h2 {
  margin-bottom: 8px;
}
.scroller-p {
  max-width: 560px;
  margin: 0 auto;
}
.scroller-row {
  --sg: 16px;
  display: flex;
  gap: var(--sg);
  width: max-content;
  animation: scroll-x 70s linear infinite;
}
.scroller-track:hover .scroller-row {
  animation-play-state: paused;
}
.scroller-img {
  height: 420px;
  aspect-ratio: 3 / 4 !important;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--border);
  flex-shrink: 0;
}
.scroller-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: scale 1.2s var(--ease-out-quint);
}
.scroller-img:hover img {
  scale: 1.04;
}
@keyframes scroll-x {
  to {
    translate: calc(-50% - var(--sg) / 2) 0;
  }
}

/* ==========================================================================
   Abschluss, Logos, Footer
   ========================================================================== */
.closing {
  text-align: center;
  padding: 120px var(--gutter) 140px;
  max-width: 1200px;
  margin: 0 auto;
}
.closing-h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.closing-p {
  max-width: 520px;
  margin: 0 auto;
}
.closing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: 40px;
}
.logos {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px var(--gutter) 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px 56px;
  flex-wrap: wrap;
}
.logos-text {
  flex-basis: 100%;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tag);
  margin-bottom: 4px;
}
.logos a {
  display: inline-flex;
  align-items: center;
  height: 52px;
}
.logos .logo-ijm {
  height: 64px;
}
.logos img {
  height: 100%;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.6;
  transition:
    translate 0.4s var(--ease-out-quint),
    opacity 0.3s ease,
    filter 0.3s ease;
}
html[data-theme='dark'] .logos img {
  filter: invert(1) grayscale(1);
}
.logos a:hover img {
  translate: 0 -2px;
  opacity: 1;
  filter: grayscale(0);
}
html[data-theme='dark'] .logos a:hover img {
  filter: invert(1) grayscale(1);
}
.footer {
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: none;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: 13px;
  color: var(--muted-fg);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0;
}
.footer-row-2 {
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
}
.footer-claim {
  color: var(--fg);
}
.footer-copy {
  color: var(--muted-fg);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-mark {
  width: 32px;
  height: 32px;
  color: var(--fg);
}
.footer-mark-text {
  fill: var(--bg);
}
.footer-partners {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.footer-partners-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tag);
  margin-right: 4px;
}
.footer-partners a {
  display: inline-flex;
  align-items: center;
  height: 28px;
}
.footer-partners .logo-ijm {
  height: 38px;
}
.footer-partners img {
  height: 100%;
  width: auto;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.footer-partners a:hover img {
  opacity: 1;
}
html[data-theme='dark'] .footer-partners img {
  filter: invert(1) grayscale(1);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--fg);
}
.footer-social {
  width: 28px;
  height: 28px;
  color: var(--fg);
  display: grid;
  place-items: center;
  opacity: 0.5;
  margin-right: 8px;
  transition: opacity 0.3s ease;
}
.footer-social:hover {
  opacity: 1;
}
.footer-social svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Responsiv
   ========================================================================== */
@media (max-width: 1100px) {
  :root {
    --gutter: 48px;
  }
  .gem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gem-card {
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 480px) {
  /* Footer: Links unter die Marke umbrechen, sonst wird „Datenschutz“ abgeschnitten */
  .footer-row {
    flex-wrap: wrap;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 8px 24px;
  }
  .gem-grid {
    grid-template-columns: 1fr;
  }
  .gem-card {
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 1000px) {
  .dna {
    grid-template-columns: 1fr;
    min-height: auto;
    width: calc(100% - 16px);
    border-radius: 16px;
  }
  .dark-left {
    padding: 96px 24px 48px;
    max-width: none;
  }
  .dark-right {
    height: 46vh;
    order: 1;
  }
  .dark-right-fade {
    background: linear-gradient(to bottom, var(--ink) 0%, transparent 40%);
  }
  .dark-steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 8px;
  }
  .dark-step:nth-child(3) {
    border-left: 0;
  }
  .dark-tab {
    font-size: 13px;
    padding: 11px 8px;
  }
  .dark-desc {
    min-height: 72px;
  }
}
@media (max-width: 960px) {
  .feature,
  .feature.is-reversed {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 12px;
  }
  .feature-img-mask {
    width: 100%;
  }
  .feature-text,
  .feature.is-reversed .feature-text {
    order: 0;
    padding: 56px 24px 0;
    margin: 0;
    max-width: 640px;
  }
  .feature-img,
  .feature.is-reversed .feature-img {
    order: 1;
    margin: 16px 12px;
    width: calc(100% - 24px);
  }
  .feature-img-mask {
    aspect-ratio: 3 / 2;
    border-radius: 16px;
  }
}
@media (max-width: 900px) {
  .nav {
    top: 12px;
    padding: 6px 6px 6px 12px;
  }
  .nav.is-top {
    top: 16px;
  }
  .nav.is-top .nav-mark {
    width: 56px;
    height: 56px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    padding: 9px 16px;
    font-size: 12.5px;
  }
  .nav-cta-full {
    display: none;
  }
  .nav-cta-short {
    display: inline;
  }
  .nav-menu {
    display: inline-flex;
  }
  .nav-logo {
    padding-right: 6px;
  }
}
@media (max-width: 860px) {
  .hero-poster {
    /* Handy: Das Querformat passt nicht in den hohen Rahmen. Das Bild steht
       daher oben als Band (16:9, 240 % breit, auf das Paar zentriert), darunter
       läuft es in die dunklen Fliesen und den Rahmenhintergrund aus. */
    top: 7%;
    left: 50%;
    margin-left: -113%;
    width: 240%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-position: 50% 50%;
  }
  :root {
    --gutter: 24px;
  }
  .nav {
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
  }
  .hero {
    min-height: 560px;
  }
  @supports (animation-timeline: scroll()) {
    @media (prefers-reduced-motion: no-preference) {
      .hero {
        height: 165vh;
      }
      .hero-frame {
        animation-range: 0 50vh;
      }
      .hero-content,
      .hero-scroll {
        animation-range: 0 35vh;
      }
    }
  }
  .hero-content {
    bottom: 48px;
  }
  .hero-h1 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }
  .hero-scroll {
    display: none;
  }
  .band,
  .quote {
    width: calc(100% - 16px);
    min-height: 70vh;
    border-radius: 16px;
  }
  .band-overlay {
    padding: 72px 24px;
  }
  .band.is-tall .band-overlay {
    min-height: 0;
  }
  .band.is-tall {
    min-height: 0;
  }
  .band-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 48px;
    padding-top: 32px;
  }
  .band-num {
    font-size: 34px;
  }
  .gem {
    padding: 80px 20px 24px;
  }
  .gem-head,
  .pills-head {
    margin-bottom: 40px;
  }
  .gem-grid {
    gap: 12px;
  }
  .gem-card {
    border-radius: 16px;
  }
  .gem-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .gem-caption h3 {
    font-size: 18px;
  }
  .t-long {
    display: none;
  }
  .t-short {
    display: inline;
  }
}
/* Bei vier Karten nebeneinander wird es unter 1300px eng: dann die
   Kurzform der Zeiten zeigen, damit die Zeile nicht umbricht. */
@media (min-width: 861px) and (max-width: 1300px) {
  .gem-grid .t-long {
    display: none;
  }
  .gem-grid .t-short {
    display: inline;
  }
  .band-label {
    white-space: normal;
  }
  .gem-extras {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
  }
  .gem-extra {
    padding: 22px;
    border-radius: 16px;
  }
  .quote-inner {
    padding: 64px 24px;
  }
  .quote-bg {
    width: 100%;
    object-position: 60% 30% !important;
  }
  .quote-overlay {
    background: rgba(46, 46, 46, 0.6);
  }
  .quote-text {
    min-height: 120px;
  }
  .quote-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .quote-tabs::-webkit-scrollbar {
    display: none;
  }
  .quote-tab {
    flex-shrink: 0;
  }
  .statement {
    padding: 120px 24px 100px;
  }
  .statement-line {
    font-size: clamp(1.9rem, 8.5vw, 3rem);
  }
  .pills {
    padding: 80px 20px 64px;
  }
  .pills-row {
    flex-direction: column;
    gap: 0;
    text-align: left;
  }
  .pill {
    justify-content: space-between;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--border);
    padding: 16px 4px;
    font-size: 15px;
    gap: 12px;
    background: transparent !important;
    translate: 0 0 !important;
  }
  .pill:first-child {
    border-top: 1px solid var(--border);
  }
  .pill-meta {
    font-size: 12px;
    text-align: right;
  }
  .pills-more {
    margin-top: 28px;
  }
  .gem-caption p {
    white-space: nowrap;
    font-size: 12.5px;
  }
  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(20, 20, 20, 0.88) 0%,
      rgba(20, 20, 20, 0.55) 45%,
      rgba(20, 20, 20, 0.15) 75%,
      rgba(20, 20, 20, 0.05) 100%
    );
  }
  .footer-partners {
    flex-wrap: wrap;
    justify-content: center;
  }
  .scroller {
    padding: 64px 0 64px;
    width: calc(100% - 16px);
    border-radius: 16px;
  }
  .scroller-head {
    margin-bottom: 36px;
  }
  .scroller-img {
    height: 280px;
    border-radius: 12px;
  }
  .scroller-row {
    --sg: 10px;
  }
  .closing {
    padding: 80px 24px 72px;
  }
  .logos {
    gap: 28px;
    padding-bottom: 56px;
  }
  .logos img {
    height: 44px;
  }
  .footer-inner {
    padding: 0 24px;
  }
  .footer-row {
    flex-direction: column;
    text-align: center;
    padding: 28px 0;
  }
}

/* ---------- Bewegung reduziert ---------- */
@media (prefers-reduced-motion: reduce) {
  .nav {
    animation: none;
    opacity: 1;
  }
  .nav,
  .nav * {
    transition: none !important;
  }
  .hero-eyebrow,
  .hero-sub,
  .hero-actions,
  .hero-scroll {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
  .hero-word > span {
    translate: 0 0;
    transition: none;
  }
  .hero-scroll svg,
  .marquee-track,
  .scroller-row {
    animation: none;
  }
  .verse-line,
  .verse-source {
    opacity: 1;
    translate: 0 0;
  }
  .scroller-track {
    overflow-x: auto;
  }
}

/* ==========================================================================
   Unterseiten
   Bausteine für alles außer der Startseite. Gleiche Sprache: 80px-Raster,
   12px-Inset für Bildbänder, 20px Radius, dieselben Reveals.
   ========================================================================== */

/* ---------- Seiten-Hero: Bildband mit Text darauf ---------- */
.page-hero {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: 62vh;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #1a1a1a;
  color: #fff;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.06;
  transition: scale 1.6s var(--ease-out-expo);
}
.page-hero.is-ready .page-hero-img {
  scale: 1;
}
.page-hero .tag,
.page-hero-title,
.page-hero-desc {
  opacity: 0;
  translate: 0 14px;
  transition:
    opacity 0.9s var(--ease-out-quint),
    translate 0.9s var(--ease-out-quint);
}
.page-hero .tag {
  transition-delay: 0.15s;
}
.page-hero-title {
  transition-delay: 0.28s;
}
.page-hero-desc {
  transition-delay: 0.44s;
}
.page-hero.is-ready .tag,
.page-hero.is-ready .page-hero-title,
.page-hero.is-ready .page-hero-desc {
  opacity: 1;
  translate: 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .page-hero .tag,
  .page-hero-title,
  .page-hero-desc {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
}
.page-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 18, 18, 0.85) 0%,
    rgba(18, 18, 18, 0.5) 42%,
    rgba(18, 18, 18, 0.15) 72%,
    rgba(18, 18, 18, 0.05) 100%
  );
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 0 0 64px var(--gutter);
}
.page-hero .tag {
  color: rgba(255, 255, 255, 0.85);
}
.page-hero-title {
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
.page-hero-desc {
  margin: 20px 0 0;
  max-width: 620px;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Kopf ohne Bild (Kontakt, Recht, Übersichten) ---------- */
.page-head {
  padding: 140px var(--gutter) 0;
  max-width: var(--shell);
  margin: 0 auto;
}
.page-head-inner {
  max-width: 760px;
}
.page-head .page-hero-title {
  color: var(--fg);
}
.page-head .page-hero-desc {
  color: var(--muted-fg);
}

/* ---------- Textabschnitt ---------- */
/* Helle und graue Abschnitte müssen dieselbe linke Kante haben. Der graue
   Grund läuft über die volle Breite, der Inhalt sitzt im selben Raster. */
.section {
  padding: 96px var(--gutter);
  max-width: var(--shell);
  margin: 0 auto;
}
.section-muted {
  background: var(--muted);
  max-width: none;
  padding-inline: 0;
}
.section-muted > * {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.prose {
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.prose p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted-fg);
}
.prose p b,
.prose p strong {
  color: var(--fg);
  font-weight: 600;
}
.prose-lead {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem) !important;
  line-height: 1.6 !important;
  color: var(--fg) !important;
  text-wrap: pretty;
}

/* ---------- Nummerierte Schritte ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}
.step-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--tag);
  font-variant-numeric: tabular-nums;
  padding-top: 5px;
}
.step h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--fg);
}
.step p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted-fg);
  margin: 0;
}

/* ---------- Karten-Raster ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--fg);
}
.card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted-fg);
  margin: 0;
}
.card-link {
  text-decoration: none;
  transition:
    translate 0.4s var(--ease-out-quint),
    border-color 0.3s ease;
}
.card-link:hover {
  translate: 0 -3px;
  border-color: var(--fg);
}

/* ---------- Aufzählung mit Haken ---------- */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 660px;
}
.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted-fg);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: var(--fg);
  opacity: 0.55;
}

/* ---------- Dunkles Band auf Unterseiten ---------- */
.section-ink {
  width: calc(100% - 2 * var(--inset));
  margin: var(--inset) auto;
  /* Die Flaeche laeuft ueber die volle Breite, der Text darin sitzt im
     Raster. Das 100% bezieht sich auf die Elternbreite, nicht auf die Karte,
     der Abzug von --inset gleicht die Einrueckung der Karte aus. */
  padding: 96px
    max(
      calc(var(--gutter) - var(--inset)),
      calc((100% - var(--content)) / 2 - var(--inset))
    );
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--ink-fg);
}
.section-ink .h2 {
  color: var(--ink-fg);
}
.section-ink .tag {
  color: rgba(247, 247, 247, 0.62);
}
.section-ink .prose p {
  color: rgba(247, 247, 247, 0.72);
}
.section-ink .prose-lead {
  color: var(--ink-fg) !important;
}
.section-ink .checklist li {
  color: rgba(247, 247, 247, 0.75);
}
.section-ink .checklist li::before {
  background: var(--ink-fg);
}
.section-ink .step h3 {
  color: var(--ink-fg);
}
.section-ink .step p {
  color: rgba(247, 247, 247, 0.7);
}
.section-ink .step-num {
  color: rgba(247, 247, 247, 0.55);
}
.section-ink .link {
  color: var(--ink-fg);
}

/* ---------- Zwei Spalten: Text neben Bild ---------- */
.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 0;
  padding: 72px 0 96px;
  max-width: var(--shell);
  margin-inline: auto;
}
.split.is-reversed {
  grid-template-columns: 7fr 5fr;
}
.split-text {
  max-width: calc(460px + var(--gutter) + 40px);
  padding: 24px 40px 40px var(--gutter);
}
.split.is-reversed .split-text {
  order: 2;
  margin-left: auto;
  padding: 24px var(--gutter) 40px 40px;
}
.split-img {
  margin: var(--inset) var(--inset) var(--inset) auto;
  display: flex;
  justify-content: flex-end;
}
.split.is-reversed .split-img {
  order: 1;
  margin: var(--inset) auto var(--inset) var(--inset);
  justify-content: flex-start;
}
.split-img-mask {
  aspect-ratio: 9 / 10;
  width: min(100%, calc(84vh * 0.9));
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--muted);
}
.split-img-mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Kontaktkarten (Standorte) ---------- */
.place {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 32px;
  /* Sprungziel von den Standortseiten (/kontakt/#linden …): Abstand zur Navigation */
  scroll-margin-top: 104px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}
.place + .place {
  margin-top: 16px;
}
.place-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--muted);
  display: block;
}
.place-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.8s var(--ease-out-quint);
}
.place-img:hover img {
  scale: 1.04;
}
.place-body h2 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--fg);
}
.place-sub {
  font-size: 13.5px;
  color: var(--muted-fg);
  margin: 0 0 20px;
}
.place-rows {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.place-row {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  font-size: 16px;
  line-height: 1.6;
}
.place-row dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tag);
  padding-top: 3px;
}
.place-row dd {
  margin: 0;
  color: var(--fg);
}
.place-row a {
  color: inherit;
}

/* ---------- Rechtstexte ---------- */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
}
.legal h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 56px 0 16px;
  color: var(--fg);
}
.legal h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 10px;
  color: var(--fg);
}
.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted-fg);
  margin: 0 0 14px;
}
.legal ul {
  padding-left: 22px;
  margin: 0 0 18px;
}
.legal a {
  color: var(--fg);
}
.legal address {
  font-style: normal;
  line-height: 1.75;
  color: var(--muted-fg);
  margin-bottom: 14px;
}

/* ---------- Responsiv ---------- */
@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 960px) {
  .split,
  .split.is-reversed {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .split-text,
  .split.is-reversed .split-text {
    order: 0;
    padding: 40px 24px 0;
    margin: 0;
    max-width: 640px;
  }
  .split-img,
  .split.is-reversed .split-img {
    order: 1;
    margin: 16px 12px;
    justify-content: flex-start;
  }
  .split-img-mask {
    aspect-ratio: 3 / 2;
    width: 100%;
    border-radius: 16px;
  }
}
@media (max-width: 860px) {
  .page-hero {
    min-height: 56vh;
  }
  .page-hero-inner {
    padding: 0 24px 40px;
  }
  .page-head {
    padding: 110px 24px 0;
  }
  .section {
    padding: 64px 24px;
  }
  .section-ink {
    width: calc(100% - 16px);
    /* 8px Einrueckung der Karte + 16px Innenabstand = 24px wie bei .section */
    padding: 64px 16px;
    border-radius: 16px;
  }
  .steps,
  .cards,
  .cards-2 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .card {
    padding: 24px;
    border-radius: 16px;
  }
  .place {
    grid-template-columns: 1fr;
    gap: 20px;
    border-radius: 16px;
  }
  .place-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .legal {
    padding: 0 24px 64px;
  }
  .legal h2 {
    font-size: 21px;
    margin-top: 40px;
  }
}

/* ==========================================================================
   Begrüßungsvideo (Startseite): Button im Hero, Videobox als <dialog>
   ========================================================================== */
.btn-glass {
  gap: 10px;
  padding: 0 24px 0 20px;
  background: rgba(255, 255, 255, 0.12);
  color: #f7f7f7;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  font-family: inherit;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
}
.btn-glass svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.hero-play-time {
  font-size: 13px;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}
.vbox {
  padding: 0;
  border: 0;
  background: transparent;
  width: min(1100px, calc(100vw - 32px));
  max-width: none;
  max-height: none;
  overflow: visible;
  color: #f7f7f7;
}
.vbox::backdrop {
  background: rgba(12, 12, 12, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.vbox[open] {
  animation: vbox-in 0.45s var(--ease-out-quint) both;
}
.vbox[open]::backdrop {
  animation: vbox-fade 0.35s ease both;
}
@keyframes vbox-in {
  from { opacity: 0; scale: 0.96; }
  to { opacity: 1; scale: 1; }
}
@keyframes vbox-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.vbox-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
}
.vbox-frame video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}
.vbox-close {
  position: absolute;
  top: -56px;
  right: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  color: #f7f7f7;
  cursor: pointer;
  transition: background 0.3s ease;
}
.vbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.vbox-close svg {
  width: 20px;
  height: 20px;
}
@media (prefers-reduced-motion: reduce) {
  .vbox[open],
  .vbox[open]::backdrop {
    animation: none;
  }
}
