/* Jens Lindner Media – Video-Startseite */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url(fonts/bricolage-grotesque-latin-standard-normal.woff2) format('woff2-variations');
  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: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  src: url(fonts/bricolage-grotesque-latin-ext-standard-normal.woff2) format('woff2-variations');
  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;
}

:root {
  --white: #ffffff;
  --ink: #16181d;
  --muted: #5b616b;
  --line: #e7e9ec;
  --line-strong: #c9ced6;
  /* Aus der Strickjacke der Oma (Türkis aus dem Seedance-Take) */
  --accent: #2f6f79;
  --accent-deep: #24575f;
  --accent-wash: #ebf4f5;

  --font: 'Bricolage Grotesque', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --stage-w: 0px;
  --gutter: 1rem;
  --section: 6rem;

  color-scheme: light;
}

@media (min-width: 40rem) {
  :root {
    --gutter: 2rem;
    --section: 8rem;
  }
}

@media (min-width: 68rem) {
  :root {
    /* Die Bühne nimmt 40 % (24 bis 46rem). Auf großen Bildschirmen wird sie breiter, damit die Inhaltsspalte
       nicht über 54rem wächst: Sonst endet der Hero-Inhalt mitten in der Spalte und zwischen Text und Oma
       klafft eine Lücke von 400 px (1920 px Fenster). Die Oma steht mittig auf ihrer Bühne, eine breitere
       Bühne rückt sie also näher an den Inhalt. */
    --stage-w: max(clamp(24rem, 40vw, 46rem), calc(100vw - 54rem - 7rem));
    --gutter: 3.5rem;
    --section: 9.5rem;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  scrollbar-color: var(--line-strong) var(--white);
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  caret-color: var(--accent);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 700;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgb(47 111 121 / 0.6);
  transition: background-color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease),
    color 180ms var(--ease);
}

.btn:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgb(47 111 121 / 0.7);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform 220ms var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--small {
  min-height: 2.75rem;
  padding: 0 1.15rem;
  gap: 0.28em;
  font-size: 0.9375rem;
}

.btn--ghost {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
}

.skip:focus {
  top: 1rem;
}

.layout {
  padding-right: var(--stage-w);
}

/* Kopfzeile */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
  padding: 0.75rem var(--gutter);
  background: var(--white);
}

.brand {
  display: block;
  margin-right: auto;
  line-height: 0;
}

.brand img {
  display: block;
  width: auto;
  height: 2.6rem;
}

@media (min-width: 40rem) {
  .brand img {
    height: 3rem;
  }
}

.hide-sm {
  display: none;
}

@media (min-width: 40rem) {
  .hide-sm {
    display: inline;
  }
}

/* Bühne der Oma */
.stage {
  position: relative;
  z-index: 5; /* liegt über dem Footer-Band, bis die Oma ihre Bühne verlässt */
  background: var(--white);
  transition: opacity 300ms var(--ease), visibility 0s linear 0s;
}

/* Im Footer läuft die Oma ins Band: Die Bühne (und das Andock-Fenster) blenden aus. */
.stage.is-away {
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
}

.frame {
  position: relative;
  height: clamp(9.5rem, 21svh, 15rem);
  overflow: hidden;
  isolation: isolate; /* die Ebenen der Clips bleiben im Rahmen */
}

.clip {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  /* Gespiegelt: die Oma beugt sich und zeigt Richtung Inhalt. */
  transform: translateX(-50%) scaleX(-1);
  /* Der wartende Clip liegt verdeckt darunter statt unsichtbar: Browser halten unsichtbare Videos an. */
  z-index: 0;
  background: var(--white);
  transition: opacity 180ms var(--ease);
}

.clip.is-live {
  z-index: 1;
}

.clip.is-top {
  z-index: 2;
}

.clip.is-entering {
  opacity: 0;
  transition: none;
}

/* Was die Oma sagt */
.quote {
  max-width: 34ch;
  margin: 0 auto;
  padding: 0.25rem var(--gutter) 0;
  font-size: 1.0625rem;
  font-weight: 600;
  font-stretch: 92%;
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}

.quote.is-changing {
  opacity: 0;
  transform: translateY(4px);
}

.stage-body {
  display: contents;
}

.stage-close {
  display: none;
}

/* Handy: Ist die Bühne aus dem Bild gescrollt, dockt die Oma klein unten rechts an
   und sagt ihre Sätze als kurze Sprechblase. */
