/* =========================================================
   BERUFSERFAHRUNG.FM – Stylesheet
   Gleiches System wie qvado.de: Elfenbein, Newsreader und Instrument Sans,
   ein Weg in Stationen mit Vierecken. Eigener Ton des Podcasts: Ziegelrot,
   sparsam (Wortmarke, Markierungen beim Überfahren, Unterstreichungen).
   Farben und Schriften zentral in :root ändern.
   ========================================================= */

/* Schriften lokal eingebunden (keine Verbindung zu Google) – Lizenz: SIL Open Font License, siehe assets/fonts */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/newsreader-latin-opsz-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url(../fonts/newsreader-latin-opsz-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/instrument-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/instrument-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/instrument-sans-latin-600-normal.woff2) format("woff2"); }

:root {
  /* Palette wie qvado.de */
  --paper: #f8f5f0;      /* Seitenhintergrund */
  --ink: #1f1b18;        /* Text, Buttons */
  --muted: #6f675f;      /* Sekundärtext */
  --line: #e0d9cf;       /* Linien */
  --accent-ink: #fbf9f5; /* Text auf Buttons */
  --deep: #f0eae1;       /* tieferer Grund: Ihre Geschichte */
  --d1: #f8f5f0; --d2: #e7dfd3; --d3: #b0a394; --d4: #2d2723;
  /* Ton des Podcasts: Ziegelrot wie auf dem Cover */
  --brick: #b23a22;
  /* Namen, die consent.js verwendet */
  --rule: var(--line); --accent: var(--brick);

  --font-text: "Newsreader", Georgia, "Times New Roman", serif;
  --font-ui: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --rail: 52px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #171412; --ink: #eee8e0; --muted: #a89f95; --line: #34302b; --accent-ink: #171412; --deep: #1f1b18;
    --d1: #171412; --d2: #34302b; --d3: #645b52; --d4: #eee8e0; --brick: #d4694f; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #171412; --ink: #eee8e0; --muted: #a89f95; --line: #34302b; --accent-ink: #171412; --deep: #1f1b18;
  --d1: #171412; --d2: #34302b; --d3: #645b52; --d4: #eee8e0; --brick: #d4694f; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-text); font-size: 1.125rem; line-height: 1.6; font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 1.25rem; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
p { margin: 0 0 1em; }
h1, h2 { font-weight: 400; line-height: 1.04; letter-spacing: -0.022em; margin: 0; text-wrap: balance; font-variation-settings: "opsz" 72; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); max-width: 13em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.7rem); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--paper); padding: 8px 12px; }
.btn, .nav, .stations p, .site-footer, .note { font-family: var(--font-ui); }

/* ---------- Links und Buttons ---------- */
.link {
  font-family: var(--font-ui); font-size: 1rem; font-weight: 500; text-decoration: none;
  background: linear-gradient(var(--brick), var(--brick)) 0 100% / 0 1px no-repeat,
              linear-gradient(var(--line), var(--line)) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px; transition: background-size .45s var(--ease);
}
.link:hover { background-size: 100% 1px, 100% 1px; }
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: 14px 24px; border-radius: 2px;
  background: var(--ink); color: var(--accent-ink); font-size: .98rem; font-weight: 600;
  text-decoration: none; letter-spacing: .005em; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--ink) 70%, transparent); }
