/* ============================================================
   Alexander Rausch M. A., Mettlach — Entwurf (300-Sites)
   Leitmotiv: „Belegt, was zählt."
   Welt: Ivory + tiefes Waldgrün-Ink + Messing.
   Kit: Kapitelmarker mit großen Serif-Ziffern (System-Serif,
   lokal — keine externen Dienste). Fließtext: Instrument Sans.
   ============================================================ */

:root {
  --ivory: #f2eee1;
  --paper: #faf7ec;
  --ink: #1d3a2b;
  --deep: #122619;
  --ink-soft: #49614f;
  --brass: #96742a;
  --brass-strong: #75591c;
  --brass-soft: #c6a662;
  --brass-tint: #e9e0c9;
  --line: #d8cfb6;
  --line-dark: rgba(242, 238, 225, .16);
  --ivory-dim: rgba(242, 238, 225, .74);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--ink);
  font: 400 1.05rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--brass-strong); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3.5rem); }

/* ---------- Kopf: hell, ruhig, Haarlinie ---------- */
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: rgba(242, 238, 225, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.head-in {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 2rem; padding: 1.05rem 0 .95rem;
}
.brand { text-decoration: none; color: var(--ink); line-height: 1.25; }
.brand .b-name { display: block; font-weight: 600; font-size: 1.06rem; letter-spacing: .01em; }
.brand .b-sub {
  display: block; font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: .12rem;
}
.nav-main { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.nav-main a {
  color: var(--ink-soft); text-decoration: none; font-size: .9rem;
  padding-bottom: 3px; border-bottom: 2px solid transparent;
}
.nav-main a:hover { color: var(--ink); border-bottom-color: var(--brass-soft); }
.nav-main a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brass); font-weight: 500; }

/* ---------- Bühne: Headline daneben, Bild gerahmt ---------- */
.hero { padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(2.2rem, 5vw, 4rem); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.eyebrow {
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--brass-strong); font-weight: 600;
}
.eyebrow .dot { color: var(--brass); }
.hero h1 {
  font-weight: 600;
  font-size: clamp(2.7rem, 5.6vw, 4.5rem);
  line-height: 1.04; letter-spacing: -.022em;
  margin: 1.3rem 0 1.4rem; max-width: 13ch;
}
.hero h1 .thin { font-weight: 400; color: var(--ink-soft); }
.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem); line-height: 1.65;
  color: var(--ink-soft); max-width: 46ch;
}
.lead strong { color: var(--ink); font-weight: 600; }
.actions { margin-top: 2.2rem; display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
a.btn-solid {
  display: inline-block; text-decoration: none;
  background: var(--ink); color: var(--ivory);
  padding: .95rem 1.9rem; font-size: .92rem; font-weight: 600; letter-spacing: .03em;
  border: 1px solid var(--ink);
}
a.btn-solid:hover { background: var(--deep); border-color: var(--deep); }
a.btn-line {
  display: inline-block; text-decoration: none; color: var(--ink);
  padding: .95rem 0; font-size: .92rem; font-weight: 500;
  border-bottom: 1px solid var(--brass);
}
a.btn-line:hover { color: var(--brass-strong); }

/* Gerahmtes Bild: Paper-Matte, Ink-Kante, versetzte Messing-Linie */
.frame {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: clamp(.7rem, 1.4vw, 1.1rem);
}
.frame::before {
  content: ""; position: absolute; inset: 0;
  transform: translate(12px, 12px);
  border: 1px solid var(--brass);
  z-index: -1;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.hero-frame { aspect-ratio: 5 / 4.4; }
.frame .cap-under {
  font-size: .78rem; color: var(--ink-soft);
  padding: .75rem .2rem 0; letter-spacing: .02em;
}

/* ---------- Beleg-Leiste ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.facts .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem); padding-top: 1.8rem; padding-bottom: 1.8rem;
}
.fact { padding-left: 1.2rem; border-left: 2px solid var(--brass); }
.fact .f-label {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass-strong); font-weight: 600;
}
.fact .f-value { font-weight: 600; font-size: 1.06rem; margin: .35rem 0 .3rem; }
.fact .f-src { font-size: .8rem; color: var(--ink-soft); }

/* ---------- Kapitel mit großen Serif-Ziffern ---------- */
.chapter { padding: clamp(3.6rem, 8vw, 6.5rem) 0; }
.chapter + .chapter { border-top: 1px solid var(--line); }
.chapter-head {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(1.4rem, 3.5vw, 3rem); align-items: start;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.chap-num {
  font-family: var(--serif);
  font-size: clamp(5.2rem, 10vw, 8.5rem);
  line-height: .82; color: var(--brass);
  font-weight: 400;
  transform: translateY(-.06em);
}
.chapter-head .ch-kicker {
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--brass-strong); font-weight: 600; margin-bottom: .7rem;
}
h2 {
  font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.12; letter-spacing: -.015em; max-width: 24ch;
}
h3 { font-weight: 600; font-size: 1.25rem; margin-bottom: .55rem; letter-spacing: -.01em; }
.prose { max-width: 62ch; color: var(--ink-soft); }
.prose p { margin-bottom: 1.05rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { text-decoration-color: var(--brass-soft); text-underline-offset: 3px; }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4.5vw, 4rem); }
.cols-2 > div { border-top: 2px solid var(--brass); padding-top: 1.4rem; }

/* Schrittliste: Serif-Ziffer groß, Messing */
.steps { list-style: none; counter-reset: schritt; margin-top: .6rem; }
.steps li {
  counter-increment: schritt;
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 3vw, 2.4rem); align-items: baseline;
  padding: 1.5rem 0; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(schritt);
  font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1; color: var(--brass); min-width: 2.2ch; text-align: right;
}
.steps .s-t { font-weight: 600; font-size: 1.15rem; display: block; margin-bottom: .25rem; }
.steps .s-d { color: var(--ink-soft); max-width: 58ch; }

