/* Vera Valten · Website. Ein Stilblatt, eine Typoskala, keine externen Ressourcen. */

:root {
  --bg: #f6f4ef;
  --ink: #1c1b22;
  --muted: #56524f;
  --line: #d9d5cc;
  --stage: #1c1b22;
  --stage-ink: #f6f4ef;
  --stage-muted: #cfcac0;
  --accent: #a3243b;
  --accent-ink: #ffffff;
  --accent-dark: #86192e;
  --placeholder-a: #e6e2d8;
  --placeholder-b: #eeebe4;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Gill Sans Nova", "Gill Sans", "Segoe UI", sans-serif;
  --measure: 34rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --maxw: 74rem;
  --col-gap: 1.5rem;
  --col: calc((var(--maxw) - 2 * var(--gutter) - 11 * var(--col-gap)) / 12);
  --edge: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  --seam: 0.5rem;
  --section: clamp(3.5rem, 8vw, 7.5rem);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

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

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

.stage :focus-visible,
.media-toggle:focus-visible {
  outline-color: var(--stage-ink);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -100vw;
  top: 0;
  padding: 0.875rem 1.125rem;
  background: var(--ink);
  color: var(--bg);
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
}

/* Vorschau-Hinweis */

.preview-banner {
  background: #e8e4db;
  color: #3e3b39;
  font-size: 0.8125rem;
  line-height: 1.4;
  padding: 0.5rem 0;
}

.preview-banner p {
  margin: 0;
  max-width: none;
}

.preview-inline {
  font-size: 0.875rem;
  color: var(--muted);
  border-left: 3px solid var(--line);
  padding-left: 0.75rem;
}

/* Kopf: verschwindet beim Herunterscrollen, erscheint beim Hochscrollen wieder (site.js); Anker landen unter ihm */

html {
  scroll-padding-top: 5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header.is-raised {
  box-shadow: 0 1px 0 var(--line);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}

.wordmark {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  padding: 0.75rem 0;
  margin: 0;
}

.nav a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  border-bottom-color: var(--accent);
}

/* Telefon: Bereiche als aufklappbare Liste unter dem Kopf (ohne Skript als Zeile sichtbar) */
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  width: 100%;
  padding-bottom: 0.5rem;
}

.nav a {
  display: inline-block;
  min-height: 2.75rem;
  padding: 0.7rem 0;
}

.menu-toggle {
  display: none;
}

.js .menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: var(--ink);
  font: 600 1rem/1 var(--sans);
  cursor: pointer;
}

.menu-toggle-icon {
  position: relative;
  width: 1.125rem;
  height: 0.75rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - 1px);
  border-top: 2px solid currentColor;
}

.js .nav {
  display: none;
}

.js .nav.is-open {
  display: flex;
  flex-direction: column;
  padding: 0.25rem 0 1rem;
  border-top: 1px solid var(--line);
}

/* Typografie */

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 3.6vw + 1.6rem, 5.25rem);
  line-height: 1;
}

/* Satz-Überschriften (Copy seit der Überarbeitung vom 28.09.2026): höchstens 2.5rem, damit auch lange Sätze
   in der 5-Spalten-Textfläche zweizeilig bleiben; die letzten beiden Wörter sind im HTML fest verbunden */
h2 {
  font-size: clamp(1.9rem, 1.4vw + 1.2rem, 2.5rem);
  line-height: 1.1;
}

p {
  margin: 0 0 1em;
  max-width: var(--measure);
  text-wrap: pretty;
}

.label {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
}

.punkt {
  color: var(--accent);
}

/* Überschriften aus zwei Sätzen: jeder Satz beginnt eine eigene Zeile; ein nachgestellter Satz etwas kleiner */
h1 .zeile,
h2 .zeile,
.subtitle .zeile {
  display: block;
}

h2 .zeile-zweit {
  margin-top: 0.35em;
  font-size: 0.62em;
  line-height: 1.2;
}

/* Aktionen */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font: 600 1rem/1.2 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--accent-ink);
}

