/* ==========================================================
   Zimmerberg Media – Stylesheet
   ----------------------------------------------------------
   Farben und Schriften sind aus dem Logo abgeleitet:
   Forest (#037A3F, das „Z“), Petrol (#00687B, das „M“),
   Schwarz (der Ring). Display-Schrift Bodoni Moda (Didone wie
   das „Z“), Text in Figtree (geometrisch wie der Logo-Schriftzug).

   Aufbau:
   1. Schriften & Tokens
   2. Basis & Typografie
   3. Layout-Helfer, Buttons, Links
   4. Header, Navigation, mobiles Menü
   5. Hochformat-Frames (Signatur-Element)
   6. Startseite
   7. Unterseiten (Leistungen, Über uns, Kontakt)
   8. Formular
   9. Rechtliches, 404, Danke
   10. Footer
   11. Bewegung & Reduced Motion
   Mobile first – Erweiterungen über min-width.
   ========================================================== */

/* 1. Schriften & Tokens ----------------------------------- */
@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --mist: #f2f5f3;
  --white: #ffffff;
  --ink: #000000;
  --ink-soft: #2b3532;
  --muted: #4c5754;
  --line: rgba(0, 0, 0, 0.14);
  --line-strong: rgba(0, 0, 0, 0.32);

  --forest: #037a3f;
  --forest-dark: #025c2f;
  --petrol: #00687b;
  --petrol-deep: #003b46;
  --rec: #e0402a;

  /* auf dunklen Flächen */
  --on-dark: #f2f5f3;
  --on-dark-muted: #b7cbc9;
  --forest-light: #8bdcb0;
  --petrol-light: #93d3de;
  --line-dark: rgba(255, 255, 255, 0.18);

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-sans: "Figtree", "Avenir Next", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  /* Typografische Skala (16 · 18 · 21 · 24 · 36 · 48 · 60 · 72+) */
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.1875rem;
  --fs-lg: clamp(1.1875rem, 1.05rem + 0.55vw, 1.375rem);
  --fs-h3: clamp(1.3125rem, 1.15rem + 0.6vw, 1.625rem);
  --fs-h2: clamp(2.125rem, 1.45rem + 2.9vw, 3.875rem);
  --fs-h1: clamp(2.625rem, 1.45rem + 5.2vw, 5.75rem);

  --container: 1240px;
  --gutter: clamp(1rem, 4.5vw, 3rem);
  --space-section: clamp(4.5rem, 9vw, 8.5rem);
  --header-h: 72px;
  --radius-frame: 18px;
  --radius: 6px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Basis & Typografie ----------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
  background: var(--mist);
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1.02;
  overflow-wrap: break-word;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.06;
}

h3,
h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

strong {
  font-weight: 650;
}

::selection {
  background: var(--petrol);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 3px;
  border-radius: 3px;
}

.on-dark :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible {
  outline-color: var(--petrol-light);
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

/* 3. Layout-Helfer, Buttons, Links ------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  padding-block: var(--space-section);
}

.band--white {
  background: var(--white);
}

.band--petrol {
  background: var(--petrol);
  color: var(--white);
}

.band--deep {
  background: var(--petrol-deep);
  color: var(--on-dark);
}

.band--forest {
  background: var(--forest);
  color: var(--white);
}

.lead {
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--muted);
  max-width: 38rem;
}

.on-dark .lead,
.band--petrol .lead,
.band--forest .lead {
  color: inherit;
  opacity: 0.88;
}

.band-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.band-head h2 {
  max-width: 18ch;
}

@media (min-width: 900px) {
  .band-head--split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: end;
    gap: 4rem;
  }
}

/* Kontext-Hinweis über einer Überschrift – nur wo er Information trägt */
.context {
  margin: 0 0 1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--petrol);
}

.on-dark .context,
.band--petrol .context {
  color: var(--petrol-light);
}

.band--forest .context {
  color: var(--forest-light);
}

