/* ============================================
   sebaworkouts — Design tokens
   ============================================ */
:root {
  --navy: #002454;
  --navy-topbar: #3e5780;
  --lime: #c1ff72;
  --lime-dark: #a3e654;
  --offwhite: #fffafd;
  --black: #0e1318;
  --black-2: #141619;
  --white: #ffffff;
  --border-soft: rgba(181, 181, 181, 0.22);

  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-pill: 999px;

  --container-max: 1180px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Fließende Textgröße: 16px bei 375px Breite, 18,4px ab 1200px.
     Feste 18,4px waren auf dem Handy zu groß — pro Zeile passten nur
     25–31 Zeichen, lesbar sind 35–60. */
  --text-body: clamp(1rem, 0.932rem + 0.291vw, 1.15rem);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--navy);
  color: var(--offwhite);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  /* Trainingszahlen (2026, 1:1, 24/7, Telefon) sollen ausrichten statt springen */
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: var(--space-2);
  z-index: 1000;
  background: var(--lime);
  color: var(--navy);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 200ms var(--ease-out);
}

.skip-link:focus {
  top: var(--space-2);
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-5);
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.1rem 2.2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 200ms var(--ease-out), background-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
  min-height: 44px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--lime);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--lime-dark);
  box-shadow: 0 8px 24px rgba(193, 255, 114, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--offwhite);
  border: 2px solid var(--offwhite);
}

.btn-outline:hover {
  background: var(--offwhite);
  color: var(--navy);
}

/* ============================================
   Topbar
   ============================================ */
.topbar {
  background: var(--navy-topbar);
  color: var(--white);
  text-align: center;
  padding: 0.85rem var(--space-2);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topbar__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  margin-right: 0.6rem;
  vertical-align: middle;
}

.topbar strong {
  font-weight: 800;
}

/* ============================================
   Site header / nav
   ============================================ */
#coach,
#leistungen,
#bewertungen,
#kontakt {
  scroll-margin-top: 88px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 36, 84, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out);
}

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

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.main-nav {
  display: none;
  align-items: center;
  gap: var(--space-4);
}

.main-nav a {
  text-decoration: none;
  color: var(--offwhite);
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 150ms var(--ease-out);
}

