/* ============================================================
   Praxis Frank Jürgen Falk — Buchholz in der Nordheide
   System: „Tiefe, die mitwächst"
   Navy dark-forward · Creme · antikes Gold · Figtree
   Rein typografischer Hero, Bildtafeln erst tief im Verlauf
   ============================================================ */

:root {
  --navy: #0d1b2c;
  --navy-2: #14263c;
  --navy-3: #1c3350;
  --cream: #f3ecdc;
  --cream-2: #ece2cc;
  --gold: #a9812f;
  --gold-2: #c2a15b;
  --paper-on-dark: #ece5d4;
  --muted-on-dark: #a3b3c6;
  --muted-on-light: #55616f;
  --ink-on-light: #17273a;
  --line-dark: rgba(194, 161, 91, .28);
  --line-light: rgba(23, 39, 58, .16);
  --pad: clamp(1.25rem, 4vw, 3rem);
  --luft: clamp(5rem, 10vw, 9rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Figtree", "Segoe UI", sans-serif;
  font-weight: 400;
  background: var(--cream);
  color: var(--ink-on-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--navy); }

img { display: block; max-width: 100%; }
a { color: inherit; }

/* Korn über allem, sehr dezent */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Navigation ---------- */
.mast {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem var(--pad);
  background: rgba(13, 27, 44, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(194, 161, 91, .18);
}

.brand {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .01em;
  color: var(--paper-on-dark);
  text-decoration: none;
  white-space: nowrap;
}
.brand em {
  font-style: normal;
  color: var(--gold-2);
}

.mast nav {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.mast nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted-on-dark);
  text-decoration: none;
  padding-bottom: .15rem;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.mast nav a:hover,
.mast nav a[aria-current="page"] {
  color: var(--paper-on-dark);
  border-color: var(--gold-2);
}

.mast .nav-tel {
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-2);
  padding: .45rem 1rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background .2s;
}
.mast .nav-tel:hover { background: var(--cream); }

/* ---------- Typografischer Hero ---------- */
.hero {
  min-height: 92svh;
  background: var(--navy);
  color: var(--paper-on-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(6rem) var(--pad) clamp(3rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}

/* stiller Goldbogen als einziges Bildmittel */
.hero::before {
  content: "";
  position: absolute;
  right: -18vw;
  bottom: -55vw;
  width: 86vw;
  height: 86vw;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  box-shadow: inset 0 0 0 12vw rgba(194, 161, 91, .03);
}

.kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--gold-2);
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}

.hero h1 {
  font-size: clamp(2.9rem, 7.4vw, 6rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.022em;
  max-width: 15ch;
}
.hero h1 .gold { color: var(--gold-2); }

.hero .lede {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted-on-dark);
}

.hero .hero-actions {
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 1.7rem;
  border-radius: 2px;
  transition: transform .2s, background .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold-2); color: var(--navy); }
.btn-gold:hover { background: var(--cream); }
.btn-ghost {
  color: var(--paper-on-dark);
  border: 1px solid var(--line-dark);
}
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }

.hero-meta {
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2.2rem;
  font-size: .9rem;
  color: var(--muted-on-dark);
}
.hero-meta strong { color: var(--paper-on-dark); font-weight: 700; }

/* ---------- Laufband ---------- */
.ticker {
  background: var(--gold);
  color: var(--navy);
  overflow: hidden;
  padding: .72rem 0;
  border-block: 1px solid rgba(13, 27, 44, .25);
}
.ticker .rail {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: rail 30s linear infinite;
}
.ticker:hover .rail { animation-play-state: paused; }
.ticker span {
  font-weight: 700;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  white-space: nowrap;
}
.ticker i { font-style: normal; opacity: .45; }
@keyframes rail { to { transform: translateX(-50%); } }

/* ---------- Standardsektionen ---------- */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--pad); }
.sec { padding-block: var(--luft); }

.sec h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.015em;
  max-width: 22ch;
}

.sec .sec-head p.standfirst {
  margin-top: 1.1rem;
  font-size: 1.12rem;
  color: var(--muted-on-light);
  max-width: 56ch;
}

.dark { background: var(--navy); color: var(--paper-on-dark); }
.dark .standfirst, .dark p.lead { color: var(--muted-on-dark); }

.prose { max-width: 62ch; }
.prose p + p { margin-top: 1.1rem; }

/* ---------- Duo: zwei Lebensabschnitte ---------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70svh;
}
.duo > article {
  padding: clamp(2.5rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.duo > article:first-child {
  background: var(--navy-2);
  color: var(--paper-on-dark);
}
.duo > article:last-child {
  background: var(--navy-3);
  color: var(--paper-on-dark);
}
.duo .duo-kicker {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--gold-2);
}
.duo h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.01em;
  max-width: 18ch;
}
.duo p { color: var(--muted-on-dark); max-width: 42ch; }
.duo a.more {
  margin-top: auto;
  font-weight: 700;
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 2px solid var(--line-dark);
  align-self: flex-start;
  transition: border-color .2s, color .2s;
}
.duo a.more:hover { border-color: var(--gold-2); color: var(--cream); }
/* große Ziffer als Wasserzeichen */
.duo .wm {
  position: absolute;
  right: -1rem;
  bottom: -3.4rem;
  font-size: clamp(9rem, 18vw, 15rem);
  font-weight: 700;
  line-height: 1;
  color: rgba(194, 161, 91, .07);
  pointer-events: none;
}