.cta-note {
  flex-basis: 100%;
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.cta-note:empty,
.actions:not(:has(.btn)) {
  display: none;
}

/* Zurückhaltender Textlink neben dem Hauptbutton („Vera kennenlernen“, „Das E-Book entdecken“) */
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.text-link:hover {
  color: var(--accent);
}

.more {
  margin-top: 1.25rem;
}

/* Header-CTA „Zum E-Book“: Telefon zwischen Wortmarke und Menü (Menü dort nur als Zeichen), ab 700 px nach der Navigation */
.header-cta {
  order: 1;
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  margin-left: auto;
  padding: 0.5rem 0.875rem;
  border-radius: 2px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 0.875rem/1.1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--accent-dark);
}

.js .menu-toggle {
  order: 2;
  margin-left: 0.5rem;
}

.site-header .nav {
  order: 3;
}

@media (max-width: 419px) {
  .menu-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 359px) {
  .header-cta {
    display: none;
  }
}

@media (min-width: 700px) {
  .site-header .nav,
  .js .site-header .nav {
    order: 1;
    margin-left: auto;
  }

  .header-cta {
    order: 2;
    min-height: 2.75rem;
    margin-left: 1.75rem;
    padding: 0.6rem 1.1rem;
    font-size: 0.9375rem;
  }
}

/* Instagram im Kopf: Zeichen und Name, abgesetzt von den Bereichen; „Zum E-Book“ als runder Knopf (Johannes, 29.09.2026) */
.nav a.nav-social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}

.nav a.nav-social svg {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
}

.nav a.nav-social:hover {
  border-bottom-color: transparent;
  color: var(--accent);
}

.header-cta {
  border-radius: 999px;
}

@media (min-width: 700px) and (max-width: 899px) {
  .nav a.nav-social span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* Telefon (Johannes, 29.09.2026): Kopf nur mit Wortmarke, ohne Menü und ohne Kopfaktion; er scrollt mit weg.
   Startseite: die Wortmarke liegt auf dem Einstiegsbild. Die Aktion zum Buch trägt die Leiste unten (.sticky-cta). */

@media (max-width: 699px) {
  html {
    scroll-padding-top: 1rem;
  }

  .site-header,
  .site-header.is-hidden,
  .site-header.is-raised {
    position: static;
    transform: none;
    box-shadow: none;
  }

  .site-header .nav,
  .js .site-header .nav,
  .js .site-header .menu-toggle,
  .site-header .header-cta {
    display: none;
  }

  .site-header.site-header-home {
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    z-index: 5;
    background: linear-gradient(rgba(20, 18, 24, 0.38), rgba(20, 18, 24, 0));
    pointer-events: none;
  }

  .site-header-home .wrap {
    min-height: 4.75rem;
    align-items: flex-start;
  }

  .site-header-home .wordmark {
    color: #fff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
  }

  .site-header-home .wordmark:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
  }
}

/* Leiste unten (nur Telefon, nur mit Skript): erscheint nach dem Einstieg, verschwindet bei Buchabschnitt,
   Schlussaufruf und Fuß (site.js), achtet auf den sicheren Bereich unten */

.sticky-cta {
  display: none;
}

@media (max-width: 699px) {
  .js .sticky-cta {
    position: fixed;
    left: 0.625rem;
    right: 0.625rem;
    bottom: calc(0.625rem + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.375rem 0.375rem 0.375rem 1.125rem;
    border: 1px solid rgba(28, 27, 34, 0.08);
    border-radius: 999px;
    background: rgba(246, 244, 239, 0.94);
    box-shadow: 0 8px 28px rgba(28, 27, 34, 0.16), 0 1px 3px rgba(28, 27, 34, 0.08);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    backdrop-filter: blur(14px) saturate(1.3);
    transform: translateY(calc(100% + 1.5rem));
    visibility: hidden;
  }

  .js .sticky-cta.is-visible {
    transform: none;
    visibility: visible;
  }

  .sticky-cta-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    line-height: 1.2;
  }

  .sticky-cta-title {
    overflow: hidden;
    font-family: var(--serif);
    font-size: 0.9375rem;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .sticky-cta-detail {
    margin-top: 0.15rem;
    color: var(--muted);
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .sticky-cta-button {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    padding: 0 1rem 0 1.25rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    font: 600 0.9375rem/1 var(--sans);
    text-decoration: none;
    white-space: nowrap;
  }

  .sticky-cta-button:hover {
    background: var(--accent-dark);
  }

  .sticky-cta-button:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
  }

  .sticky-cta-arrow svg {
    display: block;
    width: 1rem;
    height: 1rem;
  }
}

@media (max-width: 699px) and (prefers-reduced-motion: no-preference) {
  .js .sticky-cta {
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.35s;
  }

  .js .sticky-cta.is-visible {
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
  }
}

/* Bildflächen: festes Seitenverhältnis je Ausschnitt, damit nichts springt */

.slot {
  position: relative;
  width: 100%; /* feste Breite: eine Höhenbegrenzung darf die Breite nicht über das Seitenverhältnis verkleinern */
  margin: 0;
  aspect-ratio: var(--ar-m, 4 / 5);
  overflow: hidden;
  background: var(--placeholder-b);
}

.slot picture,
.slot img {
  display: block;
  width: 100%;
  height: 100%;
}

.slot img {
  object-fit: cover;
  object-position: var(--focus-m, 50% 50%);
}

.slot.is-placeholder {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, var(--placeholder-a) 0 14px, var(--placeholder-b) 14px 28px);
}

