/* =========================================================
   JUNE ROSE · Black and white editorial
   Signatur: die mathematische Rose (Rhodonea-Kurve k = 5/4)
   im Logo, als Zeichnung im Aufmacher und als Markierung.
   Mobile first. Nur Schwarz, Weiß und zwei Grautöne.
   ========================================================= */

@font-face { font-family: "Bodoni Moda"; src: url(../fonts/bodoni-moda-latin-opsz-normal.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url(../fonts/bodoni-moda-latin-opsz-italic.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --black: #000000;
  --white: #FFFFFF;
  --grey: #6B6B6B;      /* Metatexte, 5.3:1 auf Weiß */
  --mist: #F2F2F2;      /* Flächen */
  --rule: #DCDCDC;      /* feine Linien */

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --t-xs: .8125rem; --t-sm: .9375rem; --t-md: 1.0625rem; --t-lg: 1.25rem;
  --t-xl: 1.6rem; --t-2xl: 2.1rem; --t-3xl: 2.75rem;

  --wrap: 1320px;
  --text: 38rem;
  --gut: clamp(20px, 4.5vw, 56px);
  --head-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (min-width: 1000px) { :root { --head-h: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--black);
  font: 400 var(--t-md)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.05; text-wrap: balance; font-optical-sizing: auto; }
p, figure, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.footer :focus-visible, .saying :focus-visible, .menu :focus-visible, .hero :focus-visible { outline-color: var(--white); }
::selection { background: var(--black); color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-text { width: 100%; max-width: calc(var(--text) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -80px; background: var(--black); color: var(--white); padding: 12px 18px; z-index: 100; }
.skip:focus { top: 12px; }

/* Fotos: konsequent schwarz-weiß (in den Einstellungen abschaltbar) */
.mono .hero-media img, .mono .card-img img, .mono .story-cover img, .mono .letters-img img,
.mono .about-img img, .mono .auth-img img, .mono .index-thumb img, .mono .index-float img, .mono .prose img {
  filter: grayscale(1) contrast(1.06);
}

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px; border: 1px solid var(--black); border-radius: 0;
  background: var(--black); color: var(--white); cursor: pointer; text-decoration: none;
  font: 500 var(--t-sm)/1 var(--sans); letter-spacing: .02em;
  transition: background .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn--line { background: transparent; color: var(--black); }
.btn--light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--wide { width: 100%; }
.btn--danger { background: var(--white); color: #A10000; border-color: #A10000; }
@media (hover: hover) {
  .btn:hover { background: var(--white); color: var(--black); }
  .btn--line:hover { background: var(--black); color: var(--white); }
  .btn--light:hover { background: var(--black); color: var(--white); border-color: var(--white); }
  .btn--danger:hover { background: #A10000; color: var(--white); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; text-decoration: none; padding: 12px 0; min-height: 44px; }
.link-arrow::after { content: ""; width: 44px; height: 1px; background: currentColor; transition: width .35s var(--ease); }
@media (hover: hover) { .link-arrow:hover::after { width: 72px; } }
.link-btn { background: none; border: 0; padding: 8px 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; color: var(--grey); font-size: var(--t-xs); min-height: 44px; }

/* ---------- Kopf ---------- */
.masthead {
  position: sticky; top: 0; z-index: 40; height: calc(var(--head-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: var(--white); color: var(--black);
  transition: background .35s, color .35s, box-shadow .35s;
}
.masthead.is-scrolled { box-shadow: 0 1px 0 var(--black); }
.masthead-in {
  height: var(--head-h); max-width: var(--wrap); margin-inline: auto;
  padding-inline: max(var(--gut), env(safe-area-inset-left)) max(var(--gut), env(safe-area-inset-right));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.brand { grid-column: 2; grid-row: 1; display: block; color: inherit; padding: 10px 0; }
.brand svg { height: 16px; width: auto; }
.topnav { display: none; }
.menu-btn {
  grid-column: 1; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; gap: 10px; background: none; border: 0;
  padding: 0; min-height: 44px; min-width: 44px; cursor: pointer; font-size: var(--t-sm); font-weight: 500;
}
.menu-icon { width: 22px; height: 10px; position: relative; }
.menu-icon i { position: absolute; left: 0; width: 100%; height: 1px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-icon i:first-child { top: 0; }
.menu-icon i:last-child { top: 9px; }
.is-menu .menu-icon i:first-child { top: 4.5px; transform: rotate(45deg); }
.is-menu .menu-icon i:last-child { top: 4.5px; transform: rotate(-45deg); }
.m-account { grid-column: 3; grid-row: 1; justify-self: end; font-size: var(--t-sm); font-weight: 500; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.menu-label { display: none; }

/* Startseite: der Kopf liegt transparent über dem Foto */
.is-home .masthead:not(.is-scrolled):not(.is-menu) { background: transparent; color: var(--white); }
.is-home .masthead { margin-bottom: calc(-1 * (var(--head-h) + env(safe-area-inset-top))); }

@media (min-width: 400px) { .menu-label { display: inline; } .brand svg { height: 18px; } }
@media (min-width: 1000px) {
  .menu-btn, .m-account { display: none; }
  .topnav { display: flex; gap: 26px; font-size: var(--t-sm); grid-row: 1; }
  .topnav:not(.topnav--end) { grid-column: 1; }
  .topnav a { text-decoration: none; padding: 10px 0; position: relative; white-space: nowrap; }
  .topnav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: currentColor; transition: right .3s var(--ease); }
  .topnav a:hover::after, .topnav a[aria-current="page"]::after { right: 0; }
  .topnav--end { grid-column: 3; justify-content: flex-end; align-items: center; }
  .brand svg { height: 24px; }
  .who { display: inline-flex; align-items: center; gap: 8px; }
  .who-dot { width: 26px; height: 26px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 600; }
  .topnav .who::after { display: none; }
}
@media (min-width: 1000px) and (max-width: 1200px) { .topnav { gap: 16px; font-size: var(--t-xs); } .brand svg { height: 20px; } }

/* ---------- Menü (mobil, Vollbild) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 39; background: var(--black); color: var(--white);
  padding: calc(var(--head-h) + env(safe-area-inset-top) + 24px) var(--gut) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.is-menu.masthead { background: var(--black); color: var(--white); box-shadow: none; }
.menu-in { max-width: 640px; margin-inline: auto; display: flex; flex-direction: column; gap: 40px; min-height: 100%; }
.menu-topics a { display: block; font: italic 400 clamp(2.4rem, 11vw, 4rem)/1.08 var(--serif); text-decoration: none; padding: 4px 0; }
.menu-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.menu-links a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; border-bottom: 1px solid currentColor; }
.menu-search { margin-top: auto; }
.menu-search label { display: block; font-size: var(--t-sm); margin-bottom: 10px; color: #BDBDBD; }
.field-row { display: flex; gap: 10px; }
.field-row input { flex: 1; min-width: 0; height: 52px; padding: 0 14px; font: inherit; font-size: 16px; border: 1px solid var(--white); background: transparent; color: var(--white); border-radius: 0; }
html.menu-open, html.menu-open body { overflow: hidden; }
@media (min-width: 1000px) { .menu { display: none !important; } }

/* ---------- Meldungen ---------- */
.toasts { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom)); width: min(560px, calc(100% - 32px)); display: grid; gap: 8px; pointer-events: none; }
.toast { background: var(--black); color: var(--white); padding: 16px 20px; font-size: var(--t-sm); animation: toast 7s var(--ease) forwards; box-shadow: 0 0 0 1px var(--white); }
.toast--error { background: var(--white); color: #A10000; box-shadow: 0 0 0 1px #A10000; }
@keyframes toast { 0% { opacity: 0; transform: translateY(10px); } 6%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; visibility: hidden; } }

/* ---------- Aufmacher ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white); background: var(--black);
  min-height: max(560px, 100vh); min-height: max(560px, 100svh); display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 38%, rgba(0,0,0,.78) 100%); }
.hero-rose {
  position: absolute; z-index: 1; color: var(--white); pointer-events: none;
  width: min(130vw, 860px); right: -48vw; top: 42%; transform: translateY(-50%); opacity: .85;
}
@media (min-width: 900px) { .hero-rose { right: -12vw; width: min(70vw, 900px); top: 50%; } }
.hero-text { position: relative; z-index: 2; padding-top: calc(var(--head-h) + 40px); padding-bottom: calc(clamp(40px, 8vh, 96px) + env(safe-area-inset-bottom)); }
.hero-cat a { display: inline-flex; min-height: 44px; align-items: flex-end; font-size: var(--t-sm); text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.hero-title { margin-top: 18px; font-style: italic; font-size: clamp(2.6rem, 9.5vw, 7.2rem); line-height: .98; letter-spacing: -.01em; max-width: 12em; }
.hero-title a { text-decoration: none; }
.hero-excerpt { margin: 22px 0 10px; max-width: 32em; font-size: var(--t-lg); line-height: 1.5; color: rgba(255,255,255,.9); }
.hero--plain .hero-rose { opacity: .55; }

/* Der eine orchestrierte Moment: die Rose zeichnet sich selbst */
@media (prefers-reduced-motion: no-preference) {
  .hero-rose .jr-rose { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 4s cubic-bezier(.55, .1, .2, 1) .25s forwards; }
  .hero-text > * { animation: rise 1s var(--ease) both; }
  .hero-text > :nth-child(2) { animation-delay: .1s; }
  .hero-text > :nth-child(3) { animation-delay: .2s; }
  .hero-text > :nth-child(4) { animation-delay: .3s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ---------- Abschnittsköpfe ---------- */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--black); }
.sec-title { font-size: clamp(1.9rem, 4.5vw, 3rem); }

/* ---------- Index der neuesten Geschichten ---------- */
.index { padding-block: clamp(64px, 11vw, 140px) clamp(56px, 9vw, 120px); position: relative; }
.index-row a {
  display: grid; grid-template-columns: minmax(0, 1fr) 76px; grid-template-areas: "cat thumb" "title thumb" "date thumb";
  column-gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--rule); text-decoration: none;
}
.index-cat { grid-area: cat; font-size: var(--t-xs); color: var(--grey); margin-bottom: 6px; }
.index-title { grid-area: title; font: 400 clamp(1.45rem, 5.6vw, 2.6rem)/1.08 var(--serif); overflow-wrap: break-word; }
.index-date { grid-area: date; font-size: var(--t-xs); color: var(--grey); margin-top: 8px; }
.index-thumb { grid-area: thumb; width: 76px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); }
.index-thumb img { width: 100%; height: 100%; object-fit: cover; }
.index-float { display: none; }

@media (min-width: 900px) {
  .index-row a { grid-template-columns: 170px minmax(0, 1fr) 90px; grid-template-areas: "cat title date"; align-items: baseline; padding: 26px 0; transition: padding .4s var(--ease), color .3s; }
  .index-cat, .index-date { margin: 0; font-size: var(--t-sm); }
  .index-date { text-align: right; }
  .index-thumb { display: none; }
  .index-title { font-size: clamp(2rem, 3.2vw, 3.1rem); }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .index-list:hover .index-row a { color: #B5B5B5; }
  .index-list:hover .index-row a:hover { color: var(--black); padding-left: 28px; }
  .index-row a:hover .index-title { font-style: italic; }
  .index-float {
    display: block; position: fixed; z-index: 30; left: 0; top: 0; width: 260px; aspect-ratio: 4 / 5;
    pointer-events: none; overflow: hidden; opacity: 0; transition: opacity .25s;
  }
  .index-float.is-on { opacity: 1; }
  .index-float img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- Spruch (Kanga-Tradition) ---------- */
.saying { background: var(--black); color: var(--white); text-align: center; }
.saying-in { max-width: 1000px; margin-inline: auto; padding: clamp(72px, 12vw, 150px) var(--gut); }
.saying-mark { width: 56px; height: 56px; margin: 0 auto 32px; color: var(--white); }
.saying blockquote { font: italic 400 clamp(2rem, 6.4vw, 4.6rem)/1.08 var(--serif); }
.saying-tr { margin-top: 22px; font-size: var(--t-md); color: #BDBDBD; }

/* ---------- Themen ---------- */
.topics { padding-block: clamp(64px, 11vw, 140px); }
.topics-grid { display: grid; grid-template-columns: 1fr; }
.topic { display: grid; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.topic-name { font: italic 400 clamp(2rem, 7vw, 2.8rem)/1 var(--serif); }
.topic-desc { color: var(--grey); max-width: 30em; }
.topic-count { font-size: var(--t-xs); font-weight: 500; }
@media (min-width: 700px) { .topics-grid { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }
@media (min-width: 1100px) {
  .topics-grid { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .topic { padding: 32px 28px 36px; min-height: 320px; grid-template-rows: auto 1fr auto; border-bottom: 0; border-right: 1px solid var(--rule); height: 100%; }
  .topics-grid li:first-child .topic { padding-left: 0; }
  .topics-grid li:last-child .topic { border-right: 0; }
  .topic-name { font-size: clamp(2.1rem, 2.6vw, 2.8rem); }
}
@media (hover: hover) { .topic:hover .topic-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; } }

/* ---------- Letters / Über June ---------- */
.letters { background: var(--mist); }
.letters-in { display: grid; gap: 36px; padding-block: clamp(56px, 10vw, 130px); align-items: center; }
.letters-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--black); max-width: 520px; display: grid; place-items: center; }
.letters-img img { width: 100%; height: 100%; object-fit: cover; }
.letters-img .card-mark { color: var(--white); }
.letters-title { font-size: clamp(2.4rem, 7vw, 4.8rem); line-height: 1; }
.letters-lede { margin: 22px 0 18px; font: italic 400 clamp(1.25rem, 2.6vw, 1.6rem)/1.4 var(--serif); max-width: 26em; }
.letters-note { color: var(--grey); max-width: 34em; margin-bottom: 28px; }
@media (min-width: 900px) { .letters-in { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 120px); } }

/* ---------- Karten ---------- */
.card-link { display: block; text-decoration: none; }
.card-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--mist); margin-bottom: 18px; display: grid; place-items: center; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-mark { width: 46%; height: auto; color: var(--black); }
.card-img--none { background: var(--black); }
.card-img--none .card-mark { color: var(--white); }
.card-cat { font-size: var(--t-xs); color: var(--grey); margin-bottom: 8px; }
.card-title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.1; }
.card-excerpt { margin-top: 14px; color: var(--grey); max-width: 34em; }
.card-meta { margin-top: 12px; font-size: var(--t-xs); color: var(--grey); }
@media (hover: hover) {
  .card-link:hover .card-img img { transform: scale(1.035); }
  .card-link:hover .card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
}
.card--lead { margin-bottom: clamp(56px, 8vw, 110px); }
.card--lead .card-title { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; }
@media (min-width: 900px) {
  .card--lead .card-link { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
  .card--lead .card-img { margin: 0; aspect-ratio: 5 / 4; }
}
.grid-2, .grid-3 { display: grid; gap: 56px 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 64px 40px; }
  .grid-2 { gap: 72px clamp(40px, 6vw, 96px); }
  .grid-2 > :nth-child(even) { margin-top: 120px; }
}

/* ---------- Seitenköpfe ---------- */
.page-head { padding-block: clamp(40px, 9vw, 120px) clamp(36px, 6vw, 72px); display: grid; gap: 22px; }
.page-giant { font-size: clamp(3rem, 14vw, 11rem); line-height: .92; letter-spacing: -.02em; overflow-wrap: break-word; }
.page-giant--s { font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1; margin-bottom: 32px; }
.page-desc { font: italic 400 var(--t-xl)/1.35 var(--serif); max-width: 24em; }
.page-count { margin-top: 12px; font-size: var(--t-sm); color: var(--grey); }
@media (min-width: 1000px) { .page-head { grid-template-columns: 1fr 360px; align-items: end; } }
.listing { padding-bottom: clamp(72px, 10vw, 140px); }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 80px; }
.pager .btn { padding: 0 18px; }
.pager-pos { color: var(--grey); font-size: var(--t-sm); }
.empty { padding: 40px 0 96px; }
.empty p { font-size: var(--t-lg); margin-bottom: 24px; max-width: 32em; }
.empty--page { padding-block: 72px 140px; }
.empty-mark { width: 110px; margin-bottom: 36px; }

/* ---------- Beitrag ---------- */
.preview-bar { background: var(--black); color: var(--white); text-align: center; padding: 12px 16px; font-size: var(--t-sm); }
.story-head { text-align: center; padding-block: clamp(36px, 8vw, 110px) clamp(32px, 6vw, 72px); }
.story-cat a { font-size: var(--t-sm); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 6px; display: inline-flex; align-items: flex-end; min-height: 44px; }
.story-title { margin: 22px auto 0; font-size: clamp(2.4rem, 8.5vw, 6.2rem); line-height: 1; letter-spacing: -.012em; max-width: 14em; overflow-wrap: break-word; }
.story-lede { margin: 26px auto 0; font: italic 400 clamp(1.25rem, 3vw, 1.7rem)/1.4 var(--serif); max-width: 30em; }
.story-meta { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: var(--t-sm); color: var(--grey); }
.story-cover { max-width: 1240px; margin: 0 auto clamp(48px, 7vw, 96px); }
.story-cover img { width: 100%; max-height: 92svh; object-fit: cover; }
@media (min-width: 1000px) { .story-cover { padding-inline: var(--gut); } }

.prose { font-size: 1.125rem; line-height: 1.78; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.2em; }
.prose > div:has(> br:only-child) { display: none; }
.story-body > div:first-child::first-letter { float: left; font: 400 5.1em/.8 var(--serif); padding: .06em .12em 0 0; }
.prose h1, .prose h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.15; margin-top: 1.9em; }
.prose h3 { font-size: var(--t-xl); margin-top: 1.6em; }
.prose blockquote { margin: 1.8em 0; padding: 0; font: italic 400 clamp(1.6rem, 4.4vw, 2.4rem)/1.25 var(--serif); }
.prose blockquote::before { content: ""; display: block; width: 44px; height: 1px; background: var(--black); margin-bottom: 22px; }
.prose ul { padding-left: 0; }
.prose ul li { padding-left: 1.4em; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: .7em; height: 1px; background: var(--black); }
.prose ol { list-style: decimal; padding-left: 1.2em; }
.prose li + li { margin-top: .5em; }
.prose figure { margin: 2em 0; }
.prose figcaption, .prose .attachment__caption { font-size: var(--t-xs); color: var(--grey); margin-top: 10px; }
.prose pre { background: var(--mist); padding: 16px; overflow-x: auto; font-size: .9rem; }
.prose hr { border: 0; height: 1px; background: var(--black); width: 44px; margin: 2.6em auto; }
.story-body { padding-bottom: clamp(56px, 8vw, 96px); }

.story-foot { padding-block: 40px; display: grid; gap: 8px; }
.share-label { font-size: var(--t-sm); color: var(--grey); }
.share { display: flex; flex-wrap: wrap; gap: 0 22px; }
.share a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; border-bottom: 1px solid transparent; }
@media (hover: hover) { .share a:hover { border-bottom-color: currentColor; } }

/* ---------- Kommentare ---------- */
.talk { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 120px); }
.talk::before { content: ""; display: block; height: 1px; background: var(--black); margin-bottom: clamp(40px, 6vw, 72px); }
.talk-title { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 28px; display: flex; align-items: baseline; gap: 14px; }
.talk-count { font: 400 var(--t-sm)/1 var(--sans); color: var(--grey); }
.talk-empty { color: var(--grey); margin-bottom: 28px; }
.comments { margin-bottom: 40px; }
.comment { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.comment--pending { opacity: .62; }
.comment-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.comment-avatar { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--black); display: grid; place-items: center; font: 400 1rem/1 var(--serif); flex: none; }
.comment-avatar svg { width: 24px; height: 24px; }
.comment-name { font-weight: 600; }
.comment-badge { font-weight: 500; font-size: var(--t-xs); background: var(--black); color: var(--white); padding: 2px 8px; margin-left: 4px; }
.comment-time { font-size: var(--t-xs); color: var(--grey); }
.comment-body { overflow-wrap: anywhere; }
.comment-note { margin-top: 8px; font-size: var(--t-xs); color: var(--grey); }
.replies { margin: 18px 0 0 17px; padding-left: 18px; border-left: 1px solid var(--black); }
.replies .comment { padding: 12px 0 4px; border-bottom: 0; }
.talk-form { display: grid; gap: 12px; }
.talk-label { font-size: var(--t-sm); color: var(--grey); }
.talk-form textarea {
  width: 100%; font: inherit; font-size: 16px; line-height: 1.6; padding: 16px; border: 1px solid var(--black); border-radius: 0;
  background: var(--white); color: var(--black); resize: vertical; min-height: 140px;
}
.talk-form textarea:focus, .search-form input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--black); }
.talk-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.talk-hint { font-size: var(--t-xs); color: var(--grey); }
.talk-join { background: var(--mist); padding: clamp(24px, 5vw, 40px); }
.talk-join p { font: italic 400 var(--t-xl)/1.35 var(--serif); margin-bottom: 22px; max-width: 22em; }

.related { padding-block: 0 clamp(80px, 11vw, 150px); }
.related .sec-head { margin-bottom: 40px; }

/* ---------- Suche ---------- */
.search-page { padding-block: clamp(40px, 8vw, 100px) 120px; }
.search-form { display: flex; gap: 10px; max-width: 720px; margin-bottom: 36px; }
.search-form input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; font: inherit; font-size: 16px; border: 1px solid var(--black); border-radius: 0; background: var(--white); color: var(--black); }
.search-note { color: var(--grey); margin-bottom: 36px; }

/* ---------- Über mich ---------- */
.about { display: grid; gap: 40px; padding-block: clamp(32px, 7vw, 100px) clamp(80px, 10vw, 140px); }
.about-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--black); display: grid; place-items: center; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img .card-mark { color: var(--white); }
.about-contact { margin-top: 32px; font-weight: 500; }
@media (min-width: 900px) {
  .about { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
  .about-img { position: sticky; top: calc(var(--head-h) + 24px); }
}
.legal { padding-block: clamp(40px, 8vw, 100px) 120px; }

/* ---------- Anmelden / Registrieren ---------- */
.auth { display: grid; }
.auth-img { position: relative; overflow: hidden; background: var(--black); height: 30svh; min-height: 200px; display: grid; place-items: center; }
.auth-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.auth-rose { position: relative; width: 140px; color: var(--white); }
.auth-img:has(img) .auth-rose { position: absolute; right: -50px; bottom: -50px; width: 190px; opacity: .9; }
.auth-panel { display: flex; justify-content: center; padding: 40px var(--gut) calc(72px + env(safe-area-inset-bottom)); }
.auth-box { width: 100%; max-width: 440px; }
.auth-title { font-size: clamp(2.3rem, 7vw, 3.4rem); line-height: 1; margin-bottom: 16px; }
.auth-lede { color: var(--grey); margin-bottom: 30px; }
.auth-small { font-size: var(--t-sm); color: var(--grey); }
.auth-switch { margin-top: 28px; font-size: var(--t-sm); }
.auth-switch a { display: inline-block; padding: 10px 0; }
.or { display: flex; align-items: center; gap: 14px; margin: 22px 0; font-size: var(--t-xs); color: var(--grey); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
@media (min-width: 900px) {
  .auth { grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--head-h)); }
  .auth-img { height: auto; min-height: calc(100svh - var(--head-h)); }
  .auth-panel { align-items: center; }
  .auth-img:has(img) .auth-rose { right: -90px; bottom: -90px; width: 340px; }
}

