/* ==========================================================================
   Lebensspuren – Trauerreden · Simone Scheffczyk
   Gemeinsames Stylesheet (ohne Framework)
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, SIL Open Font License) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}

/* ---------- Farben & Maße ---------- */
:root {
  /* Akzent: Lachs/Koralle aus dem Logo (Pixel-Sampling Logo-03.png) */
  --accent: #ee8779;          /* nur dekorativ (Linien, Punkte, Signet) */
  --accent-dark: #9a4336;     /* Links, Buttons – Kontrast 6,1:1 auf Hintergrund */
  --accent-soft: #f8e1dc;

  --text: #2e2724;            /* Kontrast 13,8:1 */
  --text-muted: #5a4f4a;      /* Kontrast 7,5:1 */
  --bg: #fbf8f4;
  --bg-alt: #f5eee7;
  --surface: #ffffff;
  --line: #e6d9cf;

  --dark: #3a302c;            /* Footer */
  --on-dark: #f3e9e2;

  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --container: 72rem;
  --measure: 42rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 6px;

  /* Tiefe: weiche, mehrlagige Schatten */
  --shadow-1:
    0 1px 2px rgba(46, 39, 36, 0.05),
    0 4px 10px -4px rgba(46, 39, 36, 0.08),
    0 16px 30px -18px rgba(46, 39, 36, 0.22);
  --shadow-2:
    0 2px 4px rgba(46, 39, 36, 0.06),
    0 12px 22px -10px rgba(46, 39, 36, 0.14),
    0 30px 52px -24px rgba(46, 39, 36, 0.34);

  /* Abdunklung für Text auf Fotos (mind. 0,6 Deckkraft im Textbereich → Kontrast ≥ 4,5:1 auch auf Weiß) */
  --scrim: 28, 20, 15;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); /* 18–20 px */
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 0.6em;
  hyphens: manual;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.5rem, 1.8rem + 3vw, 3.75rem); }
h2 { font-size: clamp(2.05rem, 1.6rem + 1.8vw, 2.85rem); }
h3 { font-size: clamp(1.6rem, 1.4rem + 0.8vw, 1.95rem); }

p, ul, ol, dl, address { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-thickness: 2px; }

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

strong { font-weight: 600; }