.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateY(3px); }
.btn:hover .arrow.r { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 36px; }
.room { font-style: italic; color: var(--ink); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.mark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.mark-word { font-family: var(--font-text); font-weight: 500; font-size: 1.6rem; letter-spacing: .01em; white-space: nowrap; }
.mark-word .fm { font-style: italic; font-weight: 400; color: var(--brick); margin-left: .02em; }
.mark-by { font-family: var(--font-text); font-style: italic; font-size: .8rem; color: var(--muted); margin-top: 6px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav .btn { padding: 10px 18px; font-size: .9rem; }
.nav-toggle { display: none; }
@media (min-width: 901px) {
  .nav li.nav-sep { position: relative; margin-left: 22px; }
  .nav li.nav-sep::before { content: ""; position: absolute; left: -26px; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: var(--line); }
  .nav li.nav-sep a { font-size: .88rem; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; font: 500 .95rem var(--font-ui); background: none; border: 1px solid var(--line); color: var(--ink); padding: 8px 14px; border-radius: 2px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav li.nav-sep { margin-top: 18px; }
  .nav li.nav-sep a { color: var(--muted); }
  .nav li:last-child { margin-top: 16px; }
}
@media (max-width: 420px) { .mark-word { font-size: 1.35rem; } }

/* ---------- Erster Eindruck ---------- */
.hero { min-height: min(calc(100svh - 76px), 900px); display: flex; flex-direction: column; justify-content: space-between; padding-block: clamp(48px, 10vh, 120px) clamp(32px, 6vh, 64px); overflow-x: clip; }
.hero h1 { max-width: 12.5em; }
.hero .lead { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.45; color: var(--muted); max-width: 30em; margin: 28px 0 0; }
.hero .claim { font-style: italic; color: var(--brick); }
.hero .latest { font-family: var(--font-ui); font-size: .85rem; font-weight: 500; color: var(--muted); margin: 0 0 10px; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lead, .hero .actions { animation: rise 1s var(--ease) both; }
  .hero .lead { animation-delay: .12s; } .hero .actions { animation-delay: .24s; }
  .stations li { animation: rise .9s var(--ease) both; }
  .stations li:nth-child(1) { animation-delay: .4s; } .stations li:nth-child(2) { animation-delay: .5s; } .stations li:nth-child(3) { animation-delay: .6s; }
  @keyframes rise { from { opacity: .001; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Die drei Stationen */
.stations { list-style: none; margin: clamp(48px, 9vh, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stations li { position: relative; }
.stations li::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--line); }
.stations li:last-child::before { right: -100%; background: linear-gradient(90deg, var(--line), transparent); }
.stations a { display: block; padding: 40px 24px 4px 0; text-decoration: none; }
.mk { position: absolute; left: 0; top: 0; width: 21px; height: 21px; border: 1px solid var(--ink); background: var(--paper); z-index: 1; transition: transform .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease); }
.stations li:nth-child(2) .mk, .topic[data-step="2"] .mk { background: var(--d2); }
.stations li:nth-child(3) .mk, .topic[data-step="3"] .mk { background: var(--d3); }
.stations h3 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); font-weight: 400; line-height: 1.15; margin: 0 0 8px; transition: transform .45s var(--ease); }
.stations p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.45; max-width: 24em; transition: color .3s; }
.stations p .room { font-family: var(--font-text); font-size: 1.08em; }
.stations a:hover h3 { transform: translateX(6px); }
.stations a:hover p { color: var(--ink); }
/* Hover: Viereck dreht sich und nimmt den Ton des Podcasts an */
.stations li:hover .mk { transform: rotate(45deg) scale(.82); background: var(--brick); border-color: var(--brick); }
@media (max-width: 760px) {
  .stations { grid-template-columns: 1fr; }
  .stations li::before { left: 10px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .stations li:last-child::before { right: auto; bottom: -24px; height: auto; background: linear-gradient(180deg, var(--line), transparent); }
  .stations a { padding: 0 0 26px 44px; }
}

/* ---------- Themen ---------- */
.topic { position: relative; padding-block: clamp(80px, 13vh, 150px); }
.topic::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line);
  left: calc(max(0px, (100% - var(--wrap)) / 2) + var(--gutter) + 10px);
}
.topic[data-step="3"] { background: var(--deep); }
.topic[data-step="3"] .mk { box-shadow: 0 0 0 6px var(--deep); }
.topic-last::before { bottom: auto; height: calc(clamp(80px, 13vh, 150px) + 20px); }
.topic .wrap { position: relative; padding-left: calc(var(--gutter) + var(--rail)); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(40px, 8vw, 128px); align-items: start; }
.topic .mk { left: var(--gutter); top: .55em; font-size: clamp(2.1rem, 4.4vw, 3.7rem); margin-top: -10px; }
.topic:hover > .wrap > .mk { transform: rotate(45deg) scale(.82); background: var(--brick); border-color: var(--brick); }
.topic-main p { color: var(--muted); max-width: 24em; margin: 24px 0 0; }
.topic-main p + p { margin-top: 14px; }
.topic-main .actions { margin-top: 32px; }
.topic-aside { justify-self: end; width: 100%; max-width: 380px; }
/* Weiter-Pfeil zum nächsten Abschnitt (wie auf qvado.de): Viereck auf der Leiste, Pfeil nach unten */
.next { grid-column: 1 / -1; position: relative; justify-self: start; margin: clamp(8px, 2vh, 24px) 0 0 calc(-1 * var(--rail)); padding: 6px 0 6px var(--rail); font-family: var(--font-ui); font-size: .95rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .3s; }
.next .room { font-family: var(--font-text); font-size: 1.12em; font-weight: 400; }
.next-mk { position: absolute; left: 4px; top: 50%; width: 13px; height: 13px; margin-top: -7px; border: 1px solid var(--ink); background: var(--paper); z-index: 1; transition: transform .45s var(--ease), background-color .45s var(--ease); }
.next[data-next="2"] .next-mk { background: var(--d2); }
.next[data-next="3"] .next-mk { background: var(--d3); }
.next-arrow { display: inline-block; margin-left: .25em; transition: transform .45s var(--ease); }
.next:hover { color: var(--ink); }
.next:hover .next-mk { transform: rotate(45deg) scale(.9); background: var(--ink); }
.next:hover .next-arrow { transform: translateY(4px); }
@media (prefers-reduced-motion: reduce) { .next-mk, .next-arrow { transition: none !important; } }
.note { font-size: .9rem; color: var(--muted); }
.topic-main p.note { font-size: .92rem; line-height: 1.5; margin-top: 28px; }
.note .link { font-size: inherit; }
@media (max-width: 860px) {
  .topic .wrap { grid-template-columns: 1fr; padding-left: calc(var(--gutter) + 40px); }
  .next { margin-left: -40px; padding-left: 40px; }
  .topic-aside { justify-self: start; }
}

/* Podcast-Cover */
.cover { display: block; width: 100%; max-width: 300px; margin-left: auto; aspect-ratio: 1; overflow: hidden; background: var(--d4); border-radius: 2px; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cover:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .cover { margin-left: 0; max-width: 220px; } }

/* Player */
.player { margin-top: 40px; max-width: 640px; }

/* ---------- Listen mit Vierecken (wie auf qvado.de) ---------- */
.feed-label { font-family: var(--font-text); font-size: 1rem; color: var(--muted); margin: 0 0 12px; }
.topic-aside .feed-label { margin-top: 40px; }
.topic-aside > .feed-label:first-child { margin-top: 0; }
.offers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); font-family: var(--font-ui); }
.offers li { position: relative; border-bottom: 1px solid var(--line); padding: 14px 0 14px 22px; font-size: .95rem; line-height: 1.4; color: var(--muted); transition: color .3s; }
.offers li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 7px; height: 7px; border: 1px solid var(--d3); transition: transform .45s var(--ease), background-color .45s var(--ease), border-color .45s; }
.offers li:hover { color: var(--ink); }
.offers li:hover::before { transform: rotate(45deg); background: var(--brick); border-color: var(--brick); }

