/* Praxis Katja Groer-Haase — Magdeburg
   System: „Eine Person, drei Schreibweisen"
   Anthrazit dark-forward · Creme · gedämpftes Teal · Literata / Atkinson Hyperlegible
   Volles Bildband oben mit überlappendem Titelblock, Kapitel-Ziffern,
   der Datenchaos-Fall: 3 Namen, falscher Titel, 2 Kassen-Antworten
   ============================================================ */

:root {
  --anthra: #1e2226;
  --anthra-2: #282d32;
  --creme: #efe8d6;
  --creme-2: #e5dcc4;
  --teal: #4e8f8a;
  --teal-2: #7fb3ae;
  --warm-h: #a9a290;
  --hair-h: rgba(239, 232, 214, .22);
  --teal-hair: rgba(127, 179, 174, .38);
  --pad: clamp(1.25rem, 4.5vw, 3.5rem);
  --luft: clamp(5rem, 10.5vw, 9.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  background: var(--anthra);
  color: var(--creme);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--teal-2); color: var(--anthra); }
img { display: block; max-width: 100%; }
a { color: inherit; }
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 70; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='153' height='153'%3E%3Cfilter id='h6'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='113'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23h6)'/%3E%3C/svg%3E");
}

.ha-head {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem var(--pad);
  background: rgba(30, 34, 38, .84);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair-h);
}
.ha-head .id { font-family: "Literata", Georgia, serif; font-size: 1.04rem; text-decoration: none; white-space: nowrap; }
.ha-head .id b { color: var(--teal-2); }
.ha-head nav { display: flex; gap: 1.6rem; }
.ha-head nav a { font-size: .9rem; font-weight: 400; color: var(--warm-h); text-decoration: none; transition: color .2s; }
.ha-head nav a:hover, .ha-head nav a[aria-current="page"] { color: var(--creme); }
.ha-head .call { font-weight: 700; font-size: .9rem; color: var(--anthra); background: var(--teal-2); text-decoration: none; padding: .5rem 1.05rem; white-space: nowrap; transition: background .2s; }
.ha-head .call:hover { background: var(--creme); }

/* Bildband oben + überlappender Titel */
.ha-cover { position: relative; height: clamp(420px, 76vh, 720px); overflow: hidden; }
.ha-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ha-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(30, 34, 38, .3), rgba(30, 34, 38, .05) 50%, rgba(30, 34, 38, 0)); }
.ha-title { position: relative; z-index: 5; margin-top: clamp(-8.5rem, -13vw, -4rem); padding: 0 var(--pad); }
.ha-title .tcard {
  background: var(--anthra);
  border-top: 3px solid var(--teal-2);
  box-shadow: 0 26px 50px -34px rgba(0, 0, 0, .8);
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
  max-width: 1000px;
}
.ha-title .t-kick { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .26em; color: var(--teal-2); }
.ha-title h1 { font-family: "Literata", Georgia, serif; font-weight: 600; font-size: clamp(2.3rem, 5.6vw, 4.5rem); line-height: 1.12; max-width: 15ch; margin-top: .9rem; }
.ha-title h1 span { color: var(--teal-2); }
.ha-title .t-sub { margin-top: 1.2rem; max-width: 52ch; font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--warm-h); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--pad); }
.sec { padding-block: var(--luft); }
.sec.mid { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.ha-sec2 { background: var(--anthra-2); }
.h-lit { font-family: "Literata", Georgia, serif; font-weight: 600; font-size: clamp(1.7rem, 3.7vw, 2.8rem); line-height: 1.2; max-width: 23ch; }
.stand { margin-top: 1rem; font-size: 1.08rem; color: var(--warm-h); max-width: 54ch; }
.prose { max-width: 58ch; }
.prose p + p { margin-top: 1.05rem; }
.kick-h { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .26em; color: var(--teal-2); }

/* Kapitel-Ziffern */
.chap-h { display: flex; align-items: baseline; gap: clamp(1rem, 3vw, 2rem); margin-bottom: clamp(1.5rem, 4vw, 2.4rem); }
.chap-h .cno { font-family: "Literata", Georgia, serif; font-weight: 600; font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1; color: var(--teal); }
.chap-h h2 { font-family: "Literata", Georgia, serif; font-weight: 600; font-size: clamp(1.45rem, 3.1vw, 2.3rem); line-height: 1.22; max-width: 20ch; }

.ha-list { border-top: 2px solid var(--teal-2); }
.ha-list > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: .35rem clamp(1.4rem, 4vw, 3.5rem); padding: 1.1rem 0; border-bottom: 1px solid var(--hair-h); align-items: baseline; }
.ha-list dt { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--teal-2); }
.ha-list dd { font-weight: 400; }