/* ---------- Hilfsklassen ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.measure { max-width: var(--measure); }
.center { text-align: center; margin-inline: auto; }

.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: 1rem; top: -10rem;
  z-index: 100;
  background: var(--text);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; outline-color: var(--accent); }

.lead {
  font-size: 1.15em;
  line-height: 1.6;
  color: var(--text);
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}

/* kurze Akzentlinie unter Abschnittsüberschriften */
.rule::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 2px;
  margin-top: 0.55em;
  background: var(--accent);
}
.center.rule::after,
.center .rule::after { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 3.25rem;
  padding: 0.7em 1.6em;
  border: 2px solid var(--accent-dark);
  border-radius: var(--radius);
  background: var(--accent-dark);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.btn:hover { background: #7f3529; border-color: #7f3529; }
.btn--ghost { background: transparent; color: var(--accent-dark); }
.btn--ghost:hover { background: var(--accent-soft); color: #7f3529; }
.btn--light { background: #fff; border-color: #fff; color: var(--text); }
.btn--light:hover { background: var(--bg-alt); border-color: var(--bg-alt); }
.btn--outline-light { background: transparent; border-color: #fff; color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.14); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.center .btn-row,
.btn-row.center { justify-content: center; }

/* ---------- Kopfbereich ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.5rem;
  padding-block: 0.75rem;
}
.site-logo {
  display: block;
  flex: 0 0 auto;
  border-radius: 2px;
}
.site-logo img { width: clamp(11.5rem, 9rem + 8vw, 15rem); }

.nav-toggle { display: none; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 0.65rem 0.85rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  border-radius: var(--radius);
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { background: var(--bg-alt); }
.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--accent);
  border-radius: var(--radius) var(--radius) 0 0;
}

/* Mobiles Menü: nur wenn JavaScript aktiv ist, wird eingeklappt. Ohne JS bleibt die Liste sichtbar. */
@media (max-width: 62rem) {
  .site-header__inner { flex-wrap: wrap; }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 3rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    font: 600 1.05rem/1 var(--font-sans);
    cursor: pointer;
  }
  .nav-toggle__icon,
  .nav-toggle__icon::before,
  .nav-toggle__icon::after {
    display: block;
    width: 1.3rem;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
  }
  .nav-toggle__icon { position: relative; }
  .nav-toggle__icon::before,
  .nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__icon::before { top: -6px; }
  .nav-toggle__icon::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { top: 0; transform: rotate(-45deg); }

  .site-nav { flex-basis: 100%; }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding-block: 0.25rem 0.75rem;
    border-top: 1px solid var(--line);
  }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a {
    padding: 0.95rem 0.25rem;
    font-size: 1.15rem;
    border-radius: 0;
  }
  .site-nav a[aria-current="page"] {
    box-shadow: inset 4px 0 0 var(--accent);
    padding-left: 1rem;
    border-radius: 0;
  }
}

/* Sehr schmale Geräte (z. B. iPhone SE): Logo und Menü-Knopf bleiben in einer Zeile. */
@media (max-width: 23rem) {
  .site-header__inner { gap: 0.75rem; }
  .site-logo img { width: 9.5rem; }
  .js .nav-toggle { padding: 0.5rem 0.75rem; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--section); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: calc(var(--section) * 0.7); }

.section__head { margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(28rem, 72vh, 44rem);
  color: #fff;
  overflow: hidden;
  background: #3a2a1f;
}
/* Bildebene ragt oben über den Rand hinaus: Reserve für den Parallax-Versatz */
.hero__media {
  position: absolute;
  inset: -14% 0 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transform-origin: 50% 45%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(25, 17, 12, 0.62) 0%, rgba(25, 17, 12, 0.42) 70%),
    linear-gradient(180deg, rgba(25, 17, 12, 0.25), rgba(25, 17, 12, 0.5));
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: 4rem;
}
.hero__brand {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  color: #fff;
}
.hero h1 {
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}
.hero__name { display: block; }
.hero__sub {
  display: block;
  margin-top: 0.4em;
  font-style: italic;
  font-weight: 500;
  font-size: 0.6em;
  line-height: 1.3;
}
.hero .btn-row { justify-content: center; margin-top: 2.5rem; }

/* Weiche Lichtpunkte (Bokeh) – rein dekorativ, an den Rändern, sehr geringe Deckkraft */
.hero__bokeh {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero__bokeh span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 228, 192, 0.9) 0%, rgba(255, 214, 168, 0.35) 38%, rgba(255, 214, 168, 0) 70%);
  opacity: var(--o);
}
.hero__bokeh span:nth-child(1) { --x: 6%;  --y: 14%; --s: 9rem;  --o: 0.16; --dx: 26px;  --dy: -18px; --dur: 38s; }
.hero__bokeh span:nth-child(2) { --x: 82%; --y: 10%; --s: 6rem;  --o: 0.2;  --dx: -20px; --dy: 22px;  --dur: 44s; }
.hero__bokeh span:nth-child(3) { --x: 88%; --y: 62%; --s: 11rem; --o: 0.12; --dx: -28px; --dy: -16px; --dur: 52s; }
.hero__bokeh span:nth-child(4) { --x: 2%;  --y: 70%; --s: 7rem;  --o: 0.15; --dx: 22px;  --dy: -24px; --dur: 46s; }
.hero__bokeh span:nth-child(5) { --x: 70%; --y: 84%; --s: 4.5rem; --o: 0.18; --dx: -16px; --dy: -20px; --dur: 34s; }
.hero__bokeh span:nth-child(6) { --x: 22%; --y: 4%;  --s: 4rem;  --o: 0.14; --dx: 18px;  --dy: 16px;  --dur: 40s; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.page-head__signet {
  width: 3rem;
  margin: 0 auto 1.25rem;
}
.page-head h1 { margin-bottom: 0.35em; }
.page-head__sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  line-height: 1.35;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Seitenkopf mit Foto & Bildbänder (gemeinsame Bildtechnik) ---------- */
.page-head--image,
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #3a2a1f;
}
/* Abdunklung: im Textbereich (Mitte) mind. 0,62 → Weiß hält ≥ 4,5:1 */
.page-head--image::before,
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(var(--scrim), 0.66) 0%, rgba(var(--scrim), 0.62) 55%, rgba(var(--scrim), 0.5) 100%);
}
/* sanfter Verlauf an den Kanten in die Nachbarabschnitte */
.page-head--image::after,
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--edge-top, var(--bg)) 0, rgba(251, 248, 244, 0) var(--edge, 3.5rem)),
    linear-gradient(to top, var(--edge-bottom, var(--bg)) 0, rgba(251, 248, 244, 0) var(--edge, 3.5rem));
}
.page-head__media,
.band__media {
  position: absolute;
  inset: -12% 0;
}
.page-head__media { inset: -14% 0 0; }
.page-head__media img,
.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

