/* ==========================================================================
   BRF Media – Stylesheet („Feed“-Design)
   Mobile first. Alle Schriften lokal, keine externen Ressourcen.
   ========================================================================== */

/* ---------- Schriften (SIL Open Font License, siehe /fonts) ---------- */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ---------- Variablen ---------- */

:root {
  --black: #111111;
  --grey-dark: #6B6B6B;
  --grey-light: #E6E6E4;
  --white: #FFFFFF;

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: 1.25rem;
  --max: 76rem;
  --radius: 1.25rem;
  --header-height: 4rem;
  --section-space: 5rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 48rem) {
  :root {
    --gutter: 2.5rem;
    --section-space: 7rem;
  }
}

@media (min-width: 72rem) {
  :root {
    --section-space: 9rem;
  }
}

/* ---------- Basis ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html.menu-open {
  overflow: hidden;
  background: var(--black); /* auch der Streifen, wo sonst der Scrollbalken ist */
}

/* Platz für den Scrollbalken immer freihalten, damit die Seite beim Öffnen des Menüs nicht zur Seite springt */
html {
  scrollbar-gutter: stable;
}

/* "hidden" gewinnt immer, auch gegen display-Regeln weiter unten */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

p,
figure,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

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

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Bausteine ---------- */

.title {
  max-width: 14ch;
  margin: 1.25rem 0 2.5rem;
  font-size: clamp(2.6rem, 12vw, 6rem);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pill::before {
  content: "";
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}

.pill--dark {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.pill--light {
  color: var(--white);
}

@keyframes pulse {
  50% { opacity: .25; }
}

.line--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--black);
}

.line--outline-light {
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}

/* ---------- Buttons ---------- */

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 1rem 1.75rem;
  border: 2px solid var(--black);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
}

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

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

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

/* ---------- Kopfzeile ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  height: var(--header-height);
  padding: 0 var(--gutter);
  background: rgba(230, 230, 228, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header--white {
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--grey-light);
}

/* Startseite: Logo oben groß, beim Runterscrollen schrumpft es auf Normalgröße.
   --g läuft per JS von 1 (ganz oben) auf 0. Der Platz im Layout bleibt gleich
   (negativer Abstand unten), deshalb springt der Inhalt beim Scrollen nicht. */
html {
  --g: 0; /* wird per JS auf <html> gesetzt, damit auch das Menü die Leistenhöhe kennt */
}

.site-header[data-grow] {
  grid-template-rows: var(--header-height);
  align-content: start;
  height: calc(var(--header-height) + var(--g) * 3rem);
  margin-bottom: calc(var(--g) * -3rem);
}

.site-header[data-grow] .menu-toggle { grid-column: 1; }
.site-header[data-grow] .site-header__cta { grid-column: 3; }

.site-header[data-grow] .site-header__logo {
  position: absolute;
  left: 50%;
  top: calc(var(--header-height) / 2);
  width: max-content; /* sonst wird das große Logo gestaucht und sitzt nicht mittig */
  line-height: 0;
  /* Größe über die Breite statt über scale(), damit die SVG immer scharf neu gezeichnet wird */
  transform: translate(-50%, calc(-50% + min(1, var(--g) * 1.6) * 3.2rem));
}

.site-header[data-grow] .site-header__logo img {
  width: calc(5.5rem * (1 + var(--g)));
}

.menu-toggle {
  justify-self: start;
  display: grid;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.85rem 0.55rem;
  margin-left: -0.55rem;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--black);
  transition: transform .45s var(--ease), opacity .25s var(--ease), background-color .35s var(--ease);
}

/* Offen: die drei Striche werden an derselben Stelle zum × */
.menu-toggle[aria-expanded="true"] span { background: var(--white); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Offen: die Leiste liegt über dem Menü und wird mit ihm schwarz */
.site-header {
  transition: background-color .35s var(--ease);
}

.site-header__logo img,
.site-header__cta {
  transition: filter .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease);
}

html.menu-open .site-header {
  z-index: 110;
  background: var(--black);
}

/* Beim Öffnen sofort schwarz (sonst sieht man kurz einen hellen Streifen über dem Menü);
   nur beim Schließen wird zurück ins Grau überblendet. */
html.menu-open .site-header,
html.menu-open .site-header__logo img,
html.menu-open .site-header__cta {
  transition-duration: 0s;
}

html.menu-open .site-header__logo img {
  filter: invert(1); /* schwarzes Logo wird weiß */
}

html.menu-open .site-header__cta {
  background: var(--white);
  color: var(--black);
}

.site-header__logo {
  justify-self: center;
}

.site-header__logo img {
  width: 5.5rem;
}

.site-header__cta {
  justify-self: end;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
}

.site-header__cta { white-space: nowrap; }

/* Handy: nur "Termin", damit die Pille nicht größer wirkt als das Logo */
.site-header__cta-short { display: none; }

@media (max-width: 47.99rem) {
  .site-header__cta {
    padding: 0.5rem 0.95rem;
  }

  .site-header__cta-long { display: none; }
  .site-header__cta-short { display: inline; }
}

/* ---------- Menü (klappt aus der Leiste auf) ---------- */

/* Liegt unter der Leiste und zieht sich von oben nach unten auf (Schließen: umgekehrt).
   Beim Schließen blenden erst die Einträge aus, dann fährt die Fläche hoch. */
.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: calc(var(--header-height) + var(--g) * 3rem + 1rem) max(var(--gutter), calc((100% - var(--max)) / 2)) 2rem;
  background: var(--black);
  color: var(--white);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease) .12s;
}

.menu[hidden] {
  display: none;
}

.menu.is-open {
  clip-path: inset(0 0 0 0);
  transition-delay: 0s;
}

.menu__nav {
  flex: 1 0 auto;
  width: 100%;
  max-width: 44rem;
  padding: 0.75rem 0 1.5rem;
}

.menu__list > li {
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

/* Einträge: beim Öffnen nacheinander rein, beim Schließen alle zusammen schnell raus */
.menu__list > li,
.menu__cta,
.menu__contact {
  opacity: 0;
  transform: translateY(-0.75rem);
  transition: opacity .2s var(--ease), transform .3s var(--ease);
}

.menu.is-open .menu__list > li,
.menu.is-open .menu__cta,
.menu.is-open .menu__contact {
  opacity: 1;
  transform: none;
  transition-duration: .5s;
}

.menu.is-open .menu__list > li:nth-child(1) { transition-delay: .15s; }
.menu.is-open .menu__list > li:nth-child(2) { transition-delay: .19s; }
.menu.is-open .menu__list > li:nth-child(3) { transition-delay: .23s; }
.menu.is-open .menu__list > li:nth-child(4) { transition-delay: .27s; }
.menu.is-open .menu__list > li:nth-child(5) { transition-delay: .31s; }
.menu.is-open .menu__list > li:nth-child(6) { transition-delay: .35s; }
.menu.is-open .menu__list > li:nth-child(7) { transition-delay: .39s; }
.menu.is-open .menu__list > li:nth-child(8) { transition-delay: .43s; }
.menu.is-open .menu__cta { transition-delay: .3s; }
.menu.is-open .menu__contact { transition-delay: .38s; }

.menu__list > li > a,
.menu__sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.55rem 0;
  border: 0;
  background: none;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.9rem, 8vw, 3.2rem);
  line-height: 1.15;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s var(--ease), padding-left .25s var(--ease);
}

.menu__list > li > a:hover,
.menu__sub-toggle:hover {
  padding-left: 0.5rem;
  color: var(--grey-light);
}

.menu__chevron {
  width: 0.4em;
  height: 0.4em;
  margin-right: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-25%) rotate(45deg);
  transition: transform .3s var(--ease);
}

.menu__sub-toggle[aria-expanded="true"] .menu__chevron {
  transform: translateY(25%) rotate(-135deg);
}

.menu__sub {
  display: grid;
  gap: 0.5rem;
  padding: 0.25rem 0 1.25rem;
  animation: drop .3s var(--ease);
}

.menu__sub a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.menu__sub a span {
  font-weight: 400;
  text-transform: none;
  color: var(--grey-light);
}

.menu__sub a:hover {
  background: rgba(255, 255, 255, .2);
}

@keyframes drop {
  from { opacity: 0; transform: translateY(-0.5rem); }
}

.menu__aside {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.menu__cta {
  width: 100%;
}

.menu__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  color: var(--grey-light);
  font-size: 0.92rem;
}

.menu__contact a {
  text-decoration: none;
}

@media (min-width: 36rem) {
  .menu__cta {
    width: auto;
  }
}

/* Computer: zwei Spalten – links die Punkte, rechts Erstgespräch und Kontakt, damit die Seite nicht leer wirkt */
@media (min-width: 60rem) {
  .menu {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-content: center;
    column-gap: 5rem;
  }

  .menu__nav {
    grid-column: 1;
    max-width: none;
  }

  .menu__aside {
    grid-column: 2;
    align-content: center;
    gap: 2.5rem;
    padding: 0 0 2rem 4rem;
    border-left: 1px solid rgba(255, 255, 255, .15);
  }

  .menu__contact {
    flex-direction: column;
    gap: 0.5rem;
    font-family: var(--display);
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--white);
  }

  .menu__contact a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }
}

/* ---------- Video-Flächen ---------- */

.media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #2a2a2a;
}

/* Bewegter Platzhalter, solange (noch) kein Video da ist */
.media__placeholder {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 30% at var(--x, 35%) var(--y, 35%), rgba(230, 230, 228, .8), transparent 70%),
    radial-gradient(45% 40% at calc(100% - var(--x, 35%)) calc(100% - var(--y, 35%)), rgba(107, 107, 107, .9), transparent 70%),
    linear-gradient(200deg, #3a3a3a, #111111);
  filter: blur(16px);
  animation: drift var(--d, 9s) ease-in-out infinite alternate;
}

@keyframes drift {
  to { transform: translate3d(8%, -6%, 0) scale(1.15) rotate(-3deg); }
}

.media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s var(--ease);
}

.media__video.is-ready,
.media__video[poster] {
  opacity: 1;
}

/* Story-Balken oben im Video */
.ui__bars {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  display: flex;
  gap: 4px;
}

.ui__bars i {
  flex: 1;
  height: 2.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .35);
  overflow: hidden;
}

.ui__bars i:first-child {
  background: var(--white);
}

.ui__bars i:nth-child(2)::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--white);
  transform-origin: left;
  animation: progress var(--d, 6s) linear infinite;
}

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

/* ---------- Hero ---------- */

.hero {
  display: grid;
  gap: 3rem;
  padding: 4rem var(--gutter) 4rem; /* oben Platz für das große Logo */
  background: var(--grey-light);
  overflow: hidden;
}

.hero__title {
  margin: 1.25rem 0 1.5rem;
  font-size: clamp(3rem, 15.5vw, 8.5rem);
  line-height: 1.18; /* Platz für Umlaut-Punkte (FÜR, KÖLN) */
}

.line {
  display: block;
  animation: line-in .9s var(--ease) both;
}

.line:nth-child(2) { animation-delay: .08s; }
.line:nth-child(3) { animation-delay: .16s; }
.line:nth-child(4) { animation-delay: .24s; }