.main-nav a:hover {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-actions .btn-primary {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  background: transparent;
  border: none;
  color: var(--white);
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .header-actions .btn-primary {
    display: inline-flex;
    padding: 0.85rem 1.6rem;
    font-size: 0.95rem;
  }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  padding: var(--space-3);
  /* Bei niedrigen Fenstern ist der Inhalt höher als das Panel. Ohne Scrollen
     ragt der Überschuss aus dem Kasten heraus — und translateY(-100%)
     verschiebt nur um die Kastenhöhe, nicht um die Inhaltshöhe. */
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(-100%);
  /* visibility blendet auch überstehenden Inhalt zuverlässig aus.
     Beim Schließen erst nach der Bewegung, beim Öffnen sofort. */
  visibility: hidden;
  transition: transform 300ms var(--ease-out), visibility 0s linear 300ms;
}

.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 300ms var(--ease-out), visibility 0s linear 0s;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.mobile-menu__close {
  background: transparent;
  border: none;
  color: var(--white);
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}

.mobile-menu__close svg {
  width: 28px;
  height: 28px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-menu nav a {
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
}

.mobile-menu .btn {
  margin-top: var(--space-5);
  align-self: flex-start;
}

@media (min-width: 900px) {
  .mobile-menu {
    display: none;
  }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding-block: var(--space-6) var(--space-7);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.hero__media {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #0a1a35;
  max-width: 26rem;
  margin-inline: auto;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media .hero__cutout {
  object-fit: contain;
  object-position: bottom;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-7);
  }

  .hero__media {
    max-width: none;
  }
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  /* Auf Telefonen an der Breite skaliert statt fester Untergrenze:
     "was du liebst." ist die längste Zeile. Gemessenes Maximum: 48px bei
     375px Breite — 12.4vw bleibt auf allen Telefonbreiten knapp darunter.
     Ab 480px greift die Desktop-Kurve nahtlos (beide treffen sich bei 3.2rem). */
  font-size: clamp(2.4rem, 12.4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

@media (min-width: 480px) {
  .hero__headline {
    font-size: clamp(3.2rem, 7vw, 4.6rem);
  }
}

.hero__headline .line-accent {
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

.hero__headline .line-accent img,
.hero__headline .line-accent svg {
  width: 0.85em;
  height: 0.85em;
  flex-shrink: 0;
}

/* Herzschlag: kurzer Doppelschlag, dann Pause — wie ein echter Puls,
   nicht wie ein gleichmäßiges Pulsieren. */
.hero__heart {
  transform-origin: center;
  animation: heartbeat 1.8s ease-in-out infinite;
  will-change: transform;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.14);
  }
  24% {
    transform: scale(1);
  }
  36% {
    transform: scale(1.09);
  }
  50%,
  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__heart {
    animation: none;
  }
}

.hero__headline .line-italic {
  display: block;
  font-style: italic;
  font-weight: 700;
  color: var(--offwhite);
}

.hero__lead {
  max-width: 34rem;
  font-size: var(--text-body);
  color: var(--offwhite);
  opacity: 0.92;
  margin-bottom: var(--space-4);
}

/* ============================================
   Section basics
   ============================================ */
.section {
  padding-block: var(--space-7);
}

/* Ruhiger Auftritt beim Scrollen — nur wenn JS läuft und Motion erlaubt ist. */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

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

/* Signatur: EKG-Streifen statt anonymer Trennlinie.
   Die Kurve stammt aus dem Herz-Icon der Wortmarke im Hero. */
.section--divider {
  position: relative;
}

.section--divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='24' viewBox='0 0 240 24'%3E%3Cpath d='M0 12 H90 L96 9 L102 12 L106 15 L113 3 L119 21 L125 12 H140 L148 8 L156 12 H240' fill='none' stroke='%23c1ff72' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left center;
  opacity: 0.45;
  pointer-events: none;
}

/* Erst wenn JS läuft (und Motion erlaubt ist), zeichnet sich die Kurve auf. */
.js-anim .section--divider::before {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1400ms var(--ease-out);
}

.js-anim .section--divider.is-visible::before {
  clip-path: inset(0 0 0 0);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.25;
  max-width: 40rem;
}

.down-arrow {
  margin-top: var(--space-3);
  color: var(--offwhite);
  opacity: 0.8;
}

.down-arrow svg {
  width: 28px;
  height: 28px;
  animation: bob 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .down-arrow svg {
    animation: none;
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ============================================
   Coach section
   ============================================ */
.coach {
  padding-block: var(--space-7);
}

.coach__grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

@media (min-width: 900px) {
  /* Schmale Videospalte + großzügiger Abstand, damit der Text klar rechts steht */
  .coach__grid {
    /* Video war 217px höher als der Textblock und dominierte die Sektion. */
    grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
    gap: clamp(3rem, 7vw, 7rem);
  }
  .coach__grid.is-reverse {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.coach__media {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  /* 9:16 entspricht dem Quellvideo (1080×1920) — kein Beschnitt */
  aspect-ratio: 9 / 16;
  background: #0a1a35;
  max-width: 22rem;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .coach__media {
    margin-inline: 0;
  }
}

.coach__media img,
.coach__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach__heading {
  font-family: var(--font-display);
  font-weight: 800;
  /* Stand mit 44px zu klein neben der 73.6px-Hero-Zeile darüber. */
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  /* Ohne diese Zeile erbt die Überschrift die Fließtext-Zeilenhöhe 1.6
     und wirkt auseinandergerissen. */
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

/* Name immer geschlossen in der zweiten Zeile — sonst bricht er je nach
   Breite mitten zwischen Vor- und Nachnamen um. */
.coach__name {
  display: block;
}

.coach__facts {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 1.15rem;
}

.coach__facts li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.coach__text {
  max-width: 30rem;
  font-size: var(--text-body);
  color: var(--offwhite);
  opacity: 0.92;
  line-height: 1.6;
}

/* ============================================
   Services
   ============================================ */
.services__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.services__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
  /* Gemischte Schreibweise braucht engere Laufweite als Versalien */
  letter-spacing: -0.02em;
  color: var(--lime);
  margin: 0;
}

.services__grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 760px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--lime);
  border-radius: var(--radius-md);
  /* Auf schmalen Displays weniger Innenabstand — sonst bleiben pro Zeile
     nur ~31 Zeichen und der Text bricht zu oft um. */
  padding: var(--space-3) 1.15rem;
  transition: background-color 220ms var(--ease-out), transform 220ms var(--ease-out);
}

@media (min-width: 560px) {
  .service-card {
    padding: var(--space-4) var(--space-3);
  }
}

@media (hover: hover) {
  .service-card:hover {
    background: rgba(193, 255, 114, 0.06);
    transform: translateY(-4px);
  }
}

.service-card__media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: var(--space-3);
}

.service-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  /* Standard etwas höher, damit Gesichter im Zuschnitt bleiben.
     Pro Karte über --focal-y am .service-card__media justierbar. */
  object-position: center var(--focal-y, 32%);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  color: var(--lime);
  margin-bottom: var(--space-3);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: center;
  color: var(--lime);
  margin: 0 0 var(--space-3);
}

.service-card__text {
  color: var(--offwhite);
  opacity: 0.9;
}

/* ============================================
   Testimonials / social proof
   ============================================ */
.proof {
  padding-block: var(--space-7);
}

.proof__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--space-6) var(--space-4) var(--space-5);
  isolation: isolate;
}

