/* ============================================================
   Praxis Bettina Gotthardt, Bonn — Entwurf
   Konzept „Tiefe mit Bodenkontakt"
   Dunkle Basis (Waldgrün/Nachtblau), Papier, Moos-Akzent.
   Linien statt Karten, langes ruhiges Lesemaß.
   Fonts: Lora (Display + Fließtext), Karla (Meta-Labels).
   ============================================================ */

:root {
  --forest: #12271f;
  --night: #0d1b2a;
  --paper: #f2efe7;
  --moss: #93a98c;
  --moss-deep: #5c7057;
  --ink: #1e2c26;
  --ink-soft: #4f6058;
  --line: rgba(18, 39, 31, .22);
  --line-dark: rgba(242, 239, 231, .18);
  --paper-dim: rgba(242, 239, 231, .76);
  --paper-faint: rgba(242, 239, 231, .52);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Karla", system-ui, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.8 var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--moss); color: var(--night); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

/* ---------- Kopfzeile ---------- */
header.site {
  background: var(--forest);
  border-bottom: 1px solid var(--line-dark);
  position: sticky; top: 0; z-index: 30;
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: 1.05rem clamp(1.25rem, 4vw, 3rem);
}
.brand { text-decoration: none; color: var(--paper); }
.brand .name {
  font-family: var(--serif); font-size: 1.28rem; font-weight: 500;
  display: block; line-height: 1.25; letter-spacing: .01em;
}
.brand .sub {
  display: block; font-family: var(--sans); font-size: .64rem;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--paper-faint); margin-top: .15rem;
}
nav.main { display: flex; gap: 1.6rem; flex-wrap: wrap; }
nav.main a {
  font-family: var(--sans); font-size: .74rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--paper-dim); text-decoration: none;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
}
nav.main a:hover { color: var(--paper); border-bottom-color: var(--moss); }
nav.main a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--moss); }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; min-height: 94vh;
  display: flex; align-items: flex-end;
  background: var(--night); color: var(--paper);
  isolation: isolate;
}
.hero .bg { position: absolute; inset: 0; z-index: -1; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(13, 27, 42, .62) 0%, rgba(13, 27, 42, .18) 52%, rgba(13, 27, 42, 0) 72%),
    linear-gradient(to top,
      rgba(13, 27, 42, .92) 0%,
      rgba(13, 27, 42, .55) 38%,
      rgba(13, 27, 42, .18) 62%,
      rgba(13, 27, 42, .28) 100%);
}
.hero .eyebrow, .hero h1, .hero .lead, .hero .actions {
  text-shadow: 0 1px 22px rgba(13, 27, 42, .5);
}
.hero .wrap {
  width: 100%;
  padding-top: 7rem;
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
}
.hero-grid {
  display: grid; grid-template-columns: 1px 1fr;
  gap: clamp(1.6rem, 4vw, 3.2rem); align-items: stretch;
}
.hero-grid .rule { background: var(--moss); opacity: .85; }
.eyebrow {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--moss-deep);
}
.hero .eyebrow, .pagehead .eyebrow, section.dark .eyebrow { color: var(--moss); }
.hero .eyebrow { color: #bccbb1; text-shadow: 0 1px 14px rgba(13, 27, 42, .85); }
.hero h1 {
  font-weight: 500;
  font-size: clamp(2.7rem, 6.6vw, 5.1rem);
  line-height: 1.08; letter-spacing: 0;
  max-width: 15ch;
  margin: 1.5rem 0 1.7rem;
  text-wrap: balance;
}
.hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.75;
  color: var(--paper-dim); max-width: 46ch;
}
.hero .actions { margin-top: 2.8rem; display: flex; gap: 2.2rem; flex-wrap: wrap; align-items: baseline; }

a.link-quiet {
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--moss-deep); padding-bottom: 4px;
}
a.link-quiet:hover { color: var(--moss-deep); }
.hero a.link-quiet, section.dark a.link-quiet, footer.site a.link-quiet {
  color: var(--paper); border-bottom-color: var(--moss);
}
.hero a.link-quiet:hover, section.dark a.link-quiet:hover, footer.site a.link-quiet:hover { color: var(--moss); }
a.link-quiet .tel { font-family: var(--serif); text-transform: none; letter-spacing: .03em; font-size: .95rem; }

