/* ============================================================
   Praxis Matthias Frank — Reinheim
   System: „Erst Pädagogik, dann Tiefe"
   Blasses Celadon · grünliches Ink · gedämpftes Zinnober
   Merriweather / Open Sans
   Rein typografischer Hero (Bild weit unten), 2×2-Grids,
   Fax als zweiter Kontaktweg (mehrquellig, selten!)
   ============================================================ */

:root {
  --celadon: #eaf1ea;
  --celadon-2: #dde8dc;
  --vinok: #24352a;
  --vinok-2: #33493a;
  --zinnober: #b8402e;
  --zinnober-2: #d0604c;
  --grey-v: #5e6b60;
  --hair-v: rgba(36, 53, 42, .17);
  --zinn-hair: rgba(184, 64, 46, .34);
  --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: "Open Sans", "Segoe UI", sans-serif;
  background: var(--celadon);
  color: var(--vinok);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--zinnober-2); color: var(--celadon); }
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='132' height='132'%3E%3Cfilter id='v9'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' seed='41'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23v9)'/%3E%3C/svg%3E");
}

/* ---------- Kopf: Klappe mit Zinnober-Dreieck ---------- */
.fold-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(234, 241, 234, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair-v);
}
.fold-head .id {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}
.fold-head .id::before {
  content: "◢";
  color: var(--zinnober);
  margin-right: .5rem;
}
.fold-head nav { display: flex; gap: 1.6rem; }
.fold-head nav a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--grey-v);
  text-decoration: none;
  transition: color .2s;
}
.fold-head nav a:hover, .fold-head nav a[aria-current="page"] { color: var(--vinok); }
.fold-head .call {
  font-weight: 600;
  font-size: .9rem;
  color: var(--celadon);
  background: var(--vinok);
  text-decoration: none;
  padding: .5rem 1.05rem;
  white-space: nowrap;
  transition: background .2s;
}
.fold-head .call:hover { background: var(--zinnober); }

/* ---------- Typografischer Hero, Bild weit unten ---------- */
.quiet {
  padding: clamp(8rem, 16vw, 12rem) var(--pad) clamp(3rem, 6vw, 5rem);
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
}
/* großes schwebendes Zitatzeichen */
.quiet::before {
  content: "„";
  position: absolute;
  top: clamp(6.5rem, 13vw, 9.5rem);
  left: var(--pad);
  font-family: "Merriweather", Georgia, serif;
  font-size: clamp(6rem, 14vw, 11rem);
  line-height: 1;
  color: var(--celadon-2);
  z-index: 0;
}
.quiet .q-kick {
  position: relative;
  z-index: 1;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .26em;
  color: var(--zinnober);
}
.quiet h1 {
  position: relative;
  z-index: 1;
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.3rem, 5.4vw, 4.5rem);
  line-height: 1.12;
  max-width: 16ch;
  margin-top: clamp(1rem, 2.5vw, 1.7rem);
}
.quiet h1 em { font-style: italic; font-weight: 400; color: var(--vinok-2); }
.quiet .q-sub {
  position: relative;
  z-index: 1;
  margin-top: clamp(1.3rem, 3vw, 2rem);
  max-width: 50ch;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--grey-v);
}
.quiet .q-acts { position: relative; z-index: 1; margin-top: clamp(1.8rem, 4vw, 2.6rem); display: flex; flex-wrap: wrap; gap: .9rem; }
.fbtn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: .97rem;
  padding: .95rem 1.55rem;
  transition: background .2s, color .2s, border-color .2s;
}
.fbtn.ink { background: var(--vinok); color: var(--celadon); }
.fbtn.ink:hover { background: var(--vinok-2); }
.fbtn.zinn { background: var(--zinnober); color: var(--celadon); }
.fbtn.zinn:hover { background: var(--vinok); }
.fbtn.rim { border: 1.5px solid var(--hair-v); color: var(--vinok); }
.fbtn.rim:hover { border-color: var(--zinnober); color: var(--zinnober); }

/* Bild, weit unten im Hero-Verlauf */
.quiet .far-img {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  position: relative;
  z-index: 1;
  border-bottom: 5px solid var(--zinnober);
}
.quiet .far-img img { width: 100%; aspect-ratio: 16 / 6.6; object-fit: cover; }
.quiet .far-img figcaption { font-size: .85rem; color: var(--grey-v); padding-top: .8rem; }