@keyframes line-in {
  from { opacity: 0; transform: translateY(40%); }
}

.hero__lead {
  max-width: 30rem;
  margin-bottom: 1.75rem;
  font-size: 1.1rem;
}

.hero__note {
  max-width: 24rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

.hero__phone {
  display: grid;
  justify-items: center;
}

.phone {
  width: min(72vw, 19rem);
  padding: 0.55rem;
  border-radius: 2.6rem;
  background: var(--black);
  box-shadow: 0 2rem 4rem -1.5rem rgba(17, 17, 17, .55);
  transform: rotate(-4deg);
  animation:
    phone-in 1.2s var(--ease) both .3s,
    phone-float 5s ease-in-out 1.5s infinite alternate;
}

/* Handy schwebt leicht auf und ab */
@keyframes phone-float {
  from { translate: 0 0; }
  to { translate: 0 -0.7rem; }
}

@keyframes phone-in {
  from { opacity: 0; transform: rotate(-10deg) translateY(3rem); }
}

.phone__screen {
  position: relative;
  aspect-ratio: 9 / 19;
  overflow: hidden;
  border-radius: 2.1rem;
  isolation: isolate;
}

.phone__screen .media {
  z-index: -1;
}

.ui {
  position: absolute;
  inset: 0;
  color: var(--white);
  background: linear-gradient(to bottom, rgba(17, 17, 17, .3), transparent 20%, transparent 55%, rgba(17, 17, 17, .75));
  pointer-events: none;
}

.ui .ui__bars {
  top: 1.4rem;
  left: 1rem;
  right: 1rem;
}

.ui__side {
  position: absolute;
  right: 0.8rem;
  bottom: 6.5rem;
  display: grid;
  gap: 1.1rem;
}

.ui__side svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: var(--white);
}

.ui__side svg:first-child {
  animation: like 2.4s ease-in-out infinite;
}

@keyframes like {
  0%, 70%, 100% { transform: scale(1); }
  80% { transform: scale(1.3); }
}

.ui__caption {
  position: absolute;
  left: 1rem;
  right: 3.5rem;
  bottom: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.4;
}

.ui__handle {
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.ui__sound {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  opacity: .8;
}

/* Ton-Button fürs Begrüßungsvideo */
.sound-toggle {
  position: absolute;
  top: 2.6rem;
  left: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transform: translateX(-50%);
  box-shadow: 0 0.5rem 1.25rem -0.25rem rgba(17, 17, 17, .4);
}

.sound-toggle::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 0.38rem solid transparent;
  border-bottom: 0.38rem solid transparent;
  border-left: 0.6rem solid currentColor;
}

.sound-toggle[aria-pressed="true"]::before {
  width: 0.6rem;
  height: 0.7rem;
  border: 0;
  border-left: 0.2rem solid currentColor;
  border-right: 0.2rem solid currentColor;
}

@media (min-width: 60rem) {
  .hero {
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
    padding: 3rem max(var(--gutter), calc((100% - var(--max)) / 2)) 4rem;
  }

  .hero__title {
    font-size: clamp(4rem, 6.2vw, 7rem);
  }
}

/* ---------- Laufbänder ---------- */

.tape {
  padding: 3rem 0;
  overflow: hidden;
}

