/* ============================================================
   Praxis Jaleh Fouladpour — Butzbach
   System: „Tiefe ohne Sprachhürde"
   Sand · Oliv-Ink · Rost · Italiana / Jost
   Volles Bildband oben (Briefmarken-Ecke), Headline überlappt,
   Sprach-Briefmarken als Leitmodul, Bildbänder zwischen Sektionen
   ============================================================ */

:root {
  --sand: #f0e8d9;
  --sand-2: #e6dac4;
  --olive: #3f4230;
  --olive-2: #545841;
  --rust: #a9562c;
  --rust-2: #c97c4f;
  --grey-o: #6f6d5e;
  --hair-o: rgba(63, 66, 48, .18);
  --rust-hair: rgba(169, 86, 44, .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: "Jost", "Segoe UI", sans-serif;
  background: var(--sand);
  color: var(--olive);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--rust-2); color: var(--sand); }
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='138' height='138'%3E%3Cfilter id='o5'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23o5)'/%3E%3C/svg%3E");
}

/* ---------- Kopf ---------- */
.stamp-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(240, 232, 217, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair-o);
}
.stamp-head .seal {
  font-family: "Italiana", Georgia, serif;
  font-size: 1.14rem;
  letter-spacing: .04em;
  text-decoration: none;
  white-space: nowrap;
}
.stamp-head .seal::after {
  content: "";
  display: inline-block;
  width: .55rem; height: .55rem;
  border: 1.5px solid var(--rust);
  border-radius: 50%;
  margin-left: .6rem;
  vertical-align: middle;
}
.stamp-head nav { display: flex; gap: 1.6rem; }
.stamp-head nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--grey-o);
  text-decoration: none;
  transition: color .2s;
}
.stamp-head nav a:hover, .stamp-head nav a[aria-current="page"] { color: var(--rust); }
.stamp-head .call {
  font-weight: 500;
  font-size: .92rem;
  color: var(--sand);
  background: var(--olive);
  text-decoration: none;
  padding: .5rem 1.05rem;
  white-space: nowrap;
  transition: background .2s;
}
.stamp-head .call:hover { background: var(--rust); }

/* ---------- Bildband oben mit Briefmarken-Ecke ---------- */
.marginal {
  position: relative;
  height: clamp(420px, 78vh, 720px);
  overflow: hidden;
}
.marginal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.marginal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(63, 66, 48, .3), rgba(63, 66, 48, .08) 45%, rgba(240, 232, 217, 0) 78%);
}
/* Briefmarken-Ecke: gestricheltes Rechteck oben links */
.marginal .stamp-corner {
  position: absolute;
  z-index: 2;
  top: clamp(5.5rem, 11vw, 8rem);
  left: var(--pad);
  border: 1.5px dashed rgba(240, 232, 217, .85);
  background: rgba(63, 66, 48, .42);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  padding: 1rem 1.4rem;
  color: #fdfaf2;
  max-width: 20rem;
}
.marginal .stamp-corner strong {
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  font-size: 1.15rem;
  display: block;
  letter-spacing: .04em;
}
.marginal .stamp-corner span { font-size: .85rem; opacity: .9; }

.marginal-title {
  position: relative;
  z-index: 5;
  margin-top: clamp(-8rem, -12vw, -3.5rem);
  padding: 0 var(--pad);
}
.marginal-title .mcard {
  background: var(--sand);
  border-top: 3px solid var(--rust);
  box-shadow: 0 22px 44px -30px rgba(63, 66, 48, .5);
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
  max-width: 1000px;
}
.marginal-title h1 {
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.8vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: .015em;
  max-width: 16ch;
}
.marginal-title .m-sub {
  margin-top: 1.2rem;
  max-width: 52ch;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--grey-o);
}

/* ---------- Sprach-Briefmarken ---------- */
.langmarks { display: flex; flex-wrap: wrap; gap: 1rem; }
.langmark {
  border: 1.5px dashed var(--rust);
  background: transparent;
  padding: .7rem 1.3rem;
  font-family: "Italiana", Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: .05em;
  color: var(--olive);
}
.zone-plum-o .langmark { color: var(--sand); border-color: var(--rust-2); }