/* Seitenkopf mit Foto (Unterseiten) */
.page-head--image {
  --edge-top: rgba(251, 248, 244, 0);
  --edge: 2.5rem;
  display: grid;
  align-items: center;
  min-height: clamp(20rem, 46vh, 28rem);
  padding-block: clamp(4rem, 9vw, 6.5rem);
}
.page-head__content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-head--image h1 {
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}
.page-head--image .page-head__sub {
  color: #f6eee8;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* Bildband (Zitat oder Abschnittskopf auf Foto) */
.band {
  padding-block: clamp(5.5rem, 13vw, 9rem);
}
.band__content {
  position: relative;
  z-index: 2;
}
.band .quote blockquote p {
  color: #fff;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}
.band .quote figcaption { color: #f6eee8; }
.band h2 {
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}
.band .section__head { margin-bottom: 0; }

/* Abschnittskopf „Der Weg zu Ihrer Trauerrede“: Karten liegen über der Unterkante */
.band--head {
  --edge-bottom: var(--bg-alt);
  padding-block: clamp(5rem, 11vw, 7.5rem) clamp(7rem, 14vw, 10rem);
}
.band--head + .container {
  position: relative;
  z-index: 3;
  margin-top: clamp(-4.5rem, -6vw, -3rem);
}

/* ---------- Begrüßung ---------- */
.welcome { text-align: center; }
.welcome__signet { width: 4rem; margin: 0 auto 1.5rem; }
.welcome p { max-width: var(--measure); margin-inline: auto; }

/* ---------- Zitat ---------- */
.quote {
  margin: 0 auto;
  max-width: 46rem;
  text-align: center;
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.6rem);
  line-height: 1.3;
  color: var(--text);
}
.quote blockquote p + p { margin-top: 0.4em; }
.quote figcaption {
  margin-top: 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.quote figcaption::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: 0 auto 1rem;
  background: var(--accent);
}

/* ---------- Text mit Bild ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 52rem) {
  .split { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); }
  .split--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 19rem); }
  .split--reverse .split__media { order: 2; }
}
/* Porträt im Hochformat (768 × 1024 px) – nie größer als nativ */
.portrait {
  margin: 0;
  width: 100%;
  max-width: 24rem;
  margin-inline: auto;
}
.portrait img,
.feather img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

/* Feder neben „Was ist Trauerbegleitung?“ */
.split--feather {
  max-width: 64rem;
  margin-block: clamp(2.5rem, 6vw, 4.5rem);
}
.feather {
  margin: 0;
  width: 100%;
  max-width: 15rem;
  margin-inline: auto;
}
@media (min-width: 52rem) {
  .feather { max-width: 19rem; }
}
/* Breite Bildschirme: Textspalte beginnt an derselben Kante wie der Fließtext darüber/darunter */
@media (min-width: 64rem) {
  .split--feather {
    width: auto;
    max-width: none;
    margin-left: calc(50% - var(--measure) / 2);
    margin-right: 0;
    grid-template-columns: minmax(0, 34rem) minmax(0, 17rem);
    column-gap: 3.5rem;
  }
  .split--feather .feather { max-width: 17rem; }
}

/* Versetzte farbige Rahmenebene hinter Porträt und Feder (Tiefe) */
.framed {
  --fx: 1.1rem;
  --fy: 1.1rem;
  position: relative;
  isolation: isolate;
}
.feather.framed { --fx: -1.1rem; }
.framed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent-soft);
  transform: translate3d(var(--fx), calc(var(--fy) + var(--drift, 0px)), 0);
}
@media (max-width: 30rem) {
  .framed { --fx: 0.7rem; --fy: 0.7rem; }
  .feather.framed { --fx: -0.7rem; }
}