/* ---------- Bildtafeln ---------- */
.band {
  position: relative;
  min-height: clamp(320px, 55vh, 560px);
  overflow: hidden;
}
.band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 27, 44, .72), rgba(13, 27, 44, .08) 55%);
}
.band figcaption {
  position: absolute;
  left: var(--pad);
  bottom: clamp(1.4rem, 4vw, 2.6rem);
  z-index: 2;
  color: var(--cream);
  font-size: .92rem;
  font-weight: 500;
  max-width: 44ch;
}
.band figcaption strong {
  display: block;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 700;
  margin-bottom: .3rem;
  letter-spacing: -.01em;
}

/* schmales Band */
.band.slim { min-height: clamp(220px, 34vh, 340px); }

/* ---------- Tafel mit Goldrahmen (Zahlen) ---------- */
.plate {
  background: var(--navy-2);
  color: var(--paper-on-dark);
  border: 1px solid var(--line-dark);
  outline: 1px solid var(--line-dark);
  outline-offset: 6px;
  margin: clamp(3rem, 7vw, 5rem) 0;
  padding: clamp(2rem, 5vw, 4rem);
}
.plate .numrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.plate .numrow .n {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  color: var(--gold-2);
  line-height: 1;
  letter-spacing: -.02em;
}
.plate .numrow .lbl {
  margin-top: .7rem;
  font-size: .92rem;
  color: var(--muted-on-dark);
  max-width: 22ch;
  margin-inline: auto;
}

/* ---------- Verfahrens-Zeilen ---------- */
.rows { border-top: 1px solid var(--line-light); }
.rows .row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1rem clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.6rem, 3.5vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line-light);
}
.rows .row h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -.01em;
}
.rows .row p { color: var(--muted-on-light); max-width: 58ch; }
.dark .rows { border-color: var(--line-dark); }
.dark .rows .row { border-color: var(--line-dark); }
.dark .rows .row p { color: var(--muted-on-dark); }

/* ---------- Siegel Kassenzulassung ---------- */
.seal {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  padding: .8rem 1.5rem;
  font-weight: 700;
}
.seal .dot {
  width: .7rem; height: .7rem;
  background: var(--gold);
  border-radius: 50%;
  flex: none;
}

/* Kostenliste */
.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.cost-grid > div {
  background: #fff9ec;
  border: 1px solid var(--line-light);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.cost-grid h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .6rem;
}
.cost-grid p { color: var(--muted-on-light); font-size: .98rem; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 5rem);
}
.contact-list { list-style: none; }
.contact-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-light);
}
.contact-list .cap {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--gold);
  display: block;
  margin-bottom: .25rem;
}
.contact-list a {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  border-bottom: 2px solid var(--line-light);
  transition: border-color .2s;
}
.contact-list a:hover { border-color: var(--gold); }

.crisis {
  background: var(--navy);
  color: var(--paper-on-dark);
  padding: clamp(2rem, 5vw, 3rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.crisis h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.crisis p { color: var(--muted-on-dark); font-size: .98rem; }
.crisis strong { color: var(--paper-on-dark); }
.crisis a { color: var(--gold-2); font-weight: 700; text-decoration: none; }
.crisis a:hover { text-decoration: underline; }

/* ---------- Footer mit riesigem CTA ---------- */
.foot-cta {
  background: var(--navy);
  color: var(--paper-on-dark);
  padding: var(--luft) var(--pad) clamp(3rem, 7vw, 5rem);
  text-align: left;
}
.foot-cta .kicker { color: var(--gold-2); }
.foot-cta .big {
  font-size: clamp(2rem, 5.6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  max-width: 18ch;
}
.foot-cta .big a {
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 3px solid var(--line-dark);
  transition: border-color .2s;
  white-space: nowrap;
}
.foot-cta .big a:hover { border-color: var(--gold-2); }

footer.site {
  background: var(--navy);
  color: var(--muted-on-dark);
  padding: 2rem var(--pad) 2.6rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2.4rem;
  align-items: baseline;
  justify-content: space-between;
  font-size: .9rem;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
footer.site a { color: var(--muted-on-dark); text-decoration: none; }
footer.site a:hover { color: var(--paper-on-dark); }

/* Fußnote */
.fnote {
  font-size: .85rem;
  color: var(--muted-on-light);
  padding: 1.4rem 0;
  max-width: 70ch;
}
.dark .fnote, .foot-cta .fnote { color: var(--muted-on-dark); }
sup.star { color: var(--gold); font-weight: 700; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); 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; }
  .ticker .rail { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .duo { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .rows .row { grid-template-columns: 1fr; gap: .5rem; }
  .cost-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .mast nav { display: none; }
  .hero { min-height: 86svh; }
  .plate .numrow { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.55rem; }
  .btn { width: 100%; text-align: center; }
  .hero .hero-actions { flex-direction: column; }
}

/* wrap+prose-Kollision: Block darf nicht selbst auf 60ch schrumpfen */
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 60ch; }
