/* ============================================================
   Praxis Thomas Ellerkamp — Ulm
   System: „Zuerst Musiktherapeut"
   Kalkweiß · dunkler Pflaumen-Ink · gedämpfter Senf · Sora / Source Serif 4
   Übergroßer Titel überlappt die Bildkante (overlap),
   Haarlinien-Fakten, 25-Minuten-Telefonfenster als ehrliches Modul
   ============================================================ */

:root {
  --chalk: #f5f2ea;
  --chalk-2: #ece7da;
  --plumink: #3a2b3d;
  --plumink-2: #4c3a50;
  --mustard: #b98e2f;
  --mustard-2: #d4ad55;
  --grey-e: #6e6570;
  --hair-e: rgba(58, 43, 61, .18);
  --mustard-hair: rgba(185, 142, 47, .4);
  --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: "Source Serif 4", Georgia, serif;
  background: var(--chalk);
  color: var(--plumink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--mustard-2); color: var(--plumink); }
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='130' height='130'%3E%3Cfilter id='e2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.81' numOctaves='2' seed='23'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23e2)'/%3E%3C/svg%3E");
}

/* ---------- Kopf: Doppel-Linie ---------- */
.duo-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(245, 242, 234, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 3px 0 rgba(185, 142, 47, .35);
}
.duo-head .id {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}
.duo-head .id span { color: var(--mustard); }
.duo-head nav { display: flex; gap: 1.6rem; }
.duo-head nav a {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: var(--grey-e);
  text-decoration: none;
  transition: color .2s;
}
.duo-head nav a:hover, .duo-head nav a[aria-current="page"] { color: var(--plumink); }
.duo-head .call {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--chalk);
  background: var(--plumink);
  text-decoration: none;
  padding: .5rem 1.05rem;
  white-space: nowrap;
  transition: background .2s;
}
.duo-head .call:hover { background: var(--mustard); color: var(--plumink); }

/* ---------- Overlap-Hero: Titel überlappt Bildkante ---------- */
.overlap-hero {
  padding: clamp(8rem, 16vw, 11rem) var(--pad) 0;
  position: relative;
}
.overlap-hero .o-kick {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .26em;
  color: var(--mustard);
}
.overlap-hero h1 {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6.2vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  max-width: 14ch;
  margin-top: clamp(1rem, 2.5vw, 1.7rem);
  position: relative;
  z-index: 3;
}
.overlap-hero h1 .mst { color: var(--mustard); }
.overlap-hero .o-img {
  margin-top: clamp(-2.6rem, -5vw, -1.4rem);
  margin-left: clamp(2.5rem, 12vw, 10rem);
  position: relative;
  z-index: 1;
}
.overlap-hero .o-img img {
  width: 100%;
  aspect-ratio: 16 / 7.5;
  object-fit: cover;
}
.overlap-hero .o-sub {
  max-width: 52ch;
  margin-top: clamp(1.6rem, 3.5vw, 2.4rem);
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  color: var(--grey-e);
}
.overlap-hero .o-acts { margin-top: clamp(1.6rem, 4vw, 2.4rem); display: flex; flex-wrap: wrap; gap: .9rem; }
.obtn {
  display: inline-block;
  text-decoration: none;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .95rem 1.55rem;
  transition: background .2s, color .2s, border-color .2s;
}
.obtn.senf { background: var(--mustard); color: var(--plumink); }
.obtn.senf:hover { background: var(--plumink); color: var(--chalk); }
.obtn.rim { border: 1.5px solid var(--plumink); color: var(--plumink); }
.obtn.rim:hover { border-color: var(--mustard); color: var(--mustard); }

/* ---------- 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-e { background: var(--plumink); color: var(--chalk); }
.zone-plum-e .stand, .zone-plum-e p { color: rgba(245, 242, 234, .78); }
.zone-plum-e h2, .zone-plum-e .h-sora { color: var(--chalk); }

.h-sora {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.8vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -.015em;
  max-width: 22ch;
}
.serif-body { font-family: "Source Serif 4", Georgia, serif; }
.stand { margin-top: 1rem; font-size: 1.08rem; color: var(--grey-e); max-width: 54ch; }
.prose { max-width: 58ch; }
.prose p + p { margin-top: 1.05rem; }

/* ---------- Haarlinien-Fakten ---------- */
.wires-e { border-top: 2px solid var(--plumink); }
.zone-plum-e .wires-e { border-color: rgba(245, 242, 234, .5); }
.wires-e > 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-e);
  align-items: baseline;
}
.zone-plum-e .wires-e > div { border-color: rgba(245, 242, 234, .25); }
.wires-e dt {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--mustard);
}
.wires-e dd { font-weight: 600; }
.zone-plum-e .wires-e dd { color: var(--chalk); }