.proof__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Die Karte ist breit und flach, vom Hochformat bleibt nur ein Streifen.
     Mittig (50%) schnitt es beiden Personen die Köpfe ab. */
  object-position: center 38%;
  z-index: -2;
  filter: grayscale(1);
}

.proof__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.75) 100%);
  z-index: -1;
}

.proof__stars {
  display: flex;
  gap: 0.4rem;
  margin-bottom: var(--space-3);
}

.proof__stars svg {
  width: 28px;
  height: 28px;
  color: var(--lime);
}

.proof__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  max-width: 24rem;
  margin-bottom: var(--space-2);
}

.proof__text {
  max-width: 26rem;
  margin-bottom: var(--space-4);
  opacity: 0.95;
}

/* Reviews — endless auto-scroll carousel */
.reviews {
  margin-top: var(--space-6);
}

.reviews__viewport {
  overflow: hidden;
  /* Ränder sanft ausblenden, damit die Endlosschleife nicht abgeschnitten wirkt */
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.reviews__track {
  display: flex;
  width: max-content;
  animation: review-scroll 46s linear infinite;
}

.reviews__viewport:hover .reviews__track,
.reviews__viewport:focus-within .reviews__track,
.reviews.is-paused .reviews__track {
  animation-play-state: paused;
}

.reviews__group {
  display: flex;
  gap: var(--space-3);
  padding-right: var(--space-3);
}

@keyframes review-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Kein Auto-Scroll: zurück zum manuellen Swipe */
  .reviews__viewport {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
    scroll-snap-type: x proximity;
  }
  .reviews__track {
    animation: none;
  }
  .reviews__group[aria-hidden="true"] {
    display: none;
  }
  .review {
    scroll-snap-align: start;
  }
  .reviews__pause {
    display: none;
  }
}

.review {
  flex: 0 0 auto;
  width: min(20rem, 84vw);
  margin: 0;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

@media (min-width: 560px) {
  .review {
    padding: var(--space-3);
  }
}

.review__quote {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 0.6;
  color: var(--lime);
  margin-bottom: var(--space-2);
}

.review__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: var(--space-2);
}

.review__stars svg {
  width: 18px;
  height: 18px;
  color: var(--lime);
}

.review__text {
  margin: 0 0 var(--space-3);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--offwhite);
  opacity: 0.92;
}

.review__author {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
}

.review__author span {
  font-weight: 400;
  opacity: 0.7;
}

.reviews__pause {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-3);
  min-height: 44px;
  padding: 0 var(--space-2);
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  color: var(--offwhite);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}

.reviews__pause:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--lime);
}

.reviews__pause svg {
  width: 16px;
  height: 16px;
}

.reviews__pause .reviews__pause-icon--play,
.reviews__pause[aria-pressed="true"] .reviews__pause-icon--pause {
  display: none;
}

.reviews__pause[aria-pressed="true"] .reviews__pause-icon--play {
  display: block;
}

/* ============================================
   Ticker (marquee under topbar)
   ============================================ */
/* Sitzt unter dem Hero und trennt ihn von der Coach-Sektion —
   deshalb oben und unten eine Kante statt nur unten. */