/* ---------- Leistungs-Karten ---------- */
.cards {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 48rem) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.card h3 { margin-bottom: 0.5em; }
.card h3 a {
  color: var(--text);
  text-decoration: none;
}
/* gesamte Karte klickbar */
.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}
.card h3 a:focus-visible { outline: none; }
.card h3 a:focus-visible::after { outline: 3px solid var(--accent-dark); outline-offset: 3px; }
.card:hover,
.card:focus-within { border-color: #d6c3b6; border-top-color: var(--accent); box-shadow: var(--shadow-2); }
.card p { color: var(--text); }
.card__more {
  margin-top: auto;
  padding-top: 1.25rem;
  font-weight: 600;
  color: var(--accent-dark);
}
.card:hover .card__more { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Fließtext-Seiten ---------- */
.prose { max-width: var(--measure); margin-inline: auto; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose .closing {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5em;
  line-height: 1.35;
  margin-top: 1.5em;
}
.highlight {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.45em;
  line-height: 1.35;
}

/* ---------- Ablauf (Der Weg zu Ihrer Trauerrede) ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  counter-reset: step;
}
.steps { max-width: 50rem; margin-inline: auto; }
@media (min-width: 40rem) {
  .steps > li { display: grid; grid-template-columns: 3.75rem minmax(0, 1fr); column-gap: 1.5rem; }
  .steps > li::before { grid-column: 1; grid-row: 1 / span 5; margin-bottom: 0; }
  .steps > li > * { grid-column: 2; }
}
.steps > li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.4s var(--ease-out);
}
.steps > li:hover { box-shadow: var(--shadow-2); }
.steps > li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-dark);
}

/* ---------- Zeitleiste (Über mich) ---------- */
.timeline {
  list-style: none;
  margin: 0 0 3.5rem;
  padding: 0;
  position: relative;
}
.timeline:last-child { margin-bottom: 0; }
.timeline::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 0.55rem;
  width: 2px;
  background: var(--line);
}
.timeline > li {
  position: relative;
  padding-left: 2.75rem;
  padding-bottom: 2.25rem;
}
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
}
.section--alt .timeline > li::before { background: var(--bg-alt); }
.timeline__date {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  margin-bottom: 0.2rem;
}
.timeline h3 { margin-bottom: 0.4em; }
/* Jahreszahl steht im h3 (Jahr · Titel), sieht aber aus wie zuvor */
.timeline h3 .timeline__date { font-family: var(--font-sans); line-height: 1.7; }
.timeline + .btn-row { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: var(--measure); margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3rem 1.15rem 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem);
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--accent-dark);
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--accent-dark); }
.faq__answer { padding: 0 0 1.5rem; }

/* ---------- Hinweis-/Platzhalterbox ---------- */
.notice {
  max-width: var(--measure);
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem;
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}
.notice strong { color: var(--accent-dark); }

/* ---------- Kontakt ---------- */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 52rem) {
  .contact-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.contact-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-style: normal;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.4s var(--ease-out);
}
.contact-item:hover,
.contact-item:focus-within { box-shadow: var(--shadow-2); }
.contact-item h2,
.contact-item h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4em;
}
.contact-item a { font-size: 1.15em; font-weight: 600; overflow-wrap: anywhere; }
.contact-item address { font-style: normal; margin-bottom: 0.75rem; }
.contact-item .small { font-size: 1rem; color: var(--text-muted); }

/* ---------- Kontakt-Aufruf ---------- */
.cta { text-align: center; }
.cta p { max-width: 38rem; margin-inline: auto; }

/* ---------- Fußbereich ---------- */
.site-footer {
  background: var(--dark);
  color: var(--on-dark);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 1.05rem;
}
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: var(--accent); }
.site-footer__grid {
  display: grid;
  gap: 2.25rem;
}
@media (min-width: 52rem) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
}
.site-footer__logo img { width: 14rem; }
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.site-footer address { font-style: normal; margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer li a { display: inline-block; padding-block: 0.2rem; }
.site-footer__bottom {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 233, 226, 0.22);
  font-size: 1rem;
}