.slot.is-placeholder.is-dark {
  border-color: #3a3942;
  background: repeating-linear-gradient(135deg, #2a2931 0 14px, #313038 14px 28px);
}

.slot figcaption {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.5rem 0.625rem;
  border-left: 3px solid var(--accent);
  background: rgba(246, 244, 239, 0.94);
  color: var(--ink);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.slot figcaption strong,
.slot figcaption span {
  display: block;
}

.slot figcaption strong {
  font-weight: 600;
}

.slot.is-dark figcaption {
  background: rgba(28, 27, 34, 0.94);
  color: var(--stage-ink);
}

/* 1 · Auftritt: auf dem Telefon Bild über die ganze Breite, die Papierfläche ragt ins Bild;
   ab 700 px Text neben dem Hochkantbild, das bis an den Rand läuft */

.hero,
.hero-media {
  position: relative;
}

.hero-panel {
  position: relative;
  z-index: 1;
  margin: -3.5rem 0.75rem 0;
  padding: 1.75rem calc(var(--gutter) - 0.75rem) 0.25rem;
  background: var(--bg);
}

/* Zweizeiliger Einstieg: jeder Satz eine Zeile, deshalb kleiner als die übrigen Überschriften der Skala */
.hero h1 {
  font-size: clamp(2.125rem, 1.6vw + 1.3rem, 2.75rem);
  line-height: 1.08;
}

.hero .lead {
  max-width: 28rem;
}

/* Hero-Film: liegt über dem Poster, erscheint erst beim Abspielen */

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}

[data-state="playing"] .hero-video,
[data-state="paused"] .hero-video,
[data-state="ended"] .hero-video {
  opacity: 1;
}

.media-toggle {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid rgba(246, 244, 239, 0.55);
  border-radius: 2px;
  background: rgba(28, 27, 34, 0.82);
  color: var(--stage-ink);
  font: 600 0.875rem/1.2 var(--sans);
  cursor: pointer;
}

.media-toggle:hover {
  background: var(--ink);
}

.media-toggle[hidden] {
  display: none;
}

.media-toggle-icon {
  position: relative;
  width: 0.75rem;
  height: 0.8rem;
  flex: none;
}

.media-toggle-icon::before,
.media-toggle-icon::after {
  content: "";
  position: absolute;
  top: 0;
}

.media-toggle-icon::before {
  left: 0.1rem;
  border-left: 0.65rem solid currentColor;
  border-top: 0.4rem solid transparent;
  border-bottom: 0.4rem solid transparent;
}

[data-state="playing"] .media-toggle-icon::before,
[data-state="playing"] .media-toggle-icon::after {
  width: 0.25rem;
  height: 0.8rem;
  border: 0;
  background: currentColor;
}

[data-state="playing"] .media-toggle-icon::before {
  left: 0.05rem;
}

[data-state="playing"] .media-toggle-icon::after {
  left: 0.45rem;
}

/* 3 · Persönlichkeit und geteilte Flächen: Textblock neben einem Hochkantbild, das bis an den Rand läuft */

.stage {
  margin-top: var(--section);
  background: var(--stage);
  color: var(--stage-ink);
}

.stage p {
  color: var(--stage-muted);
}

/* Instagram mitten auf der Seite: schmaler runder Knopf, Zeichen links (Johannes, 29.09.2026) */
.ig-inline {
  margin: 1.5rem 0 0;
}

.ig-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem 0.5rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font: 600 0.9375rem/1.2 var(--sans);
  text-decoration: none;
}

