/* ============================================================
   Praxis Katrin de Buhr — Sankt Augustin
   System: „Ein Netz, das auffängt"
   Anthrazit dark-forward · Creme · Teal · Epilogue
   Vertikale Führungslinien über die GANZE Seite (das Netz),
   asymmetrischer Hero mit versetztem Tall-Bild, faktenlose Karten
   ============================================================ */

:root {
  --coal: #15171c;
  --coal-2: #1d2027;
  --coal-3: #262a33;
  --cream: #f0e8d6;
  --cream-2: #e6dbc2;
  --teal: #4f9a94;
  --teal-2: #82bcb4;
  --pale: #ece5d1;
  --warm-grey: #a7a694;
  --ink-c: #1f2126;
  --hair-d: rgba(130, 188, 180, .22);
  --hair-l: rgba(31, 33, 38, .18);
  --pad: clamp(1.25rem, 4.5vw, 3.25rem);
  --luft: clamp(5rem, 10.5vw, 9.5rem);
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Epilogue", "Segoe UI", sans-serif;
  background: var(--coal);
  color: var(--pale);
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--teal); color: var(--coal); }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* Korn */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 75;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='145' height='145'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' seed='5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n2)'/%3E%3C/svg%3E");
}

/* ---------- DAS NETZ: vertikale Führungslinien über alles ---------- */
.net {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 var(--pad);
}
.net i { border-left: 1px solid rgba(130, 188, 180, .1); }
.net i:first-child { border-left: 0; }

.page { position: relative; z-index: 1; }

/* helle Sektionen bekommen ein eigenes, dunkleres Liniennetz */
.zone-light { position: relative; }
.zone-light::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(31, 33, 38, .07) 1px, transparent 1px);
  background-size: calc((100% - 2 * var(--pad)) / 4) 100%;
  background-position: var(--pad) 0;
  background-repeat: no-repeat;
}

/* ---------- Kopfzeile ---------- */
.bracket {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem var(--pad);
  background: rgba(21, 23, 28, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair-d);
}
.bracket .mark {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}
.bracket .mark b { color: var(--teal-2); font-weight: 700; }
.bracket nav { display: flex; gap: 1.6rem; }
.bracket nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--warm-grey);
  text-decoration: none;
  transition: color .2s;
}
.bracket nav a:hover, .bracket nav a[aria-current="page"] { color: var(--pale); }
.bracket .call {
  font-weight: 700;
  font-size: .9rem;
  color: var(--coal);
  background: var(--teal-2);
  text-decoration: none;
  padding: .5rem 1.05rem;
  white-space: nowrap;
  transition: background .2s;
}
.bracket .call:hover { background: var(--cream); }

/* ---------- Asymmetrischer Hero + versetztes Tall-Bild ---------- */
.hang {
  padding: clamp(8rem, 16vw, 12rem) var(--pad) 0;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gutter);
  align-items: start;
}
.hang .kick {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .26em;
  color: var(--teal-2);
}
.hang h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 14ch;
  margin-top: clamp(1.1rem, 2.5vw, 1.8rem);
}
.hang h1 .tz { color: var(--teal-2); }
.hang .intro {
  margin-top: clamp(1.3rem, 3vw, 2rem);
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--warm-grey);
}
.hang .acts { margin-top: clamp(1.8rem, 4vw, 2.6rem); display: flex; flex-wrap: wrap; gap: .9rem; }
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: .98rem;
  padding: .95rem 1.55rem;
  transition: background .2s, color .2s, border-color .2s;
}
.btn.teal { background: var(--teal-2); color: var(--coal); }
.btn.teal:hover { background: var(--cream); }
.btn.rim { border: 1px solid var(--hair-d); color: var(--pale); }
.btn.rim:hover { border-color: var(--teal-2); color: var(--teal-2); }

/* versetztes Tall-Bild, läuft in die nächste Zone */
.hang .tallwrap { position: relative; }
.hang .tall {
  position: relative;
  z-index: 2;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  transform: translateY(clamp(2rem, 6vw, 5.5rem));
}
.hang .tall img { width: 100%; height: 100%; object-fit: cover; }
.hang .tallwrap .plate-cap {
  position: absolute;
  z-index: 3;
  bottom: -.4rem;
  left: 0;
  background: var(--coal-2);
  border: 1px solid var(--hair-d);
  padding: .8rem 1.1rem;
  font-size: .82rem;
  color: var(--warm-grey);
  max-width: 18rem;
  transform: translateY(100%);
}
.hang .tallwrap .plate-cap strong { color: var(--pale); display: block; }

/* Nachfolgende helle Zone muss das überlappende Bild zulassen */
.pull-under { position: relative; z-index: 1; }

/* ---------- Standardzonen ---------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
.zone { padding-block: var(--luft); }
.zone.mid { padding-block: clamp(3.5rem, 8vw, 6rem); }
.zone.light { background: var(--cream); color: var(--ink-c); }
.zone.light2 { background: var(--cream-2); color: var(--ink-c); }
.zone.panel { background: var(--coal-2); }

.zone h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
  max-width: 22ch;
}
.stand {
  margin-top: 1rem;
  font-size: 1.08rem;
  color: var(--warm-grey);
  max-width: 54ch;
}
.zone.light .stand, .zone.light2 .stand { color: #5d5c4e; }

.prose { max-width: 60ch; }
.prose p + p { margin-top: 1.05rem; }

/* ---------- Haarlinien-Fakten (keine Karten) ---------- */
.wires { border-top: 1px solid var(--hair-d); }
.zone.light .wires, .zone.light2 .wires { border-color: var(--hair-l); }
.wires > div {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: .35rem clamp(1.4rem, 4vw, 3.5rem);
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--hair-d);
}
.zone.light .wires > div, .zone.light2 .wires > div { border-color: var(--hair-l); }
.wires dt {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--teal);
  padding-top: .3rem;
}
.zone.light .wires dt { color: #3d7d78; }
.wires dd { font-weight: 500; }
.zone.light .wires dd { color: var(--ink-c); }

/* Knotenpunkt: Zähler-Zeile im Netz */
.node-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hair-d);
  border-bottom: 1px solid var(--hair-d);
}
.node-row > div {
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1rem, 2.5vw, 2rem);
  border-left: 1px solid var(--hair-d);
}
.node-row > div:first-child { border-left: 0; }
.node-row .n {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--teal-2);
}
.node-row .lbl { margin-top: .6rem; font-size: .92rem; color: var(--warm-grey); max-width: 24ch; }

