/* Liberex – Webseite
   Richtung „Bühne“: links eine feste blaue Bühne mit Web-Portal und App, rechts eine ruhige Lesespalte.
   Nachtblauer Grund, Markenblau als Bühne und Aktion, abgerundete Rechtecke statt Kreise.
   Schrift: General Sans, lokal gespeichert (fonts/). Alle Farben und Größen kommen aus den Tokens. */

@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* Farbe */
  --ground: #0b2540;      /* Nachtblau: der Grund der Seite */
  --ground-2: #071a2e;    /* eine Stufe dunkler */
  --surface: #133559;     /* eine Stufe heller */
  --blue: #098fe2;        /* Markenblau: Bühne und Aktion */
  --blue-hover: #2ba3f0;
  --light: #eef4f9;       /* Schrift auf Nachtblau */
  --muted: #a9bdd0;       /* Nebenschrift auf Nachtblau */
  --paper: #f3f7fa;       /* helle Flächen */
  --ink: #0b2540;         /* Schrift auf hellen Flächen und auf Blau */
  --ink-muted: #48596b;
  /* Kategoriefarben, nur als Punkte und Bühnentöne */
  --teal: #07986a;
  --yellow: #ffc93c;
  --red: #e5484d;
  --danger: #b3261e;

  --font: "General Sans", "Helvetica Neue", Arial, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.2rem + 2.2vw, 3.25rem);
  --step-display: clamp(5rem, 1rem + 12vw, 12rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(0.75rem, 1.4vw, 1.5rem);
  --section: clamp(5rem, 2rem + 9vw, 11rem);
  --frame: 1920px;
  --r: 16px;
  --r-phone: 28px;

  /* Haken aus Font Awesome Free 6 (CC BY 4.0), als Maske eingebettet */
  --fa-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E");
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--light);
  font-family: var(--font);
  font-size: var(--step-body);
  line-height: 1.55;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.9em; }
ul, ol { margin: 0; padding: 0; }
strong, b { font-weight: 600; }
a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-color: currentColor; } }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
::selection { background: var(--blue); color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--margin); top: -100px; z-index: 60; background: var(--paper); color: var(--ink); padding: 0.75rem 1rem; border-radius: 10px; }
.skip:focus { top: 0.75rem; }

.head { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.3; }
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-inline: var(--margin); max-width: var(--frame); margin-inline: auto; }
.wrap { padding-inline: var(--margin); max-width: var(--frame); margin-inline: auto; }
.sec { padding-block: var(--section); }

/* Helle Fläche: Schrift dreht sich um */
.on-paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.on-paper .muted { color: var(--ink-muted); }
.on-paper :focus-visible { outline-color: var(--blue); }

/* ---------- Knöpfe ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 50px; padding: 0.7em 1.45em;
  border: 0; border-radius: 12px;
  background: var(--blue); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); font-weight: 600; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .button:hover { background: var(--blue-hover); } }
.button[disabled] { opacity: 0.55; cursor: not-allowed; }
.button--dark { background: var(--ink); color: var(--light); }
@media (hover: hover) and (pointer: fine) { .button--dark:hover { background: #163c63; } }
.button--light { background: var(--paper); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .button--light:hover { background: #ffffff; } }
.linkbutton {
  background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer; font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) { .linkbutton:hover { text-decoration-color: currentColor; } }

.stores { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.stores a { display: block; border-radius: 9px; transition: transform var(--t-press) var(--ease-out); }
.stores a:active { transform: scale(0.97); }
.stores img { height: 44px; width: auto; }

/* Aufzählung mit Haken */
.dots { list-style: none; display: grid; gap: 0.45rem; }
.dots li { display: grid; grid-template-columns: 0.9em 1fr; gap: 0.65em; align-items: baseline; }
.dots li::before { content: ""; width: 0.9em; height: 0.9em; background: var(--c, var(--blue)); -webkit-mask: var(--fa-check) center / contain no-repeat; mask: var(--fa-check) center / contain no-repeat; transform: translateY(0.1em); }