/* ---------- Seitenkopf Unterseiten ---------- */
.pagehead {
  background: var(--forest); color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.pagehead .wrap {
  padding-top: clamp(5rem, 10vw, 8rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  display: grid; grid-template-columns: 1px 1fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
}
.pagehead .rule { background: var(--moss); opacity: .85; }
.pagehead h1 {
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.1; max-width: 20ch;
  margin: 1.4rem 0 1.4rem; text-wrap: balance;
}
.pagehead .lead { color: var(--paper-dim); max-width: 52ch; font-size: 1.1rem; }

/* ---------- Faktenband ---------- */
.band { background: var(--paper); border-bottom: 1px solid var(--line); }
.band .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.band .fact {
  padding: 2.4rem 2.4rem 2.6rem;
  border-left: 1px solid var(--line);
  font-size: .98rem; line-height: 1.7; color: var(--ink-soft);
}
.band .fact:first-child { border-left: 0; padding-left: 0; }
.band .fact strong {
  display: block; color: var(--ink); font-weight: 500;
  font-size: 1.42rem; line-height: 1.25; margin-bottom: .5rem;
}

/* ---------- Abschnitte ---------- */
section.block { padding: clamp(6rem, 11vw, 9.5rem) 0; }
section.block + section.block.paper { border-top: 1px solid var(--line); }
section.paper { background: var(--paper); color: var(--ink); }
section.dark { background: var(--night); color: var(--paper); }
section.dark.forest { background: var(--forest); }

.chapter {
  display: flex; align-items: baseline; gap: 1.4rem;
  border-top: 1px solid var(--line); padding-top: 1.1rem;
  margin-bottom: clamp(2.8rem, 6vw, 4.5rem);
}
section.dark .chapter { border-top-color: var(--line-dark); }
.chapter .no {
  font-family: var(--sans); font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; color: var(--moss-deep);
}
section.dark .chapter .no { color: var(--moss); }
.chapter .label {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-soft);
}
section.dark .chapter .label { color: var(--paper-dim); }

h2 {
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.14; letter-spacing: 0;
  max-width: 24ch; margin-bottom: 2rem;
  text-wrap: balance;
}
h3 { font-size: 1.42rem; font-weight: 500; line-height: 1.3; margin-bottom: .7rem; }

.prose { max-width: 62ch; color: var(--ink-soft); }
.prose p { margin-bottom: 1.3rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 500; }
section.dark .prose { color: var(--paper-dim); }
section.dark .prose strong { color: var(--paper); }

.more { display: inline-block; margin-top: 2.4rem; }

/* Editorial-Raster: Label-Spalte + vertikale Führungslinie + Inhalt */
.lay { display: grid; grid-template-columns: minmax(11rem, 15rem) 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.lay .side { position: sticky; top: 7.5rem; }
.lay .side .eyebrow { display: block; margin-bottom: 1rem; }
.lay .body { border-left: 1px solid var(--line); padding-left: clamp(2rem, 5vw, 5rem); }
section.dark .lay .body { border-left-color: var(--line-dark); }

/* ---------- Zeilen-Liste (Linien statt Karten) ---------- */
.rows { list-style: none; }
.rows li {
  display: grid; grid-template-columns: minmax(13rem, 19rem) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 2.2rem 0; border-top: 1px solid var(--line);
}
.rows li:last-child { border-bottom: 1px solid var(--line); }
section.dark .rows li { border-top-color: var(--line-dark); }
section.dark .rows li:last-child { border-bottom-color: var(--line-dark); }
.rows .t { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 500; line-height: 1.25; }
.rows .d { color: var(--ink-soft); max-width: 56ch; line-height: 1.8; }
section.dark .rows .d { color: var(--paper-dim); }
.rows .d p { margin-bottom: .9rem; }
.rows .d p:last-child { margin-bottom: 0; }

/* ---------- Bildtafel ---------- */
.plate { position: relative; isolation: isolate; min-height: 72vh; display: flex; align-items: flex-end; background: var(--night); color: var(--paper); }
.plate .bg { position: absolute; inset: 0; z-index: -1; }
.plate .bg img { width: 100%; height: 100%; object-fit: cover; }
.plate .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13, 27, 42, .78), rgba(13, 27, 42, .06) 55%);
}
.plate .wrap { width: 100%; padding-bottom: clamp(2.8rem, 6vh, 4.5rem); }
.plate .cap {
  font-size: clamp(1.5rem, 2.9vw, 2.35rem); font-weight: 500;
  line-height: 1.25; max-width: 24ch;
  text-shadow: 0 1px 24px rgba(13, 27, 42, .6);
}
.plate .cap small {
  display: block; font-family: var(--sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--moss); margin-bottom: 1rem; text-shadow: none;
}