.note {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.8rem 1.4rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  background: var(--petrol);
  border-color: var(--petrol);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.btn--small {
  min-height: 44px;
  padding: 0.55rem 1.05rem;
  font-size: 0.9375rem;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.text-link {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--forest);
  text-underline-offset: 0.22em;
  transition: text-decoration-color 0.2s var(--ease);
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.on-dark .text-link,
.band--petrol .text-link {
  text-decoration-color: var(--forest-light);
}

/* 4. Header & Navigation ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 245, 243, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    -webkit-backdrop-filter: saturate(1.4) blur(8px);
    backdrop-filter: saturate(1.4) blur(8px);
  }
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  width: auto;
  height: 38px;
}

.brand__name {
  display: grid;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.brand__name span {
  font-weight: 450;
  color: var(--muted);
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.6rem 0.9rem;
  font-weight: 550;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--ink);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"] {
  color: var(--ink);
}

.nav .btn {
  margin-left: 0.75rem;
}

.nav .btn[aria-current="page"] {
  background: var(--petrol);
  border-color: var(--petrol);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.menu-toggle__icon {
  position: relative;
  width: 18px;
  height: 12px;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-toggle__icon::before {
  top: 1px;
}

.menu-toggle__icon::after {
  top: 9px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  top: 5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  top: 5px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem var(--gutter) 2.5rem;
  overflow-y: auto;
  background: var(--petrol-deep);
  color: var(--on-dark);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__list {
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.mobile-menu__list a {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.75rem);
  line-height: 1.15;
  text-decoration: none;
}

.mobile-menu__list a[aria-current="page"] {
  color: var(--forest-light);
}

.mobile-menu__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
}

.mobile-menu__legal a {
  display: inline-block;
  padding: 0.35rem 0;
}

@media (min-width: 960px) {
  .nav {
    display: block;
  }

  .menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* 5. Hochformat-Frames ------------------------------------ */
/* Ein 9:16-Bildausschnitt mit Story-Fortschrittsbalken –
   das wiederkehrende Motiv für Kurzvideo-Content. */
.frame {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius-frame);
  background: #0d1a1c;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 24px 48px -28px rgba(0, 40, 48, 0.55);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

.frame__bars {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
}

.frame__bars span {
  position: relative;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.38);
}

.frame__bars span.is-done {
  background: rgba(255, 255, 255, 0.95);
}

.frame__bars span.is-playing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0.45);
}

.frame__label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

/* 6. Startseite ------------------------------------------- */

/* Hero */
.hero {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.hero__title {
  max-width: 14ch;
  font-size: clamp(2.5rem, 1.3rem + 4vw, 4.75rem);
}

.hero__lead {
  margin-top: 1.5rem;
}

.hero .actions {
  margin-top: 2rem;
}

.hero__formats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
}

.hero__formats li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__formats li::before {
  content: "";
  width: 7px;
  height: 12px;
  border: 1.5px solid var(--forest);
  border-radius: 2px;
}

.reel-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  align-items: start;
  gap: clamp(0.6rem, 2vw, 1.25rem);
  margin: 0;
}

.reel-stack .frame:nth-child(1) {
  margin-top: 18%;
}

.reel-stack .frame:nth-child(3) {
  margin-top: 34%;
}

.reel-stack__caption {
  grid-column: 1 / -1;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.rec {
  position: absolute;
  top: 26px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.rec::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rec);
}

@media (max-width: 559px) {
  .reel-stack {
    grid-template-columns: 1.2fr 1fr;
  }

  .reel-stack .frame:nth-child(3) {
    display: none;
  }

  .reel-stack .frame:nth-child(1) {
    margin-top: 0;
  }

  .reel-stack .frame:nth-child(2) {
    margin-top: 22%;
  }

  .frame__label {
    font-size: 0.75rem;
  }
}

@media (min-width: 1000px) {
  .hero {
    padding-top: clamp(3rem, 5vw, 4.5rem);
  }

  .hero__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(3rem, 5vw, 5rem);
  }
}

/* Intro mit Logo */
.intro__grid {
  display: grid;
  gap: 2.5rem;
}

.intro__badge {
  width: clamp(150px, 34vw, 230px);
  height: auto;
}

.intro__statement {
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.875rem);
  font-weight: 450;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.intro .lead {
  margin-top: 1.5rem;
}

.facts {
  display: grid;
  gap: 0;
  margin: 2.5rem 0 0;
  border-top: 2px solid var(--ink);
}

.facts div {
  display: grid;
  gap: 0.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-weight: 650;
}

