/* ============================================================
   Praxis Susanne Burchert — Bad Tölz
   System: „Reduktion als Prinzip"
   Nebelgrau · Ink · gedämpftes Amber · Fraunces / Newsreader
   Strenges Grid (Bild als Grid-Zelle), Statement-Zeilen,
   Gitterrahmen statt Karten
   ============================================================ */

:root {
  --fog: #e9ebee;
  --fog-2: #dfe3e8;
  --inkb: #23282e;
  --inkb-2: #39414a;
  --amber: #a8772c;
  --amber-2: #c69a53;
  --grey-b: #5f6871;
  --hair-b: rgba(35, 40, 46, .18);
  --amber-hair: rgba(168, 119, 44, .35);
  --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: "Newsreader", Georgia, serif;
  background: var(--fog);
  color: var(--inkb);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Kopf: Zeile mit Gittermarken ---------- */
.lattice-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(233, 235, 238, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair-b);
}
.lattice-head .stamp {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.lattice-head .stamp::before {
  content: "▪";
  color: var(--amber);
  margin-right: .55rem;
}
.lattice-head nav { display: flex; gap: 1.5rem; }
.lattice-head nav a {
  font-family: "Newsreader", Georgia, serif;
  font-size: .95rem;
  color: var(--grey-b);
  text-decoration: none;
  transition: color .2s;
}
.lattice-head nav a:hover, .lattice-head nav a[aria-current="page"] { color: var(--inkb); }
.lattice-head .call {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
  font-size: .95rem;
  color: var(--fog);
  background: var(--inkb);
  text-decoration: none;
  padding: .5rem 1.05rem;
  white-space: nowrap;
  transition: background .2s;
}
.lattice-head .call:hover { background: var(--amber); }

/* ---------- Grid-Hero: Bild als Grid-Zelle ---------- */
.hero-grid {
  padding: clamp(8rem, 16vw, 11.5rem) var(--pad) clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(0, auto);
  gap: clamp(1rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.6rem);
}
.hero-grid .kicker-cell {
  grid-column: 1 / 13;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .26em;
  color: var(--amber);
}
.hero-grid .title-cell {
  grid-column: 1 / 9;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -.01em;
}
.hero-grid .title-cell em { font-style: italic; color: var(--amber); }
.hero-grid .text-cell {
  grid-column: 10 / 13;
  font-size: 1.05rem;
  color: var(--grey-b);
  border-top: 2px solid var(--inkb);
  padding-top: .9rem;
  align-self: end;
}
.hero-grid .img-cell {
  grid-column: 1 / 6;
  grid-row: span 2;
  border: 1px solid var(--hair-b);
  padding: .55rem;
  background: var(--fog-2);
}
.hero-grid .img-cell img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.hero-grid .info-cell {
  grid-column: 7 / 13;
  align-self: start;
}
.hero-grid .info-cell .cell-head {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
.hero-grid .info-cell p { color: var(--grey-b); max-width: 52ch; }
.hero-grid .act-cell {
  grid-column: 7 / 13;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}
.frau {
  display: inline-block;
  text-decoration: none;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.5rem;
  transition: background .2s, color .2s, border-color .2s;
}
.frau.solid { background: var(--amber); color: var(--fog); }
.frau.solid:hover { background: var(--inkb); }
.frau.rim { border: 1px solid var(--inkb); color: var(--inkb); }
.frau.rim:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- Statement-Zeilen ---------- */
.statement {
  max-width: 30ch;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.8vw, 2.9rem);
  line-height: 1.18;
}
.statement .dim { color: var(--grey-b); }

/* ---------- Standard ---------- */
.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); }

.h-frau {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.12;
  max-width: 22ch;
}
.stand { margin-top: 1rem; font-size: 1.08rem; color: var(--grey-b); max-width: 54ch; }
.prose { max-width: 58ch; }
.prose p + p { margin-top: 1.05rem; }