/* ---------- Split mit Bild ---------- */
.split { display: grid; grid-template-columns: minmax(17rem, 26rem) 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.split figure { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.split figure img { width: 100%; height: auto; }
.split figcaption {
  font-family: var(--sans); font-size: .74rem; letter-spacing: .08em;
  color: var(--ink-soft); margin-top: .9rem;
}
.split .text { border-left: 1px solid var(--line); padding-left: clamp(2rem, 5vw, 5rem); }
.split.flip { grid-template-columns: 1fr minmax(17rem, 26rem); }
.split.flip figure { order: 2; }
.split.flip .text { order: 1; border-left: 0; border-right: 1px solid var(--line); padding-left: 0; padding-right: clamp(2rem, 5vw, 5rem); }

/* ---------- Statement ---------- */
.statement {
  font-weight: 500;
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  line-height: 1.25; max-width: 26ch;
}

/* ---------- Kontakt ---------- */
.phone-big {
  font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 500;
  display: inline-block; margin: .6rem 0 1.8rem; text-decoration: none;
  line-height: 1.1; border-bottom: 1px solid var(--moss);
}
.phone-big:hover { color: var(--moss); }
address.addr { font-style: normal; line-height: 1.9; }
address.addr strong { font-weight: 500; }
.addr a { text-decoration: none; border-bottom: 1px solid var(--line); }
section.dark .addr a { border-bottom-color: var(--line-dark); }
.addr a:hover { border-bottom-color: var(--moss); }

/* ---------- Krisenblock ---------- */
.crisis { margin-top: clamp(3rem, 6vw, 4.5rem); }
.crisis .crisis-head { border-top: 1px solid var(--line-dark); padding-top: 1.1rem; margin-bottom: 2.4rem; }
.crisis h2, .crisis h3.crisis-title { max-width: none; margin-bottom: .8rem; }
.crisis .note { color: var(--paper-dim); max-width: 58ch; }
.crisis ul { list-style: none; }
.crisis li {
  display: grid; grid-template-columns: minmax(13rem, 19rem) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 1.6rem 0; border-top: 1px solid var(--line-dark);
  align-items: baseline;
}
.crisis li:last-child { border-bottom: 1px solid var(--line-dark); }
.crisis .who { font-size: 1.25rem; font-weight: 500; }
.crisis .num {
  font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500;
  text-decoration: none; border-bottom: 1px solid var(--moss); line-height: 1.2;
  justify-self: start;
}
.crisis .num:hover { color: var(--moss); }
.crisis .what { font-family: var(--sans); font-size: .88rem; color: var(--paper-dim); margin-top: .4rem; letter-spacing: .04em; }

/* ---------- Hinweis / Fußnote ---------- */
.hint {
  font-family: var(--sans); font-size: .85rem; line-height: 1.7;
  color: var(--ink-soft); max-width: 62ch;
  border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: 3rem;
}
section.dark .hint { color: var(--paper-faint); border-top-color: var(--line-dark); }
sup.star { color: var(--moss-deep); font-family: var(--sans); font-weight: 700; }
section.dark sup.star { color: var(--moss); }

/* ---------- Rechtsseiten ---------- */
.legal { padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(6rem, 10vw, 8rem); }
.legal h2 { font-size: 1.55rem; margin: 3rem 0 1rem; max-width: none; }
.legal p, .legal address { color: var(--ink-soft); max-width: 62ch; margin-bottom: 1.1rem; font-style: normal; line-height: 1.8; }
.legal strong { color: var(--ink); font-weight: 500; }

/* ---------- Fußzeile ---------- */
footer.site { background: var(--night); color: var(--paper-dim); border-top: 1px solid var(--line-dark); }
.foot-brand {
  font-size: clamp(2rem, 6vw, 4.4rem); font-weight: 500; line-height: 1.1;
  color: rgba(242, 239, 231, .92);
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
}
.foot-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line-dark); padding: 2.2rem 0;
}
.foot-grid .fh {
  font-family: var(--sans); font-size: .68rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--moss); margin-bottom: 1rem;
}
.foot-grid p, .foot-grid address { font-size: .95rem; line-height: 1.8; font-style: normal; color: var(--paper-dim); }
.foot-grid a { color: var(--paper); text-decoration: none; border-bottom: 1px solid transparent; }
.foot-grid a:hover { border-bottom-color: var(--moss); }
.foot-legal {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark); padding: 1.4rem 0;
  font-family: var(--sans); font-size: .82rem; letter-spacing: .05em;
}
.foot-legal a { color: var(--paper-dim); text-decoration: none; border-bottom: 1px solid var(--line-dark); padding-bottom: 2px; }
.foot-legal a:hover { color: var(--paper); border-bottom-color: var(--moss); }
.footnote {
  font-family: var(--sans); font-size: .78rem; line-height: 1.7;
  color: var(--paper-faint); max-width: 78ch;
  padding-bottom: 2.4rem;
}