/* Plattformen: ganze Zeile ist Link */
.platforms li { padding: 0; }
.platforms a { display: block; padding: 12px 0 12px 22px; text-decoration: none; font-family: var(--font-text); font-size: 1.05rem; color: var(--ink); transition: transform .4s var(--ease); }
.platforms a:hover { transform: translateX(6px); }
.platforms li::before { top: 1.45em; }
.feedurl { margin: 20px 0 0; font-family: var(--font-ui); font-size: .85rem; line-height: 1.5; color: var(--muted); }
.feedurl code {
  display: inline-block; margin-top: 6px; font: inherit; color: var(--ink); word-break: break-all;
  user-select: all; -webkit-user-select: all; cursor: text; padding: 2px 4px; margin-left: -4px; border-radius: 2px; transition: background .2s;
}
.feedurl code:hover { background: color-mix(in srgb, var(--brick) 10%, transparent); }
.feedurl code::selection { background: color-mix(in srgb, var(--brick) 22%, transparent); }

/* Folgen: Nummer und Datum, Titel, Beschreibung zum Ausklappen (Text bleibt für Suchmaschinen im HTML) */
.episodes { margin-top: 40px; max-width: 640px; font-family: var(--font-text); }
.episodes li { padding: 18px 0 18px 22px; color: var(--ink); }
.episodes li::before { top: 1.75em; }
.episodes .meta { display: block; font-family: var(--font-ui); font-size: .78rem; font-weight: 500; letter-spacing: .02em; color: var(--muted); margin: 0 0 4px; }
.episodes h3 { margin: 0; font-size: clamp(1.25rem, 1.9vw, 1.5rem); font-weight: 400; line-height: 1.25; }
.episodes h3 a { text-decoration: none; display: inline-block; transition: transform .4s var(--ease), color .3s; }
.episodes h3 a:hover { transform: translateX(6px); color: var(--brick); }
.episodes p { margin: 8px 0 0; font-size: 1rem; line-height: 1.55; color: var(--muted); max-width: 32em; }
.more { margin-top: 8px; }
.more summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; font-family: var(--font-ui); font-size: .85rem; font-weight: 500; color: var(--muted); padding: 2px 0; transition: color .2s; }
.more summary::-webkit-details-marker { display: none; }
.more summary:hover { color: var(--ink); }
.more .sq { position: relative; width: 11px; height: 11px; border: 1px solid currentColor; transition: transform .4s var(--ease); }
.more .sq::before, .more .sq::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.more .sq::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .3s; }
.more[open] .sq { transform: rotate(45deg); }
.more[open] .sq::after { opacity: 0; }