@media (max-width: 67.99rem) {
  .stage.is-docked .stage-body {
    display: block;
    position: fixed;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 30;
    width: 7.5rem;
    animation: oma-dock 380ms var(--ease);
    transition: transform 320ms var(--ease), opacity 220ms var(--ease), visibility 0s linear 0s;
  }

  .stage.is-docked .frame {
    height: 8.75rem;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 12px 30px -16px rgb(22 24 29 / 0.4);
  }

  .stage.is-docked .quote {
    position: absolute;
    right: calc(100% + 0.5rem);
    bottom: 1rem;
    width: max-content;
    max-width: min(14rem, calc(100vw - 10rem));
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--line-strong);
    border-radius: 14px 14px 4px 14px;
    background: var(--white);
    font-size: 0.9375rem;
    line-height: 1.3;
    text-align: left;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
  }

  .stage.is-docked.is-speaking .quote {
    opacity: 1;
    transform: none;
  }

  /* Liegt unter ihrer Ecke etwas zum Antippen oder Ansehen (assets/oma.js), gleitet sie nach unten weg. */
  .stage.is-docked.is-tucked .stage-body {
    transform: translateY(calc(100% + 1.5rem));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 320ms var(--ease), opacity 220ms var(--ease), visibility 0s linear 320ms;
  }

  .stage.is-docked.is-speaking .quote.is-changing {
    opacity: 0;
  }

  .stage.is-docked .stage-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: -0.9rem;
    left: -0.9rem;
    z-index: 1;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    cursor: pointer;
  }

  .stage.is-docked .stage-close::before {
    content: '';
    position: absolute;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--white);
    transition: background-color 180ms var(--ease);
  }

  .stage.is-docked .stage-close:hover::before {
    background: var(--accent-wash);
  }

  .stage.is-docked .stage-close svg {
    position: relative;
    width: 0.95rem;
    height: 0.95rem;
  }
}

@keyframes oma-dock {
  from {
    transform: translateY(1.5rem);
  }
}

@media (min-width: 68rem) {
  .stage {
    position: fixed;
    top: 0;
    right: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    width: var(--stage-w);
    height: 100svh;
  }

  .frame {
    height: auto;
  }

  .clip {
    height: 84%;
    bottom: 1rem;
  }

  .quote {
    order: -1;
    max-width: 27ch;
    min-height: 3.6em;
    padding: clamp(6rem, 13svh, 8.5rem) 1.75rem 0;
    font-size: clamp(1.375rem, 0.6rem + 1vw, 2rem);
    font-weight: 650;
    font-stretch: 90%;
    line-height: 1.12;
    letter-spacing: -0.015em;
  }
}

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

  .stage.is-docked .stage-body,
  .stage.is-docked.is-tucked .stage-body {
    animation: none;
    transition: none;
  }
}

main {
  padding: 0 var(--gutter);
}

/* Hero */
.hero {
  padding-top: clamp(1.25rem, 4vw, 4rem);
}

/* Zweistufige H1: oben groß das Angebot, darunter die Videoarten als Suchbegriffe. */
h1 {
  font-stretch: 90%;
  letter-spacing: -0.02em;
}

.h1-main {
  display: block;
  max-width: 14ch;
  font-size: clamp(2.5rem, 1rem + 4.2vw, 5rem);
  line-height: 0.98;
}

.h1-sub {
  display: block;
  max-width: 32ch;
  margin-top: clamp(0.85rem, 1.5vw, 1.25rem);
  font-size: clamp(1.25rem, 0.95rem + 1vw, 1.875rem);
  font-weight: 600;
  font-stretch: 92%;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.nowrap {
  white-space: nowrap;
}

/* Vier Fakten statt Fließtext: Tinte, kein Türkis (Häkchen sind keine Handlung). */
.checks {
  display: grid;
  gap: 0.55rem;
  max-width: 46ch;
  margin-top: clamp(1.5rem, 2.5vw, 2rem);
  padding: 0;
  list-style: none;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.4;
}

.checks li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.checks svg {
  flex: none;
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.05em;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checks a {
  font-weight: 600;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 180ms var(--ease);
}

.checks a:hover {
  text-decoration-color: var(--ink);
}

/* Kurzformular im Hero: Name und E-Mail, darunter der eine Button. */
.enquiry--quick {
  max-width: 40rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  gap: 1rem;
}

.enquiry--quick .enquiry-foot {
  margin-top: 0;
}

.enquiry--quick .enquiry-note {
  max-width: 30ch;
}

/* Breite Inhaltsspalte (große Bildschirme): Häkchen links, Kurzformular rechts, darüber die H1 über
   die ganze Breite. So endet der Hero nicht mitten in der Spalte. */
@container spalte (min-width: 50rem) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    column-gap: 3.5rem;
    align-items: start;
  }

  .hero h1 {
    grid-column: 1 / -1;
  }

  .hero .checks,
  .hero .enquiry--quick {
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
  }
}

