/* ==========================================================================
   Adler Protokoll – Stylesheet
   Mobile first · keine externen Ressourcen · White Mode
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, SIL Open Font License) ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  --bg: #FAF9F6;
  --surface: #F2EFE8;
  --ink: #151412;
  --ink-2: #45423C;
  --muted: #6A665E;
  --line: #E1DCD2;
  --line-strong: #CFC9BD;

  /* Einzige Akzentfarbe: tiefes Kobaltblau (Kontrast zu Weiß ≈ 7:1) */
  --accent: #1D4BD1;
  --accent-hover: #173CA8;
  --accent-glow: rgba(29, 75, 209, 0.38);

  --placeholder: #FFE45C;

  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: 20px;
  --maxw: 1120px;
  --measure: 38rem;
  --section-y: 88px;
  --radius: 6px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 40px;
    --section-y: 128px;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;           /* 17px */
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 768px) {
  body { font-size: 1.125rem; }   /* 18px */
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

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

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

.visually-hidden {
  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-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Platzhalter – gut sichtbar, damit nichts vergessen wird */
.ph {
  background: var(--placeholder);
  color: #1A1600;
  padding: 0.05em 0.3em;
  border-radius: 3px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92em;
  letter-spacing: 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}
.section--surface { background: var(--surface); border-top-color: transparent; }
.section--surface + .section { border-top-color: transparent; }

/* Zweispaltige Zeile: kleines Label links, Inhalt rechts (ab Desktop) */
.row { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .row {
    grid-template-columns: 1fr 2fr;
    gap: 48px;
  }
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}

.h2 {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  margin-bottom: 28px;
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-2);
}
@media (min-width: 768px) { .lead { font-size: 1.3125rem; } }

.prose { max-width: var(--measure); color: var(--ink-2); }
.prose p + p { margin-top: 0; }

/* ---------- Header ---------- */
.site-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
}
.brand img {
  width: 76px;
  height: auto;
}
@media (min-width: 768px) {
  .site-header { padding: 22px 0; }
  .brand img { width: 92px; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 48px 0 var(--section-y);
}
.hero__inner {
  max-width: 880px;
}
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(2.25rem, 1.4rem + 4.2vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-variation-settings: "opsz" 72;
  margin-bottom: 24px;
}
.hero .lead { max-width: 40rem; margin-bottom: 40px; }

/* Hervorgehobene Wörter in der Headline: Unterstreichung in Akzentfarbe.
   Zum Testen einfach <span class="hl">…</span> um andere Wörter setzen. */
.hl {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% 0.075em;
  background-position: 0 92%;
  padding-bottom: 0.04em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (min-width: 768px) {
  .hero { padding-top: 96px; }
  .hero__inner { margin: 0 auto; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; margin-bottom: 56px; }
}

/* Video (16:9, Querformat) */
.video {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 24px 60px -30px rgba(21, 20, 18, 0.45);
}

.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ink);
}