/* Zuletzt weitergedacht: Skizze und öffentliche Frage */
.thought li { padding: 0; }
.thought a { display: block; padding: 14px 8px 16px 22px; text-decoration: none; color: inherit; }
.thought li::before { top: 1.6em; }
.thought .title { display: block; font-family: var(--font-text); font-size: 1.08rem; line-height: 1.35; color: var(--ink); transition: transform .4s var(--ease); }
.thought .sketch { display: block; margin-top: 4px; font-family: var(--font-text); font-size: .95rem; line-height: 1.45; color: var(--muted); }
.thought .question { display: block; margin-top: 10px; padding-left: 12px; border-left: 1px solid var(--d3); font-family: var(--font-text); font-style: italic; font-size: .98rem; line-height: 1.45; color: var(--ink); transition: border-color .4s; }
.thought a:hover .title { transform: translateX(6px); }
.thought a:hover .question { border-left-color: var(--brick); }

/* Ihre Geschichte: Adresse groß */
.mail { margin: 0; font-size: 1.08rem; line-height: 1.4; word-break: break-word; }
.mail a { text-decoration: none; background: linear-gradient(var(--brick), var(--brick)) 0 100% / 0 1px no-repeat, linear-gradient(var(--d3), var(--d3)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .45s var(--ease); }
.mail a:hover { background-size: 100% 1px, 100% 1px; }
.mail-intro { font-family: var(--font-text); font-size: 1rem; color: var(--muted); margin: 0 0 12px; }
@media (min-width: 861px) { .topic[data-step="3"] .topic-aside { padding-top: .6em; } }

/* ---------- Person ---------- */
.person { padding-block: clamp(80px, 13vh, 150px); }
.person .wrap { max-width: var(--wrap); }
.person-inner { padding-left: calc(var(--rail) + 0px); max-width: calc(36em + var(--rail)); }
.person .role { font-style: italic; color: var(--ink); margin: 20px 0 0; font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
.person p { color: var(--muted); max-width: 30em; margin-top: 18px; }
@media (max-width: 860px) { .person-inner { padding-left: 40px; } }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 44px; font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--ink); }
.site-footer .mark { color: var(--ink); }
.footer-copy { margin: 14px 0 0; font-size: .85rem; }
.footer-copy .owner { margin-left: .9em; }