.ig-inline-link svg {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
}

.ig-inline-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.ig-inline-dark .ig-inline-link {
  border-color: var(--stage-ink);
  background: var(--stage-ink);
  color: var(--stage);
}

.ig-inline-dark .ig-inline-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.stage .lead {
  color: var(--stage-ink);
}

.stage-text,
.split-text {
  padding: 2.5rem var(--gutter) 3rem;
}

.everyday {
  margin-top: var(--section);
}

/* 5 · Buch */

.book {
  margin-top: var(--section);
}

.book .subtitle {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.book-list {
  list-style: none;
  max-width: var(--measure);
  margin: 1.25rem 0 1.5rem;
  padding: 0;
}

.book-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.5rem;
  border-top: 1px solid var(--line);
  text-wrap: balance;
}

.book-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.book-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 0.625rem;
  height: 1px;
  background: var(--ink);
}

.book-meta {
  font-size: 0.9375rem;
  color: var(--muted);
}

.book-status {
  margin-top: 1.25rem;
  padding-left: 0.875rem;
  border-left: 3px solid var(--accent);
  font-size: 1rem;
}

.book-excerpt {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--ink);
}

.book-excerpt blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.45;
}

.book-excerpt figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* 6 · Bilderpause: zwei Portraits nebeneinander; auf dem Telefon steht die Zeile darüber,
   ab Desktop liegt sie auf einem dunklen Verlauf im Bildpaar */

.pause {
  margin-top: var(--section);
}

.pause-stage {
  position: relative;
}

.pause-text {
  padding: 0 var(--gutter) 1.75rem;
}

.pause-line {
  max-width: 40rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2.25rem);
  line-height: 1.25;
  text-wrap: balance;
}

.pause-sub {
  margin: 0.75rem 0 0;
  font-size: 1.125rem;
}

/* 8 · Kurze Antworten und Einordnung */

.faq {
  padding: var(--section) 0 0;
}

.faq details {
  max-width: 46rem;
  border-top: 1px solid var(--line);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  min-height: 2.75rem;
  padding: 1.1rem 2.75rem 1.1rem 0;
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  text-wrap: balance;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.5rem;
  top: 0.95rem;
  font-family: var(--sans);
  font-size: 1.5rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  padding-bottom: 0.5rem;
}

/* KI-Zeichen: Kennzeichnung jedes KI-Bilds wie auf der Hahnenklee-Website (Kreis mit „AI“ unten rechts, führt zum
   KI-Hinweis); sichtbares Symbol 28 px, Tippfläche 44 px */

.slot .ai-mark {
  position: absolute;
  right: 0.25rem;
  bottom: 0.25rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  text-decoration: none;
}

.slot .ai-mark img {
  width: 1.75rem;
  height: 1.75rem;
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.75)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.slot .ai-mark:focus-visible {
  outline: 2px solid var(--bg);
  outline-offset: -3px;
}

/* Nur Vorschau: neu erzeugtes Bild, das noch auf Johannes' Freigabe wartet */
.candidate-tag {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 3;
  padding: 0.35rem 0.6rem;
  border-left: 3px solid var(--accent);
  background: rgba(246, 244, 239, 0.94);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Telefon: die Papierfläche ragt ins Einstiegsbild; das KI-Zeichen bleibt darüber im sichtbaren Bild */
.hero-media .slot .ai-mark {
  bottom: 3.75rem;
}

@media (max-width: 389px) {
  .hero-media .slot .ai-mark {
    bottom: 5rem;
  }
}

@media (min-width: 700px) {
  .hero-media .slot .ai-mark {
    bottom: 0.25rem;
  }
}

/* Kompaktes dunkles Band (Instagram vor dem Fuß, später echte Leserstimmen): Bild rechts, oben verankert, damit die
   Köpfe ganz im Bild bleiben; der Text steht mittig in der dunklen Fläche daneben. Telefon: Bild oben, Text darunter */

.band {
  position: relative;
  overflow: hidden;
  margin-top: var(--section);
  background: var(--stage);
  color: var(--stage-ink);
}

.band-media {
  position: relative;
}

.band-media .slot {
  background: var(--stage);
}

.band-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(28, 27, 34, 0) 55%, var(--stage) 100%);
}