/* ---------- Formulare ---------- */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 4px; }
.field > span { font-size: var(--t-xs); font-weight: 500; }
.field input {
  width: 100%; height: 50px; padding: 0; border: 0; border-bottom: 1px solid var(--black); border-radius: 0;
  font: inherit; font-size: 17px; background: transparent; color: var(--black);
}
.field input:focus { outline: none; box-shadow: 0 1px 0 var(--black); }
.field--static p { padding: 12px 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: var(--t-sm); line-height: 1.5; cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; border: 1px solid var(--black); margin: 0; border-radius: 0; display: grid; place-items: center; background: var(--white); cursor: pointer; }
.check input:checked { background: var(--black); }
.check input:checked::after { content: ""; width: 11px; height: 6px; border: solid var(--white); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.check strong { display: block; font-weight: 600; margin-bottom: 2px; }
.form-error { border: 1px solid #A10000; color: #A10000; padding: 14px 16px; margin-bottom: 24px; font-size: var(--t-sm); }
.form-error p + p { margin-top: 4px; }
.account { padding-block: clamp(40px, 8vw, 100px) 120px; }
.account-form { margin-bottom: 40px; }
.account-form .btn { justify-self: start; }
.account-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--grey); font-size: var(--t-sm); }
.danger { margin-top: 32px; }
.danger summary { cursor: pointer; color: #A10000; font-size: var(--t-sm); min-height: 44px; display: flex; align-items: center; }
.danger .form { margin-top: 16px; }

/* ---------- Fuß ---------- */
.footer { background: var(--black); color: var(--white); padding: clamp(56px, 9vw, 110px) 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-logo { display: block; color: var(--white); margin-bottom: clamp(44px, 7vw, 88px); }
.footer-logo svg { width: 100%; height: auto; }
.footer-grid { display: grid; gap: 36px 24px; grid-template-columns: 1fr 1fr; }
.footer-note { grid-column: 1 / -1; font: italic 400 var(--t-xl)/1.35 var(--serif); max-width: 20em; }
.footer h2 { font: 500 var(--t-xs)/1 var(--sans); color: #9A9A9A; margin-bottom: 10px; }
.footer li a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
@media (hover: hover) { .footer li a:hover { text-decoration: underline; } }
.footer-legal { margin-top: 56px; padding-top: 18px; border-top: 1px solid #333; display: flex; flex-wrap: wrap; gap: 0 24px; align-items: center; font-size: var(--t-xs); color: #9A9A9A; }
.footer-legal a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-note { grid-column: auto; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .masthead, .menu, .footer, .talk, .related, .share, .story-foot { display: none !important; }
}