.on-ink { background: var(--inkb); color: var(--fog); }
.on-ink .stand, .on-ink p { color: #b9bec5; }
.on-ink .statement .dim { color: #8b929a; }

/* ---------- Gittertabelle (dl) ---------- */
.lattice { border: 1px solid var(--hair-b); display: grid; grid-template-columns: 1fr 1fr; }
.lattice > div {
  padding: clamp(1.3rem, 3vw, 2.1rem);
  border-right: 1px solid var(--hair-b);
  border-bottom: 1px solid var(--hair-b);
}
.lattice > div:nth-child(2n) { border-right: 0; }
.lattice > div:nth-last-child(-n+2) { border-bottom: 0; }
.lattice dt {
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--amber);
  margin-bottom: .45rem;
}
.lattice dd { font-weight: 500; }

/* ---------- Zeitfenster-Zeilen ---------- */
.slots-b { border-top: 2px solid var(--inkb); }
.slots-b > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--hair-b);
}
.slots-b .d { font-family: "Fraunces", Georgia, serif; font-size: 1.12rem; font-weight: 600; }
.slots-b .t { color: var(--amber); font-weight: 600; white-space: nowrap; }
.slots-b .note { flex-basis: 100%; font-size: .9rem; color: var(--grey-b); }

/* ---------- Bildtafeln ---------- */
.frame-band { position: relative; min-height: clamp(300px, 52vh, 520px); overflow: hidden; }
.frame-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(35, 40, 46, .78), rgba(35, 40, 46, .06) 55%);
}
.frame-band figcaption {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  bottom: clamp(1.4rem, 4vw, 2.4rem);
  color: var(--fog);
  font-size: .92rem;
  max-width: 46ch;
}
.frame-band figcaption strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  margin-bottom: .3rem;
}

/* Privat-Hinweiskarte */
.privat-note {
  border: 1px solid var(--amber);
  padding: clamp(1.7rem, 4vw, 2.7rem);
}
.privat-note .lbl {
  display: inline-block;
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--fog);
  background: var(--amber);
  padding: .35rem .8rem;
  margin-bottom: 1rem;
}
.privat-note h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: .6rem;
  max-width: 24ch;
}
.privat-note p { color: var(--grey-b); max-width: 58ch; }
.on-ink .privat-note p { color: #b9bec5; }

/* ---------- Krise / Kontakt ---------- */
.crisis-b {
  border: 1px solid var(--hair-b);
  background: var(--fog-2);
  padding: clamp(1.7rem, 4vw, 2.7rem);
  margin-top: clamp(2.6rem, 6vw, 4.2rem);
}
.crisis-b h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.3rem; margin-bottom: .7rem; }
.crisis-b p { color: var(--grey-b); font-size: .97rem; }
.crisis-b strong { color: var(--inkb); }
.crisis-b a { color: var(--amber); font-weight: 600; text-decoration: none; }
.crisis-b a:hover { text-decoration: underline; }

.inkfoot-b {
  background: var(--inkb);
  color: var(--fog);
  padding: var(--luft) var(--pad) clamp(2.5rem, 6vw, 4rem);
}
.inkfoot-b .pre { color: var(--amber-2); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .26em; }
.inkfoot-b .huge {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 5.2vw, 3.9rem);
  line-height: 1.15;
  max-width: 21ch;
  margin-top: 1rem;
}
.inkfoot-b .huge a {
  color: var(--amber-2);
  text-decoration: none;
  border-bottom: 2px solid rgba(198, 154, 83, .4);
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.inkfoot-b .huge a:hover { color: var(--fog); border-color: var(--fog); }

.foot-b {
  background: var(--inkb);
  color: #9aa0a8;
  padding: 0 var(--pad) 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2.2rem;
  justify-content: space-between;
  font-size: .88rem;
}
.foot-b nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.foot-b a { color: #9aa0a8; text-decoration: none; }
.foot-b a:hover { color: var(--fog); }

.fnote { font-size: .85rem; color: var(--grey-b); padding: 1.3rem 0; max-width: 70ch; }
.on-ink .fnote { color: #9aa0a8; }
sup.star { color: var(--amber); font-weight: 600; }

/* ---------- 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) {
  .hero-grid { display: block; }
  .hero-grid .title-cell, .hero-grid .text-cell, .hero-grid .img-cell, .hero-grid .info-cell, .hero-grid .act-cell { display: block; }
  .hero-grid .img-cell { margin: 2.2rem 0; }
  .hero-grid .text-cell { border-top: 2px solid var(--inkb); padding-top: .9rem; margin-top: 1.6rem; }
  .hero-grid .act-cell { margin-top: 1.4rem; }
  .lattice { grid-template-columns: 1fr; }
  .lattice > div { border-right: 0 !important; border-bottom: 1px solid var(--hair-b) !important; }
  .lattice > div:last-child { border-bottom: 0 !important; }
}
@media (max-width: 700px) {
  .lattice-head nav { display: none; }
}
/* wrap+prose-Kollision */
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 60ch; }