.ticker {
  background: var(--black-2);
  border-block: 1px solid var(--border-soft);
  overflow: hidden;
  padding-block: 0.85rem;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-right: var(--space-4);
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--offwhite);
  opacity: 0.9;
}

.ticker__item svg {
  width: 17px;
  height: 17px;
  color: var(--lime);
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
}

/* ============================================
   Section eyebrow
   ============================================ */
.section__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: var(--space-3);
}

/* ============================================
   Ebook / Guide
   ============================================ */

.ebook__grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

@media (min-width: 900px) {
  .ebook__grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--space-6);
  }
}

.ebook__cover {
  position: relative;
  max-width: 20rem;
  margin-inline: auto;
  width: 100%;
}

.ebook__cover img {
  width: 100%;
  height: auto;
  /* Kein fester Zuschnitt: das Cover soll vollständig zu sehen sein,
     sonst wird der Titel oben abgeschnitten. */
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.ebook__badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  background: var(--lime);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
}

.ebook__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.ebook__text {
  max-width: 34rem;
  color: var(--offwhite);
  opacity: 0.92;
  font-size: var(--text-body);
  line-height: 1.65;
  margin-bottom: var(--space-3);
}

.ebook__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  display: grid;
  gap: 0.7rem;
}

.ebook__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.5;
}

.ebook__list svg {
  width: 20px;
  height: 20px;
  color: var(--lime);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.ebook-form {
  max-width: 30rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}

.ebook-form__submit {
  width: 100%;
  justify-content: center;
}

.ebook-form__submit svg {
  width: 19px;
  height: 19px;
}

.ebook-form__note {
  margin: var(--space-2) 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--offwhite);
  opacity: 0.75;
}

/* Consent-Checkbox */
.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.7rem;
  align-items: start;
}

.check__input {
  width: 22px;
  height: 22px;
  margin: 0.15rem 0 0;
  accent-color: var(--lime);
  cursor: pointer;
  flex-shrink: 0;
}

.check__label {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--offwhite);
  opacity: 0.9;
  cursor: pointer;
}

.check__label a {
  color: var(--lime);
}

.field--check .field__error {
  grid-column: 1 / -1;
}

.field--check.is-invalid .check__input {
  outline: 2px solid #ffb4b4;
  outline-offset: 2px;
}

/* ============================================
   CTA + Lead form
   ============================================ */
.cta-form__grid {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}

@media (min-width: 900px) {
  .cta-form__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
}

.cta-form__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.cta-form__text {
  max-width: 32rem;
  color: var(--offwhite);
  opacity: 0.92;
  font-size: var(--text-body);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.cta-form__facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.cta-form__facts li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.98rem;
}

.cta-form__facts svg {
  width: 21px;
  height: 21px;
  color: var(--lime);
  flex-shrink: 0;
}

.lead-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
}

@media (min-width: 640px) {
  .lead-form {
    padding: var(--space-4);
  }
}

.lead-form__hint {
  font-size: 0.9rem;
  color: var(--offwhite);
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: var(--space-3);
}

.field {
  margin-bottom: var(--space-3);
}

.field__label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  color: var(--white);
}

.field__label span[aria-hidden] {
  color: var(--lime);
}

.field__optional {
  font-weight: 400;
  opacity: 0.7;
}

.field__input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 1rem; /* 16px verhindert Auto-Zoom auf iOS */
  color: var(--white);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.field__input::placeholder {
  color: var(--offwhite);
  opacity: 0.5;
}

.field__input:focus-visible {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(193, 255, 114, 0.25);
}

.field__input--area {
  min-height: 118px;
  resize: vertical;
  line-height: 1.55;
}

select.field__input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fffafd' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 18px;
  padding-right: 2.6rem;
  cursor: pointer;
}

.field__help {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--offwhite);
  opacity: 0.72;
}

.field__error {
  margin: 0.4rem 0 0;
  font-size: 0.87rem;
  font-weight: 600;
  color: #ffb4b4;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* `display: flex` überschreibt das eingebaute [hidden] { display: none } des
   Browsers — ohne diese Regel blieb das rote Ausrufezeichen sichtbar,
   bevor überhaupt etwas eingegeben wurde. */
.field__error[hidden] {
  display: none;
}

.field__error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffb4b4;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.field.is-invalid .field__input {
  border-color: #ffb4b4;
}

.lead-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-1);
}