/* Noten-Linien-Ornament (5 Linien, Musik-Motiv) */
.staff {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: clamp(2rem, 5vw, 3rem) 0;
}
.staff i {
  display: block;
  height: 1px;
  background: var(--mustard-hair);
}
.staff i:nth-child(2) { width: 86%; }
.staff i:nth-child(3) { width: 72%; }
.staff i:nth-child(4) { width: 58%; }
.staff i:nth-child(5) { width: 44%; }

/* Fenster-Karte (Telefonzeiten) */
.window-e {
  border: 1.5px solid var(--mustard);
  background: var(--chalk-2);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
}
.window-e .lbl {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--mustard);
  display: block;
  margin-bottom: .8rem;
}
.window-e .big {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -.01em;
}
.window-e p { color: var(--grey-e); margin-top: .5rem; max-width: 44ch; }

/* Offen-Karte */
.e-open {
  border: 2px dashed var(--mustard);
  padding: clamp(1.7rem, 4vw, 2.7rem);
}
.e-open .lbl {
  display: inline-block;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--chalk);
  background: var(--plumink);
  padding: .35rem .8rem;
  margin-bottom: 1rem;
}
.e-open h3 {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  margin-bottom: .6rem;
  max-width: 26ch;
}
.e-open p { color: var(--grey-e); max-width: 58ch; }

/* Krise */
.e-crisis {
  background: var(--plumink);
  color: var(--chalk);
  padding: clamp(2rem, 5vw, 3rem);
  margin-top: clamp(2.8rem, 6vw, 4.4rem);
}
.e-crisis h2 { font-family: "Sora", "Segoe UI", sans-serif; font-weight: 700; font-size: 1.25rem; margin-bottom: .8rem; }
.e-crisis p { color: rgba(245, 242, 234, .8); font-size: .97rem; }
.e-crisis strong { color: #fff; }
.e-crisis a { color: var(--mustard-2); font-weight: 700; text-decoration: none; }
.e-crisis a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.e-foot {
  background: var(--plumink);
  padding: var(--luft) var(--pad) clamp(2.5rem, 6vw, 4rem);
}
.e-foot .kick { font-family: "Sora", "Segoe UI", sans-serif; color: var(--mustard-2); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .26em; }
.e-foot .huge {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 800;
  font-size: clamp(1.85rem, 5.2vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 20ch;
  color: var(--chalk);
  margin-top: 1rem;
}
.e-foot .huge a {
  color: var(--mustard-2);
  text-decoration: none;
  border-bottom: 3px solid var(--mustard-hair);
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.e-foot .huge a:hover { color: var(--chalk); border-color: var(--chalk); }

.e-baseline {
  background: var(--plumink);
  color: rgba(245, 242, 234, .62);
  padding: 0 var(--pad) 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2.2rem;
  justify-content: space-between;
  font-size: .88rem;
}
.e-baseline nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.e-baseline a { color: rgba(245, 242, 234, .62); text-decoration: none; }
.e-baseline a:hover { color: var(--chalk); }

.fnote { font-size: .85rem; color: var(--grey-e); padding: 1.3rem 0; max-width: 70ch; }
.zone-plum-e .fnote, .e-foot .fnote { color: rgba(245, 242, 234, .62); }
sup.star { color: var(--mustard); font-weight: 700; }
.zone-plum-e sup.star, .e-foot sup.star { color: var(--mustard-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) {
  .wires-e > div { grid-template-columns: 1fr; gap: .2rem; }
}
@media (max-width: 700px) {
  .duo-head nav { display: none; }
  .overlap-hero .o-img { margin-left: 0; margin-top: -1.2rem; }
  .overlap-hero .o-img img { aspect-ratio: 16 / 9; }
}
/* wrap+prose-Kollision */
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 60ch; }