/* ---------- Gerahmte Bildtafel (Inset, nicht vollflächig) ---------- */
.plate { padding: clamp(3.6rem, 8vw, 6.5rem) 0; }
.plate .frame { max-width: 1000px; margin: 0 auto; aspect-ratio: 16 / 8; }
.plate .frame img { filter: saturate(.92); }

/* ---------- Dunkle Bande: Kontakt ---------- */
.band-dark { background: var(--deep); color: var(--ivory); padding: clamp(3.8rem, 8vw, 6.5rem) 0; }
.band-dark .ch-kicker { color: var(--brass-soft); }
.band-dark h2 { color: var(--ivory); }
.band-dark .prose { color: var(--ivory-dim); }
.contact-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.phone-hero {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05;
  color: var(--ivory); text-decoration: none;
  display: inline-block; margin: .5rem 0 1.3rem;
  border-bottom: 2px solid var(--brass);
}
.phone-hero:hover { color: var(--brass-soft); }
.addr { font-style: normal; line-height: 1.85; color: var(--ivory-dim); }
.addr strong { color: var(--ivory); font-weight: 600; }
.band-dark .note { font-size: .9rem; color: var(--ivory-dim); max-width: 56ch; margin-top: 1.4rem; }

.crisis-box {
  border: 1px solid var(--line-dark); border-left: 3px solid var(--brass);
  padding: 1.4rem 1.6rem; margin-top: 2rem;
}
.crisis-box h3 { color: var(--ivory); font-size: 1.05rem; margin-bottom: .6rem; }
.crisis-box p { font-size: .92rem; color: var(--ivory-dim); margin-bottom: .5rem; }
.crisis-box a { color: var(--ivory); text-decoration-color: var(--brass-soft); text-underline-offset: 3px; }

/* ---------- Helle Hinweis-Kästen auf Unterseiten ---------- */
.note-box {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  padding: 1.3rem 1.5rem; max-width: 62ch;
}
.note-box p { color: var(--ink-soft); font-size: .95rem; margin-bottom: .5rem; }
.note-box p:last-child { margin-bottom: 0; }
.note-box strong { color: var(--ink); }

/* ---------- Seitenkopf Unterseiten ---------- */
.page-head { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head h1 {
  font-weight: 600; font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.06; letter-spacing: -.02em; max-width: 20ch;
  margin: 1.1rem 0 1.2rem;
}
.page-head .lead { max-width: 56ch; }
.page-head.with-num { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem, 3.5vw, 3rem); align-items: start; }