.facts dd {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 640px) {
  .facts div {
    grid-template-columns: 9rem 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 960px) {
  .intro__grid {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
  }
}

/* Leistungen-Übersicht (Petrol-Fläche) */
.offer-list {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.offer {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.offer a {
  display: grid;
  gap: 0.4rem;
  padding: 1.5rem 0;
  text-decoration: none;
  color: inherit;
}

.offer__title {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease);
}

.offer__text {
  max-width: 34rem;
  opacity: 0.86;
}

.offer a:hover .offer__title {
  color: var(--forest-light);
}

.offer a:hover .offer__title,
.offer a:focus-visible .offer__title {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

@media (min-width: 900px) {
  .offer a {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: baseline;
    padding: 1.75rem 0;
  }
}

.offer-foot {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .offer-foot {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

/* Storyboard: Was sich zeigen lässt */
.storyboard {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(74%, 1fr);
  gap: 1rem;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  list-style: none;
  overscroll-behavior-x: contain;
}

.storyboard:focus-visible {
  outline-offset: -3px;
}

.scene {
  scroll-snap-align: start;
}

.scene .frame {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
}

.scene__title {
  margin-top: 1.25rem;
  font-size: 1.25rem;
}

.scene__text {
  margin-top: 0.5rem;
  color: var(--muted);
}

.shots {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.9375rem;
}

.shots li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.4rem;
}

.shots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--petrol);
  border-radius: 50%;
}

.storyboard-hint {
  margin-top: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}

@media (min-width: 640px) {
  .storyboard {
    grid-auto-columns: minmax(44%, 1fr);
  }
}

@media (min-width: 1080px) {
  .storyboard {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.25rem, 2vw, 2rem);
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }

  .scene:nth-child(even) {
    margin-top: 3.5rem;
  }

  .storyboard-hint {
    display: none;
  }
}

/* Ablauf (echte Abfolge → nummeriert) */
.steps {
  display: grid;
  gap: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0 1rem;
  padding-bottom: 2rem;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.step::after {
  content: "";
  position: absolute;
  top: 3.25rem;
  bottom: 0;
  left: calc(1.625rem - 1px);
  width: 2px;
  background: var(--line-strong);
}

.step:last-child::after {
  display: none;
}

.step:last-child::before {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.step h3 {
  align-self: center;
  font-size: 1.25rem;
}

.step p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.steps-note {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--forest);
  background: var(--white);
  max-width: 44rem;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }

  .step {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 1.25rem;
    padding-bottom: 0;
  }

  .step::before {
    grid-row: auto;
  }

  .step::after {
    top: calc(1.625rem - 1px);
    left: 3.25rem;
    right: -2rem;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .step h3 {
    align-self: start;
  }

  .step p {
    margin-top: -0.75rem;
  }

  .steps-note {
    margin-top: 3rem;
  }
}

/* Region (dunkle Petrol-Fläche) */
.region {
  padding-top: 0;
  overflow: hidden;
}

.region__image {
  position: relative;
  margin: 0;
}

.region__image img {
  width: 100%;
  height: clamp(240px, 42vw, 520px);
  object-fit: cover;
  object-position: 50% 60%;
}

.region__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 59, 70, 0) 45%, var(--petrol-deep) 100%);
}

.region__image figcaption {
  position: absolute;
  right: var(--gutter);
  top: 1rem;
  z-index: 1;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
}

.region__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  margin-top: clamp(-5rem, -6vw, -2rem);
}

.region__grid h2 {
  max-width: 16ch;
}

.region__grid .lead {
  margin-top: 1.5rem;
}

/* Linienplan Gattikon → Zug */
.route {
  position: relative;
  list-style: none;
}

.route::before {
  content: "";
  position: absolute;
  top: 0.9rem;
  bottom: 0.9rem;
  left: 9px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--forest-light), var(--petrol-light));
}

.route li {
  position: relative;
  display: grid;
  gap: 0.1rem;
  padding: 0.55rem 0 0.55rem 2.6rem;
}

.route li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.9rem;
  width: 16px;
  height: 16px;
  border: 3px solid var(--petrol-deep);
  border-radius: 50%;
  background: var(--on-dark);
  box-shadow: 0 0 0 2px var(--on-dark);
}

.route__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.route__meta {
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
}

.route li.route__more::before {
  background: transparent;
  box-shadow: 0 0 0 2px var(--on-dark-muted);
  border-color: var(--petrol-deep);
}

.route li.route__more .route__name {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--on-dark-muted);
}

@media (min-width: 960px) {
  .region__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 5rem;
    align-items: start;
  }
}

/* Schluss-Aufruf */
.cta__inner {
  display: grid;
  gap: 2rem;
}