.video__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  color: #EDEAE3;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0) 40%),
    #1B1A17;
}
.video__placeholder img {
  position: absolute;
  top: 18px;
  left: 20px;
  width: 44px;
  opacity: 0.85;
  filter: invert(1);
}
.video__placeholder strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.video__placeholder span {
  font-size: 0.8125rem;
  color: #A9A49A;
  letter-spacing: 0.04em;
}
@media (min-width: 768px) {
  .video__placeholder { gap: 18px; }
  .video__placeholder img { top: 28px; left: 32px; width: 64px; }
  .video__placeholder strong { font-size: 2rem; }
  .video__placeholder span { font-size: 0.875rem; }
}
.video__play {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(237, 234, 227, 0.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.video__play::before {
  content: "";
  margin-left: 4px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #EDEAE3;
}
@media (min-width: 768px) {
  .video__play { width: 76px; height: 76px; }
}
/* Sobald ein echtes Video geladen ist, blendet JS den Platzhalter aus */
.video.is-ready .video__placeholder { display: none; }

/* ---------- CTA ---------- */
.cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.cta--center { align-items: stretch; }
@media (min-width: 768px) {
  .cta, .cta--center { align-items: center; }
  .cta--start { align-items: flex-start; }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 18px 36px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 0 0 0 var(--accent-glow), 0 10px 28px -8px var(--accent-glow);
  transition: background-color 0.25s ease, box-shadow 0.35s ease, transform 0.25s ease;
  isolation: isolate;
}
/* Ruhiger Puls: eigener Glow-Layer, animiert nur die Deckkraft */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 6px rgba(29, 75, 209, 0.14), 0 0 34px 6px rgba(29, 75, 209, 0.42);
  opacity: 0;
  z-index: -1;
  animation: pulse 3.6s ease-in-out infinite;
  pointer-events: none;
}
.btn:hover,
.btn:focus-visible {
  background: var(--accent-hover);
  text-decoration: none;
  box-shadow: 0 0 0 0 var(--accent-glow), 0 14px 40px -6px rgba(29, 75, 209, 0.6);
}
.btn:hover::after,
.btn:focus-visible::after {
  animation: none;
  opacity: 1;
  box-shadow: 0 0 0 7px rgba(29, 75, 209, 0.18), 0 0 48px 10px rgba(29, 75, 209, 0.5);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-color: var(--ink); outline-offset: 4px; }

.btn__arrow {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.25s ease;
}
.btn:hover .btn__arrow { transform: translateX(3px); }

@media (min-width: 768px) {
  .btn { min-height: 64px; padding: 20px 44px; font-size: 1.1875rem; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.15; }
  50%      { opacity: 1; }
}

.cta__note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Geschichte (lange Textabschnitte) ---------- */
.story {
  display: grid;
  gap: 40px;
  align-items: start;
}
.story__media .photo { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .story__media .photo { aspect-ratio: 4 / 5; }
  .story { grid-template-columns: 5fr 7fr; gap: 72px; }
  .story__media { position: sticky; top: 40px; }
}
.story-text {
  max-width: var(--measure);
  color: var(--ink-2);
  line-height: 1.7;
}
@media (min-width: 768px) {
  .story-text { font-size: 1.1875rem; }
}
.story-text h3 {
  font-size: 1.5rem;
  color: var(--ink);
  margin: 44px 0 12px;
}
.story-text h3:first-child { margin-top: 0; }
.story-text strong { color: var(--ink); font-weight: 600; }

.pullquote {
  margin: 40px 0;
  padding-left: 22px;
  border-left: 2px solid var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.pullquote p { margin: 0; }

/* Story-Block innerhalb eines Abschnitts (z. B. „Mein Vater“) */
.story-block {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line-strong);
}

/* ---------- Entlastung ---------- */
.relief .h2 { max-width: 16ch; }

/* ---------- Säulen ---------- */
.pillars {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.pillar {
  padding: 32px 0 36px;
  border-bottom: 1px solid var(--line);
}
.pillar__num {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--muted);
  font-variant-numeric: lining-nums;
  margin-bottom: 14px;
}
.pillar h3 {
  font-size: 1.875rem;
  margin-bottom: 14px;
}
.pillar p { color: var(--ink-2); }

@media (min-width: 900px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
    gap: 48px;
  }
  .pillar {
    border-bottom: 0;
    border-top: 1px solid var(--ink);
    padding: 28px 0 0;
  }
  .pillar h3 { font-size: 2rem; }
}

/* ---------- Verfügbarkeit ---------- */
.availability {
  max-width: 46rem;
}
.availability p:not(.eyebrow) {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.4;
  letter-spacing: -0.005em;
}
@media (min-width: 768px) {
  .availability { margin: 0 auto; text-align: center; }
}