.tape__band {
  width: 110%;
  margin-left: -5%;
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.tape__band--dark {
  position: relative;
  z-index: 1;
  background: var(--black);
  color: var(--white);
  transform: rotate(-3deg);
}

.tape__band--grey {
  margin-top: -1.75rem;
  background: var(--grey-dark);
  color: var(--white);
  transform: rotate(2deg);
}

/* Dauer passt zur Länge der Bänder (mehr Wörter = länger), damit das Tempo gleich bleibt */
.tape__track {
  display: inline-flex;
  animation: marquee 42s linear infinite;
}

.tape__track--reverse {
  animation-direction: reverse;
  animation-duration: 68s;
}

.tape__track span {
  flex-shrink: 0;
}

.tape__track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-size: clamp(1.6rem, 7vw, 2.8rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.tape__track span::after {
  content: "";
  width: 0.35em;
  height: 0.35em;
  margin: 0 0.6em;
  border-radius: 50%;
  background: currentColor;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Abschnitte ---------- */

.section {
  padding: var(--section-space) 0;
  scroll-margin-top: var(--header-height);
}

.section--light {
  background: var(--grey-light);
}

/* Schmaler Streifen, z. B. für die FAQ-Leiste */
.section--compact {
  padding: 2.5rem 0;
}

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

.section--dark {
  background: var(--black);
  color: var(--white);
}

.section__note {
  max-width: 30rem;
  margin-top: 2rem;
  font-size: 1.1rem;
  font-weight: 500;
}

/* ---------- Vorher / Nachher ---------- */

.compare__intro {
  max-width: 40rem;
  margin: -0.5rem 0 2rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.compare__result {
  max-width: 40rem;
  margin-top: 2.5rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.compare__note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--grey-dark);
}

/* ---------- Vorher / Nachher: zwei Handys ----------
   Links das Profil vorher (schwarz, rote Zahlen), rechts nachher (weiß, grüne Zahlen), daneben je die
   Aussagen. Breit: Aussagen | Handy | Handy | Aussagen. Handy: Handys nebeneinander, Aussagen darunter.
   Zahlen laufen live, siehe setupCompare() in js/main.js. */

.hd {
  --red: #ff3b30;
  --green: #12a64a;
  --green-bright: #2bd45f;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: start;
  margin: 0 auto;
}

.hd__side {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  justify-items: center;
  min-width: 0;
}

.hd__tag {
  justify-self: stretch;
  font-family: var(--display);
  font-size: clamp(1.15rem, 4.2vw, 2rem);
  text-transform: uppercase;
  text-align: center;
}

.hd__side--before .hd__tag { color: #d92d20; }
.hd__side--after .hd__tag { color: var(--green); }

.hd__body {
  display: grid;
  gap: 1rem;
  justify-items: center;
  width: 100%;
}

/* Handy-Rahmen: Größe aus der Bildschirmhöhe, damit alles zusammen in ein Fenster passt */
.hd__phone {
  position: relative;
  container-type: inline-size;
  order: -1;
  width: min(100%, 17rem);
  padding: 0.5rem;
  border-radius: 2.2rem;
  box-shadow: 0 2rem 4rem -1.5rem rgba(17, 17, 17, .65);
}

.hd__side--before .hd__phone { background: #3b3b3b; rotate: -2.5deg; }
.hd__side--after .hd__phone { background: var(--black); rotate: 2.5deg; }

.hd__phone::before {
  content: "";
  position: absolute;
  top: 0.95rem;
  left: 50%;
  z-index: 2;
  width: 26%;
  height: 0.4rem;
  translate: -50% 0;
  border-radius: 99px;
  background: rgba(127, 127, 127, .45);
}

/* Alle Größen im Handy in em, Grundgröße aus der Handybreite (cqw) */
.hd__screen {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 1em;
  aspect-ratio: 9 / 17;
  padding: 3.4em 1em 1em;
  border-radius: 1.8rem;
  overflow: hidden;
  font-size: calc(100cqw / 21);
}

.hd__side--before .hd__screen { background: #0b0b0b; color: #f1f1ef; }
.hd__side--after .hd__screen { background: var(--white); color: var(--black); }

.hd__profile {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.15;
}

.hd__profile small {
  display: block;
  font-size: 0.78em;
  font-weight: 500;
  opacity: .6;
}

.hd__profile i {
  flex-shrink: 0;
  width: 2.6em;
  height: 2.6em;
  border-radius: 50%;
  background: currentColor;
  opacity: .22;
}

.hd__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3em;
  text-align: center;
}

.hd__stats > div {
  position: relative;
}

.hd__stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.7em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.hd__stats span {
  display: block;
  margin-top: 0.25em;
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: .65;
}

.hd__side--before .hd__stats strong { color: var(--red); }
.hd__side--after .hd__stats strong { color: var(--green); }

.hd__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35em;
  min-height: 0;
}

.hd__grid i {
  position: relative;
  display: block;
  border-radius: 0.5em;
  overflow: hidden;
}

/* Vorher: leere Felder mit blassem Plus, dazwischen ein paar triste Einzelfotos (Sonne + Berg) */
.hd__side--before .hd__grid i {
  border: 0.14em dashed rgba(255, 59, 48, .35);
  background:
    linear-gradient(rgba(255, 59, 48, .4), rgba(255, 59, 48, .4)) center / 28% 0.14em no-repeat,
    linear-gradient(rgba(255, 59, 48, .4), rgba(255, 59, 48, .4)) center / 0.14em 28% no-repeat;
}

.hd__side--before .hd__grid i:nth-child(1),
.hd__side--before .hd__grid i:nth-child(2),
.hd__side--before .hd__grid i:nth-child(4) {
  border: 0;
  background:
    radial-gradient(circle at 72% 30%, rgba(255, 255, 255, .22) 0 8%, transparent 9%),
    linear-gradient(170deg, #2e2e2e, #181818);
}

.hd__side--before .hd__grid i:nth-child(2) {
  background:
    radial-gradient(circle at 28% 34%, rgba(255, 255, 255, .2) 0 8%, transparent 9%),
    linear-gradient(190deg, #343130, #1b1a1a);
}

.hd__side--before .hd__grid i:nth-child(4) {
  background:
    radial-gradient(circle at 60% 26%, rgba(255, 255, 255, .18) 0 8%, transparent 9%),
    linear-gradient(160deg, #2a2d2e, #171818);
}

/* kleiner Berg unten in den Einzelfotos */
.hd__side--before .hd__grid i:nth-child(1)::before,
.hd__side--before .hd__grid i:nth-child(2)::before,
.hd__side--before .hd__grid i:nth-child(4)::before {
  content: "";
  position: absolute;
  left: 12%;
  bottom: 0;
  border-left: 1.5em solid transparent;
  border-right: 1.5em solid transparent;
  border-bottom: 1.4em solid rgba(255, 255, 255, .1);
}

/* Nachher: Videokacheln mit Play-Symbol und laufenden Views */
/* Jede Kachel ist ein kleines "Video": Person als Silhouette, farbiger Schein, Fortschrittsbalken unten.
   --hx und --p werden animiert (siehe @property): die Person wandert leicht, der Balken läuft durch. */
@property --hx {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 50%;
}

@property --p {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

.hd__side--after .hd__grid i {
  background:
    linear-gradient(var(--green-bright), var(--green-bright)) 0 100% / var(--p) 0.28em no-repeat,
    radial-gradient(circle at var(--hx) 36%, rgba(255, 255, 255, .34) 0 13%, transparent 14%),
    radial-gradient(ellipse 46% 36% at var(--hx) 100%, rgba(255, 255, 255, .28) 0 90%, transparent 91%),
    radial-gradient(circle at 20% 15%, var(--glow, rgba(43, 212, 95, .5)), transparent 60%),
    linear-gradient(160deg, var(--c1, #2c3a32), var(--c2, #0e1210));
}

.hd__side--after .hd__grid i:nth-child(1) { --hx: 42%; --c1: #25402f; --c2: #0d1410; }
.hd__side--after .hd__grid i:nth-child(2) { --hx: 58%; --c1: #2b3a44; --c2: #0e1317; --glow: rgba(90, 190, 255, .4); }
.hd__side--after .hd__grid i:nth-child(3) { --hx: 50%; --c1: #40382a; --c2: #15110c; --glow: rgba(255, 190, 80, .4); }
.hd__side--after .hd__grid i:nth-child(4) { --hx: 36%; --c1: #3a2c3d; --c2: #130f15; --glow: rgba(210, 120, 255, .38); }
.hd__side--after .hd__grid i:nth-child(5) { --hx: 62%; --c1: #234238; --c2: #0b1411; }
.hd__side--after .hd__grid i:nth-child(6) { --hx: 46%; --c1: #3f3030; --c2: #150e0e; --glow: rgba(255, 120, 110, .38); }
.hd__side--after .hd__grid i:nth-child(7) { --hx: 56%; --c1: #2a3a3d; --c2: #0d1415; --glow: rgba(80, 220, 210, .4); }
.hd__side--after .hd__grid i:nth-child(8) { --hx: 40%; --c1: #353d27; --c2: #11140c; --glow: rgba(190, 230, 80, .4); }
.hd__side--after .hd__grid i:nth-child(9) { --hx: 52%; --c1: #2c3345; --c2: #0e1018; --glow: rgba(120, 140, 255, .4); }

.hd__side--after .hd__grid i::before {
  content: "";
  position: absolute;
  left: 78%;
  top: 14%;
  translate: -30% -50%;
  border-left: 0.7em solid #fff;
  border-top: 0.43em solid transparent;
  border-bottom: 0.43em solid transparent;
  filter: drop-shadow(0 0 0.2em rgba(0, 0, 0, .5));
}

.hd__side--after .hd__grid b {
  position: absolute;
  left: 0.4em;
  bottom: 0.3em;
  z-index: 1;
  font-size: 0.62em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--green-bright);
}

/* Aussagen daneben bzw. darunter */
.hd__list {
  display: grid;
  gap: 0.6rem;
  width: 100%;
}

.hd__list li {
  position: relative;
  display: flex; /* Höhe gleicht js/main.js zwischen Vorher und Nachher an – Text bleibt mittig */
  align-items: center;
  padding: 0.65rem 0.6rem 0.65rem 1.9rem;
  border-radius: 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

.hd__side--before .hd__list li {
  background: var(--black);
  color: var(--red);
}

.hd__side--after .hd__list li {
  background: var(--white);
  color: var(--green);
}

.hd__side--before .hd__list li::before {
  content: "×";
  position: absolute;
  left: 0.55rem;
  top: 50%;
  translate: 0 -52%;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

.hd__side--after .hd__list li::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: calc(50% - 0.3rem);
  width: 0.6rem;
  height: 0.32rem;
  border-left: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  rotate: -45deg;
}

/* Pfeil zwischen den Seiten: am Handy ausgeblendet */
.hd__arrow {
  display: none;
}

/* Überschrift: "vorher" rot und wird durchgestrichen, "nachher" grün mit Unterstrich, der sich zieht und dann sanft pulsiert */
.hd-word {
  position: relative;
  display: inline-block;
}

.hd-word--before {
  color: #d92d20;
}

.hd-word--after {
  color: #12a64a;
}

.hd-word--before::after,
.hd-word--after::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  border-radius: 0.1em;
  transform-origin: left center;
}

.hd-word--before::after {
  top: 50%;
  height: 0.08em;
  background: #d92d20;
}

.hd-word--after::after {
  bottom: -0.02em;
  height: 0.1em;
  background: #2bd45f;
}

@media (prefers-reduced-motion: no-preference) {
  .js .hd-word::after {
    transform: scaleX(0);
  }

  .js .title.is-visible .hd-word--before {
    opacity: .55;
    transition: opacity .5s ease 1.3s;
  }

  .js .title.is-visible .hd-word--before::after {
    transform: scaleX(1);
    transition: transform .55s var(--ease) .8s;
  }

  .js .title.is-visible .hd-word--after::after {
    transform: scaleX(1);
    transition: transform .6s var(--ease) 1.5s;
  }

  .js .title.is-visible .hd-word--after {
    animation: hd-word-pulse 2.6s ease-in-out 2.4s infinite;
  }
}

@keyframes hd-word-pulse {
  50% { scale: 1.05; text-shadow: 0 0 0.35em rgba(43, 212, 95, .35); }
}
/* Kleine Pop-ups im Handy (+2, −1, Herzen) – erzeugt js/main.js */
.hd__pop {
  position: absolute;
  left: 50%;
  top: -0.2em;
  translate: -50% 0;
  font-size: 0.8em;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  animation: hd-pop 1.2s ease-out forwards;
}

.hd__pop--up { color: var(--green); }
.hd__pop--down { color: var(--red); }

.hd__heart {
  position: absolute;
  bottom: 1em;
  z-index: 3;
  font-size: 1.5em;
  line-height: 1;
  pointer-events: none;
  animation: hd-float 2.4s ease-in forwards;
}

.hd__side--after .hd__heart { color: var(--green-bright); }
.hd__side--before .hd__heart { color: var(--red); font-size: 1.1em; opacity: .9; }

.is-bump {
  animation: hd-bump .4s var(--ease);
}

@keyframes hd-pop {
  from { opacity: 0; translate: -50% 0.6em; }
  20% { opacity: 1; }
  to { opacity: 0; translate: -50% -1.8em; }
}

@keyframes hd-float {
  from { opacity: 0; translate: 0 0; scale: .6; }
  15% { opacity: 1; }
  to { opacity: 0; translate: var(--drift, 0) -26em; scale: 1.15; }
}

@keyframes hd-bump {
  40% { scale: 1.22; }
}

@keyframes hd-scene {
  from { --hx: 36%; }
  to { --hx: 64%; }
}

@keyframes hd-progress {
  from { --p: 0%; }
  to { --p: 100%; }
}

@keyframes hd-breathe {
  50% { opacity: .35; }
}

@keyframes hd-shine {
  from { translate: -120% 0; }
  to { translate: 220% 0; }
}

@keyframes hd-bob {
  50% { translate: 0 -0.4rem; }
}

@keyframes hd-play {
  50% { scale: 1.25; }
}

/* ---------- Auftritt und Dauerbewegung ---------- */

@media (prefers-reduced-motion: no-preference) {
  /* Beim Einblenden: Handys fahren rein, Kacheln poppen nacheinander auf, Aussagen kommen von der Seite */
  .js .hd__phone,
  .js .hd__tag {
    opacity: 0;
    translate: 0 3rem;
    transition: opacity .6s ease, translate .9s var(--ease), rotate .9s var(--ease);
  }

  .js .hd__side--after .hd__phone,
  .js .hd__side--after .hd__tag { transition-delay: .35s; }

  .js .hd.is-visible .hd__phone,
  .js .hd.is-visible .hd__tag {
    opacity: 1;
    translate: 0 0;
  }

  .js .hd__grid i {
    scale: .4;
    opacity: 0;
    transition: scale .5s cubic-bezier(.3, 1.8, .5, 1), opacity .3s ease;
  }

  .js .hd.is-visible .hd__grid i {
    scale: 1;
    opacity: 1;
  }

  .js .hd.is-visible .hd__side--before .hd__grid i:nth-child(n) { transition-delay: calc(.7s + var(--n, 0) * 70ms); }
  .js .hd.is-visible .hd__side--after .hd__grid i:nth-child(n) { transition-delay: calc(1.05s + var(--n, 0) * 90ms); }

  .hd__grid i:nth-child(1) { --n: 0; }
  .hd__grid i:nth-child(2) { --n: 1; }
  .hd__grid i:nth-child(3) { --n: 2; }
  .hd__grid i:nth-child(4) { --n: 3; }
  .hd__grid i:nth-child(5) { --n: 4; }
  .hd__grid i:nth-child(6) { --n: 5; }
  .hd__grid i:nth-child(7) { --n: 6; }
  .hd__grid i:nth-child(8) { --n: 7; }
  .hd__grid i:nth-child(9) { --n: 8; }

  .js .hd__list li {
    opacity: 0;
    transition: opacity .45s ease, translate .6s cubic-bezier(.3, 1.4, .5, 1);
  }

  .js .hd__side--before .hd__list li { translate: -2.5rem 0; }
  .js .hd__side--after .hd__list li { translate: 2.5rem 0; }

  .js .hd.is-visible .hd__list li {
    opacity: 1;
    translate: 0 0;
  }

  .js .hd.is-visible .hd__side--before .hd__list li:nth-child(1) { transition-delay: .5s; }
  .js .hd.is-visible .hd__side--before .hd__list li:nth-child(2) { transition-delay: .62s; }
  .js .hd.is-visible .hd__side--before .hd__list li:nth-child(3) { transition-delay: .74s; }
  .js .hd.is-visible .hd__side--before .hd__list li:nth-child(4) { transition-delay: .86s; }
  .js .hd.is-visible .hd__side--before .hd__list li:nth-child(5) { transition-delay: .98s; }
  .js .hd.is-visible .hd__side--after .hd__list li:nth-child(1) { transition-delay: .95s; }
  .js .hd.is-visible .hd__side--after .hd__list li:nth-child(2) { transition-delay: 1.07s; }
  .js .hd.is-visible .hd__side--after .hd__list li:nth-child(3) { transition-delay: 1.19s; }
  .js .hd.is-visible .hd__side--after .hd__list li:nth-child(4) { transition-delay: 1.31s; }
  .js .hd.is-visible .hd__side--after .hd__list li:nth-child(5) { transition-delay: 1.43s; }

  /* Dauerbewegung nachher: Handy schwebt, Play-Symbole pulsieren, Glanz läuft über die Kacheln */
  .js .hd.is-visible .hd__side--after .hd__phone {
    animation: hd-bob 5s ease-in-out 1.6s infinite;
  }

  .hd__side--after .hd__grid i {
    animation: hd-scene 6s ease-in-out infinite alternate, hd-progress 5s linear infinite;
    animation-delay: calc(var(--n, 0) * -0.7s), calc(var(--n, 0) * -0.55s);
  }

  .hd__side--after .hd__grid i::before {
    animation: hd-play 2.4s ease-in-out infinite;
    animation-delay: calc(var(--n, 0) * 0.3s);
  }

  .hd__side--after .hd__grid i::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
    animation: hd-shine 3.6s ease-in-out infinite;
    animation-delay: calc(var(--n, 0) * 0.45s);
  }

  /* Dauerbewegung vorher: die leeren Felder "atmen" ganz langsam */
  .hd__side--before .hd__grid i:nth-child(n+5),
  .hd__side--before .hd__grid i:nth-child(3) {
    animation: hd-breathe 5s ease-in-out infinite;
    animation-delay: calc(var(--n, 0) * 0.6s);
  }
}

/* ---------- Breit: links Label, Überschrift, Sätze – rechts die beiden Handys mit den Aussagen darunter ---------- */

.hd-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 66rem) {
  .hd-section {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  /* Zwei Spalten: Text links (vertikal mittig), Handys rechts über die ganze Höhe */
  .hd-section .container {
    display: grid;
    grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 2fr);
    grid-template-rows: 1fr auto auto auto auto 1fr;
    column-gap: clamp(2.5rem, 4vw, 5rem);
    align-items: start;
    max-width: 96rem;
  }

  .hd-section .pill { grid-column: 1; grid-row: 2; justify-self: start; }
  .hd-section .title { grid-column: 1; grid-row: 3; }
  .hd-section .compare__intro { grid-column: 1; grid-row: 4; }
  .hd-section .compare__result { grid-column: 1; grid-row: 5; }

  .hd-section .container > .hd {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
  }

  .hd-section .title {
    margin: 1rem 0 1.5rem;
    font-size: clamp(3.4rem, 5.2vw, 6rem);
    line-height: 0.98;
  }

  .hd-section .compare__intro {
    max-width: 24rem;
    margin: 0 0 1.5rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .hd-section .compare__result {
    max-width: 24rem;
    margin: 0;
    padding-top: 1.5rem;
    border-top: 2px solid var(--black);
    font-size: 1.15rem;
    line-height: 1.45;
  }

  /* Rechts: Vorher | Pfeil | Nachher, je Handy mit den Aussagen darunter */
  .hd {
    --ph: min(50svh, 34rem); /* Handyhöhe – so passen Handy + Aussagen in ein Fenster */
    grid-template-columns: 1fr 3rem 1fr;
    gap: 0;
    align-items: start;
    width: 100%;
  }

  .hd__side {
    gap: 1.1rem;
  }

  .hd__body {
    gap: 1.4rem;
  }

  .hd__phone {
    width: calc(var(--ph) * 9 / 17);
    max-width: none;
  }

  .hd__list {
    gap: 0.6rem;
    max-width: 24rem;
  }

  .hd__list li {
    padding: 0.8rem 1rem 0.8rem 2.6rem;
    font-size: clamp(0.95rem, 1.05vw, 1.15rem);
    border-radius: 1rem;
  }

  .hd__side--before .hd__list li::before {
    left: 0.85rem;
    font-size: 1.7rem;
  }

  .hd__side--after .hd__list li::before {
    left: 0.95rem;
    top: calc(50% - 0.35rem);
    width: 0.75rem;
    height: 0.4rem;
  }

  /* Pfeil zwischen den beiden Handys, auf Höhe der Handymitte */
  .hd__arrow {
    display: block;
    justify-self: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: calc(3.4rem + var(--ph) / 2);
    border-top: 4px solid var(--black);
    border-right: 4px solid var(--black);
    rotate: 45deg;
  }
}
/* ---------- Was wir machen ---------- */

/* Große Aussage statt Karten – die Details stehen in "So läuft's" */
.statement {
  margin: 1.25rem 0 2rem;
  font-size: clamp(3rem, 14vw, 7.5rem);
  line-height: 1.02;
}

.statement span {
  display: block;
}

/* Rechts daneben (Handy: darunter) der Satz – groß, aber kleiner als die Aussage */
.statement__side {
  padding-left: 1.25rem;
  border-left: 4px solid var(--black);
}

.statement__lead {
  max-width: 22ch;
  font-family: var(--display);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  line-height: 1.12;
  text-transform: uppercase;
}

.statement__lead .line--outline {
  -webkit-text-stroke-width: 1.5px;
}

@media (min-width: 56rem) {
  .statement-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 4rem;
  }

  .statement {
    margin-bottom: 0;
    font-size: clamp(3.5rem, 7vw, 7.5rem); /* lässt rechts genug Platz für den Satz */
  }

  .statement__side {
    padding-left: 2.5rem;
  }

  .statement__lead {
    font-size: clamp(2rem, 3.4vw, 3.2rem);
  }
}

.statement__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid currentColor;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.statement__link span {
  transition: transform .3s var(--ease);
}

.statement__link:hover span {
  transform: translateX(0.35rem);
}

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

.card {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.75rem 1.5rem 2rem;
  border-radius: var(--radius);
  background: var(--grey-light);
}

.card__num {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--grey-dark);
}

.card h3 {
  margin-top: 1.5rem;
  font-size: clamp(2.2rem, 10vw, 3rem);
}

.card--mid {
  background: var(--grey-dark);
  color: var(--white);
}

.card--mid .card__num {
  color: var(--grey-light);
}

.card--dark {
  background: var(--black);
  color: var(--white);
}

@media (min-width: 56rem) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .card {
    padding: 2.25rem 2rem 2.5rem;
  }

  .card h3 {
    margin-top: 3.5rem;
  }
}

/* ---------- Reels ---------- */

.feed {
  padding: var(--section-space) 0;
  background: var(--grey-light);
}

.feed__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0 1rem;
  margin-bottom: 0.5rem;
}

.feed__head .title {
  margin-bottom: 1rem;
}

.feed__head .pill {
  margin-bottom: 2rem;
}

.feed__track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 0.5rem;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}

.feed__track::-webkit-scrollbar {
  display: none;
}

.reel {
  position: relative;
  flex: 0 0 auto;
  width: min(60vw, 16rem);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius);
  scroll-snap-align: start;
  isolation: isolate;
  color: var(--white);
}

.reel .media {
  z-index: -2;
}

.reel:nth-child(1) { --x: 30%; --y: 30%; --d: 6s; }
.reel:nth-child(2) { --x: 70%; --y: 55%; --d: 8s; }
.reel:nth-child(3) { --x: 40%; --y: 75%; --d: 5s; }
.reel:nth-child(4) { --x: 65%; --y: 25%; --d: 7s; }
.reel:nth-child(5) { --x: 20%; --y: 60%; --d: 9s; }
.reel:nth-child(6) { --x: 80%; --y: 40%; --d: 6.5s; }

.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, transparent 60%, rgba(17, 17, 17, .75));
}

.reel__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.reel__caption span {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* Endlosschleife (js/main.js → setupFeedLoop): Das Sichtfenster schneidet ab, die Leiste darin wird per
   transform verschoben (flüssig). Senkrechtes Wischen bleibt beim Browser, seitliches übernimmt das Skript. */
.feed__viewport {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.feed__viewport.is-dragging {
  cursor: grabbing;
}

.feed__track.is-loop {
  width: max-content;
  overflow: visible;
  scroll-snap-type: none;
  will-change: transform;
}

.feed__track.is-loop video {
  pointer-events: none; /* sonst greift der Browser beim Ziehen das Video statt der Leiste */
}

/* ---------- Für wen ---------- */

/* Lange Überschrift: gleiche Schrift wie die anderen Titel, etwas kleiner, damit sie nicht zu viele Zeilen braucht */
/* Wortgruppe, die nicht umbrechen soll */
.nowrap {
  white-space: nowrap;
}

.title--wide {
  max-width: 18ch;
  font-size: clamp(2.8rem, 11vw, 6.2rem);
  line-height: 0.98;
}

/* "sehen lassen kann.": schwarzer Balken, der sich beim Einblenden von links durchzieht, Schrift wird weiß */
.title__mark {
  padding: 0 0.12em;
  white-space: nowrap; /* "sehen lassen kann." immer zusammen in einer Zeile */
  background: linear-gradient(var(--black), var(--black)) left 55% / 100% 78% no-repeat; /* Balken etwas flacher, Zeile darüber bleibt lesbar */
  color: var(--white);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (prefers-reduced-motion: no-preference) {
  .js .title__mark {
    background-size: 0% 78%;
    color: var(--black);
    transition: background-size .7s var(--ease) .5s, color .3s ease .75s;
  }

  .js .is-visible .title__mark,
  .js .title.is-visible .title__mark {
    background-size: 100% 78%;
    color: var(--white);
  }
}

.groups {
  display: grid;
  grid-auto-rows: 1fr; /* alle Karten gleich hoch (die höchste gibt das Maß vor) */
  gap: 1rem;
  align-items: stretch; /* die geöffnete Karte liegt über allen, daher kein Problem mehr mit Mitstrecken */
}

.group {
  padding: 1.75rem 1.5rem 2rem;
  border-radius: var(--radius);
  background: var(--grey-light); /* Abschnitt steht auf Weiß */
}

/* Zugeklappt: Symbol | Titel mit Vorschau darunter | Plus */
.group summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
  list-style: none;
  cursor: pointer;
}

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

.group h3 {
  grid-column: 2;
  font-size: clamp(1.6rem, 6vw, 2rem);
}

.group__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.group__icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.group__peek {
  grid-column: 2;
  margin-top: 0.3rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  opacity: .7;
}

.group summary::after {
  grid-column: 3;
  grid-row: 1 / span 2;
}

/* Erstgespräch in der geöffneten Karte: Pille in der Gegenfarbe der Karte (helle Karte → schwarz, dunkle → weiß) */
.group__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s var(--ease);
}

.group:nth-child(2) .group__cta,
.group:nth-child(3) .group__cta,
.group:nth-child(5) .group__cta,
.group:nth-child(6) .group__cta {
  background: var(--white);
  color: var(--black);
}

.group__cta:hover {
  transform: translateY(-2px);
}

.group__cta:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.group__cta span {
  display: inline-block;
  transition: translate .2s var(--ease);
}

.group__cta:hover span {
  translate: 0.25rem 0;
}
@media (min-width: 48rem) {
  .group__cta {
    position: absolute;
    right: 2.5rem;
    bottom: 2rem;
    margin: 0;
  }

  /* Platz für den Link, damit er die Beispiele nicht überdeckt (.groups davor: schlägt das spätere Padding) */
  .groups .group[open] {
    padding-bottom: 5.5rem;
  }
}
/* Geöffnet: Vorschau weg, alle Beispiele stehen groß darunter */
.group[open] .group__peek {
  display: none;
}

.group ul {
  margin-top: 1.25rem;
}

/* Plus im Kreis, wird beim Öffnen zum × (nur Handy) */
.group summary::after {
  content: "";
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--white), var(--white)) center / 0.8rem 2px no-repeat,
    linear-gradient(var(--white), var(--white)) center / 2px 0.8rem no-repeat,
    var(--black);
  transition: transform .3s var(--ease);
}

.group:nth-child(2) summary::after,
.group:nth-child(3) summary::after,
.group:nth-child(5) summary::after,
.group:nth-child(6) summary::after {
  background:
    linear-gradient(var(--black), var(--black)) center / 0.8rem 2px no-repeat,
    linear-gradient(var(--black), var(--black)) center / 2px 0.8rem no-repeat,
    var(--white);
}

.group[open] summary::after {
  transform: rotate(45deg);
}

.group li {
  padding: 0.65rem 0;
  border-top: 1px solid rgba(17, 17, 17, .15);
  font-weight: 500;
}

/* Schachbrett aus Weiß, Schwarz und Grau: W S / G W / S G */
.group:nth-child(2),
.group:nth-child(5) {
  background: var(--black);
  color: var(--white);
}

.group:nth-child(2) li,
.group:nth-child(5) li {
  border-top-color: rgba(255, 255, 255, .2);
}

.group:nth-child(3),
.group:nth-child(6) {
  background: var(--grey-dark);
  color: var(--white);
}

.group:nth-child(3) li,
.group:nth-child(6) li {
  border-top-color: rgba(255, 255, 255, .25);
}

/* Jede Karte hat ihren festen Platz im Raster. Die geöffnete Karte spannt sich
   über alle Felder und liegt über den anderen. */
.group:nth-child(1) { grid-area: 1 / 1; }
.group:nth-child(2) { grid-area: 2 / 1; }
.group:nth-child(3) { grid-area: 3 / 1; }
.group:nth-child(4) { grid-area: 4 / 1; }
.group:nth-child(5) { grid-area: 5 / 1; }
.group:nth-child(6) { grid-area: 6 / 1; }

.group[open] {
  grid-area: 1 / 1 / 7 / 2;
  position: relative;
  z-index: 2;
  align-self: stretch;
  animation: group-wipe .7s var(--ease) both;
}

/* Die Karte wischt von ihrer Ecke aus über alle anderen */
.group:nth-child(1) { --from: inset(0 0 100% 0 round var(--radius)); }
.group:nth-child(2) { --from: inset(16.7% 0 83.3% 0 round var(--radius)); }
.group:nth-child(3) { --from: inset(33.3% 0 66.7% 0 round var(--radius)); }
.group:nth-child(4) { --from: inset(50% 0 50% 0 round var(--radius)); }
.group:nth-child(5) { --from: inset(66.7% 0 33.3% 0 round var(--radius)); }
.group:nth-child(6) { --from: inset(83.3% 0 16.7% 0 round var(--radius)); }

@keyframes group-wipe {
  from { clip-path: var(--from); }
  to { clip-path: inset(0 0 0 0 round var(--radius)); }
}

.group[open] li {
  animation: group-item .5s var(--ease) both;
}

.group[open] li:nth-child(1) { animation-delay: .25s; }
.group[open] li:nth-child(2) { animation-delay: .31s; }
.group[open] li:nth-child(3) { animation-delay: .37s; }
.group[open] li:nth-child(4) { animation-delay: .43s; }
.group[open] li:nth-child(5) { animation-delay: .49s; }

@keyframes group-item {
  from { opacity: 0; transform: translateY(.75rem); }
}

/* Geöffnete Karte: großer Titel, Beispiele groß in der Titelschrift */
.group[open] h3 {
  font-size: clamp(2.6rem, 11vw, 4.5rem);
}

.group[open] ul {
  display: grid;
  margin-top: 1.75rem;
}

.group[open] li {
  padding: 1rem 0 0.9rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}

@media (min-width: 48rem) {
  .groups {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .group {
    padding: 2.25rem 2rem 2.5rem;
  }

  /* Zwei Spalten, drei Reihen; die geöffnete Karte wächst aus ihrem Feld */
  .group:nth-child(1) { grid-area: 1 / 1; --from: inset(0 50% 66.7% 0 round var(--radius)); }
  .group:nth-child(2) { grid-area: 1 / 2; --from: inset(0 0 66.7% 50% round var(--radius)); }
  .group:nth-child(3) { grid-area: 2 / 1; --from: inset(33.3% 50% 33.3% 0 round var(--radius)); }
  .group:nth-child(4) { grid-area: 2 / 2; --from: inset(33.3% 0 33.3% 50% round var(--radius)); }
  .group:nth-child(5) { grid-area: 3 / 1; --from: inset(66.7% 50% 0 0 round var(--radius)); }
  .group:nth-child(6) { grid-area: 3 / 2; --from: inset(66.7% 0 0 50% round var(--radius)); }

  .group[open] {
    grid-area: 1 / 1 / 4 / 3;
    padding: 3rem 3rem 3.5rem;
  }

  .group[open] h3 { font-size: clamp(3.5rem, 6vw, 5.5rem); }

  /* Beispiele in zwei Spalten statt untereinander */
  .group[open] ul {
    grid-template-columns: 1fr 1fr;
    gap: 0 3rem;
    margin-top: 2.5rem;
  }

  .group[open] li { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
}

/* Breit: drei Spalten, zwei Reihen. Farben als Schachbrett: W S G / G W S */
@media (min-width: 60rem) {
  .groups {
    grid-template-columns: repeat(3, 1fr);
  }

  .group {
    padding: 1.75rem 1.5rem 1.9rem;
  }

  .group h3 {
    font-size: clamp(1.5rem, 2.1vw, 2rem);
  }

  .group:nth-child(1) { grid-area: 1 / 1; --from: inset(0 66.7% 50% 0 round var(--radius)); }
  .group:nth-child(2) { grid-area: 1 / 2; --from: inset(0 33.3% 50% 33.3% round var(--radius)); }
  .group:nth-child(3) { grid-area: 1 / 3; --from: inset(0 0 50% 66.7% round var(--radius)); }
  .group:nth-child(4) { grid-area: 2 / 1; --from: inset(50% 66.7% 0 0 round var(--radius)); }
  .group:nth-child(5) { grid-area: 2 / 2; --from: inset(50% 33.3% 0 33.3% round var(--radius)); }
  .group:nth-child(6) { grid-area: 2 / 3; --from: inset(50% 0 0 66.7% round var(--radius)); }

  .group[open] {
    grid-area: 1 / 1 / 3 / 4;
  }

  .group:nth-child(4) { background: var(--grey-dark); color: var(--white); }
  .group:nth-child(5) { background: var(--grey-light); color: var(--black); }
  .group:nth-child(6) { background: var(--black); color: var(--white); }

  .group:nth-child(4) li { border-top-color: rgba(255, 255, 255, .25); }
  .group:nth-child(5) li { border-top-color: rgba(17, 17, 17, .15); }

  .group:nth-child(4) summary::after {
    background:
      linear-gradient(var(--black), var(--black)) center / 0.8rem 2px no-repeat,
      linear-gradient(var(--black), var(--black)) center / 2px 0.8rem no-repeat,
      var(--white);
  }

  .group:nth-child(5) summary::after {
    background:
      linear-gradient(var(--white), var(--white)) center / 0.8rem 2px no-repeat,
      linear-gradient(var(--white), var(--white)) center / 2px 0.8rem no-repeat,
      var(--black);
  }

  /* Pille zum Erstgespräch passend zu den getauschten Kartenfarben */
  .group:nth-child(4) .group__cta { background: var(--white); color: var(--black); }
  .group:nth-child(5) .group__cta { background: var(--black); color: var(--white); }

  /* Geöffnete Karte: Beispiele in drei Spalten */
  .group[open] ul {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Hinweis unter den Gruppen: soll ins Auge fallen */
.notfound {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  margin-top: 1.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
}

.notfound p {
  font-family: var(--display);
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.notfound strong {
  font-weight: 400;
}

@media (min-width: 48rem) {
  .notfound {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.25rem;
  }
}

/* ---------- So läuft's (Story) ---------- */

.process {
  display: grid;
  gap: 0.5rem;
}

.process__hint {
  margin: -1.25rem 0 2rem;
  color: var(--grey-dark);
}

.story {
  position: relative;
  width: 100%;
  max-width: 28rem;
  min-height: 25rem;
  padding: 2.75rem 1.75rem 2rem;
  border-radius: 1.5rem;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  user-select: none;
}

.story__bars {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  gap: 4px;
}

.story__bars i {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .3);
  overflow: hidden;
}

.story__bars b {
  display: block;
  height: 100%;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
}

.story__bars i.is-done b {
  transform: scaleX(1);
}

.story__bars i.is-active b {
  animation: progress 5s linear forwards;
}

.story.is-paused .story__bars i.is-active b {
  animation-play-state: paused;
}

/* Ohne JavaScript: alle Schritte untereinander */
.story__slide {
  padding-top: 1.5rem;
}

.js .story__slide {
  display: none;
}

.js .story__slide.is-active {
  display: block;
  animation: slide-in .45s var(--ease);
}

@keyframes slide-in {
  from { opacity: 0; transform: translateX(1.5rem); }
}

.story__num {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--grey-dark);
}

.story__slide h3 {
  margin: 0.75rem 0 1.25rem;
  font-size: clamp(2rem, 9vw, 2.8rem);
  line-height: 1.1;
  overflow-wrap: break-word;
}

/* Schriftgröße an der Kartenbreite ausrichten – das längste Wort (VERÖFFENTLICHUNG) passt immer */
@supports (font-size: 1cqi) {
  .story { container-type: inline-size; }
  .story__slide h3 { font-size: min(4rem, 12.5cqi); }
}

.story__slide p {
  max-width: 22rem;
  font-size: 1.05rem;
  color: var(--grey-light);
}

.story__nav {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.js .story__nav {
  display: block;
}

.story__nav--prev {
  left: 0;
  width: 35%;
}

.story__nav--next {
  right: 0;
  width: 65%;
}

.story__nav:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -6px;
  border-radius: 1.5rem;
}

@media (min-width: 60rem) {
  .process {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
  }

  .story-stage {
    justify-self: end;
  }
}

/* Bühne hinter der Story: riesige Schrittnummer in Umriss-Schrift, die Karte liegt leicht schräg davor. */
#ablauf {
  overflow-x: clip; /* Zahl darf über den Rand ragen, ohne seitlich scrollen zu lassen */
}

.story-stage {
  /* Karte ist quadratisch (--card) */
  --card: min(86%, 26rem);
  --pt: 6rem;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 34rem;
  padding: var(--pt) 0 3rem;
}

/* Riesige Nummer (nur die Ziffer): liegt hinter der Karte und schaut oben links ein gutes Stück heraus */
.story-stage__num {
  position: absolute;
  top: -0.5rem;
  left: 0;
  z-index: 0;
  font-family: var(--display);
  font-size: clamp(8rem, 30vw, 18rem);
  line-height: 1;
  color: rgba(17, 17, 17, .07);
  -webkit-text-stroke: 3px var(--black);
  pointer-events: none;
}

.story-stage .story {
  z-index: 1;
  width: var(--card);
  min-height: 0;
  aspect-ratio: 1;
  border-radius: 2rem;
  rotate: -2deg;
  box-shadow: 0 2.5rem 4rem -2rem rgba(17, 17, 17, .55);
}

@media (prefers-reduced-motion: no-preference) {
  /* Neue Zahl gleitet von unten rein (Klasse kommt bei jedem Wechsel neu aus js/main.js) */
  .story-stage__num.is-swap {
    animation: story-num .7s var(--ease);
  }
}

@keyframes story-num {
  from { opacity: 0; translate: 0 25%; }
}

@media (min-width: 60rem) {
  .story-stage {
    --card: 26rem;
    --pt: 5rem;
  }

  /* Ziffer links neben der Karte, ihr rechter Rand verschwindet ein Stück hinter der Karte */
  .story-stage__num {
    left: -3rem;
    top: -2rem;
  }
}

/* ---------- So arbeiten wir zusammen ---------- */

.offer {
  padding: 2.25rem 1.75rem 2.5rem;
  border-radius: var(--radius);
}

.offer__tag {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Alle Karten gleich gestaltet, damit die Drehung sauber aussieht */
.offer h3 {
  margin: 1.4rem 0 1.4rem;
  font-size: clamp(2.3rem, 10vw, 3.5rem);
}

.offer--main {
  background: var(--grey-light); /* Abschnitt steht auf Weiß */
  color: var(--black);
}

.offer--main .offer__tag {
  background: var(--black);
  color: var(--white);
}

.offer__lead {
  margin-bottom: 1.75rem;
  font-size: clamp(1.05rem, 4vw, 1.2rem);
  line-height: 1.55;
}

/* Kurzfassung nur auf dem Handy (siehe unten) */
.offer__lead--short {
  display: none;
}

.offer__highlight {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.6rem;
  border-radius: 1rem;
  background: var(--grey-light);
}

.offer__highlight strong {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.2rem, 14vw, 4.75rem);
  line-height: 1;
  white-space: nowrap;
}

.offer__highlight span {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* Kleine Zwischenüberschrift über einer Liste ("Was ist enthalten?") */
.offer__label {
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: .6;
}

.offer__list li {
  position: relative;
  padding: 0.95rem 0 0.95rem 2rem;
  border-top: 1px solid var(--line, rgba(17, 17, 17, .15));
  font-size: clamp(1rem, 3.8vw, 1.15rem);
  font-weight: 500;
}

.offer__list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 1.4rem;
  width: 0.8rem;
  height: 0.42rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.offer__note {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.offer--test,
.offer--creator {
  --line: rgba(255, 255, 255, .25);
  color: var(--white);
}

.offer--test {
  background: var(--black);
}

.offer--creator {
  background: var(--grey-dark);
}

.offer--test .offer__tag,
.offer--creator .offer__tag {
  border: 1px solid var(--white);
}

/* Betreuung: Karte ist hellgrau, der Kasten mit "2–5 Videos" hebt sich weiß davon ab */
.offer--main .offer__highlight {
  background: var(--white);
}

.offer--test .offer__highlight,
.offer--creator .offer__highlight {
  background: rgba(255, 255, 255, .14);
}

/* Creator-Paket: Etikett + "Beliebt" nebeneinander */
.offer__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.offer__badge {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Creator-Paket: Profilbild von @diebrfs im Kasten, wie ein Profil-Chip */
.offer__profile {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.4rem;
  text-transform: none; /* Handle bleibt klein geschrieben */
  letter-spacing: 0.02em;
}

.offer__profile img {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
}

/* Testprojekt: Hinweis zur Anrechnung */
.offer__bonus {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 1rem;
  font-size: 0.98rem;
  line-height: 1.45;
}

.offer__bonus strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offers__note {
  margin: 2.5rem 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  line-height: 1.1;
  text-transform: uppercase;
}

@media (min-width: 48rem) {
  .offer {
    padding: 3rem 3rem 3.25rem;
  }

  /* Breite Karte: "Was ist enthalten?" zweispaltig, spart Höhe */
  .offer--main .offer__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.75rem;
  }
}

/* ---------- 3D-Karussell (Coverflow) ----------
   Die Karten stehen im 120°-Abstand auf einem Kreis. --a ist der Winkel einer
   Karte (0deg = vorne); js/main.js dreht ihn in 120°-Schritten weiter.
   Ohne JavaScript stehen die Karten einfach untereinander. */

@property --a {
  syntax: "<angle>";
  inherits: true; /* damit die Abdunklung (::after) den Winkel der Karte sieht */
  initial-value: 0deg;
}

.carousel {
  --card-w: min(38rem, 86vw);
  --r: calc(var(--card-w) * 0.78);
}

.carousel__stage {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}

.carousel__arrow,
.carousel__dots {
  display: none;
}

.js .carousel__frame {
  position: relative;
  /* Platz bis zum Bildschirmrand, damit die hinteren Karten auslaufen können */
  margin: 0 calc(-1 * var(--gutter));
  perspective: 1800px;
  overflow-x: clip;
  touch-action: pan-y;
}

.js .carousel__stage {
  display: block;
  position: relative;
  max-width: none;
  height: var(--stage-h, 40rem);
  transform-style: preserve-3d;
  transform: translateZ(calc(-1 * var(--r)));
}

.js .carousel__card {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--card-w);
  height: var(--stage-h, auto);
  margin-left: calc(var(--card-w) / -2);
  overflow: hidden;
  /* Inhalt mittig, damit kürzere Karten ausgewogen wirken */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* auf den Kreis setzen, zur Kamera drehen, seitlich leicht nach innen neigen */
  transform:
    rotateY(var(--a))
    translateZ(var(--r))
    rotateY(calc(var(--a) * -1))
    rotateY(calc(sin(var(--a)) * -30deg));
  transition: --a .6s cubic-bezier(.45, .05, .2, 1);
  cursor: pointer;
}

/* Hintere Karten abdunkeln – je weiter hinten, desto dunkler */
.js .carousel__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--black);
  opacity: calc((1 - cos(var(--a))) * 0.32);
  pointer-events: none;
}

.js .carousel__card.is-front {
  cursor: auto;
}

.js .carousel__card .offer__tag {
  align-self: flex-start;
}

.js .carousel__arrow {
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 3.25rem;
  height: 3.25rem;
  margin-top: -1.625rem;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  box-shadow: 0 0.75rem 2rem -0.75rem rgba(0, 0, 0, .6);
  cursor: pointer;
  transition: transform .25s var(--ease);
}

.js .carousel__arrow:hover {
  transform: scale(1.08);
}

.js .carousel__arrow:focus-visible,
.js .carousel__dots button:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

.carousel__arrow svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel__arrow--prev {
  left: max(var(--gutter), calc(50% - var(--card-w) * 1.05 - 3.25rem));
}

.carousel__arrow--next {
  right: max(var(--gutter), calc(50% - var(--card-w) * 1.05 - 3.25rem));
}

.js .carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 1.75rem;
}

.carousel__dots button {
  padding: 0.6rem 0.35rem;
  border: 0;
  background: none;
  cursor: pointer;
}

.carousel__dots button::before {
  content: "";
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, .3);
  transition: width .3s var(--ease), background-color .3s var(--ease);
}

.carousel__dots button[aria-current="true"]::before {
  width: 1.75rem;
  background: var(--black);
}

/* Handy: Pfeile unter das Karussell, direkt neben die Punkte (‹ • • • ›),
   damit sie keinen Kartentext verdecken und nicht unter "Nach oben" liegen */
@media (max-width: 47.99rem) {
  .js .carousel__arrow {
    top: calc(100% + 1.75rem + 0.9rem);
  }

  .carousel__arrow--prev {
    left: calc(50% - 7rem);
  }

  .carousel__arrow--next {
    right: calc(50% - 7rem);
  }
}

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

/* ---------- Über uns ---------- */
/* Desktop: links riesige Namen + Foto + Namensschilder, rechts Text + 5 Millionen; darunter alles untereinander */

.about-c {
  scroll-margin-top: var(--header-height);
}

/* Nur für Screenreader sichtbar */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Bühne ---------- */

.stage {
  --name-size: clamp(3.5rem, 12vw, 9.5rem);
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 0;
  text-align: center;
}

.stage__name {
  position: relative;
  z-index: 0;
  margin: 0;
  max-width: none;
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--name-size);
  line-height: 0.85;
  text-transform: uppercase;
  white-space: nowrap;
}

.stage__amp {
  color: transparent;
  -webkit-text-stroke: 2px var(--black);
}

.stage__name--bottom {
  color: transparent;
  -webkit-text-stroke: 2px var(--black);
}

/* Foto ragt nur ein Stück in beide Namenszeilen, damit die Namen lesbar bleiben */
.stage__center {
  position: relative;
  z-index: 1;
  width: min(25rem, 80vw);
  margin: calc(var(--name-size) * -0.04) auto calc(var(--name-size) * -0.02);
}

.stage__photo {
  position: relative;
  margin: 0;
  rotate: -2deg;
}

.stage__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3; /* Teamfoto ist Querformat */
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 2.5rem 4rem -2rem rgba(17, 17, 17, .55);
}

/* Mit freigestelltem PNG: kein Rahmen, kein Schatten-Kasten, nur die Personen */
.stage__photo--cutout img {
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 1.5rem 2rem rgba(17, 17, 17, .35));
}

/* ---------- Namensschilder (Sticker) ---------- */

.tag {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 0.15rem;
  width: 12.5rem;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 1rem 2.5rem -1rem rgba(17, 17, 17, .45);
  text-align: left;
}

.tag__photo {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.6rem;
  border-radius: 50%;
  object-fit: cover;
}

.tag__name {
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
  text-transform: uppercase;
}

.tag__role {
  color: var(--grey-dark);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.tag__social {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 2.4rem));
  gap: 0.3rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.tag__social a {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--black);
  border-radius: 50%;
  color: var(--black);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}

.tag__social a:hover,
.tag__social a:focus-visible {
  background: var(--black);
  color: var(--white);
}

.tag__social svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.tag__social svg[fill="none"] {
  fill: none;
}

/* Desktop: Schilder kleben seitlich am Foto */
@media (min-width: 56rem) {
  .tag {
    position: absolute;
    z-index: 2;
  }

  .tag--left {
    left: -12rem;
    bottom: 12%;
    rotate: -6deg;
  }

  .tag--right {
    right: -12rem;
    top: 14%;
    rotate: 5deg;
  }
}

/* Handy: Schilder nebeneinander unter dem Foto, leicht schräg */
@media (max-width: 55.99rem) {
  /* Namen so groß, dass "GIANLUCA &" gerade in die Breite passt */
  .stage {
    --name-size: 16.5vw;
    padding-top: 2.5rem;
  }

  .stage__center {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    width: calc(100% - 2 * var(--gutter));
    max-width: 30rem;
  }

  .stage__photo {
    grid-column: 1 / -1;
    width: 88%;
    margin: 0 auto 0.5rem;
  }

  .tag {
    width: auto;
    padding: 0.85rem;
  }

  .tag--left {
    rotate: -2deg;
  }

  .tag--right {
    rotate: 2deg;
  }

  .tag__name {
    font-size: 1.3rem;
  }

  /* Untere Namenszeile nicht unter den Schildern verstecken */
  .stage__center {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
  }
}

/* ---------- Text + 5 Millionen ---------- */

.facts {
  padding: 3rem 0 var(--section-space);
}

.facts__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.facts__lead {
  margin: 1.25rem 0 1rem;
  font-family: var(--display);
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
}

.facts__body {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
}

/* "Unterschrift": zwei überlappende Porträts + Namen */
.facts__sign {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts__faces {
  display: flex;
}

.facts__faces img {
  width: 2.6rem;
  height: 2.6rem;
  border: 3px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
}

.facts__faces img + img {
  margin-left: -0.8rem;
}

/* Die Zahl als schwarze Karte – fällt auf, ohne einen eigenen Abschnitt zu brauchen */
.facts__stat {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  rotate: 1.5deg;
}

/* nur auf breiten Bildschirmen – auf dem Handy würde es das "+" berühren */
.facts__icon {
  display: none;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 1.4rem;
  height: 1.4rem;
  fill: rgba(255, 255, 255, .5);
}

.facts__value {
  display: flex;
  align-items: flex-start;
  font-family: var(--display);
  font-size: clamp(3.4rem, 15vw, 6.5rem);
  line-height: 0.95;
  white-space: nowrap;
}

.facts__plus {
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}

.facts__label {
  max-width: 22rem;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, .8);
  font-weight: 500;
}

.facts__label a {
  color: var(--white);
}

@media (min-width: 56rem) {
  .facts__inner {
    grid-template-columns: 1fr auto;
    gap: 4rem;
  }

  .facts__icon {
    display: block;
  }

  /* Tablet/kleiner Laptop: Text steht neben der Karte, also etwas kleiner */
  .facts__lead {
    font-size: clamp(2rem, 3.2vw, 2.6rem);
  }
}

/* ---------- Desktop: Bühne links, Text + Zahl rechts (erst ab 1200 px, sonst stoßen die Schilder an den Rand) ---------- */

@media (min-width: 75rem) {
  .about-c {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
    gap: 3.5rem;
    max-width: 90rem;
    margin: 0 auto;
    padding: 4rem var(--gutter) 4.5rem;
  }

  /* Bühne wächst mit der Fensterbreite */
  .stage {
    --name-size: clamp(5.5rem, 9.5vw, 9.5rem);
    overflow: visible;
    padding: 0;
  }

  /* unten weniger Überlappung, damit "MATTEO." mit beiden T lesbar bleibt */
  .stage__center {
    width: clamp(19rem, 26vw, 27rem); /* Querformat-Foto etwas breiter, damit es nicht kleiner wirkt */
    margin-top: calc(var(--name-size) * -0.04);
    margin-bottom: calc(var(--name-size) * -0.02);
  }

  .tag {
    width: 12.5rem;
    padding: 1.15rem;
  }

  .tag__name {
    font-size: 1.85rem;
  }

  .tag__photo {
    width: 3.4rem;
    height: 3.4rem;
  }

  .tag--left {
    left: calc(clamp(9rem, 11vw, 11rem) * -1);
  }

  .tag--right {
    right: calc(clamp(9rem, 11vw, 11rem) * -1);
  }

  .facts {
    padding: 0;
  }

  .facts .container {
    padding: 0;
  }

  .facts__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .facts__lead {
    font-size: clamp(2.4rem, 3.4vw, 3.4rem);
  }

  .facts__value {
    font-size: clamp(4rem, 6.5vw, 6.5rem);
  }
}

/* KI-Hinweis unten rechts auf dem Foto */
.ai-note {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  align-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  background: rgba(17, 17, 17, .35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, .85);
  font: inherit;
  cursor: pointer;
}

.ai-note__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.ai-note__text {
  overflow: hidden;
  max-width: 14rem;
  padding-left: 0.7rem;
  font-size: 0.68rem;
  font-weight: 500;
  white-space: nowrap;
  transition: max-width .4s var(--ease), padding .4s var(--ease), opacity .3s ease;
}

/* Ohne JavaScript bleibt der Text einfach sichtbar */
.js .ai-note[aria-expanded="false"] .ai-note__text {
  max-width: 0;
  padding-left: 0;
  opacity: 0;
}

.ai-note:hover,
.ai-note:focus-visible {
  color: var(--white);
}

/* Zähler: unsichtbare Endzahl reserviert die Breite, damit beim Hochzählen nichts springt */
.count {
  display: inline-grid;
}

.count__size,
.count__num {
  grid-area: 1 / 1;
  white-space: nowrap;
}

.count__size {
  visibility: hidden;
}
/* ---------- FAQ ---------- */

/* FAQ-Feld unten rechts: erst ein kleines schwarzes Feld "Häufige Fragen", das sich beim Antippen
   zu den Fragen aufzieht. Größe setzt js/main.js (--faq-w / --faq-h), das Feld wächst nach oben links. */
.faq-box {
  position: fixed;
  right: var(--gutter);
  bottom: calc(1rem + var(--lift, 0px)); /* Handy: unten in der Ecke; --lift schiebt über die Fußzeile (js) */
  z-index: 61;
  border-radius: 1.1rem;
  background: var(--grey-dark);
  color: var(--white);
  box-shadow: 0 0.75rem 2rem -0.5rem rgba(17, 17, 17, .6);
  overflow: hidden;
}

.js .faq-box {
  width: var(--faq-w, auto);
  height: var(--faq-h, auto);
  transition: width .6s var(--ease), height .6s var(--ease);
}

@media (min-width: 60rem) {
  .faq-box {
    bottom: calc(1.5rem + var(--lift, 0px));
  }
}

/* Zwei Zeilen: kleine Zeile oben, groß "FRAGEN?" darunter (Fragezeichen als Umriss) */
.faq-box__toggle {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1.5rem 0.8rem 1.25rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.js .faq-box__toggle {
  position: absolute;
  right: 0;
  bottom: 0;
  white-space: nowrap;
  transition: opacity .2s ease .08s, visibility 0s .08s;
}

.faq-box__small {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: .7;
}

.faq-box__big {
  font-family: var(--display);
  font-size: 2.1rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.faq-box__big::after {
  content: "?";
  margin-left: 0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
}

.faq-box__toggle:focus-visible,
.faq-box__close:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -4px;
}

/* Die Fragen: liegen im Feld, blenden erst ein, wenn es aufgezogen ist */
.faq-box__panel {
  display: none;
}

.js .faq-box__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: var(--faq-pw, 100%);
  max-height: var(--faq-max, none);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility 0s .2s;
}

.faq-box.is-open .faq-box__toggle {
  opacity: 0;
  visibility: hidden;
  transition: opacity .12s ease, visibility 0s .12s;
}

.faq-box.is-open .faq-box__panel {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease .08s, visibility 0s;
}

.faq-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1rem;
}

.faq-box__head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 7vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
}

/* Schließen-Knopf: Kreis mit × */
.faq-box__close {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background:
    linear-gradient(var(--black), var(--black)) center / 38% 2px no-repeat,
    linear-gradient(var(--black), var(--black)) center / 2px 38% no-repeat,
    var(--white);
  transform: rotate(45deg);
  cursor: pointer;
}

.faq-box__body {
  padding: 0 1.25rem 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

@media (prefers-reduced-motion: reduce) {
  .js .faq-box,
  .js .faq-box__toggle,
  .js .faq-box__panel,
  .faq-box.is-open .faq-box__toggle,
  .faq-box.is-open .faq-box__panel {
    transition: none;
  }
}

.faq {
  display: grid;
  gap: 0.6rem;
}

.faq details {
  border-radius: 1rem;
  background: rgba(255, 255, 255, .1);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  list-style: none;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.35;
  cursor: pointer;
}

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

/* Plus im Kreis, wird beim Öffnen zum × */
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--black), var(--black)) center / 0.8rem 2px no-repeat,
    linear-gradient(var(--black), var(--black)) center / 2px 0.8rem no-repeat,
    var(--white);
  transition: transform .3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 40rem;
  padding: 0 1.25rem;
  margin-bottom: 0.9rem;
  animation: drop .3s var(--ease);
}

