/* ============================================================
   Praxis Bernadette Haase, München — Entwurf
   Konzept „Stille statt Fülle": radikale Reduktion.
   Ein Akzent (Petrol), Haarlinien als einzige Trenner,
   keine Karten, keine Schatten. Eine Schriftfamilie.
   ============================================================ */

:root {
  --paper: #fafaf7;
  --ink: #1a1a1a;
  --body: rgba(26, 26, 26, .80);
  --muted: rgba(26, 26, 26, .62);
  --faint: rgba(26, 26, 26, .50);
  --accent: #0e6666;
  --line: rgba(26, 26, 26, .15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.7 "Instrument Sans", system-ui, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Kopf ---------- */
header.site { border-bottom: 1px solid var(--line); }
.header-in {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem 2rem; padding: 1.5rem 0; flex-wrap: wrap;
}
.brand { color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .name { display: block; font-weight: 500; font-size: .98rem; letter-spacing: .01em; }
.brand .role { display: block; font-size: .72rem; color: var(--faint); letter-spacing: .04em; margin-top: .15rem; }

nav.main { display: flex; gap: 1.6rem; flex-wrap: wrap; }
nav.main a {
  color: var(--muted); font-size: .85rem; text-decoration: none;
  padding-bottom: 2px; border-bottom: 1px solid transparent;
}
nav.main a:hover { color: var(--ink); border-bottom-color: var(--ink); }
nav.main a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- Seitenkopf / Hero (typografisch, kein Bild) ---------- */
.hero { padding: clamp(6rem, 17vh, 10.5rem) 0 clamp(4rem, 9vh, 6.5rem); }
.page-head { padding: clamp(4.5rem, 12vh, 8rem) 0 clamp(3rem, 7vh, 4.5rem); }

.eyebrow {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--faint); font-weight: 500;
}
.hero .rule, .page-head .rule {
  width: 2.75rem; height: 1px; background: var(--accent);
  margin-top: 1.6rem;
}
h1 {
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.07; letter-spacing: -.022em;
  max-width: 16ch;
  margin: 1.5rem 0 1.6rem;
}
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.65; max-width: 44ch; }

.hero .actions { margin-top: 2.8rem; display: flex; gap: 2rem; align-items: baseline; flex-wrap: wrap; }
.hero .actions .tel { font-weight: 500; font-size: 1.15rem; letter-spacing: .01em; }

/* ---------- Abschnitte: Haarlinie als einziger Trenner ---------- */
section.block { padding: clamp(3.5rem, 8vh, 6rem) 0; }
section.block + section.block, section.block.lined { border-top: 1px solid var(--line); }

.label {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--faint); font-weight: 500; margin-bottom: 1.4rem;
}
h2 {
  font-weight: 500; font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.2; letter-spacing: -.01em; max-width: 30ch;
  margin-bottom: 1.1rem;
}
.prose { max-width: 58ch; color: var(--body); }
.prose p + p { margin-top: 1rem; }
.prose strong { color: var(--ink); font-weight: 500; }
.intro { max-width: 52ch; color: var(--muted); margin-bottom: 2.8rem; }

/* ---------- Fakten-Zeilen (Listen mit Haarlinien) ---------- */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: minmax(9rem, 12rem) 1fr;
  gap: 1rem 2.5rem; padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}
.row .k { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 500; padding-top: .3rem; }
.row .v { color: var(--body); max-width: 56ch; }
.row .v strong { color: var(--ink); font-weight: 500; }

/* ---------- Bildband ---------- */
.band { padding: clamp(3rem, 8vh, 5.5rem) 0; }
.band img { width: 100%; }

/* ---------- Kontakt ---------- */
.tel-big {
  display: inline-block;
  font-weight: 500; font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  letter-spacing: -.01em; line-height: 1.1;
  margin: .6rem 0 1rem;
}
.tel-note { color: var(--muted); max-width: 50ch; }

.crisis {
  border-top: 1px solid var(--line);
  padding-top: 2.2rem; margin-top: clamp(3.5rem, 8vh, 6rem);
}
.crisis p { color: var(--body); max-width: 58ch; font-size: .95rem; }
.crisis p + p { margin-top: .8rem; }
.crisis .numbers { margin-top: 1.2rem; }
.crisis .numbers strong { color: var(--ink); font-weight: 500; }