.band-text {
  position: relative;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.band.has-media .band-text {
  margin-top: -3.5rem;
  padding-top: 0;
}

.band-text h2 {
  margin-bottom: 0.75rem;
}

.band-text .lead {
  max-width: 30rem;
  color: var(--stage-ink);
}

.band :focus-visible {
  outline-color: var(--stage-ink);
}

.voice {
  max-width: 34rem;
  margin: 1.25rem 0 0;
}

.voice blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.45;
}

.voice figcaption {
  margin-top: 0.5rem;
  color: var(--stage-muted);
  font-size: 0.9375rem;
}

@media (min-width: 700px) {
  .band.has-media {
    --band-h: clamp(24rem, 32vw, 32rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(calc(var(--band-h) * 1.2), 58%);
    align-items: center;
    min-height: var(--band-h);
  }

  .band-media {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
  }

  /* das Bild füllt seine Zelle, ohne die Höhe des Bands zu bestimmen */
  .band-media .slot {
    position: absolute;
    inset: 0;
    height: auto;
    aspect-ratio: auto;
  }

  .band-media::after {
    background: linear-gradient(to right, var(--stage) 0%, rgba(28, 27, 34, 0.55) 22%, rgba(28, 27, 34, 0) 50%);
  }

  .band.has-media .band-text {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    width: auto;
    max-width: 30rem;
    margin: 0;
    padding: 3rem var(--gutter);
  }
}

/* Buchabschnitt #buch: ohne freigegebenes Cover eine ruhige Zweispalten-Komposition (links Einordnung, Titel und Text,
   rechts Inhalt, Preis und Aktion); mit Cover steht das Buch rechts. Keine Kartenoptik, keine Siegel */

.product {
  margin-top: var(--section);
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-grid {
  display: grid;
  gap: 1.75rem;
  padding: 0 var(--gutter);
}

.product-kicker {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-intro h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(2.25rem, 2.2vw + 1.5rem, 3.25rem);
  line-height: 1.08;
}

.product .subtitle {
  max-width: var(--measure);
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1vw + 1.1rem, 1.75rem);
  line-height: 1.25;
  color: var(--ink);
}

.product-description,
.product-closing {
  max-width: var(--measure);
}

.product-points {
  max-width: var(--measure);
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.product-points li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.5rem;
  border-top: 1px solid var(--line);
  text-wrap: pretty;
}

.product-points li:last-child {
  border-bottom: 1px solid var(--line);
}

.product-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 0.625rem;
  height: 1px;
  background: var(--ink);
}

.product-closing {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.35;
}

.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.625rem;
  margin: 1.5rem 0 0;
}

.price {
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
}

.price-note {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Einführungspreis mit Stichtag (Johannes, 29.09.2026): sachlich, kein Streichpreis */
.product-intro-note {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-dark);
}

.product-type {
  margin: 0.4rem 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.product-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.product-action .book-status {
  margin: 0;
}

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

.product-media .slot {
  background: var(--bg);
}

.product-media .slot.has-image img {
  object-fit: contain;
}

@media (min-width: 700px) {
  .product-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 2.5rem;
    align-items: start;
  }

  .product-details {
    padding-top: 2.1rem;
  }
}

/* Tablet mit Cover: Buch und Einleitung nebeneinander (mittig), darunter über die volle Breite links die Punkte,
   rechts Abschluss, Preis und Kauf. So bleibt neben dem Buch keine leere Fläche (Johannes, 29.09.2026) */