/* Oma Hilde zeigt nach dem Winken auf diesen Button: kurz der Ziel-Ring. */
.btn.is-pointed {
  box-shadow: 0 0 0 4px var(--accent-wash), 0 10px 24px -10px rgb(47 111 121 / 0.7);
  transition: box-shadow 500ms var(--ease);
}

/* Handy: das Formular steht vor den Häkchen, damit der Button im ersten Bildschirm liegt. */
@media (max-width: 39.99rem) {
  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero .enquiry--quick {
    order: 1;
    margin-top: 1.5rem;
  }

  .hero .checks {
    order: 2;
    margin-top: 1.75rem;
  }
}

/* Solange ein türkiser Button im Inhalt zu sehen ist (Hero, empfohlenes Paket, Formular, Footer),
   ist der Kopfzeilen-Button nur umrandet: pro Bildschirm leuchtet eine Handlung.
   Der Wechsel zwischen gefüllt und umrandet passiert ohne Überblendung. Eine Überblendung von
   Türkis mit weißer Schrift zu Weiß mit dunkler Schrift läuft durch ein blasses Grau-Türkis,
   das wie ein ausgeschalteter Button aussieht. */
.top .btn {
  transition: transform 180ms var(--ease);
}

.hero-cta-visible .top .btn {
  background: var(--white);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.hero-cta-visible .top .btn:hover {
  background: var(--ink);
  color: var(--white);
}

/* Beispielvideos */
.examples-section {
  padding-top: clamp(4.5rem, 9vw, 7rem);
}

/* Reiter nach Einsatzzweck: ruhige Pillen ohne Rahmen; der gewählte ist mit Tinte gefüllt
   (Türkis bleibt dem Hauptbutton und dem Ziel der Oma vorbehalten). Am Handy brechen die
   Pillen um, statt seitlich zu scrollen, damit alle fünf sichtbar sind. */
.example-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 1.75rem;
}

.example-tab {
  flex: none;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600; /* gleich für alle Zustände, damit die Pillen beim Auswählen nicht springen */
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}

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

.example-tab[aria-selected='true'] {
  background: var(--ink);
  color: var(--white);
}

/* Ein Video pro Reiter, und das soll man sehen: Querformat über die volle Spaltenbreite,
   Hochformat so hoch, wie der Bildschirm es zulässt (höchstens 78 % der Höhe bzw. 42rem). */
.example-media {
  position: relative;
  width: 100%;
  max-width: 64rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: var(--ink);
}

.example-media.is-portrait {
  aspect-ratio: 9 / 16;
  width: min(100%, calc(min(78svh, 42rem) * 9 / 16));
}

.example-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  accent-color: var(--accent);
}

.example-media.is-pending {
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-strong);
  background: var(--white);
  font-size: 0.875rem;
  color: var(--muted);
}


/* Abschnitte */
.section {
  padding-top: var(--section);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  font-stretch: 92%;
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.section-head p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--muted);
}

[data-oma-target] {
  transition: box-shadow 500ms var(--ease), border-color 500ms var(--ease), background-color 500ms var(--ease);
}

/* Videoarten */
.types {
  padding: 0;
  list-style: none;
}

.type {
  display: grid;
  gap: 0.5rem 2rem;
  padding: 1.5rem 0;
}

.type h3 {
  font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.375rem);
  font-stretch: 92%;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.type p {
  max-width: 44ch;
}