/* ---------- Rechtsseiten ---------- */
.legal { padding-bottom: clamp(4rem, 9vh, 6rem); }
.legal h2 { font-size: 1.15rem; margin: 2.6rem 0 .7rem; letter-spacing: 0; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal address {
  color: var(--body); max-width: 60ch; font-style: normal; line-height: 1.8;
}
.legal p + p, .legal address + p { margin-top: .9rem; }

/* ---------- Fußzeile ---------- */
footer.site { border-top: 1px solid var(--line); }
.foot-in { padding: 2.2rem 0 2.4rem; }
.foot-row {
  display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  font-size: .84rem; color: var(--muted);
}
.foot-row nav { display: flex; gap: 1.4rem; }
.foot-row a { color: var(--muted); font-size: .84rem; }
.foot-row a:hover { color: var(--accent); }
.footnote { margin-top: 1.6rem; font-size: .78rem; color: var(--faint); max-width: 72ch; }

/* ---------- Erscheinen beim Scrollen (sehr dezent, nur mit JS) ---------- */
html.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .9s ease, transform .9s 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: 640px) {
  .header-in { flex-direction: column; align-items: flex-start; gap: .9rem; padding: 1.2rem 0; }
  nav.main { gap: 1.1rem; }
  nav.main a { font-size: .82rem; }
  .hero { padding: 4.5rem 0 3.5rem; }
  .page-head { padding: 3.5rem 0 2.5rem; }
  .hero .actions { margin-top: 2.2rem; gap: 1.2rem; }
  .row { grid-template-columns: 1fr; gap: .35rem; padding: 1.4rem 0; }
  .row .k { padding-top: 0; }
}


/* ============================================================
   CRAFT-LAYER (design-craft.md, auto-rollup)
   ============================================================ */

::selection { background: #0e6666; color: #fafaf7; }

body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200;
  opacity: 0.5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='khn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23khn)'/%3E%3C/svg%3E");
}

/* Craft: Sektionsluft */
section, .section, .content-section, .kapitel, .abschnitt, .sektion {
  padding-top: clamp(4rem, 9vw, 8rem) !important;
  padding-bottom: clamp(4rem, 9vw, 8rem) !important;
}

/* Craft: Ticker */
.ticker {
  background: #0e6666; color: #fafaf7;
  overflow: hidden; white-space: nowrap; padding: 0.8rem 0;
}
.ticker-inhalt {
  display: inline-block; animation: lauf 30s linear infinite;
  font-family: Georgia, serif; font-size: 0.95rem; letter-spacing: 0.06em;
}
.ticker-inhalt span { margin: 0 1.6rem; }
.ticker-inhalt .stern { opacity: 0.55; }
@keyframes lauf { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-inhalt { animation: none; } }

/* Craft: Badge */
.badge {
  position: absolute; z-index: 5;
  right: clamp(0.5rem, 4vw, 3rem); bottom: 1.2rem;
  width: clamp(118px, 12.5vw, 152px); height: clamp(118px, 12.5vw, 152px);
  animation: drehen 26s linear infinite;
}
.badge text {
  font-family: Georgia, serif; font-size: 8.4px;
  letter-spacing: 0.3em; text-transform: uppercase; fill: #fafaf7;
}
.badge circle { fill: #0e6666; }
@keyframes drehen { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .badge { animation: none; } }

/* Craft: Riesiges CTA */
.cta-riesig {
  background: #0e6666; color: #fafaf7;
  padding: clamp(3.2rem, 7.5vw, 6rem) clamp(1.1rem, 4vw, 3rem);
}
.cta-riesig .wrap, .cta-riesig .blatt, .cta-riesig .flaeche, .cta-riesig .inhalt,
.cta-riesig .buch, .cta-riesig .register, .cta-riesig .magazin {
  max-width: 1080px; margin: 0 auto; padding: 0;
}
.cta-riesig h2 {
  font-family: Georgia, serif; font-weight: 600;
  font-size: clamp(2.6rem, 7.5vw, 5.8rem); line-height: 1.02;
  letter-spacing: -0.015em; max-width: 15ch; margin-bottom: 1.6rem;
  color: #fafaf7;
}
.cta-riesig h2 em { font-style: italic; font-weight: 400; opacity: 0.75; }
.cta-telefon {
  font-family: Georgia, serif; font-weight: 600;
  font-size: clamp(1.5rem, 4.2vw, 3rem);
  display: inline-block; border-bottom: 3px solid #fafaf7;
  padding-bottom: 0.25rem; color: #fafaf7;
}
.cta-telefon:hover { opacity: 0.8; }
.cta-zeilen {
  max-width: 720px; margin: 2.4rem 0 0;
  border-top: 1px solid rgba(128,128,128,0.3); padding-top: 1.3rem;
  font-size: 0.87rem; display: grid; gap: 0.4rem;
}