.faq details p:last-child {
  margin-bottom: 0;
  padding-bottom: 1.35rem;
}

@media (min-width: 60rem) {
  .faq-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    align-items: start;
  }
}

/* ---------- Was nach eurer Anfrage passiert ---------- */

.next-steps {
  display: grid;
  gap: 1rem;
}

.next-step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--grey-light);
}

.next-step:nth-child(2) {
  background: var(--grey-dark);
  color: var(--white);
}

.next-step:nth-child(3) {
  background: var(--black);
  color: var(--white);
}

.next-step__num {
  font-family: var(--display);
  font-size: 3.5rem;
  line-height: 1;
}

.next-step p {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.45;
}

@media (min-width: 56rem) {
  .next-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .next-step {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2.5rem;
    padding: 2.25rem 2rem 2.5rem;
  }

  .next-step__num {
    font-size: 5rem;
  }
}

/* ---------- Kontakt ---------- */

.final {
  padding: var(--section-space) 0;
  background: var(--black);
  color: var(--white);
  scroll-margin-top: var(--header-height);
}

.final__title {
  margin: 1.25rem 0 2.5rem;
  font-size: clamp(4rem, 22vw, 11rem);
}

.contact {
  margin-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.contact__row {
  display: grid;
  gap: 0.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

/* Bezeichnung groß (E-Mail, Telefon …), die Angabe selbst kleiner und dünner */
.contact dt {
  font-family: var(--display);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}

.contact dd {
  font-size: clamp(1.05rem, 4.2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--grey-light);
  overflow-wrap: anywhere;
}

.contact dd a {
  text-decoration: none;
}

.contact dd a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

@media (min-width: 48rem) {
  .contact__row {
    grid-template-columns: 15rem 1fr;
    align-items: baseline;
  }
}

/* ---------- Footer ---------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 2.5rem var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, .15);
  background: var(--black);
  color: var(--white);
}

.footer__logo {
  width: 6rem;
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
}

.footer__nav a,
.footer__copy {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__nav a {
  padding: 0.4rem 0;
  text-decoration: none;
}

.footer__nav a:hover {
  text-decoration: underline;
}

.footer__copy {
  color: var(--grey-light);
}

/* ---------- Pfeil nach oben (links unten, erscheint beim Scrollen) ---------- */

.to-top {
  position: fixed;
  left: var(--gutter);
  bottom: calc(1rem + var(--lift, 0px)); /* Handy: unten in der Ecke; --lift schiebt über die Fußzeile (js) */
  z-index: 61;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 0.6rem 1.5rem -0.5rem rgba(17, 17, 17, .5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}

/* Pfeil aus zwei Linien */
.to-top::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.35rem;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top.is-visible:hover {
  transform: translateY(-3px);
}

@media (min-width: 60rem) {
  .to-top {
    bottom: calc(1.5rem + var(--lift, 0px));
  }
}

/* ---------- Unterseiten ---------- */

.page {
  padding: 3rem 0 var(--section-space);
}

.page h1 {
  margin: 1.25rem 0 1.5rem;
  font-size: clamp(3rem, 14vw, 6rem);
}

/* Terminanfrage */
.request {
  display: grid;
  gap: 3rem;
}

.request__intro > p:not(.pill) {
  max-width: 30rem;
  font-size: 1.08rem;
}

.request__steps {
  display: grid;
  gap: 0.5rem;
  margin: 2rem 0;
}

.request__steps li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 1rem;
  background: var(--grey-light);
  font-weight: 500;
}

.request__steps span {
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1;
}

.request__alt {
  color: var(--grey-dark);
}

.request__alt a {
  color: var(--black);
  font-weight: 700;
}

.form {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  padding: 1.75rem 1.25rem;
  border-radius: 1.5rem;
  background: var(--black);
  color: var(--white);
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 0.9rem;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111111' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--grey-dark);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--grey-dark);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .5);
}

.form__footer {
  display: grid;
  gap: 1rem;
  padding-top: 0.5rem;
}

.form__hint {
  font-size: 0.85rem;
  color: var(--grey-light);
}

.form__status {
  font-weight: 700;
}

.form__status:empty {
  display: none;
}

.form__status a {
  color: var(--white);
}

/* Gemeinsame Überschrift über E-Mail und Telefon ("eins von beiden reicht") */
.form__group {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form__group span {
  display: block;
  margin-top: 0.2rem;
  color: var(--grey-light);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* Spamschutz-Feld: aus dem Bild geschoben statt display:none, damit Bots es trotzdem ausfüllen */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Nach dem Absenden: Felder weg, nur die Bestätigung bleibt */
.form.is-sent > :not(.form__done) {
  display: none;
}

.form__done {
  display: grid;
  gap: 1rem;
  justify-items: start;
  padding: 1rem 0 0.5rem;
  outline: none;
}

.form__done[hidden] {
  display: none;
}

.form__done-check {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
}

.form__done-check svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form__done-text {
  font-size: 1.1rem;
  line-height: 1.5;
}

.form__done-more {
  font-size: 0.92rem;
  color: var(--grey-light);
}

.form__done-more a {
  color: var(--white);
}

@media (min-width: 40rem) {
  .form {
    grid-template-columns: 1fr 1fr;
    align-items: end; /* Felder einer Zeile stehen auf einer Höhe, auch wenn eine Beschriftung umbricht */
    gap: 1.5rem 1.25rem;
    padding: 2.5rem;
  }

  /* Überschrift näher an E-Mail | Telefon, die hier nebeneinander stehen */
  .form__group {
    margin-bottom: -0.6rem;
  }

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

  .form__footer .btn {
    justify-self: start;
  }
}

@media (min-width: 60rem) {
  .request {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
}

/* Terminseite im Look der Startseite: grauer Grund, große Titelschrift, schwarze Formularkarte */
.page--request {
  background: var(--grey-light);
}

.request__title {
  font-size: clamp(2.6rem, 12.5vw, 6rem);
  line-height: 1.1; /* Platz für das Ä */
}

.request__title span {
  display: block;
}

.request__lead {
  margin-top: 0.5rem;
  font-size: 1.12rem;
}

.page--request .request__steps li {
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--white);
}

.page--request .request__steps span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 1.2rem;
}

.page--request .request__steps li:nth-child(2) span {
  background: var(--grey-dark);
}

.request__steps p {
  line-height: 1.35;
}

.request__direct {
  display: grid;
  gap: 0.2rem;
  padding-top: 1.25rem;
  border-top: 3px solid var(--black);
}

.request__direct p {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-dark);
}

.request__direct a {
  justify-self: start;
  font-family: var(--display);
  font-size: clamp(1.6rem, 6.5vw, 2.2rem);
  line-height: 1.15;
  text-transform: uppercase;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.request__direct a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.form__title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.form__hint a {
  color: var(--white);
}

@media (min-width: 60rem) {
  .page--request {
    padding-top: 4rem;
  }

  .request__title {
    font-size: clamp(3rem, 4.6vw, 5rem); /* passt in die linke Spalte */
  }

  .page--request .request {
    align-items: start;
  }

  .page--request .form {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
  }
}

/* Impressum & Datenschutz */
.legal {
  max-width: 44rem;
}

.legal h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.9rem;
}

.legal address {
  margin-bottom: 1rem;
  font-style: normal;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.legal li {
  margin-bottom: 0.3rem;
}

.legal a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Noch offene Angabe – fällt auf, bis sie ersetzt ist */
.todo {
  padding: 0.05em 0.35em;
  border-radius: 0.3em;
  background: #ffe36e;
  color: var(--black);
}

.legal p {
  margin-bottom: 1rem;
}

.placeholder {
  padding: 1.5rem;
  border: 2px dashed var(--grey-dark);
  border-radius: 1rem;
  background: var(--grey-light);
}

/* ---------- Einblenden beim Scrollen ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Nebeneinander stehende Elemente kommen nacheinander rein */
.js .cards .reveal:nth-child(2),
.js .groups .reveal:nth-child(2),
.js .compare .reveal:nth-child(2) { transition-delay: .12s; }

.js .cards .reveal:nth-child(3),
.js .groups .reveal:nth-child(3) { transition-delay: .24s; }

.js .groups .reveal:nth-child(4) { transition-delay: .36s; }
.js .groups .reveal:nth-child(5) { transition-delay: .48s; }
.js .groups .reveal:nth-child(6) { transition-delay: .6s; }

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Nur Handy & Tablet: Feinschliff (Desktop bleibt unverändert) ---------- */
@media (max-width: 59.99rem) {
  /* Seite seitlich festhalten: nichts darf rechts überstehen und beim Wischen einen weißen Rand zeigen */
  html,
  body {
    overflow-x: clip;
  }
}

@media (max-width: 55.99rem) {
  /* Über uns: Reihenfolge GIANLUCA & → Foto → MATTEO. → Namensschilder */
  .stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 15rem));
    justify-content: center;
    column-gap: 0.6rem;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .stage__center {
    display: contents;
  }

  .stage__name {
    grid-column: 1 / -1;
    justify-self: center;
    width: max-content;
  }

  .stage__name--top { order: 1; }
  .stage__photo { order: 2; grid-column: 1 / -1; }
  .stage__name--bottom { order: 3; margin-bottom: 1rem; }
  .tag { order: 4; margin-bottom: 1.5rem; }
}

@media (max-width: 47.99rem) {
  /* So arbeiten wir zusammen: Karten so kompakt, dass sie auf den Bildschirm passen */
  .offer {
    padding: 1.25rem 1.15rem 1.35rem;
  }

  .offer__tag {
    padding: 0.35rem 0.8rem;
    font-size: 0.68rem;
  }

  .offer h3 {
    margin: 0.75rem 0 0.7rem;
    font-size: clamp(1.7rem, 7.5vw, 2.1rem);
  }

  /* Kurzer Einleitungstext statt des langen */
  .offer__lead--long {
    display: none;
  }

  .offer__lead--short {
    display: block;
  }

  .offer__lead {
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .offer__highlight {
    gap: 0.85rem;
    margin-bottom: 0.9rem;
    padding: 0.55rem 0.95rem;
  }

  .offer__highlight strong {
    font-size: 2.2rem;
  }

  .offer__highlight span {
    font-size: 0.7rem;
  }

  .offer__label {
    margin-bottom: 0.2rem;
    font-size: 0.7rem;
  }

  .offer__list li {
    padding: 0.5rem 0 0.5rem 1.6rem;
    font-size: 0.92rem;
  }

  .offer__list li::before {
    top: 0.88rem;
    width: 0.65rem;
    height: 0.34rem;
  }

  /* "Den Umfang legen wir … fest" – die Spanne "2–5" zeigt das schon */
  .offer__note {
    display: none;
  }

  .offer__badge {
    padding: 0.35rem 0.8rem;
    font-size: 0.68rem;
  }

  .offer__profile {
    margin-top: 0.25rem;
  }

  .offer__profile img {
    width: 1.5rem;
    height: 1.5rem;
  }

  .offer__bonus {
    margin-top: 0.9rem;
    padding: 0.7rem 0.95rem;
    font-size: 0.88rem;
  }

  .offer__bonus strong {
    font-size: 0.68rem;
  }}

@media (max-width: 59.99rem) {
  /* Erstgespräch: "Lieber direkt?" (Telefon/E-Mail) erst unter dem Formular */
  .page--request .request {
    gap: 0;
  }

  .page--request .request__intro {
    display: contents;
  }

  .page--request .form {
    order: 1;
    margin-top: 0.5rem;
  }

  .page--request .request__direct {
    order: 2;
    margin-top: 2.5rem;
  }

  /* Häufige Fragen: Feld etwa halb so groß, unten rechts in der Ecke */
  .faq-box {
    border-radius: 0.8rem;
  }

  .faq-box__toggle {
    gap: 0.05rem;
    padding: 0.5rem 0.85rem 0.45rem 0.75rem;
  }

  .faq-box__small {
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }

  .faq-box__big {
    font-size: 1.15rem;
  }

  .faq-box__big::after {
    -webkit-text-stroke-width: 1px;
  }

  /* Aufgeklappt ebenfalls kompakter */
  .faq-box__head {
    padding: 0.9rem 0.9rem 0.6rem 1rem;
  }

  .faq-box__head h2 {
    font-size: 1.35rem;
  }

  .faq-box__close {
    width: 2.1rem;
    height: 2.1rem;
  }

  .faq-box__body {
    padding: 0 0.8rem 1rem;
  }

  .faq-box .faq {
    gap: 0.4rem;
  }

  .faq-box .faq summary {
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    font-size: 0.9rem;
  }

  .faq-box .faq summary::after {
    width: 1.5rem;
    height: 1.5rem;
    background-size: 0.6rem 2px, 2px 0.6rem, auto;
  }

  .faq-box .faq details p {
    padding: 0 0.85rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .faq-box .faq details p:last-child {
    padding-bottom: 0.9rem;
  }
}

@media (max-width: 47.99rem) {
  /* Für wen: zwei Karten nebeneinander, drei Reihen; kompakt mit Symbol + Titel, ohne Beispiel-Vorschau */
  .groups {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }

  .group {
    padding: 1rem 0.9rem 1.1rem;
  }

  .group summary {
    grid-template-columns: 1fr auto;
    align-items: start;
    row-gap: 0.75rem;
  }

  .group__icon {
    grid-column: 1;
    grid-row: 1;
    width: 2.4rem;
    height: 2.4rem;
  }

  .group__icon svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  .group summary::after {
    grid-column: 2;
    grid-row: 1;
    width: 1.7rem;
    height: 1.7rem;
    background-size: 0.65rem 2px, 2px 0.65rem, auto;
  }

  .group h3 {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 1.15rem;
    line-height: 1.1;
  }

  .group__peek {
    display: none;
  }

  /* Feste Plätze im 2er-Raster; die geöffnete Karte wächst aus ihrem Feld über alle */
  .group:nth-child(1) { grid-area: 1 / 1; --from: inset(0 50% 66.7% 0 round var(--radius)); }
  .group:nth-child(2) { grid-area: 1 / 2; --from: inset(0 0 66.7% 50% round var(--radius)); }
  .group:nth-child(3) { grid-area: 2 / 1; --from: inset(33.3% 50% 33.3% 0 round var(--radius)); }
  .group:nth-child(4) { grid-area: 2 / 2; --from: inset(33.3% 0 33.3% 50% round var(--radius)); }
  .group:nth-child(5) { grid-area: 3 / 1; --from: inset(66.7% 50% 0 0 round var(--radius)); }
  .group:nth-child(6) { grid-area: 3 / 2; --from: inset(66.7% 0 0 50% round var(--radius)); }

  .group[open] {
    grid-area: 1 / 1 / 4 / 3;
    padding: 1.4rem 1.25rem 1.5rem;
  }

  .group[open] summary {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .group[open] .group__icon {
    grid-column: 1;
  }

  .group[open] h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .group[open] summary::after {
    grid-column: 3;
  }

  .group[open] ul {
    margin-top: 1rem;
  }

  .group[open] li {
    padding: 0.6rem 0 0.55rem;
    font-size: clamp(1.25rem, 6vw, 1.6rem);
  }

  .group__cta {
    margin-top: 1.1rem;
    padding: 0.75rem 1.2rem;
    font-size: 0.92rem;
  }
}