/* ---------- Kopfzeile ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem var(--margin);
  max-width: var(--frame); margin-inline: auto;
  position: relative; z-index: 30;
}
.home .site-header { position: absolute; inset: 0 0 auto 0; padding-left: calc(20px + clamp(1.25rem, 2.5vw, 2.5rem)); }
.site-header__brand { display: block; border-radius: 6px; }
.site-header__brand img { width: 128px; height: auto; }
.site-header__nav { display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 1.75rem); font-weight: 500; font-size: 0.9375rem; }
.site-header__nav a:not(.button) { text-decoration-color: transparent; white-space: nowrap; }
.site-header__nav a[aria-current="page"] { text-decoration-color: currentColor; }
@media (hover: hover) and (pointer: fine) { .site-header__nav a:not(.button):hover { text-decoration-color: currentColor; } }
.site-header__nav .button { min-height: 44px; font-size: 0.9375rem; }
.home .site-header__brand { color: var(--ink); }
.site-header__menu { display: none; background: none; border: 0; min-height: 44px; font-weight: 600; cursor: pointer; padding: 0 0.25rem; }

.menu-sheet { position: fixed; inset: 0; z-index: 50; background: var(--ground); color: var(--light); padding: 1.25rem var(--margin) 2rem; display: flex; flex-direction: column; gap: 2rem; overflow-y: auto; }
.menu-sheet[hidden] { display: none; }
.menu-sheet__top { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.menu-sheet__top img { width: 116px; }
.menu-sheet__close { background: none; border: 0; font-weight: 600; min-height: 44px; cursor: pointer; }
.menu-sheet nav ul { list-style: none; display: grid; gap: 0.2rem; }
.menu-sheet nav a { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; display: block; padding-block: 0.2rem; }
.menu-sheet .button { align-self: flex-start; }
@media (prefers-reduced-motion: no-preference) {
  .menu-sheet { transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out); }
  .menu-sheet.is-opening { opacity: 0; transform: translateY(-8px); }
}
@media (max-width: 1023px) {
  .site-header__nav { display: none; }
  .site-header__menu { display: inline-flex; align-items: center; }
  .home .site-header { padding: 1.25rem calc(12px + 1rem); }
}

/* ---------- Bühne und Lesespalte ---------- */
.split { display: grid; grid-template-columns: 47% 53%; max-width: var(--frame); margin-inline: auto; }
.stage { position: sticky; top: 0; height: 100svh; padding: 20px 0 20px 20px; }
.stage__in {
  height: 100%; border-radius: var(--r); background: var(--blue); color: var(--ink);
  position: relative; overflow: hidden; isolation: isolate;
  transition: background-color 700ms ease;
}
.stage__in[data-tone="teal"] { background: var(--teal); }
.stage__in[data-tone="yellow"] { background: var(--yellow); }
.shot { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 700ms ease, visibility 0s linear 700ms; }
.shot.is-on { opacity: 1; visibility: visible; transition: opacity 700ms ease, visibility 0s; }
.shot .web, .shot .phone { position: absolute; background: #fff; overflow: hidden; }
.shot .web { border-radius: 12px; width: 80%; aspect-ratio: 3 / 2; }
.shot .web img, .shot .phone img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.shot .phone { border-radius: var(--r-phone); aspect-ratio: 1 / 2; outline: 7px solid rgba(11, 37, 64, 0.16); }
.shot--duo .web { right: 7%; top: 13%; }
.shot--duo .phone { left: 9%; bottom: 9%; height: 58%; }
.shot--solo .phone { left: 50%; top: 50%; height: min(78%, 700px); translate: -50% -50%; }
.shot--back .web { left: 7%; top: 9%; width: 72%; }
.shot--back .phone { right: 12%; bottom: 7%; height: 66%; }
.stage__count { position: absolute; left: 1.5rem; bottom: 1.1rem; font-weight: 500; font-size: var(--step-small); }
@media (prefers-reduced-motion: no-preference) {
  .shot .phone, .shot .web { transform: translateY(18px) scale(0.97); transition: transform 900ms var(--ease-expo); }
  .shot.is-on .phone, .shot.is-on .web { transform: none; }
  .shot.is-on .phone { transition-delay: 90ms; }
}

.read { padding: 0 var(--margin) 0 clamp(2rem, 5vw, 5.5rem); min-width: 0; }
.intro { min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-top: 6rem; position: relative; }
.intro__say { align-self: center; display: grid; gap: 1.6rem; }
.intro__say .lead { font-size: var(--step-lead); max-width: 30ch; }
.intro__acts { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.facts li { color: var(--muted); }
.facts b { color: var(--light); font-weight: 600; font-variant-numeric: tabular-nums; }

.chap { min-height: 88svh; display: grid; align-content: center; gap: 1.25rem; max-width: 46ch; padding-block: 5rem; }
.chap h2 { font-size: var(--step-head); }
.chap .lead { color: var(--light); }
.chap__pic { display: none; margin: 0; }
.chap .stores { margin-top: 0.5rem; }
.chap__more { font-weight: 500; }

@media (max-width: 899px) {
  .split { grid-template-columns: 1fr; }
  .stage { position: relative; height: 56svh; min-height: 380px; padding: 12px; }
  .stage__count { display: none; }
  .read { padding: 0 var(--margin); }
  .intro { min-height: 0; padding-top: 0; grid-template-rows: auto auto; }
  .intro__say { max-width: none; padding-bottom: 3rem; }
  .chap { min-height: 0; padding-block: 3.5rem; }
  .chap__pic { display: block; order: -1; }
  .chap__pic img { width: min(64%, 260px); aspect-ratio: 1 / 2; object-fit: cover; object-position: 50% 0; border-radius: 24px; background: #fff; }
}

/* ---------- Live: Eingabe links, Ergebnis rechts ---------- */
.live { display: grid; grid-template-columns: 1fr 1fr; min-height: 90svh; max-width: var(--frame); margin-inline: auto; }
.live__in, .live__out { position: relative; padding: clamp(2rem, 5vw, 5rem) var(--margin) 7rem; }
.live__in { background: var(--ground-2); display: grid; align-content: start; gap: 1.5rem; padding-top: 22svh; }
.live__in .field label { font-size: var(--step-body); }
.live__name {
  width: 100%; max-width: 34ch; background: transparent; border: 0; border-bottom: 3px solid var(--blue);
  color: var(--light); font-size: var(--step-lead); font-weight: 500; padding: 0.4rem 0 0.6rem; border-radius: 0;
}
.live__name::placeholder { color: color-mix(in srgb, var(--light) 50%, transparent); }
.live__name:focus-visible { outline: none; border-bottom-color: var(--yellow); }
.cats { border: 0; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.cats legend { padding: 0; margin-bottom: 0.6rem; font-weight: 500; }
.cats__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cat { position: relative; }
.cat input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cat span {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; padding: 0.45rem 1rem 0.45rem 0.6rem;
  border-radius: 10px; background: var(--surface); font-weight: 500;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.cat span::before { content: ""; width: 1.1rem; height: 1.1rem; border-radius: 4px; background: var(--c); }
.cat input:checked + span { background: var(--light); color: var(--ink); }
.cat input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.cat input:active + span { transform: scale(0.97); }
.live__out { background: var(--paper); color: var(--ink); display: grid; align-content: start; gap: 1.75rem; padding-top: 22svh; }
.live__url { font-size: var(--step-lead); font-weight: 600; overflow-wrap: anywhere; line-height: 1.2; }
.live__url span { color: #0a6fb3; }
.live__things { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; }
.live__split { position: absolute; bottom: 2rem; font-size: var(--step-head); line-height: 1; }
.live__in .live__split { left: var(--margin); }
.live__out .live__split { right: var(--margin); text-align: right; }

[data-ui].idcard {
  background: #fff; color: #1d2733; border-radius: 14px; padding: 1.25rem 1.25rem 1rem;
  display: grid; gap: 0.9rem; width: min(100%, 400px);
  box-shadow: 0 1px 0 rgba(11, 37, 64, 0.06), 0 12px 32px -18px rgba(11, 37, 64, 0.35);
}
[data-ui].idcard .idcard__top { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
[data-ui].idcard .idcard__reader { font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
[data-ui].idcard .idcard__lib { color: #5b6773; font-size: 0.95rem; line-height: 1.3; overflow-wrap: anywhere; }
[data-ui].idcard .idcard__logo { width: 92px; flex: none; }
[data-ui].idcard .idcard__code { display: grid; justify-items: center; gap: 0.2rem; }
[data-ui].idcard .idcard__code svg { width: 100%; max-width: 250px; height: 70px; color: #111; }
[data-ui].idcard .idcard__code span { font-size: 0.875rem; }
/* Buchrücken mit Liberex-Etikett */
[data-ui].spine {
  width: 92px; height: 300px; border-radius: 6px; background: #1c4f7c; color: #fff;
  display: grid; grid-template-rows: 1fr auto; justify-items: center; padding: 0.9rem 0.5rem; gap: 0.75rem;
  transition: background-color 400ms ease;
}
[data-ui].spine .spine__title { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; }
[data-ui].spine .spine__label { width: 70px; background: #fff; color: #111; border-radius: 6px; padding: 0.45rem 0.25rem; display: grid; justify-items: center; gap: 0.15rem; font-weight: 600; font-size: 0.95rem; line-height: 1.1; }
[data-ui].spine .spine__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); transition: background-color 400ms ease; margin-bottom: 0.15rem; }
@media (prefers-reduced-motion: no-preference) {
  .is-changed { animation: tick 380ms var(--ease-out); }
  @keyframes tick { from { opacity: 0.35; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 899px) {
  .live { grid-template-columns: 1fr; }
  .live__in, .live__out { min-height: 62svh; padding-top: 3rem; padding-bottom: 5.5rem; }
  .live__out { padding-top: 5.5rem; }
  .live__out .live__split { top: 1.25rem; bottom: auto; left: var(--margin); right: auto; text-align: left; }
  .live__in .live__split { bottom: 1.25rem; }
}

/* ---------- Beleg: eine ruhige Logozeile ---------- */
.proof { padding-block: clamp(5rem, 3rem + 5vw, 9rem); }
.proof__row { display: flex; align-items: center; justify-content: space-between; gap: 2rem 3rem; flex-wrap: wrap; }
.proof__row h2 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; max-width: 20ch; }
.proof__row ul { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex: 1 1 560px; }
.proof__row li img { height: 64px; width: auto; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.proof__row li img.tall { height: 88px; }
@media (max-width: 719px) {
  .proof__row ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem; flex-basis: 100%; }
}

/* ---------- Stimmen: als Kommentar in der App ---------- */
.voices { padding-block: var(--section); }
.voices .grid > * { grid-column: 2 / 10; }
[data-ui].comment { --cs: 1; display: grid; grid-template-columns: auto 1fr; column-gap: 0.75em; row-gap: 0.35em; }
[data-ui].comment .comment__disc { width: 2.4em; height: 2.4em; border-radius: 10px; background: var(--blue); color: var(--ink); display: grid; place-items: center; font-weight: 600; font-size: 0.5em; grid-row: 1 / 3; align-self: start; }
[data-ui].comment .comment__who { font-size: 0.5em; font-weight: 500; color: var(--muted); line-height: 1.3; align-self: center; }
[data-ui].comment .comment__body { grid-column: 2; margin: 0; max-width: 30ch; }
[data-ui].comment--big { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.25rem); line-height: 1.2; letter-spacing: -0.015em; }
[data-ui].comment--big .comment__rest { grid-column: 2; font-size: var(--step-body); line-height: 1.55; letter-spacing: 0; margin-top: 0.75rem; max-width: 46ch; color: var(--light); }
[data-ui].comment--big .comment__disc { width: 1.9em; height: 1.9em; font-size: 0.5em; }
[data-ui].comment--reply { font-size: var(--step-lead); line-height: 1.35; max-width: 520px; }
[data-ui].comment--reply .comment__disc { width: 2.2em; height: 2.2em; font-size: 0.75em; background: var(--surface); color: var(--light); }
[data-ui].comment--reply .comment__who { font-size: 0.75em; }
.voices__replies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem var(--gutter); align-items: start; margin-top: 4rem; }
@media (max-width: 899px) { .voices .grid > * { grid-column: 1 / -1; } }
@media (max-width: 719px) { .voices__replies { grid-template-columns: 1fr; margin-top: 3rem; } }

/* ---------- Preise: zwei Angebote, zwei Felder ---------- */
.plans__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; padding-bottom: 2.5rem; }
.plans__head p { color: var(--muted); max-width: 38ch; }
.plans { display: grid; grid-template-columns: 1fr 1fr; min-height: 72svh; max-width: var(--frame); margin-inline: auto; }
.plan { padding: clamp(2rem, 4vw, 3.5rem) var(--margin); display: grid; align-content: space-between; gap: 2.25rem; }
.plan--a { background: var(--blue); color: var(--ink); }
.plan--b { background: var(--surface); }
.plan h3 { font-size: var(--step-lead); font-weight: 600; line-height: 1.2; max-width: 22ch; }
.plan__price { font-size: clamp(4.5rem, 2rem + 7vw, 9.5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 0.85; font-variant-numeric: tabular-nums; }
.plan__per { margin-top: 0.6rem; }
.plan .dots { font-size: var(--step-lead); line-height: 1.3; }
.plan--a .dots li::before { background: var(--ink); }
.plan--a .button { background: var(--ink); color: var(--light); }
@media (hover: hover) and (pointer: fine) { .plan--a .button:hover { background: #163c63; } }
.plan__acts { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
@media (max-width: 899px) { .plans { grid-template-columns: 1fr; } .plan { min-height: 70svh; } }

/* ---------- Fragen: als Lesetext ---------- */
.faq__head { grid-column: 1 / 4; }
.faq__head h2 { font-size: var(--step-head); }
.faq__text { grid-column: 5 / -1; columns: 2; column-gap: 56px; }
.faq__text p { break-inside: avoid; margin: 0 0 1.4rem; max-width: 38ch; color: var(--muted); }
.faq__text p strong { color: var(--light); font-weight: 600; }
@media (max-width: 1023px) { .faq__head, .faq__text { grid-column: 1 / -1; } .faq__text { margin-top: 2rem; } }
@media (max-width: 719px) { .faq__text { columns: 1; } }

/* ---------- Brief vom Team ---------- */
.letter { padding-block: 1rem var(--section); }
.letter__sheet {
  width: min(680px, 100% - 2 * var(--margin)); margin-inline: auto; background: var(--paper); color: var(--ink);
  padding: clamp(1.5rem, 4vw, 3.75rem); position: relative; border-radius: var(--r) var(--r) 0 0;
}
.letter__faces { display: flex; gap: 0.5rem; margin-bottom: 1.75rem; }
.letter__faces img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #fff; }
.letter__sheet h2 { font-size: var(--step-lead); font-weight: 600; margin-bottom: 1.25rem; }
.letter__sheet p { max-width: 58ch; }
.letter__sign { margin-top: 2rem; display: grid; gap: 0.15rem; }
.letter__sign strong { font-size: var(--step-lead); font-weight: 600; }
.letter__sign span { color: var(--ink-muted); font-size: var(--step-small); }
.letter__strip {
  width: min(680px, 100% - 2 * var(--margin)); margin: 0 auto; padding: 1.25rem clamp(1.5rem, 4vw, 3.75rem);
  background: var(--blue); color: var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  border-radius: 0 0 var(--r) var(--r);
}
.letter__strip a { font-weight: 600; font-size: var(--step-lead); }

/* ---------- Kontakt: ein Feld ---------- */
.contact { padding-block: clamp(5rem, 3rem + 6vw, 9rem) clamp(4rem, 2rem + 5vw, 7rem); }
.contact__col { width: min(600px, 100%); margin-inline: auto; display: grid; gap: 1.75rem; }
.contact__prompt { font-size: var(--step-lead); font-weight: 500; line-height: 1.3; }
.contact__prompt span { display: block; color: var(--muted); }
.contact__prompt strong { font-weight: 500; }
.onefield { position: relative; }
.onefield textarea {
  display: block; width: 100%; min-height: 9.5rem; max-height: 24rem; border: 0; border-radius: 14px; background: var(--paper); color: var(--ink);
  padding: 1.15rem 4.5rem 1.15rem 1.5rem; font-size: var(--step-body); line-height: 1.55;
  resize: none; field-sizing: content; overflow-y: auto; /* wächst mit dem Text, siehe initMessage in site.js */
}
.onefield textarea::placeholder { color: var(--ink-muted); }
.onefield textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.onefield button {
  position: absolute; right: 8px; bottom: 8px; width: 48px; height: 48px; border-radius: 10px;
  border: 0; background: var(--blue); color: var(--ink); display: grid; place-items: center; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.onefield button:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .onefield button:hover { background: var(--blue-hover); } }
.onefield button[disabled] { opacity: 0.6; }
.contact__who { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact__who input {
  width: 100%; min-height: 52px; border: 0; border-radius: 12px; background: var(--surface); color: var(--light); padding: 0 1.25rem;
}
.contact__who input::placeholder { color: var(--muted); }
.contact__who input:focus-visible { outline: 2px solid var(--blue); outline-offset: 0; }
.contact__note { color: var(--muted); font-size: var(--step-small); }
.contact__rows { margin-top: 3.5rem; display: grid; gap: 0.75rem; }
.contact__rows div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; font-size: var(--step-body); }
.contact__rows dt { color: var(--muted); }
.contact__rows dd { margin: 0; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 719px) {
  .contact__who { grid-template-columns: 1fr; }
  .contact__rows div { grid-template-columns: 1fr; gap: 0.1rem; }
}

/* Meldungen (auch von src/kontakt.php geliefert) */
.alert { padding: 1rem 1.25rem; border-radius: 12px; background: var(--surface); color: var(--light); max-width: 70ch; }
.alert-success { background: #0d5c45; }
.alert-danger { background: #6e1f1a; }
.alert-warning { background: #6b4b07; }
.alert-info, .alert-primary { background: #12466f; }
.on-paper .alert { color: var(--ink); background: #e3ebf2; }
.on-paper .alert-success { background: #d6efe4; }
.on-paper .alert-danger { background: #f6dedb; }
.on-paper .alert-warning { background: #f8ecd2; }
.on-paper .alert-info, .on-paper .alert-primary { background: #d9ebf8; }
.alert a { font-weight: 600; }
.d-none { display: none !important; }

/* ---------- Fußzeile: eine ruhige Zeile ---------- */
.site-footer { padding: 12svh var(--margin) 1.75rem; max-width: var(--frame); margin-inline: auto; }
.footer__line { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem 2rem; align-items: baseline; font-size: 0.9375rem; color: var(--muted); }
.footer__line nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }
.footer__line nav a { color: var(--light); }
.footer__line .end { text-align: right; }
@media (max-width: 899px) {
  .footer__line { grid-template-columns: 1fr; gap: 0.5rem; }
  .footer__line nav { justify-content: flex-start; }
  .footer__line .end { text-align: left; }
}

/* ---------- Video-Dialog ---------- */
.video-dialog { width: min(1200px, 100% - 2 * var(--margin)); max-height: 92svh; padding: 0; border: 0; border-radius: var(--r); background: var(--ground-2); color: var(--light); overflow: hidden; }
.video-dialog::backdrop { background: rgba(7, 26, 46, 0.86); }
.video-dialog__bar { display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0.75rem 0.4rem 1.25rem; }
.video-dialog__bar button { background: none; border: 0; font-weight: 600; min-height: 44px; cursor: pointer; }
.video-dialog video { width: 100%; max-height: calc(92svh - 60px); background: #000; }
@media (prefers-reduced-motion: no-preference) {
  .video-dialog[open] { animation: dialog-in 260ms var(--ease-out); }
  @keyframes dialog-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
}

/* ---------- Unterseiten ---------- */
.page-head { padding-top: clamp(2.5rem, 1rem + 5vw, 6rem); padding-bottom: clamp(3rem, 1.5rem + 5vw, 6rem); row-gap: 1.5rem; align-items: end; }
.page-head h1 { grid-column: 1 / 8; font-size: clamp(3rem, 1.2rem + 6vw, 7rem); letter-spacing: -0.045em; line-height: 0.9; }
.page-head h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.page-head h1 .line > span { display: block; }
.page-head__stand { grid-column: 8 / -1; display: grid; gap: 1.25rem; }
.page-head__stand .lead { max-width: 32ch; }
@media (max-width: 1023px) { .page-head h1, .page-head__stand { grid-column: 1 / -1; } }

.rows { padding-block: 1rem var(--section); }
.row { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); row-gap: 1.5rem; }
.row + .row { border-top: 0; }
.rows > .row:nth-child(even) { background: color-mix(in srgb, var(--paper) 100%, #dbe5ee 40%); }
.row__side { grid-column: 1 / 5; display: grid; gap: 0.9rem; align-content: start; }
.row__side h2 { font-size: var(--step-head); }
.row__main { grid-column: 6 / -1; display: grid; gap: 2rem; align-content: start; }
.row__pic { margin: 0.5rem 0 0; }
.row__pic .phone { width: min(240px, 62%); aspect-ratio: 1 / 2; object-fit: cover; object-position: 50% 0; border-radius: 24px; background: #fff; outline: 6px solid rgba(11, 37, 64, 0.08); }
.row__pic .webshot { width: 100%; border-radius: 12px; background: #fff; outline: 6px solid rgba(11, 37, 64, 0.08); }
.row__main h3 { font-size: var(--step-lead); font-weight: 600; margin-bottom: 0.7rem; }
.flist { list-style: none; columns: 2; column-gap: clamp(1.5rem, 3vw, 3.5rem); font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.3125rem); }
.flist li { break-inside: avoid; padding: 0.55rem 0 0.55rem 1.8em; position: relative; line-height: 1.35; }
.flist li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 0.95em; height: 0.95em; background: var(--c, #0a6fb3); -webkit-mask: var(--fa-check) center / contain no-repeat; mask: var(--fa-check) center / contain no-repeat; }
@media (max-width: 1023px) { .row__side, .row__main { grid-column: 1 / -1; } }
@media (max-width: 719px) { .flist { columns: 1; } }

.prose { grid-column: 4 / 11; display: grid; gap: 1rem; padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--section); }
.prose h2 { font-size: var(--step-lead); font-weight: 600; margin-top: 1.25rem; }
.prose h3 { font-size: var(--step-body); font-weight: 600; margin-top: 0.75rem; }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: 0.35rem; max-width: 62ch; }
.prose a { overflow-wrap: anywhere; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1.5rem; margin: 0; }
.prose dt { color: var(--ink-muted); }
.prose dd { margin: 0; }
@media (max-width: 1023px) { .prose { grid-column: 1 / -1; } }
@media (max-width: 719px) { .prose dl { grid-template-columns: 1fr; gap: 0.1rem; } .prose dd { margin-bottom: 0.75rem; } }

/* Formulare (helle Fläche) */
.field { display: grid; gap: 0.4rem; }
.field label, .field .field__label { font-weight: 500; }
.on-paper .field input:not([type="checkbox"]):not([type="radio"]), .on-paper .field select, .on-paper .field textarea {
  width: 100%; min-height: 52px; background: #fff; border: 1px solid #b9c7d4; border-radius: 12px;
  padding: 0.7rem 0.9rem; font-size: var(--step-body); color: var(--ink);
}
.on-paper .field textarea { min-height: 140px; resize: vertical; }
.on-paper .field input:not([type="checkbox"]):not([type="radio"]):focus-visible, .on-paper .field select:focus-visible, .on-paper .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 0; border-color: var(--ink); }
.field__hint { color: var(--ink-muted); font-size: var(--step-small); }
.field__error { color: var(--danger); font-size: var(--step-small); font-weight: 600; }
.field__error:empty { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; align-items: start; line-height: 1.55; cursor: pointer; }
.check input { width: 22px; height: 22px; min-height: 0; padding: 0; margin: calc((1.55em - 22px) / 2) 0 0; accent-color: var(--blue); cursor: pointer; }
.check > span { font-weight: 400; }
.field legend { padding: 0; margin-bottom: 0.5rem; }
fieldset.field { gap: 0.6rem; }
.formrows > .formrow { padding-block: clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem); row-gap: 1.25rem; }
.formrows > .formrow:nth-child(even) { background: #e6eef5; }
.formrow__side { grid-column: 1 / 5; display: grid; gap: 0.6rem; align-content: start; }
.formrow__side h2 { font-size: var(--step-lead); font-weight: 600; }
.formrow__main { grid-column: 6 / -1; display: grid; gap: 1.25rem; align-content: start; max-width: 760px; }
.formrow__main .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem var(--gutter); }
@media (max-width: 1023px) { .formrow__side, .formrow__main { grid-column: 1 / -1; } }
@media (max-width: 719px) { .formrow__main .two { grid-template-columns: 1fr; } }

/* Bibliothekssuche */
.finder { grid-column: 1 / 9; display: grid; gap: 1.25rem; padding-block: clamp(3rem, 2rem + 3vw, 5rem) var(--section); }
.finder__input { font-size: var(--step-lead) !important; min-height: 68px !important; border-radius: 14px !important; padding-inline: 1.5rem !important; }
.finder__results { list-style: none; display: grid; gap: 0.5rem; }
.finder__results a { display: grid; gap: 0.1rem; padding: 1rem 1.4rem; border-radius: 14px; background: #fff; text-decoration: none; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.finder__results a:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .finder__results a:hover { background: #dcecf8; } }
.finder__results .finder-name { font-size: var(--step-lead); font-weight: 600; line-height: 1.2; }
.finder__results .finder-url { color: var(--ink-muted); overflow-wrap: anywhere; }
.finder__side { grid-column: 10 / -1; padding-block: clamp(3rem, 2rem + 3vw, 5rem); display: grid; gap: 1rem; align-content: start; }
@media (max-width: 1023px) { .finder, .finder__side { grid-column: 1 / -1; } .finder__side { padding-top: 0; } }

/* Upload */
.dropzone { display: grid; justify-items: start; gap: 0.4rem; padding: 2rem; background: #fff; border: 2px dashed #9fb3c6; border-radius: 16px; cursor: pointer; transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease; }
.dropzone.dragover { background: #dcecf8; border-color: var(--blue); }
.dropzone strong { font-size: var(--step-lead); font-weight: 600; line-height: 1.2; }
.progress { display: none; height: 28px; background: #dbe5ee; border-radius: 8px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--blue); color: var(--ink); font-size: var(--step-small); font-weight: 600; display: flex; align-items: center; justify-content: center; transition: width 200ms linear; }
.file-info { display: none; }

/* Stempel auf der Bestätigungsseite */
.stamp { display: inline-grid; place-items: center; text-align: center; padding: 1.5rem 2rem; border-radius: var(--r); background: var(--blue); color: var(--ink); font-size: var(--step-head); font-weight: 600; letter-spacing: -0.03em; line-height: 0.95; transform: rotate(-8deg); }
.stamp small { display: block; font-size: var(--step-body); font-weight: 500; letter-spacing: 0; margin-top: 0.4rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .stamp { animation: stamp 560ms var(--ease-out) 200ms both; }
  @keyframes stamp { from { opacity: 0; transform: rotate(-8deg) scale(1.2); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
}

/* Funktionen: kleine Bühne pro Gruppe */
.fstage { grid-column: 1 / 5; position: sticky; top: 2rem; align-self: start; }
.fstage img { border-radius: 14px; background: #fff; }
.fstage .phone { width: min(260px, 70%); aspect-ratio: 1 / 2; object-fit: cover; object-position: 50% 0; border-radius: 26px; }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .home .stage__in { clip-path: inset(5% 5% 5% 5% round var(--r)); animation: stage-open 1100ms var(--ease-in-out) 80ms forwards; }
  .js .page-head h1 .line > span { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(160ms + var(--i, 0) * 110ms); }
  .js [data-load] { opacity: 0; transform: translateY(12px); animation: rise 560ms var(--ease-out) forwards; animation-delay: var(--d, 420ms); }
  @keyframes stage-open { to { clip-path: inset(0 round var(--r)); } }
  @keyframes line-up { to { transform: none; } }
  @keyframes rise { to { opacity: 1; transform: none; } }

  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="row"] { opacity: 1; transform: none; }
  .js [data-reveal="row"] > * { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 750ms var(--ease-out); }
  .js [data-reveal="row"].is-in > * { opacity: 1; transform: none; }
  .js [data-reveal="row"] > :nth-child(2) { transition-delay: 70ms; }
  .js [data-reveal="row"] > :nth-child(3) { transition-delay: 140ms; }
  .js [data-reveal="row"] > :nth-child(4) { transition-delay: 210ms; }
  .js [data-reveal="row"] > :nth-child(n + 5) { transition-delay: 280ms; }
  .js [data-reveal="pop"] { opacity: 1; transform: none; }
  .js [data-reveal="pop"] > * { opacity: 0; transform: scale(0.94); transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-expo); }
  .js [data-reveal="pop"].is-in > * { opacity: 1; transform: none; }
  .js [data-reveal="pop"] > :nth-child(2) { transition-delay: 80ms; }
  .js [data-reveal="pop"] > :nth-child(3) { transition-delay: 160ms; }
  .js [data-reveal="pop"] > :nth-child(4) { transition-delay: 240ms; }
}

/* ---------- Angebot: Vergleichstabelle (helle Fläche) ---------- */
.ptable-wrap { width: 100%; }
.ptable { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ptable th, .ptable td { text-align: left; vertical-align: top; padding: 0.9rem 1rem; font-weight: 400; line-height: 1.35; }
.ptable thead th { font-weight: 600; padding-top: 1.25rem; }
.ptable tbody th { font-weight: 500; }
.ptable tbody tr:nth-child(odd) > * { background: #e6eef5; }
.ptable .is-featured { background: #cfe6f8 !important; }
.ptable thead .is-featured { background: var(--blue) !important; color: var(--ink); border-radius: 12px 12px 0 0; }
.help { gap: 2rem; }
.help h3 { font-size: var(--step-lead); font-weight: 600; margin-bottom: 0.4rem; }
@media (max-width: 719px) {
  .ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; width: auto; }
  .ptable thead { display: none; }
  .ptable tr { padding: 0.9rem 0; }
  .ptable tbody tr:nth-child(odd) > * { background: transparent; }
  .ptable tbody tr:nth-child(odd) { background: #e6eef5; }
  .ptable .is-featured { background: transparent !important; }
  .ptable th, .ptable td { padding: 0.2rem 1rem; }
  .ptable td::before { content: attr(data-col) ": "; color: var(--ink-muted); }
}

.form-end { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.spinner-border { display: inline-block; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Kleine Bühne im Kopf der Unterseiten */
.page-head--stage { grid-template-rows: auto 1fr; align-items: start; }
.page-head--stage h1 { grid-column: 1 / 7; grid-row: 1; align-self: end; }
.page-head--stage .page-head__stand { grid-column: 1 / 6; grid-row: 2; padding-top: 0.5rem; }
.mini-stage { grid-column: 8 / -1; grid-row: 1 / 3; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--blue); overflow: hidden; }
.mini-stage .shot { opacity: 1; visibility: visible; }
.mini-stage .shot--duo .phone { height: 64%; bottom: 8%; }
@media (max-width: 1023px) {
  .page-head--stage h1, .page-head--stage .page-head__stand { grid-column: 1 / -1; grid-row: auto; }
  .mini-stage { grid-column: 1 / -1; grid-row: auto; margin-top: 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .mini-stage { clip-path: inset(6% 6% 6% 6% round var(--r)); animation: stage-open 1000ms var(--ease-in-out) 120ms forwards; }
  .js .mini-stage .web, .js .mini-stage .phone { opacity: 0; transform: translateY(24px); animation: rise 900ms var(--ease-expo) forwards; }
  .js .mini-stage .web { animation-delay: 260ms; }
  .js .mini-stage .phone { animation-delay: 380ms; }
}

/* ---------- Geräte-Mockups (vollständig, ohne Beschnitt) ---------- */
.shot .mock { position: absolute; left: 50%; top: 50%; width: 92%; height: 84%; object-fit: contain; translate: -50% -50%; }
.shot[data-shot="0"] .mock { top: 42%; }
@media (prefers-reduced-motion: no-preference) {
  .shot .mock { transform: translateY(22px) scale(0.97); transition: transform 900ms var(--ease-expo); }
  .shot.is-on .mock { transform: none; }
}
.chap__pic img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; background: none; }
@media (max-width: 899px) {
  .chap__pic img { width: 100%; aspect-ratio: auto; border-radius: 0; background: none; }
  .stage { height: auto; min-height: 0; }
  .stage__in { aspect-ratio: 4 / 3.4; height: auto; }
  .shot[data-shot="0"] .mock { top: 50%; }
}
.mini-stage .mock { position: absolute; left: 50%; top: 50%; width: 90%; height: 88%; object-fit: contain; translate: -50% -50%; }
@media (prefers-reduced-motion: no-preference) {
  .js .mini-stage .mock { opacity: 0; transform: translateY(24px); animation: rise 900ms var(--ease-expo) 260ms forwards; }
}
.row__pic .mock { width: 100%; height: auto; }
.row__pic { margin-top: 1rem; }

/* ---------- Font-Awesome-Haken in Tabellen ---------- */
.fa { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -0.18em; }
.fa-check { color: #0a6fb3; }
.fa-xmark { color: #8a97a5; }
.ptable .is-featured .fa-check { color: var(--ink); }

/* ---------- Live-Modul auf dem Handy: Eingabe und Ergebnis dicht beisammen ---------- */
@media (max-width: 899px) {
  .live__in, .live__out { min-height: 0; padding: 2rem var(--margin); }
  .live__in { gap: 1.1rem; padding-bottom: 1.75rem; }
  .live__out { padding-top: 1.5rem; padding-bottom: 2.5rem; gap: 1.1rem; }
  .live__in .live__split { position: static; order: -1; font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .live__in .live__split::after { content: " in Liberex"; }
  .live__out .live__split { display: none; }
  .live__things { flex-wrap: nowrap; gap: 0.75rem; align-items: stretch; }
  .live__things .idcard { flex: 1 1 auto; min-width: 0; }
  [data-ui].spine { width: 64px; height: auto; min-height: 200px; flex: none; }
  [data-ui].spine .spine__label { width: 52px; font-size: 0.8rem; }
}

/* ---------- Team: neutral beschrieben ---------- */
.team { row-gap: 2.5rem; }
.team__text { grid-column: 1 / 7; display: grid; gap: 1.1rem; align-content: start; }
.team__text h2 { font-size: var(--step-head); }
.team__people { grid-column: 8 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); align-content: start; }
.team__people figure { margin: 0; display: grid; gap: 0.6rem; }
.team__people img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 12px; background: #fff; }
.team__people strong { display: block; font-size: var(--step-lead); font-weight: 600; line-height: 1.2; }
.team__people span { color: var(--ink-muted); }
@media (max-width: 1023px) { .team__text, .team__people { grid-column: 1 / -1; } }

/* ---------- Preise: Schule als Hauptprodukt ---------- */
.plans { grid-template-columns: 3fr 2fr; }
.plan--b .plan__price { font-size: clamp(3.5rem, 2rem + 4.5vw, 6.5rem); }
.plan__note { font-weight: 500; }
.plan__note a { font-weight: 600; }
@media (max-width: 899px) { .plans { grid-template-columns: 1fr; } }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem var(--gutter); }
.facts-grid h3 { font-size: var(--step-lead); font-weight: 600; margin-bottom: 0.4rem; line-height: 1.2; }
@media (max-width: 1023px) { .facts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 719px) { .facts-grid { grid-template-columns: 1fr; } }
@media (max-width: 899px) {
  .shot[data-shot="0"] .mock { top: 57%; height: 72%; }
}

.span-all { grid-column: 1 / -1; }
.span-all + .span-all { margin-top: 2.5rem; }
@media (min-width: 1024px) { .span-all .facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4rem); } }

/* ---------- Kernbotschaft im Hero ---------- */
.claim { font-size: clamp(2.25rem, 1.1rem + 3.4vw, 4.25rem); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
.claim .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.claim .line > span { display: block; }
.intro__say .lead { max-width: 36ch; }
@media (prefers-reduced-motion: no-preference) {
  .js .claim .line > span { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(160ms + var(--i, 0) * 110ms); }
}
@media (max-width: 899px) {
  .intro__say { gap: 1.25rem; }
}
@media (max-width: 899px) {
  .live__in { padding-top: 3.5rem; }
}

/* ---------- Bibliothek finden (unten im Startbildschirm) ---------- */
.hero-find { align-self: end; display: grid; gap: 0.6rem; width: min(100%, 34rem); padding-bottom: 3rem; }
.hero-find__label { font-weight: 500; color: var(--muted); }
.hero-find__field { position: relative; }
.hero-find__field .fa { position: absolute; left: 1.15rem; top: 50%; translate: 0 -50%; width: 1.1rem; height: 1.1rem; color: var(--ink-muted); pointer-events: none; }
.hero-find__field input {
  width: 100%; min-height: 58px; border: 0; border-radius: 14px; background: var(--paper); color: var(--ink);
  padding: 0 1.25rem 0 3.1rem; font-size: var(--step-body);
}
.hero-find__field input::placeholder { color: var(--ink-muted); }
.hero-find__field input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.hero-find__status { color: var(--muted); min-height: 0; }
.hero-find__status:empty { display: none; }
.hero-find__results { list-style: none; display: grid; gap: 0.4rem; }
.hero-find__results:empty { display: none; }
.hero-find__results a {
  display: grid; gap: 0.1rem; padding: 0.8rem 1.1rem; border-radius: 12px; background: var(--surface); text-decoration: none;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.hero-find__results a:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .hero-find__results a:hover { background: #1a4673; } }
.hero-find__results .finder-name { font-weight: 600; line-height: 1.25; }
.hero-find__results .finder-url { color: var(--muted); font-size: var(--step-small); overflow-wrap: anywhere; }
@media (max-width: 899px) {
  .hero-find { padding-bottom: 3.5rem; }
}