/* ---------- Unterseiten ---------- */
.article { padding-block: clamp(56px, 10vh, 120px) clamp(80px, 12vh, 140px); }
.article .wrap { max-width: calc(720px + 2 * var(--gutter)); }
.article-kind { font-family: var(--font-ui); font-size: .85rem; font-weight: 500; color: var(--muted); margin: 0 0 20px; }
.article h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); max-width: none; }
.article .lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--muted); margin: 28px 0 0; }
.article .lead + .lead { margin-top: 14px; }
.article-body { margin-top: 40px; }
.article-body p { margin: 0 0 1.1em; }
.article-body h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; margin: 44px 0 12px; letter-spacing: -.01em; }
.article-body a:not(.btn) { text-decoration: none; background: linear-gradient(var(--brick), var(--brick)) 0 100% / 0 1px no-repeat, linear-gradient(var(--d3), var(--d3)) 0 100% / 100% 1px no-repeat; transition: background-size .45s var(--ease); }
.article-body a:not(.btn):hover { background-size: 100% 1px, 100% 1px; }
.article .actions.back { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Weiterdenken: der Weg vom Podcast zum Denkraum, wie die Stationen auf qvado.de, senkrecht */
.path { list-style: none; margin: 0; padding: 0; position: relative; }
.path li { position: relative; padding: 0 0 22px 38px; }
.path li::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: -8px; width: 1px; background: var(--line); }
.path li:last-child { padding-bottom: 0; }
.path li:last-child::before { bottom: 0; background: linear-gradient(180deg, var(--line), transparent); }
.path a { display: block; text-decoration: none; color: inherit; }
.topic .path .mk { width: 15px; height: 15px; top: 5px; left: 0; margin-top: 0; }
.path li:nth-child(2) .mk { background: var(--d2); }
.path li:nth-child(3) .mk { background: var(--d3); }
.path li.here .mk { background: var(--brick); border-color: var(--brick); }
.path .step { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.path .name { font-family: var(--font-text); font-size: 1.15rem; line-height: 1.3; color: var(--ink); transition: transform .4s var(--ease); }
.path .hint { font-family: var(--font-ui); font-size: .75rem; font-weight: 500; letter-spacing: .02em; color: var(--brick); }
.path .desc { display: block; margin-top: 2px; font-family: var(--font-ui); font-size: .88rem; line-height: 1.45; color: var(--muted); transition: color .3s; }
.path .desc .room { font-family: var(--font-text); font-size: 1.08em; }
.path a:hover .name { transform: translateX(6px); }
.path a:hover .desc { color: var(--ink); }
.path li:hover .mk { transform: rotate(45deg) scale(.82); background: var(--brick); border-color: var(--brick); }
.topic-aside .feed-label.feed-label-gap { margin-top: 48px; }

/* ---------- Bilder zwischen den Themen ----------
   Ruhige Bildbänder in der Breite des Inhalts. Die Linie der Stationen läuft daneben weiter.
   Hover: das Bild atmet langsam etwas näher heran. */
.plate { position: relative; margin: 0; }
.plate::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line);
  left: calc(max(0px, (100% - var(--wrap)) / 2) + var(--gutter) + 10px);
}
.plate-first::before { top: 50%; }
.plate .wrap { padding-left: calc(var(--gutter) + var(--rail)); }
.plate .frame { overflow: hidden; aspect-ratio: 21 / 8; background: var(--d2); border-radius: 2px; }
.plate img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.8s var(--ease), filter .6s var(--ease); }
.plate:hover img { transform: scale(1.035); }
.plate figcaption { font-family: var(--font-ui); font-size: .72rem; letter-spacing: .02em; color: var(--muted); margin: 10px 0 0; text-align: right; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plate img { filter: brightness(.86) saturate(.92); } }
:root[data-theme="dark"] .plate img { filter: brightness(.86) saturate(.92); }
@media (prefers-reduced-motion: reduce) { .plate img, .plate:hover img { transition: none; transform: none; } }
@media (max-width: 860px) {
  .plate .wrap { padding-left: calc(var(--gutter) + 40px); }
  .plate .frame { aspect-ratio: 4 / 3; }
}
/* Etwas weniger Abstand direkt vor und nach einem Bildband, damit Bild und Thema zusammengehören. */
.plate + .topic { padding-top: clamp(60px, 10vh, 112px); }
.topic:has(+ .plate) { padding-bottom: clamp(60px, 10vh, 112px); }

/* Übergang zu „Ihre Geschichte“: Der tiefere Grund beginnt auf halber Bildhöhe.
   Das Bild liegt über der Kante und verbindet beide Flächen; die Bildunterschrift steht schon im neuen Grund. */
.plate-bridge { background: linear-gradient(180deg, var(--paper) 0, var(--paper) calc(50% - 16px), var(--deep) calc(50% - 16px), var(--deep) 100%); }
.plate-bridge .frame { box-shadow: 0 18px 40px -28px rgba(31, 27, 24, .35); }

/* Person mit Porträt (Bild kommt von qvado.de, wie dort: schwarzweiß, beim Überfahren Farbe) */
.person .wrap { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-left: calc(var(--gutter) + var(--rail)); }
.person .person-inner { padding-left: 0; }
.portrait { aspect-ratio: 4 / 5; background: var(--d2); display: grid; place-items: center; overflow: hidden; border-radius: 2px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; color: transparent; filter: grayscale(1); transition: filter .8s var(--ease), transform 1.6s var(--ease); }
.portrait:hover img { filter: grayscale(.2); transform: scale(1.02); }
.portrait-fallback { font-family: var(--font-ui); font-size: 2.2rem; letter-spacing: .12em; color: var(--muted); }
@media (max-width: 860px) { .person .wrap { grid-template-columns: 1fr; padding-left: calc(var(--gutter) + 40px); } .portrait { max-width: 200px; } }
@media (prefers-reduced-motion: reduce) { .portrait img { transition: none; } .portrait:hover img { transform: none; } }
a.inline { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; transition: text-decoration-color .3s var(--ease); }
a.inline:hover { text-decoration-color: currentColor; }

/* Sprungmarken aus dem Menü landen auf dem Bild über dem Abschnitt, mit etwas Luft unter der Kopfzeile */
.plate[id] { scroll-margin-top: 28px; }