/* ---------- Bewegung & Tiefe ----------
   Alles Bewegte steht nur hier und nur bei „keine Präferenz“ für reduzierte Bewegung.
   Animiert werden ausschließlich transform und opacity. */
@media (prefers-reduced-motion: no-preference) {

  /* Startseite: sehr langsamer Ken-Burns-Zoom (einmalig) */
  .hero__media img { animation: kenburns 26s cubic-bezier(0.25, 0.1, 0.25, 1) both; }

  /* Text im Kopfbereich erscheint beim Laden sanft gestaffelt */
  .hero__brand,
  .hero__name,
  .hero__sub,
  .hero .btn-row,
  .page-head--image .page-head__signet,
  .page-head--image h1,
  .page-head--image .page-head__sub {
    animation: rise-in 1.2s var(--ease-out) both;
  }
  .hero__brand,
  .page-head--image .page-head__signet { animation-delay: 0.15s; }
  .hero__name,
  .page-head--image h1 { animation-delay: 0.4s; }
  .hero__sub,
  .page-head--image .page-head__sub { animation-delay: 0.65s; }
  .hero .btn-row { animation-delay: 0.95s; }

  /* Lichtpunkte schweben sehr langsam */
  .hero__bokeh span { animation: drift var(--dur, 40s) ease-in-out infinite alternate; }

  /* Karten und Schritte heben sich bei Hover/Fokus leicht an */
  .card,
  .steps > li,
  .contact-item {
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  }
  .card:hover,
  .card:focus-within,
  .steps > li:hover,
  .contact-item:hover,
  .contact-item:focus-within { transform: translate3d(0, -4px, 0); }

  /* Scroll-Reveal: nur aktiv, wenn js/motion.js läuft (Klasse .motion) */
  .motion [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  .motion [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease-out, transform 0.9s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
  }

  /* Parallax per scroll-driven animations (sonst JS-Rückfall in motion.js) */
  .hero__media,
  .page-head__media,
  .band__media { will-change: transform; }

  @supports (animation-timeline: view()) {
    .hero,
    .page-head--image { view-timeline: --kopf block; }
    .hero__media,
    .page-head__media {
      animation: parallax-kopf linear both;
      animation-timeline: --kopf;
      animation-range: exit 0% exit 100%;
    }
    .band { view-timeline: --band block; }
    .band__media {
      animation: parallax-band linear both;
      animation-timeline: --band;
      animation-range: cover 0% cover 100%;
    }
    .framed { view-timeline: --rahmen block; }
    .framed::before {
      animation: rahmen-drift linear both;
      animation-timeline: --rahmen;
      animation-range: cover 0% cover 100%;
    }
  }
}

@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(var(--dx, 20px), var(--dy, -20px), 0); }
}
/* Kopfbild bleibt beim Herausscrollen zurück (Bildebene ragt 14 % nach oben) */
@keyframes parallax-kopf {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, 12%, 0); }
}
/* Bildband: Bild wandert langsamer als der Inhalt (Bildebene ragt je 12 % über) */
@keyframes parallax-band {
  from { transform: translate3d(0, -9%, 0); }
  to   { transform: translate3d(0, 9%, 0); }
}
/* Rahmenebene bewegt sich minimal anders als das Bild */
@keyframes rahmen-drift {
  from { transform: translate3d(var(--fx), calc(var(--fy) - 14px), 0); }
  to   { transform: translate3d(var(--fx), calc(var(--fy) + 14px), 0); }
}

/* ---------- Druck ---------- */
@media print {
  .site-nav, .nav-toggle, .skip-link, .hero__media, .hero__bokeh, .page-head__media, .band__media, .btn-row { display: none !important; }
  .hero, .page-head--image, .band { min-height: 0; color: var(--text); background: none; }
  .hero::before, .page-head--image::before, .page-head--image::after, .band::before, .band::after, .framed::before { display: none; }
  .hero h1, .hero__brand, .page-head--image h1, .page-head--image .page-head__sub,
  .band h2, .band .quote blockquote p, .band .quote figcaption { color: var(--text); text-shadow: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .site-footer { background: none; color: var(--text); }
  .site-footer a { color: var(--text); }
}

.pt-0 { padding-top: 0; }