/* Namens-Schilder */
.names { display: flex; flex-wrap: wrap; gap: 1rem; }
.names span {
  font-family: "Literata", Georgia, serif;
  border: 1px solid var(--teal-hair);
  padding: .7rem 1.3rem;
  font-size: 1.05rem;
}
.names span.wrong { border-style: dashed; border-color: rgba(239, 232, 214, .35); color: var(--warm-h); text-decoration: line-through; text-decoration-color: var(--teal-2); text-decoration-thickness: 2px; }

.ha-open { border: 2px dashed var(--teal-2); padding: clamp(1.7rem, 4vw, 2.7rem); }
.ha-open .lbl { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; color: var(--anthra); background: var(--teal-2); padding: .35rem .8rem; margin-bottom: 1rem; }
.ha-open h3 { font-family: "Literata", Georgia, serif; font-weight: 600; font-size: clamp(1.25rem, 2.7vw, 1.8rem); margin-bottom: .6rem; max-width: 27ch; }
.ha-open p { color: var(--warm-h); max-width: 60ch; }

.ha-crisis { background: var(--anthra-2); border: 1px solid var(--hair-h); padding: clamp(2rem, 5vw, 3rem); margin-top: clamp(2.8rem, 6vw, 4.4rem); }
.ha-crisis h2 { font-family: "Literata", Georgia, serif; font-weight: 600; font-size: 1.3rem; margin-bottom: .8rem; }
.ha-crisis p { color: var(--warm-h); font-size: .97rem; }
.ha-crisis strong { color: var(--creme); }
.ha-crisis a { color: var(--teal-2); font-weight: 700; text-decoration: none; }
.ha-crisis a:hover { text-decoration: underline; }

.t-foot { background: var(--teal); color: var(--anthra); padding: var(--luft) var(--pad) clamp(2.5rem, 6vw, 4rem); }
.t-foot .kick { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .26em; color: var(--anthra); opacity: .75; }
.t-foot .huge { font-family: "Literata", Georgia, serif; font-weight: 600; font-size: clamp(1.85rem, 5.2vw, 3.9rem); line-height: 1.2; max-width: 21ch; margin-top: 1rem; }
.t-foot .huge a { color: var(--anthra); text-decoration: none; border-bottom: 3px solid rgba(30, 34, 38, .4); white-space: nowrap; transition: border-color .2s; }
.t-foot .huge a:hover { border-color: var(--anthra); }
.t-baseline { background: var(--teal); color: rgba(30, 34, 38, .75); padding: 0 var(--pad) 2.4rem; display: flex; flex-wrap: wrap; gap: .8rem 2.2rem; justify-content: space-between; font-size: .88rem; }
.t-baseline nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.t-baseline a { color: rgba(30, 34, 38, .75); text-decoration: none; }
.t-baseline a:hover { color: var(--anthra); }
.fnote { font-size: .85rem; color: var(--warm-h); padding: 1.3rem 0; max-width: 70ch; }
.t-foot .fnote { color: rgba(30, 34, 38, .72); }
sup.star { color: var(--teal-2); font-weight: 700; }
.t-foot sup.star { color: var(--anthra); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
@media (max-width: 880px) { .ha-list > div { grid-template-columns: 1fr; gap: .2rem; } }
@media (max-width: 700px) { .ha-head nav { display: none; } }
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 60ch; }