/* ---------- 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-plum-o { background: var(--olive); color: var(--sand); }
.zone-plum-o .stand, .zone-plum-o p { color: rgba(240, 232, 217, .78); }
.zone-plum-o h2, .zone-plum-o .h-ital { color: var(--sand); }

.h-ital {
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.16;
  letter-spacing: .015em;
  max-width: 22ch;
}
.stand { margin-top: 1rem; font-size: 1.08rem; color: var(--grey-o); max-width: 54ch; }
.prose { max-width: 58ch; }
.prose p + p { margin-top: 1.05rem; }

/* Bildbänder zwischen Sektionen */
.o-band { position: relative; min-height: clamp(280px, 48vh, 480px); overflow: hidden; }
.o-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.o-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(63, 66, 48, .82), rgba(63, 66, 48, .06) 55%);
}
.o-band figcaption {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  bottom: clamp(1.4rem, 4vw, 2.4rem);
  color: var(--sand);
  font-size: .92rem;
  max-width: 46ch;
}
.o-band figcaption strong {
  display: block;
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  margin-bottom: .3rem;
}
.o-band::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0; bottom: 0; right: 0;
  width: 5px;
  background: var(--rust);
}

/* Tafel-Zeilen */
.o-rows { border-top: 2px solid var(--olive); }
.zone-plum-o .o-rows { border-color: var(--rust-2); }
.o-rows > 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-o);
  align-items: baseline;
}
.zone-plum-o .o-rows > div { border-color: rgba(240, 232, 217, .22); }
.o-rows dt {
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--rust);
}
.zone-plum-o .o-rows dt { color: var(--rust-2); }
.o-rows dd { font-weight: 500; }
.zone-plum-o .o-rows dd { color: var(--sand); }

/* Offen-Karte */
.o-open {
  border: 2px dashed var(--rust);
  padding: clamp(1.7rem, 4vw, 2.7rem);
}
.o-open .lbl {
  display: inline-block;
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--sand);
  background: var(--rust);
  padding: .35rem .8rem;
  margin-bottom: 1rem;
}
.o-open h3 {
  font-family: "Italiana", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.8vw, 1.85rem);
  margin-bottom: .6rem;
  max-width: 26ch;
}
.o-open p { color: var(--grey-o); max-width: 58ch; }

/* Krise */
.o-crisis {
  background: var(--olive);
  color: var(--sand);
  padding: clamp(2rem, 5vw, 3rem);
  margin-top: clamp(2.8rem, 6vw, 4.4rem);
}
.o-crisis h2 { font-family: "Italiana", Georgia, serif; font-weight: 400; font-size: 1.4rem; margin-bottom: .8rem; }
.o-crisis p { color: rgba(240, 232, 217, .8); font-size: .97rem; }
.o-crisis strong { color: #fff; }
.o-crisis a { color: var(--rust-2); font-weight: 500; text-decoration: none; }
.o-crisis a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.o-foot {
  background: var(--olive-2);
  padding: var(--luft) var(--pad) clamp(2.5rem, 6vw, 4rem);
}
.o-foot .kick { color: var(--rust-2); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .26em; }
.o-foot .huge {
  font-family: "Italiana", Georgia, serif;
  font-size: clamp(1.95rem, 5.4vw, 4.1rem);
  line-height: 1.16;
  letter-spacing: .015em;
  max-width: 21ch;
  color: var(--sand);
  margin-top: 1rem;
}
.o-foot .huge a {
  color: var(--rust-2);
  text-decoration: none;
  border-bottom: 2px solid var(--rust-hair);
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.o-foot .huge a:hover { color: var(--sand); border-color: var(--sand); }

.o-baseline {
  background: var(--olive-2);
  color: rgba(240, 232, 217, .62);
  padding: 0 var(--pad) 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2.2rem;
  justify-content: space-between;
  font-size: .88rem;
}
.o-baseline nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.o-baseline a { color: rgba(240, 232, 217, .62); text-decoration: none; }
.o-baseline a:hover { color: var(--sand); }

.fnote { font-size: .85rem; color: var(--grey-o); padding: 1.3rem 0; max-width: 70ch; }
.zone-plum-o .fnote, .o-foot .fnote { color: rgba(240, 232, 217, .62); }
sup.star { color: var(--rust); font-weight: 600; }
.zone-plum-o sup.star, .o-foot sup.star { color: var(--rust-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) {
  .o-rows > div { grid-template-columns: 1fr; gap: .2rem; }
}
@media (max-width: 700px) {
  .stamp-head nav { display: none; }
  .marginal .stamp-corner { max-width: 15rem; }
}
/* wrap+prose-Kollision */
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 60ch; }