/* ---------- Erscheinen beim Scrollen ---------- */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s 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; }
}

/* ---------- Fokus ---------- */
a:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .lay { grid-template-columns: 1fr; gap: 1.6rem; }
  .lay .side { position: static; }
  .lay .body { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 2rem; }
  section.dark .lay .body { border-top-color: var(--line-dark); }
  .split, .split.flip { grid-template-columns: 1fr; }
  .split .text, .split.flip .text { border: 0; padding: 0; }
  .split.flip figure { order: 0; }
  .split figure { max-width: 26rem; }
  .band .wrap { grid-template-columns: 1fr; }
  .band .fact { border-left: 0; padding: 1.6rem 0; border-top: 1px solid var(--line); }
  .band .fact:first-child { border-top: 0; }
  .rows li, .crisis li { grid-template-columns: 1fr; gap: .5rem; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 720px) {
  .header-in { flex-direction: column; align-items: flex-start; gap: .9rem; padding: 1rem clamp(1.25rem, 4vw, 3rem) 1.1rem; }
  nav.main { gap: 1.1rem; }
  nav.main a { font-size: .68rem; }
  .hero { min-height: 84vh; }
  .hero-grid, .pagehead .wrap { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero-grid .rule, .pagehead .rule { width: 100%; height: 1px; }
  .hero .actions { gap: 1.4rem; flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   CRAFT-LAYER (design-craft.md, auto-rollup)
   ============================================================ */

::selection { background: #12271f; color: #f2efe7; }

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: #12271f; color: #f2efe7;
  overflow: hidden; white-space: nowrap; padding: 0.8rem 0;
}
.ticker-inhalt {
  display: inline-block; animation: lauf 30s linear infinite;
  font-family: var; 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: var; font-size: 8.4px;
  letter-spacing: 0.3em; text-transform: uppercase; fill: #f2efe7;
}
.badge circle { fill: #12271f; }
@keyframes drehen { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .badge { animation: none; } }

/* Craft: Riesiges CTA */
.cta-riesig {
  background: #12271f; color: #f2efe7;
  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: var; 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: #f2efe7;
}
.cta-riesig h2 em { font-style: italic; font-weight: 400; opacity: 0.75; }
.cta-telefon {
  font-family: var; font-weight: 600;
  font-size: clamp(1.5rem, 4.2vw, 3rem);
  display: inline-block; border-bottom: 3px solid #f2efe7;
  padding-bottom: 0.25rem; color: #f2efe7;
}
.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;
}