.type .use {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.type .use span {
  font-weight: 650;
  color: var(--ink);
}

/* Leiser Textlink zum passenden Beispielvideo, damit die Videoart keine Sackgasse ist. */
.type-link {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.35rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.2em;
  transition: text-decoration-color 180ms var(--ease);
}

.type-link:hover {
  text-decoration-color: var(--ink);
}

.type.is-pointed {
  background: var(--accent-wash);
  box-shadow: -1rem 0 0 var(--accent-wash), 1rem 0 0 var(--accent-wash);
}

@media (min-width: 48rem) {
  .type {
    grid-template-columns: minmax(12rem, 0.9fr) 1.4fr;
    align-items: baseline;
  }
}

/* Preise. Das Raster richtet sich nach der Breite der Inhaltsspalte, nicht nach dem Fenster
   (neben der Bühne ist sie viel schmaler als das Fenster): unter 30rem untereinander, 30 bis 38rem
   als Zeilen (Name, Preis, Button links, Leistungen rechts), ab 38rem drei Spalten, bis 50rem kompakt. */
#preise {
  container: preise / inline-size;
}

.tiers {
  display: grid;
  gap: 1rem;
}

/* Ab 38rem Spalte stehen die Pakete nebeneinander, damit man sie vergleichen kann (bei 1280 px
   Fenster ist die Spalte neben der Bühne rund 640 px breit, mit Windows-Scrollleiste etwas weniger,
   deshalb 38rem und nicht 40). Bis 50rem in kompakter Form (siehe unten). */