/* ---------- Definitionsliste Fakten ---------- */
.dl-facts { border-top: 1px solid var(--line); }
.dl-facts > div {
  display: grid; grid-template-columns: minmax(10rem, 15rem) 1fr;
  gap: 1.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.dl-facts dt {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass-strong); font-weight: 600; padding-top: .2rem;
}
.dl-facts dd { color: var(--ink-soft); max-width: 60ch; }
.dl-facts dd strong { color: var(--ink); font-weight: 600; }

/* ---------- Rechtsseiten ---------- */
.legal { padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.legal h2 { font-size: 1.5rem; margin: 2.4rem 0 .8rem; max-width: none; }
.legal p, .legal address { color: var(--ink-soft); max-width: 64ch; margin-bottom: 1rem; font-style: normal; }
.legal strong { color: var(--ink); }
.legal .todo { color: var(--brass-strong); font-weight: 500; }

/* ---------- Helle Großnummer + heller Krisenblock (Kontaktseite) ---------- */
.phone-big {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08;
  color: var(--ink); text-decoration: none;
  display: inline-block; margin: .4rem 0 1rem;
  border-bottom: 2px solid var(--brass);
}
.phone-big:hover { color: var(--brass-strong); }
.crisis-light {
  border: 1px solid var(--line); border-left: 3px solid var(--brass-strong);
  background: var(--paper); padding: clamp(1.4rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.2rem);
}
.crisis-light h3 { margin-bottom: .5rem; }
.crisis-light p { color: var(--ink-soft); font-size: .98rem; margin-bottom: .8rem; max-width: 62ch; }
.crisis-light .c-nums {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  margin-top: 1.1rem;
}
.crisis-light .c-nums a {
  font-family: var(--serif); font-size: 1.5rem; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--brass);
}
.crisis-light .c-nums a:hover { color: var(--brass-strong); }
.crisis-light .c-nums span { display: block; font-size: .8rem; color: var(--ink-soft); margin-top: .25rem; }

/* ---------- Fußzeile: hell, dreispaltig ---------- */
.site-foot { border-top: 2px solid var(--brass); background: var(--paper); }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); padding: 2.8rem 0 2.2rem;
}
.foot-grid h4 {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass-strong); font-weight: 600; margin-bottom: .8rem;
}
.foot-grid p, .foot-grid address { font-size: .9rem; color: var(--ink-soft); font-style: normal; line-height: 1.75; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: .35rem; }
.foot-grid a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.foot-grid a:hover { border-bottom-color: var(--brass); }
.foot-brand { font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-bottom: .3rem; }
.foot-legal {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem; font-size: .8rem; color: var(--ink-soft);
}
.foot-legal .star { display: block; max-width: 80ch; margin-top: .4rem; }

/* ---------- Reveal (Mechanik, unsichtbar) ---------- */
html.js .reveal { opacity: 0; transform: translateY(20px); 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: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .frame.hero-frame { aspect-ratio: 16 / 10; }
  .facts .wrap { grid-template-columns: 1fr; gap: 1.2rem; }
  .cols-2 { grid-template-columns: 1fr; }
  .contact-cols { grid-template-columns: 1fr; }
  .crisis-light .c-nums { grid-template-columns: 1fr; gap: .9rem; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .dl-facts > div { grid-template-columns: 1fr; gap: .3rem; }
  .page-head.with-num { grid-template-columns: 1fr; }
  .page-head.with-num .chap-num { font-size: 4.2rem; }
}
@media (max-width: 640px) {
  .head-in { flex-direction: column; align-items: flex-start; gap: .7rem; padding: .9rem 0; }
  .nav-main { gap: 1.1rem; }
  .nav-main a { font-size: .85rem; }
  .chapter-head { grid-template-columns: 1fr; gap: .8rem; }
  .chap-num { font-size: 4.4rem; transform: none; }
  .steps li { grid-template-columns: auto 1fr; gap: 1rem; }
  .steps li::before { font-size: 2.1rem; }
}


/* ============================================================
   CRAFT-LAYER (design-craft.md, auto-rollup)
   ============================================================ */

::selection { background: #faf7ec; color: #f2eee1; }

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: #faf7ec; color: #f2eee1;
  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: #f2eee1;
}
.badge circle { fill: #faf7ec; }
@keyframes drehen { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .badge { animation: none; } }

/* Craft: Riesiges CTA */
.cta-riesig {
  background: #faf7ec; color: #f2eee1;
  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: #f2eee1;
}
.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 #f2eee1;
  padding-bottom: 0.25rem; color: #f2eee1;
}
.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;
}