/* ---------- Standard ---------- */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 var(--pad); }
.sec { padding-block: var(--luft); }
.sec.mid { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.zone-ink { background: var(--vinok); color: var(--celadon); }
.zone-ink .stand, .zone-ink p { color: rgba(234, 241, 234, .78); }
.zone-ink h2, .zone-ink .h-merr { color: var(--celadon); }

.h-merr {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.22;
  max-width: 22ch;
}
.stand { margin-top: 1rem; font-size: 1.08rem; color: var(--grey-v); max-width: 54ch; }
.prose { max-width: 58ch; }
.prose p + p { margin-top: 1.05rem; }

/* ---------- 2×2-Grid ---------- */
.quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--vinok);
  border: 2px solid var(--vinok);
}
.quad > article { background: var(--celadon); color: var(--vinok); padding: clamp(1.5rem, 3.5vw, 2.4rem); }
.quad > article:nth-child(2), .quad > article:nth-child(3) { background: var(--celadon-2); }
.quad .num {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--zinnober);
  line-height: 1;
  display: block;
  margin-bottom: .8rem;
}
.quad h3 {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.3;
  margin-bottom: .5rem;
}
.quad p { color: var(--grey-v); font-size: .95rem; max-width: 42ch; }

/* ---------- Fax-Zeile (Kuriosum ehrenvoll) ---------- */
.faxline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.8rem;
  align-items: baseline;
  background: var(--celadon-2);
  border-left: 5px solid var(--zinnober);
  padding: clamp(1.3rem, 3vw, 2rem) clamp(1.4rem, 3.5vw, 2.4rem);
}
.faxline .w { font-family: "Merriweather", Georgia, serif; font-weight: 700; font-size: 1.15rem; }
.faxline .t { font-weight: 600; white-space: nowrap; }

/* Listen */
.f-list { border-top: 2px solid var(--vinok); }
.zone-ink .f-list { border-color: rgba(234, 241, 234, .5); }
.f-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-v);
  align-items: baseline;
}
.zone-ink .f-list > div { border-color: rgba(234, 241, 234, .22); }
.f-list dt {
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--zinnober);
}
.zone-ink .f-list dt { color: var(--zinnober-2); }
.f-list dd { font-weight: 500; }
.zone-ink .f-list dd { color: var(--celadon); }

/* Offen-Karte */
.f-open {
  border: 2px dashed var(--zinnober);
  padding: clamp(1.7rem, 4vw, 2.7rem);
}
.f-open .lbl {
  display: inline-block;
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--celadon);
  background: var(--zinnober);
  padding: .35rem .8rem;
  margin-bottom: 1rem;
}
.f-open h3 {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  margin-bottom: .6rem;
  max-width: 26ch;
}
.f-open p { color: var(--grey-v); max-width: 58ch; }

/* Krise */
.f-crisis {
  background: var(--vinok);
  color: var(--celadon);
  padding: clamp(2rem, 5vw, 3rem);
  margin-top: clamp(2.8rem, 6vw, 4.4rem);
}
.f-crisis h2 { font-family: "Merriweather", Georgia, serif; font-weight: 700; font-size: 1.25rem; margin-bottom: .8rem; }
.f-crisis p { color: rgba(234, 241, 234, .8); font-size: .97rem; }
.f-crisis strong { color: #fff; }
.f-crisis a { color: var(--zinnober-2); font-weight: 600; text-decoration: none; }
.f-crisis a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.v-foot {
  background: var(--vinok-2);
  padding: var(--luft) var(--pad) clamp(2.5rem, 6vw, 4rem);
}
.v-foot .kick { color: var(--zinnober-2); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .26em; }
.v-foot .huge {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4.8vw, 3.6rem);
  line-height: 1.22;
  max-width: 21ch;
  color: var(--celadon);
  margin-top: 1rem;
}
.v-foot .huge a {
  color: var(--zinnober-2);
  text-decoration: none;
  border-bottom: 3px solid var(--zinn-hair);
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.v-foot .huge a:hover { color: var(--celadon); border-color: var(--celadon); }

.v-baseline {
  background: var(--vinok-2);
  color: rgba(234, 241, 234, .62);
  padding: 0 var(--pad) 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2.2rem;
  justify-content: space-between;
  font-size: .88rem;
}
.v-baseline nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.v-baseline a { color: rgba(234, 241, 234, .62); text-decoration: none; }
.v-baseline a:hover { color: var(--celadon); }

.fnote { font-size: .85rem; color: var(--grey-v); padding: 1.3rem 0; max-width: 70ch; }
.zone-ink .fnote, .v-foot .fnote { color: rgba(234, 241, 234, .62); }
sup.star { color: var(--zinnober); font-weight: 600; }
.zone-ink sup.star, .v-foot sup.star { color: var(--zinnober-2); }

/* ---------- Reveal ---------- */
.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; }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .quad { grid-template-columns: 1fr; }
  .f-list > div { grid-template-columns: 1fr; gap: .2rem; }
}
@media (max-width: 700px) {
  .fold-head nav { display: none; }
}
/* wrap+prose-Kollision */
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 60ch; }