.lead-form__submit svg {
  width: 20px;
  height: 20px;
}

.lead-form__alt {
  margin: var(--space-2) 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--offwhite);
  opacity: 0.85;
}

.lead-form__alt a {
  color: var(--lime);
}

.lead-form__status {
  margin: var(--space-2) 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--lime);
  text-align: center;
}

/* Nach dem Absenden ist das der wichtigste Satz auf der Seite —
   deshalb als eigenes Feld statt als Kleingedrucktes. */
.lead-form__status:not(:empty) {
  text-align: left;
  line-height: 1.5;
  padding: var(--space-2);
  border: 1px solid var(--lime);
  border-radius: var(--radius-sm);
  background: rgba(193, 255, 114, 0.1);
}

.lead-form__status:empty {
  margin: 0;
}

.ebook-form__note strong {
  color: var(--white);
  font-weight: 700;
}

/* ============================================
   Contact CTA band
   ============================================ */
/* ============================================
   Footer
   ============================================ */
.social-row {
  display: flex;
  gap: var(--space-3);
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: color 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.social-row a:hover {
  color: var(--lime);
  transform: translateY(-2px);
}

.social-row svg {
  width: 26px;
  height: 26px;
}

.site-footer {
  background: var(--black);
  color: var(--white);
  padding-top: var(--space-5);
  padding-bottom: var(--space-4);
}

/* Drei Spalten: Rechtliches links, Social mittig, Kontakt rechts */
.footer__top {
  display: grid;
  gap: var(--space-4);
  justify-items: center;
  text-align: center;
  margin-bottom: var(--space-4);
}

/* Auf dem Handy zuerst die Social-Icons, danach die Textblöcke.
   Die Reihenfolge im HTML bleibt unverändert, damit das Desktop-Raster
   weiterhin Rechtliches | Social | Kontakt ergibt. */
.footer__top .social-row {
  order: -1;
}

@media (min-width: 800px) {
  .footer__top {
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: var(--space-3);
  }
  .footer__top .social-row {
    order: 0;
  }
  .footer__top .footer__legal {
    justify-self: start;
    text-align: left;
  }
  .footer__top .footer__contact {
    justify-self: end;
    text-align: right;
  }
}

.footer__legal,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: 0.95rem;
  margin: 0;
}

.footer__legal a {
  color: var(--white);
  text-decoration: none;
}

.footer__legal a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__contact a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.9;
}

.footer__contact a:hover {
  opacity: 1;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 13vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  text-align: center;
  margin: 0 0 var(--space-3);
}

/* Bildband zwischen Formular und Footer */
.footer-band {
  background: var(--navy);
}

.footer-band img {
  width: 100%;
  height: clamp(180px, 30vw, 380px);
  object-fit: cover;
  /* Gesichter liegen bei ~48 % der Bildhöhe — 35 % zeigte zu viel Decke */
  object-position: center 48%;
  filter: grayscale(1) brightness(0.8);
}

/* Am Desktop wird das Hochformat auf die volle Breite skaliert, dadurch
   bleibt nur ein schmaler Streifen sichtbar. Höherer Streifen + tieferer
   Bildausschnitt, damit Hand UND das Gesicht rechts komplett drin sind. */
@media (min-width: 900px) {
  .footer-band img {
    /* Randlos wird das Hochformat auf volle Breite skaliert. Für denselben
       Ausschnitt (Hand + Gesicht rechts) braucht es deshalb 520px. */
    height: 520px;
    object-position: center 54%;
  }
}

.footer__copy {
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.6;
}

.footer__copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   Legal pages
   ============================================ */
.legal-page {
  padding-block: var(--space-6) var(--space-8);
}

.legal-page h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-5);
}

.legal-page h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin: var(--space-6) 0 var(--space-2);
  color: var(--lime);
}

.legal-page h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin: var(--space-4) 0 var(--space-1);
}

.legal-page p,
.legal-page li {
  max-width: 65ch;
  opacity: 0.92;
  margin-bottom: var(--space-2);
}

.legal-page ul {
  padding-left: 1.2rem;
}

.legal-page a {
  color: var(--lime);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: var(--space-5);
  text-decoration: none;
  font-weight: 600;
  color: var(--lime);
}

.back-link svg {
  width: 18px;
  height: 18px;
}