/* ---------- Leistungen ---------- */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
}
.checklist li::before {
  content: "";
  width: 14px;
  height: 8px;
  margin-top: 0.5em;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 1px 9px;
  margin-right: 6px;
  vertical-align: 0.12em;
}

/* ---------- Garantie ---------- */
.guarantee {
  position: relative;
  background: var(--ink);
  color: #F3F0E9;
  border-radius: var(--radius);
  padding: 44px 28px;
  overflow: hidden;
}
.guarantee__mark {
  width: 64px;
  filter: invert(1);
  opacity: 0.9;
  margin-bottom: 28px;
}
.guarantee .eyebrow {
  color: #B3AEA3;
  margin-bottom: 14px;
}
.guarantee h2 {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  margin-bottom: 20px;
}
.guarantee p:not(.eyebrow) {
  font-family: var(--serif);
  font-size: 1.3125rem;
  line-height: 1.45;
  color: #E4E0D7;
  max-width: 36rem;
}
.guarantee :focus-visible { outline-color: #F3F0E9; }
@media (min-width: 768px) {
  .guarantee { padding: 72px 72px; }
  .guarantee p:not(.eyebrow) { font-size: 1.625rem; }
}

/* ---------- Schritte (Call) ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  border-top: 1px solid var(--line-strong);
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-strong);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.5;
}
.steps h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.steps p { color: var(--ink-2); }
@media (min-width: 768px) {
  .steps li { grid-template-columns: 72px 1fr; padding: 32px 0; }
  .steps h3 { font-size: 1.75rem; }
}

/* ---------- Für wen ---------- */
.fit {
  display: grid;
  gap: 48px;
}
@media (min-width: 900px) {
  .fit { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.fit h2 {
  font-size: 1.875rem;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 4px;
}
.fit ul { list-style: none; margin: 0; padding: 0; }
.fit li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.fit li::before {
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1.1;
}
.fit--yes li::before { content: "+"; color: var(--ink); }
.fit--no li { color: var(--ink-2); }
.fit--no li::before { content: "–"; color: var(--muted); }

/* ---------- Foto-/Video-Platzhalter ---------- */
.photo {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(21,20,18,0.035) 0 12px, transparent 12px 24px),
    #E8E3D9;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  overflow: hidden;
}
.photo { position: relative; }
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 0.3em;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.faq .answer {
  padding: 0 44px 26px 0;
  color: var(--ink-2);
  max-width: var(--measure);
}
@media (min-width: 768px) {
  .faq summary { font-size: 1.1875rem; padding: 26px 0; }
}

/* ---------- Abschluss ---------- */
.closing { text-align: left; }
.closing h2 {
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);
  font-variation-settings: "opsz" 72;
  margin-bottom: 22px;
}
.closing .lead { max-width: 36rem; }
@media (min-width: 768px) {
  .closing { text-align: center; }
  .closing .lead { margin: 0 auto; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}
.site-footer nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.site-footer a { color: var(--ink-2); }
.site-footer p { margin: 0; }

/* ---------- Sticky CTA (nur mobil) ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 249, 246, 0.97);
  border-top: 1px solid var(--line-strong);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0s linear 0.35s;
}
.sticky-cta.is-visible {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.35s ease, visibility 0s;
}
.sticky-cta .btn { width: 100%; min-height: 54px; padding: 14px 20px; }
.sticky-cta .cta__note { margin-top: 6px; font-size: 0.8125rem; }
@media (min-width: 768px) {
  .sticky-cta { display: none; }
}
@media (max-width: 767px) {
  body.has-sticky { padding-bottom: 110px; }
}

/* ---------- Rechtstexte ---------- */
.legal { padding: 56px 0 var(--section-y); }
.legal .container { max-width: 760px; }
.legal h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  margin: 20px 0 32px;
}
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal a { overflow-wrap: anywhere; }
.legal ul { margin: 0 0 1em; padding-left: 1.25em; }
.legal li { margin-bottom: 0.35em; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn::after { opacity: 0.35; }
}