@container preise (min-width: 38rem) {
  .tiers {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

@container preise (min-width: 50rem) {
  .tiers {
    gap: 1rem;
  }
}

.tier {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
}

.tier h3 {
  font-size: 1.375rem;
  font-stretch: 90%;
  letter-spacing: -0.01em;
}

.price {
  margin-top: 1.25rem;
  font-size: clamp(2.25rem, 1.8rem + 1.4vw, 3rem);
  font-weight: 750;
  font-stretch: 84%;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.pitch {
  margin-top: 0.85rem;
  color: var(--muted);
}

.tier ul {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
  padding: 1.25rem 0 0;
  list-style: none;
}

.tier li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.6rem;
  font-size: 1rem;
  line-height: 1.4;
}

.tier li svg {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tier .btn {
  margin-top: auto;
  justify-content: center;
  white-space: normal;
  text-align: center;
}

/* Mittlere Spaltenbreite: jedes Paket als Zeile mit zwei Spalten. */
@container preise (min-width: 30rem) and (max-width: 37.99rem) {
  .tier {
    display: grid;
    /* Feste Mindestbreite links (Preis, Button und Satz passen sicher hinein), damit alle drei
       Leistungslisten auf derselben Linie beginnen. */
    grid-template-columns: minmax(13rem, 1fr) minmax(0, 1.15fr);
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas:
      'name list'
      'price list'
      'pitch list'
      'btn list';
    column-gap: 2rem;
    padding: 1.75rem;
  }

  .tier h3 {
    grid-area: name;
  }

  .tier .price {
    grid-area: price;
  }

  .tier .pitch {
    grid-area: pitch;
    max-width: 24ch;
  }

  .tier ul {
    grid-area: list;
    align-self: start;
    margin: 0;
    padding: 0.2rem 0 0;
  }

  .tier .btn {
    grid-area: btn;
    align-self: end;
    justify-self: start;
    margin-top: 1.5rem;
    white-space: nowrap;
  }
}

/* Kompakte drei Spalten (38 bis 50rem Spalte, also typische Laptops): weniger Innenabstand,
   kleinere Schrift, kleiner Button. Preis, Paketname und Button bleiben einzeilig. */
@container preise (min-width: 38rem) and (max-width: 49.99rem) {
  .tier {
    padding: 1.4rem 1rem 1rem;
  }

  .tier h3 {
    font-size: 1.125rem;
  }

  .tier .price {
    margin-top: 0.9rem;
    font-size: 2.25rem;
  }

  .tier .price span {
    font-size: 0.9375rem;
  }

  .tier .pitch {
    font-size: 0.9375rem;
    line-height: 1.45;
  }

  .tier ul {
    margin: 1.1rem 0 1.5rem;
    padding-top: 0.9rem;
  }

  .tier li {
    grid-template-columns: 1.1rem 1fr;
    gap: 0.5rem;
    font-size: 0.9375rem;
  }

  .tier li svg {
    width: 1rem;
    height: 1rem;
  }

  .tier .btn {
    min-height: 2.75rem;
    padding: 0 0.8rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }
}

.tier--featured {
  border: 1.5px solid var(--ink);
}

.tier.is-pointed {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-wash);
}

.draft-note {
  margin-bottom: 1.25rem;
  padding: 0.6rem 0.9rem;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--muted);
}

.close .draft-note {
  display: inline-block;
  margin: 1.25rem 0 0;
}

.aside {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.aside a {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 180ms var(--ease);
}

.aside a:hover {
  text-decoration-color: var(--ink);
}

/* Ablauf */
.steps {
  display: grid;
  gap: 2rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
  }
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
}

.step-no {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.steps h3 {
  align-self: center;
  font-size: 1.375rem;
  font-stretch: 90%;
  letter-spacing: -0.01em;
}

.steps p {
  max-width: 38ch;
  color: var(--muted);
}

/* Über Jens */
.about {
  display: grid;
  gap: 2rem;
  align-items: center;
}

/* Foto und Text nebeneinander erst, wenn die Inhaltsspalte breit genug ist (nicht das Fenster):
   neben der Bühne bliebe auf Laptops nur ein schmaler Textstreifen, die Überschrift bräche in fünf Zeilen. */
main {
  container: spalte / inline-size;
}

@container spalte (min-width: 50rem) {
  .about {
    grid-template-columns: minmax(14rem, 0.8fr) 1.2fr;
    gap: 3rem;
  }
}

.portrait {
  display: block;
  width: min(100%, 20rem);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  background: var(--line);
}

@container spalte (min-width: 50rem) {
  .portrait {
    width: 100%;
    max-width: 22rem;
  }
}

.about h2 {
  font-size: clamp(1.875rem, 1.3rem + 2vw, 3rem);
}

.about p {
  max-width: 52ch;
  margin-top: 1.25rem;
  font-size: 1.125rem;
}

.about .small {
  font-size: 1rem;
  color: var(--muted);
}

/* Belegbare Fakten zu Jens, im Muster der „Gut für“-Zeilen der Videoarten: Etikett in Tinte, Rest gedämpft. */
.facts {
  display: grid;
  gap: 0.65rem;
  max-width: 52ch;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--muted);
}

.facts li > span:first-child {
  margin-right: 0.3em;
  font-weight: 650;
  color: var(--ink);
}

.facts a {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 180ms var(--ease);
}

.facts a:hover {
  text-decoration-color: var(--ink);
}

.facts a svg {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.2em;
  vertical-align: -0.05em;
}

/* Fragen */
.faq {
  max-width: 48rem;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary h3 {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  font-weight: 620;
  line-height: 1.3;
}

.plus {
  position: relative;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transition: background-color 220ms var(--ease), transform 300ms var(--ease);
}

.plus::before,
.plus::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.7rem;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

details[open] .plus {
  transform: rotate(45deg);
}

summary:hover .plus {
  background: var(--accent-wash);
}

details p {
  max-width: 60ch;
  padding-bottom: 1.5rem;
  color: var(--muted);
}

/* Abschluss */
.close {
  padding-bottom: var(--section);
}

.close h2 {
  font-size: clamp(2.375rem, 1.2rem + 4.2vw, 5.25rem);
  font-stretch: 90%;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.close > p {
  max-width: 44ch;
  margin: 1.25rem 0 2rem;
  font-size: 1.1875rem;
  color: var(--muted);
}

/* Was nach dem Absenden passiert: Gesicht, Antwortzeit, gratis, Telefon. Direkt vor dem Formular,
   damit die Fragen beantwortet sind, bevor jemand tippt. */
.promise {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2.25rem;
}

.promise-face {
  flex: none;
  width: 4.75rem;
  height: 4.75rem;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 10px;
  background: var(--line);
}

.promise-list {
  display: grid;
  gap: 0.35rem;
  padding: 0;
  list-style: none;
  font-size: 1.0625rem;
  line-height: 1.4;
}

.promise-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.promise-list svg {
  flex: none;
  width: 1.15em;
  height: 1.15em;
  margin-top: 0.1em;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.promise-list a {
  font-weight: 600;
  white-space: nowrap;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 180ms var(--ease);
}

.promise-list a:hover {
  text-decoration-color: var(--ink);
}

/* Am Handy kleineres Foto und etwas kleinere Schrift, damit jede Zusage in eine Zeile passt. */
@media (max-width: 39.99rem) {
  .promise {
    gap: 0.85rem;
  }

  .promise-face {
    width: 3.5rem;
    height: 3.5rem;
  }

  .promise-list {
    font-size: 0.9375rem;
  }
}

/* Rechtliche Seiten */
.legal {
  max-width: 48rem;
  padding: var(--section) var(--gutter);
}

.legal h1 {
  margin-bottom: 2rem;
}

.legal-sub {
  margin: 3rem 0 0.75rem;
  font-size: 1.375rem;
  font-stretch: 90%;
  letter-spacing: -0.01em;
}

.legal p {
  max-width: 60ch;
}

.legal p + p {
  margin-top: 1.5rem;
}

/* Anfrageformular. Eingabefelder sind die bewusste Ausnahme von der Keine-Linien-Regel:
   ohne sichtbaren Rand erkennt man sie nicht als Feld (Kontrast mindestens 3:1). */
.enquiry {
  display: grid;
  gap: 1.25rem 1.25rem;
  max-width: 44rem;
}

@media (min-width: 40rem) {
  .enquiry {
    grid-template-columns: 1fr 1fr;
  }

  .enquiry .field--wide {
    grid-column: 1 / -1;
  }
}

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

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

.field .optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid #868d97;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
  line-height: 1.5;
}

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

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}

.field [aria-invalid='true'] {
  border-color: #b42318;
}

.field-error {
  font-size: 0.875rem;
  color: #b42318;
}

.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.enquiry-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.25rem;
}

.enquiry-foot .btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.enquiry-foot .btn:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.enquiry-note {
  max-width: 34ch;
  font-size: 0.875rem;
  color: var(--muted);
}

.enquiry-status {
  font-weight: 620;
}

.enquiry-status:empty {
  display: none;
}

.enquiry-status[data-kind='ok'] {
  padding: 1rem 1.15rem;
  border-radius: 10px;
  background: var(--accent-wash);
  color: var(--ink);
}

.enquiry-status[data-kind='error'] {
  color: #b42318;
}

.enquiry.is-sent .field,
.enquiry.is-sent .enquiry-foot {
  display: none;
}

/* Fußzeile: drei Spalten, darunter das Band, in das Oma Hilde zum Abschied läuft. */
.foot {
  padding: clamp(4rem, 8vw, 6rem) var(--gutter) 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.foot p {
  margin: 0;
}

/* Drei Spalten, wo Platz ist; neben der Bühne oder am Handy brechen sie um. */
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 2.25rem 2rem;
}

.foot-logo {
  display: inline-block;
  margin-bottom: 1rem;
  line-height: 0;
}

.foot-logo img {
  width: auto;
  height: 3.25rem;
}

.foot-brand p {
  max-width: 32ch;
}

.foot-label {
  margin-bottom: 0.6rem !important;
  color: var(--ink);
  font-weight: 620;
}

.foot a:not(.foot-logo, .btn) {
  color: var(--ink);
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 180ms var(--ease);
}

.foot a:not(.foot-logo, .btn):hover {
  text-decoration-color: var(--ink);
}

/* Letzte Gelegenheit vor dem Abschied der Oma: eine kleine türkise Handlung unter der Mailadresse. */
.foot-cta {
  margin-top: 1.25rem;
}

.foot li a {
  white-space: nowrap;
}

.foot a svg {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.2em;
  vertical-align: -0.05em;
}

.foot ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-copy {
  margin-top: 2.25rem !important;
  font-size: 0.875rem;
}

/* Das Band reicht bis an beide Bildränder, am Desktop auch unter die Bühne:
   Die Oma verlässt dort ihre Bühne (.stage.is-away) und läuft von rechts herein. */
.foot-band {
  position: relative;
  height: clamp(11rem, 21vw, 17rem);
  margin: clamp(1.5rem, 4vw, 3rem) calc(-1 * (var(--gutter) + var(--stage-w))) 0 calc(-1 * var(--gutter));
  overflow: hidden;
  background: var(--white);
}

.foot-oma {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  aspect-ratio: 16 / 9;
}

.foot-oma video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foot-bubble {
  position: absolute;
  right: 60%;
  top: 10%;
  width: max-content;
  max-width: min(15rem, 40vw);
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px 14px 4px 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  font-stretch: 92%;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}

.foot-band.is-waving .foot-bubble,
.foot-band.is-done .foot-bubble {
  opacity: 1;
  transform: none;
}

@media (min-width: 68rem) {
  .foot-bubble {
    font-size: 1.0625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .foot-bubble {
    transition: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