/* ---------- Ehrlichkeits-Knoten (Wartezeit) ---------- */
.honest {
  border: 1px solid var(--teal);
  background: rgba(79, 154, 148, .08);
  padding: clamp(1.7rem, 4vw, 2.7rem);
  max-width: 60rem;
}
.zone.light .honest, .zone.light2 .honest { border-color: #3d7d78; background: rgba(79, 154, 148, .1); }
.honest .tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--teal-2);
  background: rgba(79, 154, 148, .16);
  padding: .35rem .8rem;
  margin-bottom: 1rem;
}
.zone.light .honest .tag, .zone.light2 .honest .tag { color: #2e6a66; }
.honest h3 {
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 700;
  margin-bottom: .6rem;
  max-width: 26ch;
}
.honest p { color: var(--warm-grey); max-width: 58ch; }
.zone.light .honest p, .zone.light2 .honest p { color: #565549; }

/* ---------- Zweispalter ---------- */
.twin {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5rem);
}

/* ---------- Bildtafel mit Teal-Kante ---------- */
.tape {
  position: relative;
  min-height: clamp(300px, 52vh, 520px);
  overflow: hidden;
}
.tape img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 23, 28, .8), rgba(21, 23, 28, .08) 55%);
}
.tape figcaption {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  bottom: clamp(1.4rem, 4vw, 2.4rem);
  color: var(--pale);
  font-size: .92rem;
  max-width: 46ch;
}
.tape figcaption strong {
  display: block;
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  margin-bottom: .3rem;
}
.tape::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--teal);
}

/* ---------- Kontakt ---------- */
.reach { border-top: 1px solid var(--hair-l); }
.reach > div {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: .35rem clamp(1.2rem, 3vw, 2.6rem);
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--hair-l);
  align-items: baseline;
}
.reach dt {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #3d7d78;
}
.reach dd { font-weight: 500; color: var(--ink-c); }
.reach a.line {
  font-weight: 700;
  font-size: 1.18rem;
  text-decoration: none;
  border-bottom: 2px solid var(--hair-l);
  transition: border-color .2s;
}
.reach a.line:hover { border-color: #3d7d78; }

/* Frühsprechstunde-Band */
.early {
  background: var(--ink-c);
  color: var(--cream);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 2.5rem;
}
.early .w {
  font-weight: 700;
  font-size: 1.2rem;
}
.early .t { color: var(--teal-2); font-weight: 700; font-size: 1.2rem; white-space: nowrap; }

/* Krise */
.fall {
  background: var(--coal);
  color: var(--pale);
  padding: clamp(2rem, 5vw, 3rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.fall h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: .8rem; }
.fall p { color: var(--warm-grey); font-size: .97rem; }
.fall strong { color: var(--pale); }
.fall a { color: var(--teal-2); font-weight: 700; text-decoration: none; }
.fall a:hover { text-decoration: underline; }

/* ---------- Footer mit CTA ---------- */
.ground {
  background: var(--coal);
  padding: var(--luft) var(--pad) clamp(2.5rem, 6vw, 4rem);
}
.ground .kick { color: var(--teal-2); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .26em; }
.ground .huge {
  font-size: clamp(1.9rem, 5.4vw, 4rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.08;
  max-width: 20ch;
  margin-top: 1rem;
}
.ground .huge a {
  color: var(--teal-2);
  text-decoration: none;
  border-bottom: 3px solid var(--hair-d);
  white-space: nowrap;
  transition: border-color .2s;
}
.ground .huge a:hover { border-color: var(--teal-2); }

.baseline {
  background: var(--coal);
  color: var(--warm-grey);
  padding: 0 var(--pad) 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2.2rem;
  justify-content: space-between;
  font-size: .88rem;
}
.baseline nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.baseline a { color: var(--warm-grey); text-decoration: none; }
.baseline a:hover { color: var(--pale); }

.fnote { font-size: .85rem; color: var(--warm-grey); padding: 1.3rem 0; max-width: 70ch; }
.zone.light .fnote { color: #6a695a; }
sup.star { color: var(--teal); font-weight: 700; }
.zone.light sup.star, .zone.light2 sup.star { color: #3d7d78; }

/* ---------- 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: 920px) {
  .hang { grid-template-columns: 1fr; }
  .hang .tall { aspect-ratio: 4 / 3; transform: none; margin-top: 2.5rem; }
  .hang .tallwrap .plate-cap { position: static; transform: none; margin-top: .8rem; }
  .twin { grid-template-columns: 1fr; }
  .node-row { grid-template-columns: 1fr; }
  .node-row > div { border-left: 0; border-top: 1px solid var(--hair-d); }
  .node-row > div:first-child { border-top: 0; }
}
@media (max-width: 700px) {
  .bracket nav { display: none; }
  .wires > div, .reach > div { grid-template-columns: 1fr; gap: .2rem; }
}
/* wrap+prose-Kollision */
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 60ch; }