@media (min-width: 700px) and (max-width: 999px) {
  .product.has-cover .product-grid {
    align-items: center;
  }

  .product.has-cover .product-media {
    grid-column: 1;
    grid-row: 1;
  }

  .product.has-cover .product-intro {
    grid-column: 2;
    grid-row: 1;
  }

  .product.has-cover .product-details {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 2.5rem;
    align-items: start;
    align-self: start;
    padding-top: 0.5rem;
  }

  .product.has-cover .product-details > * {
    grid-column: 2;
  }

  .product.has-cover .product-details > .product-points {
    grid-column: 1;
    grid-row: 1 / span 8;
    margin-top: 0;
  }

  .product.has-cover .product-details > .product-closing {
    margin-top: 0;
  }
}

@media (min-width: 1000px) {
  .product {
    padding: 5rem 0;
  }

  .product-grid {
    column-gap: var(--col-gap);
    padding: 0;
    grid-template-columns:
      minmax(max(0px, calc(var(--gutter) - var(--col-gap))), 1fr)
      repeat(12, minmax(0, var(--col)))
      minmax(max(0px, calc(var(--gutter) - var(--col-gap))), 1fr);
  }

  .product-intro {
    grid-column: 2 / 8;
  }

  .product-details {
    grid-column: 9 / 14;
  }

  .product.has-cover .product-media {
    grid-column: 8 / 15;
    grid-row: 1 / 3;
  }

  .product.has-cover .product-intro,
  .product.has-cover .product-details {
    grid-column: 2 / 7;
  }

  .product.has-cover .product-details {
    padding-top: 0;
  }
}

/* Kurze Antworten mit Bild */

.faq.has-media .split-media {
  margin-top: 0.5rem;
}

/* Leseprobe (nur mit freigegebener Leseprobe) und Schluss-CTA (nur mit freigegebenem Verkauf) */

.sample {
  margin-top: var(--section);
}

.final-cta {
  margin-top: var(--section);
  padding: var(--section) 0 0;
  text-align: center;
}

.final-cta .lead,
.final-cta .product-type {
  margin-left: auto;
  margin-right: auto;
}

.final-cta .actions {
  justify-content: center;
}

/* Querbild: Szene über die volle Breite (auf dem Telefon eigener Hochformat-Ausschnitt) */

.scene-wide {
  margin-top: var(--seam);
}

/* Fuß wie auf der Hahnenklee-Website: eine Szene geht ins Dunkle über, darauf Wortmarke und „Vera folgen auf …“,
   darunter die wenigen Ziele und alle Rechtsseiten. Telefon: Szene oben über die volle Breite; ab 700 px
   rechts neben der Wortmarke, nach links und unten ins Dunkle verlaufend. */

.site-footer {
  --footer-line: rgba(246, 244, 239, 0.2);
  position: relative;
  overflow: hidden;
  background: var(--stage);
  color: var(--stage-ink);
  font-size: 0.9375rem;
}

.site-footer :focus-visible,
.follow :focus-visible {
  outline-color: var(--stage-ink);
}

.footer-scene {
  position: relative;
}

.footer-scene .slot {
  background: var(--stage);
}

.footer-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(28, 27, 34, 0) 50%, rgba(28, 27, 34, 0.7) 78%, var(--stage) 100%);
}

.footer-inner {
  position: relative;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.has-scene .footer-inner {
  margin-top: -5rem;
  padding-top: 0;
}

.wordmark-footer {
  margin: 0;
  font-size: clamp(1.625rem, 2vw + 1rem, 2.75rem);
  letter-spacing: 0.22em;
  line-height: 1.2;
}

.footer-follow {
  margin-top: 1.75rem;
}

.footer-follow-label {
  margin: 0 0 0.875rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--stage-ink);
}

/* Netzwerke als schmale runde Knöpfe in einer Reihe, Zeichen links vor dem Namen (Johannes, 29.09.2026) */
.follow-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.follow-links li {
  display: flex;
}

.follow-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem 0.5rem 1rem;
  border: 1.5px solid var(--stage-ink);
  border-radius: 999px;
  background: var(--stage-ink);
  color: var(--stage);
  font: 600 0.9375rem/1.2 var(--sans);
  text-align: center;
  text-decoration: none;
}

.follow-link svg {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
}

a.follow-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.follow-link.is-pending {
  border-style: dashed;
  border-color: rgba(246, 244, 239, 0.5);
  background: transparent;
  color: var(--stage-muted);
  cursor: default;
}