.cta h2 {
  max-width: 17ch;
}

.cta p {
  max-width: 34rem;
  font-size: var(--fs-lg);
}

@media (min-width: 960px) {
  .cta__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: end;
    gap: 4rem;
  }
}

/* 7. Unterseiten ------------------------------------------ */
.page-hero {
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.page-hero__grid {
  display: grid;
  gap: 2.5rem;
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero .lead {
  margin-top: 1.5rem;
}

@media (min-width: 960px) {
  .page-hero__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: end;
  }
}

/* Sprungmarken auf der Leistungsseite */
.jump {
  padding: 1.25rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
}

.jump p {
  margin-bottom: 0.5rem;
  font-weight: 650;
}

.jump ul {
  list-style: none;
  columns: 1;
}

.jump a {
  display: inline-block;
  padding: 0.3rem 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.jump a:hover {
  border-bottom-color: var(--forest);
}

@media (min-width: 560px) {
  .jump ul {
    columns: 2;
    column-gap: 2rem;
  }
}

/* Leistungsdetails */
.service {
  display: grid;
  gap: 1.75rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 2px solid var(--ink);
}

.service:first-child {
  border-top: 0;
  padding-top: 0;
}

.service h2 {
  font-size: clamp(1.875rem, 1.35rem + 2vw, 3rem);
  max-width: 14ch;
}

.service__body > p {
  font-size: var(--fs-md);
  max-width: 38rem;
}

.service__cols {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.service__cols h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.ticks {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.ticks li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-soft);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.42em;
  width: 0.85rem;
  height: 0.5rem;
  border-left: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(-45deg);
}

@media (min-width: 720px) {
  .service__cols {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (min-width: 1000px) {
  .service {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
    gap: 4rem;
  }
}

/* Formate: Seitenverhältnisse als Umrisse */
.formats {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(1rem, 3vw, 2.5rem);
  list-style: none;
}

.format {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.format__shape {
  height: clamp(110px, 18vw, 170px);
  border: 2px solid var(--on-dark-muted);
  border-radius: 8px;
}

.format--main .format__shape {
  border-color: var(--forest-light);
  background: rgba(139, 220, 176, 0.12);
}

.format--9x16 .format__shape {
  aspect-ratio: 9 / 16;
}

.format--4x5 .format__shape {
  aspect-ratio: 4 / 5;
}

.format--1x1 .format__shape {
  aspect-ratio: 1;
}

.format--16x9 .format__shape {
  aspect-ratio: 16 / 9;
  height: clamp(70px, 10vw, 96px);
}

.format__name {
  font-weight: 650;
  line-height: 1.3;
}

.format__name span {
  display: block;
  font-weight: 450;
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
}

/* Abgrenzung: Was enthalten ist */
.scope {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.scope caption {
  text-align: left;
}

.scope th,
.scope td {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.scope thead th {
  padding-top: 0;
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
}

.scope tbody th {
  font-weight: 650;
  padding-right: 1.5rem;
}

.scope td {
  color: var(--ink-soft);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--forest);
}

.status--core::before {
  background: var(--forest);
}

.status--maybe::before {
  background: linear-gradient(90deg, var(--forest) 50%, transparent 50%);
}

.status--no::before {
  border-color: var(--muted);
}

.status-text {
  display: block;
}

@media (max-width: 719px) {
  .scope thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .scope tr,
  .scope tbody th,
  .scope td {
    display: block;
  }

  .scope tr {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .scope tbody th,
  .scope td {
    padding: 0;
    border: 0;
  }

  .scope td {
    margin-top: 0.4rem;
  }
}

@media (min-width: 720px) {
  .scope tbody th {
    width: 32%;
  }

  .scope td:nth-child(2) {
    width: 24%;
  }
}

/* FAQ */
.faq {
  display: grid;
  gap: 2.5rem;
}

.faq__list {
  border-top: 2px solid var(--ink);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  min-height: 64px;
  padding: 1.1rem 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: var(--fs-md);
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.faq__button:hover {
  color: var(--petrol);
}

.faq__icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  margin: -1px 0 0 -5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__button[aria-expanded="true"] .faq__icon::after {
  transform: rotate(0deg);
}

.faq__panel-inner {
  padding-bottom: 1.5rem;
  max-width: 44rem;
  color: var(--ink-soft);
}

@media (min-width: 960px) {
  .faq {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
    gap: 4rem;
  }
}

/* Preise-Hinweis */
.pricing {
  display: grid;
  gap: 2rem;
}

.pricing ul {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.pricing li {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

@media (min-width: 960px) {
  .pricing {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 5rem;
    align-items: start;
  }
}

/* Über uns */
.about-hero__media {
  margin: 0;
}

.about-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.media-caption {
  margin-top: 0.6rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.on-dark .media-caption {
  color: var(--on-dark-muted);
}

.principles {
  display: grid;
  gap: 2.5rem;
  list-style: none;
}

.principle {
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}

.principle h3 {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.principle p {
  margin-top: 0.75rem;
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .principle:nth-child(2) {
    margin-top: 3rem;
  }

  .principle:nth-child(3) {
    margin-top: 6rem;
  }
}

.team {
  display: grid;
  gap: 2.5rem;
}

.team__number {
  font-family: var(--font-display);
  font-size: clamp(7rem, 4rem + 14vw, 15rem);
  font-weight: 500;
  line-height: 0.8;
  color: var(--forest-light);
}

.team__copy p {
  font-size: var(--fs-md);
  max-width: 36rem;
}

.team__copy h2 {
  margin-bottom: 1.5rem;
}

@media (min-width: 900px) {
  .team {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 5rem;
    align-items: center;
  }
}

.expect {
  display: grid;
  gap: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.expect li {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.expect strong {
  font-size: var(--fs-md);
}

.expect span {
  color: var(--muted);
}

@media (min-width: 800px) {
  .expect li {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
    gap: 2rem;
  }
}

.split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 5rem;
    align-items: start;
  }
}

/* Kontakt */
.contact__grid {
  display: grid;
  gap: 3rem;
}

.contact__aside h1 {
  max-width: 13ch;
}

.contact__aside .lead {
  margin-top: 1.5rem;
}

.contact__jump {
  margin-top: 1.5rem;
}

.next-steps {
  margin-top: 2.5rem;
}

.next-steps h2 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

.next-steps ol {
  list-style: none;
  counter-reset: nstep;
  display: grid;
  gap: 1rem;
}

.next-steps li {
  position: relative;
  padding-left: 2.75rem;
  counter-increment: nstep;
  color: var(--ink-soft);
}

.next-steps li::before {
  content: counter(nstep);
  position: absolute;
  left: 0;
  top: -0.05rem;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  color: var(--ink);
}

.next-steps li strong {
  display: block;
  color: var(--ink);
}

.contact__direct {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.contact__direct[hidden] {
  display: none;
}

@media (min-width: 1000px) {
  .contact__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }

  .contact__aside {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .contact__jump {
    display: none;
  }
}

/* 8. Formular --------------------------------------------- */
.form-panel {
  padding: clamp(1.25rem, 4vw, 2.75rem);
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
}

.form__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 1.25rem;
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

.field {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.field label {
  font-weight: 650;
  font-size: 0.9375rem;
}

.field__optional {
  font-weight: 450;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.5;
}

.field select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 16px;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--petrol);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 104, 123, 0.25);
}

.field [aria-invalid="true"] {
  border-color: #b3261e;
  background-color: #fff6f5;
}

.field__error {
  min-height: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #b3261e;
}

.field__error:empty {
  display: none;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__footer {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.form__privacy {
  font-size: 0.875rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .form__footer {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
  }
}

.form-status {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1.5px solid #b3261e;
  background: #fff6f5;
  color: #6f1711;
}

.form-status[hidden] {
  display: none;
}

.form-status svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 0.1rem;
}

.form-status strong {
  display: block;
}

.form-panel:has(.form-success:not([hidden])) {
  padding: 0;
  border: 0;
  background: none;
}

.form-success {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 12px;
  background: var(--forest);
  color: var(--white);
}

.form-success[hidden] {
  display: none;
}

.form-success:focus {
  outline: none;
}

.form-success:focus-visible {
  outline: 3px solid var(--petrol);
}

.form-success__icon {
  width: 44px;
  height: 44px;
  padding: 9px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--forest);
}

.form-success h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.form-success p {
  max-width: 32rem;
}

.form-success .btn {
  margin-top: 1.5rem;
}

/* 9. Rechtliches, 404, Danke ------------------------------ */
.legal-grid {
  display: grid;
  gap: 2.5rem;
}

.legal-toc {
  font-size: 0.9375rem;
}

.legal-toc p {
  font-weight: 650;
  margin-bottom: 0.5rem;
}

.legal-toc ol {
  list-style: none;
  display: grid;
  gap: 0.15rem;
  border-left: 2px solid var(--line);
}

.legal-toc a {
  display: block;
  padding: 0.3rem 0 0.3rem 1rem;
  margin-left: -2px;
  border-left: 2px solid transparent;
  text-decoration: none;
  color: var(--ink-soft);
}

.legal-toc a:hover {
  border-left-color: var(--forest);
  color: var(--ink);
}

.legal {
  max-width: 44rem;
}

.legal h2 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem);
}

.legal > h2:first-of-type {
  margin-top: 0;
}

.legal h3 {
  margin: 2rem 0 0.6rem;
  font-size: 1.125rem;
}

.legal p,
.legal li,
.legal address {
  color: var(--ink-soft);
}

.legal ul {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

.legal address {
  font-style: normal;
  margin-bottom: 1em;
  line-height: 1.7;
}

.legal a {
  font-weight: 600;
  text-decoration-color: var(--forest);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.legal-note {
  margin-bottom: 2.5rem;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--petrol);
  background: var(--white);
  font-size: 0.9375rem;
}

.legal-meta {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* Sichtbare Markierung für noch auszufüllende Angaben */
.placeholder {
  padding: 0.05em 0.4em;
  border: 1.5px dashed #a15c00;
  border-radius: 3px;
  background: #fff3d6;
  color: #6b3d00;
  font-size: 0.92em;
  font-weight: 600;
}

@media (min-width: 1000px) {
  .legal-grid {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 5rem;
    align-items: start;
  }

  .legal-toc {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.error-page {
  display: grid;
  gap: 3rem;
  padding-block: clamp(3rem, 8vw, 7rem);
}

.error-page__code {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(6rem, 3rem + 14vw, 13rem);
  font-weight: 500;
  line-height: 0.85;
  color: var(--petrol);
}

.error-page h1 {
  margin-top: 1rem;
  max-width: 14ch;
}

.error-page .lead {
  margin-top: 1.25rem;
}

.error-page .actions {
  margin-top: 2rem;
}

.error-page .frame {
  width: min(240px, 60vw);
  background: var(--petrol-deep);
}

.frame__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}

@media (min-width: 900px) {
  .error-page {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

/* 10. Footer ---------------------------------------------- */
.site-footer {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: 1.5rem;
  background: var(--ink);
  color: var(--on-dark);
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
}

.footer__brand {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.footer__brand a {
  display: inline-block;
  border-radius: 50%;
}

.footer__badge {
  width: 148px;
  height: 148px;
}

.footer__brand p {
  max-width: 22rem;
  color: var(--on-dark-muted);
}

.footer__heading {
  margin-bottom: 0.75rem;
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--forest-light);
}

.footer__list {
  list-style: none;
  display: grid;
  gap: 0.15rem;
}

.footer__list a {
  display: inline-block;
  padding: 0.3rem 0;
  text-decoration: none;
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
}

.footer__list a:hover {
  border-bottom-color: var(--forest-light);
}

.footer__list [hidden] {
  display: none;
}

.footer__muted {
  padding: 0.3rem 0;
  color: var(--on-dark-muted);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
}

.footer__bottom p {
  margin: 0;
}

.footer__credit a {
  display: inline-block;
  padding: 0.2rem 0;
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--forest-light);
  text-underline-offset: 0.22em;
}

.footer__credit a:hover {
  text-decoration-color: currentColor;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1000px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }

  .footer__brand {
    grid-column: auto;
  }
}

/* 11. Bewegung & Reduced Motion --------------------------- */
/* Einziger orchestrierter Moment: Die Hochformat-Frames im Hero
   erscheinen nacheinander, der mittlere „spielt“ (Fortschrittsbalken). */
@keyframes frame-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reel-stack .frame {
    animation: frame-in 0.9s var(--ease) both;
  }

  .reel-stack .frame:nth-child(2) {
    animation-delay: 0.12s;
  }

  .reel-stack .frame:nth-child(3) {
    animation-delay: 0.24s;
  }

  .reel-stack .frame__bars span.is-playing::after {
    animation: progress 7s linear 0.9s infinite;
    transform: scaleX(0);
  }

  .rec::before {
    animation: blink 1.6s steps(1) infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
