/* ============================================================
   Praxis Sabine Hellwig, Hannover — Entwurf
   Konzept „Das Kind in seiner Welt" — kühles helles Blaugrau,
   Stahlblau, gerahmte Bildtafeln (Passepartout), ruhige Text-
   sektionen mit Bildbändern dazwischen.
   Fonts: Newsreader (Display) + Manrope (Fließtext), lokal.
   ============================================================ */

:root {
  --paper: #f2f5f8;
  --paper-2: #e9eff4;
  --card: #fcfdfe;
  --mist: #dde7ee;
  --ink: #1f3040;
  --ink-soft: #50657a;
  --steel: #33627f;
  --steel-deep: #1a3547;
  --steel-night: #122836;
  --steel-bright: #7fa6c0;
  --line: rgba(31, 48, 64, .15);
  --line-strong: rgba(31, 48, 64, .28);
  --alert: #9c4a3c;
  --shadow: 0 26px 52px -26px rgba(26, 53, 71, .35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.68 "Manrope", system-ui, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--steel); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

/* ---------- Kopfzeile (hell) ---------- */
header.site {
  position: sticky; top: 0; z-index: 30;
  background: rgba(242, 245, 248, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem 2.5rem; padding-block: 1rem; flex-wrap: wrap;
}
.brand { text-decoration: none; color: var(--ink); }
.brand .name {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.32rem; font-weight: 600; letter-spacing: .005em;
  display: block; line-height: 1.15;
}
.brand .sub {
  display: block; font-size: .64rem; letter-spacing: .19em;
  text-transform: uppercase; color: var(--steel); font-weight: 800;
  margin-top: .22rem;
}
nav.main { display: flex; gap: 1.55rem; flex-wrap: wrap; }
nav.main a {
  color: var(--ink-soft); text-decoration: none; font-size: .86rem; font-weight: 600;
  padding-bottom: 3px; border-bottom: 2px solid transparent;
}
nav.main a:hover { color: var(--ink); border-bottom-color: var(--steel-bright); }
nav.main a[aria-current="page"] { color: var(--steel); border-bottom-color: var(--steel); }

/* ---------- Hero (Start): Text + gerahmte Tafel ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6.5rem); }
.hero-in {
  display: grid; grid-template-columns: 1.04fr .96fr;
  gap: clamp(2.5rem, 5.5vw, 5.5rem); align-items: center;
}
.eyebrow {
  font-size: .72rem; letter-spacing: .23em; text-transform: uppercase;
  color: var(--steel); font-weight: 800;
}
.hero h1 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400; font-size: clamp(3rem, 6vw, 5.1rem);
  line-height: 1.04; letter-spacing: -.015em;
  margin: 1.3rem 0 1.5rem; max-width: 13ch;
}
.hero h1 em { font-style: italic; color: var(--steel); }
.hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.62;
  color: var(--ink-soft); max-width: 42ch;
}
.actions { margin-top: 2.4rem; display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
a.btn-primary {
  display: inline-block; text-decoration: none;
  background: var(--steel); color: #f4f8fb;
  padding: .95rem 1.9rem; font-size: .92rem; font-weight: 800;
  letter-spacing: .03em; border: 1px solid var(--steel);
}
a.btn-primary:hover { background: var(--steel-deep); border-color: var(--steel-deep); }
a.btn-quiet {
  color: var(--ink); font-size: .94rem; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--steel); padding-bottom: 2px;
}
a.btn-quiet:hover { color: var(--steel); }
.dark a.btn-quiet, .band a.btn-quiet { color: #eef3f7; border-bottom-color: var(--steel-bright); }
.dark a.btn-quiet:hover { color: var(--steel-bright); }

/* Gerahmte Tafel (Passepartout mit versetzter Kante) */
.frame-wrap { position: relative; }
.frame-wrap::before {
  content: ""; position: absolute; inset: 0;
  transform: translate(16px, 16px);
  border: 1px solid var(--steel); opacity: .4;
  pointer-events: none;
}
.frame {
  position: relative; background: #ffffff;
  padding: clamp(10px, 1.4vw, 18px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.frame img { width: 100%; aspect-ratio: 7 / 9; object-fit: cover; }
.frame .plate-cap {
  padding: .85rem .2rem .1rem; font-size: .82rem; color: var(--ink-soft);
}

/* ---------- Faktenzeile ---------- */
.factline { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.factline .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.factline .fact {
  padding: 1.9rem 2rem 2.1rem; font-size: .94rem; color: var(--ink-soft);
  border-left: 1px solid var(--line);
}
.factline .fact:first-child { border-left: 0; padding-left: 0; }
.factline .fact strong {
  display: block; color: var(--ink); font-weight: 400; margin-bottom: .35rem;
  font-family: "Newsreader", Georgia, serif; font-size: 1.45rem; line-height: 1.15;
}

/* ---------- Abschnitte ---------- */
section.block { padding: clamp(4rem, 8.5vw, 7.5rem) 0; }
section.block.alt { background: var(--paper-2); }
section.block + section.block:not(.alt) { border-top: 1px solid var(--line); }
.sec-label {
  font-size: .72rem; letter-spacing: .23em; text-transform: uppercase;
  color: var(--steel); font-weight: 800; margin-bottom: 1.15rem;
}
h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400; font-size: clamp(2.05rem, 4.2vw, 3.3rem);
  line-height: 1.08; letter-spacing: -.012em;
  max-width: 24ch; margin-bottom: 1.6rem;
}
h2 em { font-style: italic; color: var(--steel); }
h3 {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.45rem; font-weight: 600; margin-bottom: .7rem; line-height: 1.2;
}
.prose { max-width: 62ch; color: var(--ink-soft); }
.prose p { margin-bottom: 1.1rem; }
.prose h3 { margin-top: 1.8rem; }
.prose h3:first-child { margin-top: 0; }
.prose h3 + p { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 800; }
.more { display: inline-block; margin-top: 1.4rem; }

/* Editorial-Split: Label links, Inhalt rechts */
.edit { display: grid; grid-template-columns: .9fr 1.5fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.edit .side { position: sticky; top: 7rem; }

/* ---------- Zwei Themen nebeneinander ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
.duo .item {
  background: var(--card); border: 1px solid var(--line);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.duo .item .tag {
  display: inline-block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--steel); font-weight: 800; margin-bottom: 1rem;
  padding-bottom: .45rem; border-bottom: 1px solid var(--line-strong);
}
.duo .item p { color: var(--ink-soft); }
.duo .item h3 { font-size: 1.6rem; }

/* ---------- Bildband mit Caption ---------- */
.band { position: relative; isolation: isolate; height: clamp(320px, 54vh, 540px); overflow: hidden; }
.band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(18, 40, 54, .82) 0%, rgba(18, 40, 54, .38) 48%, rgba(18, 40, 54, .06) 76%);
}
.band .wrap { height: 100%; display: flex; align-items: flex-end; padding-bottom: clamp(1.8rem, 4vh, 3rem); }
.band .cap { color: #f2f6f9; max-width: 34ch; text-shadow: 0 1px 18px rgba(18, 40, 54, .5); }
.band .cap small {
  display: block; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 800; color: var(--steel-bright); margin-bottom: .6rem;
}
.band .cap span {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 400; line-height: 1.2;
}

/* ---------- Dunkles Band ---------- */
.dark { background: var(--steel-deep); color: #e8eff4; }
.dark .sec-label { color: var(--steel-bright); }
.dark h2 { color: #f2f6f9; }
.dark h2 em { color: var(--steel-bright); }
.dark .prose { color: rgba(232, 239, 244, .82); }
.dark .prose strong { color: #f2f6f9; }
.dark .prose a { color: #f2f6f9; text-decoration-color: var(--steel-bright); }
.dark .statement {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400; font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  line-height: 1.16; letter-spacing: -.01em; color: #f2f6f9; max-width: 26ch;
}
.dark .statement em { font-style: italic; color: var(--steel-bright); }

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: 2.4rem; }
.card {
  background: var(--card); border: 1px solid var(--line);
  padding: clamp(1.5rem, 2.6vw, 2.2rem); border-top: 3px solid var(--steel);
}
.card h3 { font-size: 1.4rem; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card p + p { margin-top: .8rem; }

/* ---------- Schritte ---------- */
.steps { list-style: none; counter-reset: step; margin-top: .6rem; }
.steps li {
  counter-increment: step;
  padding: 1.9rem 0 1.9rem 5.2rem; position: relative;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1.55rem;
  font-family: "Newsreader", Georgia, serif;
  font-size: 2.5rem; color: var(--steel); font-weight: 400; line-height: 1;
}
.steps .st {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.45rem; font-weight: 600; color: var(--ink);
  display: block; margin-bottom: .25rem;
}
.steps .sd { color: var(--ink-soft); max-width: 56ch; }

/* ---------- Split mit gerahmter Tafel ---------- */
.tafel { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 5.5vw, 5rem); align-items: center; }
.tafel.flip { grid-template-columns: 1.15fr .85fr; }
.tafel .frame img { aspect-ratio: 7 / 9; }

/* ---------- Person / Fakten ---------- */
dl.facts { margin-top: 2rem; border-top: 1px solid var(--line); }
dl.facts dt {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--steel); font-weight: 800; margin-top: 1.3rem;
}
dl.facts dd { color: var(--ink-soft); margin-top: .25rem; }
.monogram {
  background: var(--steel-deep); color: #eef3f7;
  aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: .9rem;
  border: 1px solid var(--steel-deep);
  box-shadow: var(--shadow);
}
.monogram .init {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(3.4rem, 5.5vw, 4.8rem); font-weight: 400; color: var(--steel-bright);
  line-height: 1;
}
.monogram .cap {
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(238, 243, 247, .72); text-align: center; line-height: 1.7;
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.4rem, 4.5vw, 3.8rem); border-bottom: 1px solid var(--line); }
.page-head h1 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400; font-size: clamp(2.5rem, 5.4vw, 4.3rem);
  line-height: 1.05; letter-spacing: -.015em; max-width: 18ch;
  margin: 1.1rem 0 1.2rem;
}
.page-head h1 em { font-style: italic; color: var(--steel); }
.page-head .lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 52ch; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.phone-big {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 400; display: inline-block;
  margin: .5rem 0 1.2rem; text-decoration: none; line-height: 1.05; color: var(--ink);
  border-bottom: 2px solid var(--steel);
}
.phone-big:hover { color: var(--steel); }
.phone-sub { font-size: 1rem; color: var(--ink-soft); margin-bottom: 1.6rem; }
.phone-sub a { text-decoration: none; font-weight: 600; }
address.block-address {
  font-style: normal; line-height: 1.85; color: var(--ink-soft);
  background: var(--card); border: 1px solid var(--line);
  padding: clamp(1.4rem, 2.6vw, 2rem);
}
address.block-address strong { color: var(--ink); font-weight: 800; display: block; margin-bottom: .4rem; }
.note { font-size: .9rem; color: var(--ink-soft); margin-top: 1.4rem; max-width: 56ch; }
.star { color: var(--steel); font-weight: 800; }

/* Krisenblock */
.crisis {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--alert);
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
}
.crisis h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.crisis p { color: var(--ink-soft); max-width: 66ch; margin-bottom: 1rem; }
.crisis ul { list-style: none; margin-top: 1.4rem; }
.crisis li {
  display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr; gap: 1.2rem;
  padding: 1rem 0; border-top: 1px solid var(--line);
}
.crisis li:last-child { border-bottom: 1px solid var(--line); }
.crisis .num {
  font-family: "Newsreader", Georgia, serif; font-size: 1.5rem; color: var(--ink);
}
.crisis .num a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--steel); }
.crisis .who { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Rechtsseiten ---------- */
.legal { padding: clamp(2.8rem, 5.5vw, 4.5rem) 0 clamp(4rem, 7vw, 6rem); }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.6rem; margin-bottom: .9rem; }
.legal p, .legal address { color: var(--ink-soft); max-width: 64ch; margin-bottom: 1rem; font-style: normal; line-height: 1.75; }

/* ---------- Fußzeile ---------- */
footer.site { background: var(--steel-deep); color: rgba(232, 239, 244, .78); }
.foot-brand {
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(2.1rem, 6.5vw, 4.6rem); font-weight: 400; line-height: 1.06;
  color: #f2f6f9; letter-spacing: -.01em;
  padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(1.8rem, 3.5vw, 2.8rem);
}
.foot-brand em { font-style: italic; color: var(--steel-bright); }
.foot-row {
  display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  font-size: .85rem; padding-bottom: 1.8rem; border-top: 1px solid rgba(232, 239, 244, .16);
  padding-top: 1.6rem;
}
.foot-row a { color: rgba(232, 239, 244, .78); text-decoration: none; border-bottom: 1px solid rgba(232, 239, 244, .35); }
.foot-row a:hover { color: #f2f6f9; border-bottom-color: var(--steel-bright); }
.footnote { font-size: .78rem; color: rgba(232, 239, 244, .5); max-width: 76ch; padding-bottom: 2.4rem; line-height: 1.7; }

/* ---------- Erscheinen beim Scrollen ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 3rem; }
  .hero .frame-wrap { max-width: 26rem; }
  .edit { grid-template-columns: 1fr; gap: 1.6rem; }
  .edit .side { position: static; }
  .tafel, .tafel.flip { grid-template-columns: 1fr; gap: 2.5rem; }
  .tafel .frame-wrap { max-width: 24rem; }
  .cards { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .factline .wrap { grid-template-columns: 1fr; }
  .factline .fact { border-left: 0; padding: 1.3rem 0; border-top: 1px solid var(--line); }
  .factline .fact:first-child { border-top: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-in { flex-direction: column; align-items: flex-start; gap: .8rem; padding-block: .9rem; }
  nav.main {
    gap: .55rem 1.15rem; flex-wrap: wrap; width: 100%;
  }
  nav.main a { font-size: .82rem; }
  .steps li { padding-left: 3.8rem; }
  .steps li::before { font-size: 1.9rem; }
  .crisis li { grid-template-columns: 1fr; gap: .25rem; }
  .frame-wrap::before { transform: translate(10px, 10px); }
}