@media (min-width: 1000px) {
  .follow-links {
    gap: 0.75rem;
  }

  .follow-link {
    gap: 0.625rem;
    min-height: 3.25rem;
    padding: 0.625rem 1.25rem 0.625rem 1rem;
    font-size: 1.0625rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--footer-line);
}

.footer-group-legal {
  grid-column: 1 / -1;
}

.footer-label {
  margin: 0 0 0.5rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--footer-line);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--stage-ink);
}

.footer-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-group-legal ul {
  columns: 2;
  column-gap: 1.5rem;
}

.footer-group a {
  display: inline-block;
  min-height: 2.75rem;
  padding: 0.65rem 0;
  color: var(--stage-muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-group a:hover,
.footer-group a[aria-current="page"] {
  color: var(--stage-ink);
  text-decoration: underline;
}

.footer-copy {
  max-width: none;
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--footer-line);
  color: var(--stage-muted);
  font-size: 0.8125rem;
}

/* Sehr schmale Telefone: Gruppen untereinander, damit Adresse und lange Wörter nicht mitten im Wort brechen */
@media (max-width: 379px) {
  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-group-legal ul {
    columns: 1;
  }
}

/* Rechtsseiten: die Seitenleiste bleibt unter dem wieder eingeblendeten Kopf */

@media (min-width: 900px) {
  .legal-page .legal-aside {
    top: 5.5rem;
    max-height: calc(100vh - 7rem);
  }
}

/* Fehlerseite */

.not-found {
  padding-top: 3.5rem;
  padding-bottom: var(--section);
}

.not-found h1 {
  font-size: clamp(2.25rem, 2.4vw + 1.5rem, 3.75rem);
  line-height: 1.08;
}

/* Interne Seiten */

.casting,
.komponenten {
  padding: 1rem 0 4rem;
}

.casting-title {
  font-size: clamp(2rem, 2.4vw + 1.25rem, 3.4rem);
  line-height: 1.08;
}

.casting-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.casting-card {
  margin: 0;
}

.casting-card img {
  width: 100%;
  border: 1px solid var(--line);
}

.casting-card figcaption {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.casting-card strong {
  margin-right: 0.25rem;
  color: var(--ink);
  font-weight: 600;
}

.test-case {
  margin: 2.5rem 0;
}

.test-case .hero-media {
  max-width: 56rem;
}

.test-state {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Telefon */

@media (max-width: 699px) {
  .actions .btn {
    width: 100%;
  }
}

/* Sehr schmale Fenster (320-px-Reflow): Überschriften so, dass fest verbundene Wortpaare in die Textfläche passen */

@media (max-width: 359px) {
  h2 {
    font-size: 1.75rem;
  }
}

/* Kleine Telefone: Papierfläche etwas weiter ins Bild, damit die Hauptaktion bei 360 × 780 sichtbar bleibt */

@media (max-width: 389px) {
  .hero-panel {
    margin-top: -4.75rem;
    padding-top: 1.5rem;
  }

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

/* Tablet: geteilte Flächen und Bildpaare in zwei Spalten */

@media (min-width: 700px) {
  body {
    font-size: 1.125rem;
  }

  .slot {
    aspect-ratio: var(--ar-d, var(--ar-m));
  }

  .slot img {
    object-position: var(--focus-d, 50% 50%);
  }

  .wordmark {
    font-size: 1.1875rem;
  }

  .js .menu-toggle {
    display: none;
  }

  .nav,
  .js .nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    width: auto;
    padding: 0;
  }

  .nav a {
    font-size: 1rem;
  }

  /* Hochkantmotive bestimmen die Höhe der Zeile (Seitenverhältnis ihres Ausschnitts); der Text steht
     mittig daneben. So wird kein Kopf durch eine querformatige Fläche abgeschnitten. */
  .hero,
  .stage-grid,
  .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero-media,
  .stage-portrait,
  .split-media,
  .hero-panel,
  .stage-text,
  .split-text {
    grid-row: 1;
  }

  .hero-panel {
    grid-column: 1;
    margin: 0;
    padding: 2.5rem var(--gutter);
    background: none;
  }

  .hero-media {
    grid-column: 2;
  }

  .stage-text,
  .split-text {
    padding: 3.5rem var(--gutter);
  }

  .stage-portrait {
    grid-column: 1;
  }

  .stage-text {
    grid-column: 2;
  }

  .split .split-text {
    grid-column: 1;
  }

  .split .split-media {
    grid-column: 2;
  }

  .split-reverse .split-media {
    grid-column: 1;
  }

  .split-reverse .split-text {
    grid-column: 2;
  }

  .casting-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Fuß ab 700 px: Szene rechts bis an den Rand, Wortmarke und „folgen auf“ links auf dem Dunkel; die Linie
   über den Zielen liegt dort, wo die Szene ganz ins Dunkle übergegangen ist */

@media (min-width: 700px) {
  .site-footer {
    --footer-scene-h: clamp(26rem, 38vw, 38rem);
  }

  .footer-scene {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: var(--footer-scene-h);
  }

  .footer-scene .slot {
    height: 100%;
    aspect-ratio: auto;
  }

  .footer-scene::after {
    background:
      linear-gradient(to right, var(--stage) 0%, rgba(28, 27, 34, 0.6) 20%, rgba(28, 27, 34, 0) 48%),
      linear-gradient(to bottom, rgba(28, 27, 34, 0) 40%, rgba(28, 27, 34, 0.72) 78%, var(--stage) 100%);
  }

  .has-scene .footer-inner {
    margin-top: 0;
    padding-top: 0;
  }

  .has-scene .footer-head {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 50%;
    min-height: var(--footer-scene-h);
    padding-bottom: 0.5rem;
  }

  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-group-legal {
    grid-column: auto;
  }

  .footer-group-legal ul {
    columns: 1;
  }

  /* Querformat-Szene: über die volle Breite, unten ins Dunkle; Wortmarke und „folgen auf“ liegen auf dem Verlauf */
  .is-wide .footer-scene {
    position: relative;
    width: 100%;
    height: auto;
  }

  .is-wide .footer-scene .slot {
    height: auto;
    max-height: 88vh;
    aspect-ratio: var(--ar-d);
  }

  .is-wide .footer-scene::after {
    background: linear-gradient(to bottom, rgba(28, 27, 34, 0) 40%, rgba(28, 27, 34, 0.75) 78%, var(--stage) 100%);
  }

  .is-wide.has-scene .footer-inner {
    margin-top: -11rem;
  }

  .is-wide.has-scene .footer-head {
    min-height: 0;
    max-width: none;
  }
}

/* Desktop: Text auf der Inhaltskante des 12-Spalten-Rasters, Bilder laufen bis an den Rand */

@media (min-width: 1000px) {
  .hero,
  .stage-grid,
  .split {
    column-gap: var(--col-gap);
    grid-template-columns:
      minmax(max(0px, calc(var(--gutter) - var(--col-gap))), 1fr)
      repeat(12, minmax(0, var(--col)))
      minmax(max(0px, calc(var(--gutter) - var(--col-gap))), 1fr);
  }

  .hero-panel,
  .split .split-text {
    grid-column: 2 / 7;
    padding: 5rem 0;
  }

  .hero-media,
  .split .split-media {
    grid-column: 8 / 15;
  }

  .stage-portrait,
  .split-reverse .split-media {
    grid-column: 1 / 8;
  }

  .stage-text,
  .split-reverse .split-text {
    grid-column: 9 / 14;
    padding: 5rem 0;
  }

  /* Sehr breite Fenster: Hochkantbilder nicht höher als 56rem; object-position hält den Kopf im Bild */
  .hero-media .slot,
  .stage-portrait .slot,
  .split-media .slot {
    max-height: 56rem;
  }

  .media-toggle {
    top: auto;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .pause-text {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 7rem var(--edge) 3rem;
    background: linear-gradient(to top, rgba(28, 27, 34, 0.86) 0%, rgba(28, 27, 34, 0.72) 55%, rgba(28, 27, 34, 0) 100%);
    color: var(--stage-ink);
  }

  .pause-text .cta-note {
    color: var(--stage-muted);
  }

}

@media (min-width: 1100px) {
  .lead {
    font-size: 1.375rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .nav a,
  .media-toggle {
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }

  .hero-video {
    transition: opacity 0.4s ease;
  }
}
