/* ============================================================
   Alexander Heermann M. A., Northeim — Entwurf
   Welt: Creme + dunkler Umber-Ink + Ocker-Akzent.
   Serif-Display + Sans, weiche Karten mit Radien,
   Hero als volles Bildband mit überlappendem Headline-Block.
   Schriften lokal (assets/fonts), keine externen Dienste.
   ============================================================ */

:root {
  --cream: #f5efe1;
  --sand: #ece1c9;
  --paper: #fdfaf2;
  --ink: #37261a;
  --deep: #221507;
  --soft: #70604c;
  --ochre: #9d6608;
  --ochre-bright: #e0a335;
  --line: rgba(55, 38, 26, .16);
  --radius: 22px;
  --shadow: 0 18px 50px -18px rgba(34, 21, 7, .28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.68 "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

/* ---------- Header ---------- */
header.site {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem 2.5rem; padding: 1rem 0; flex-wrap: wrap;
}
.brand { text-decoration: none; }
.brand .name {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.3rem; line-height: 1.15; display: block;
}
.brand .sub {
  display: block; font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--soft); margin-top: .15rem;
}
nav.main { display: flex; gap: 1.6rem; flex-wrap: wrap; }
nav.main a {
  text-decoration: none; font-size: .92rem; color: var(--soft);
  padding-bottom: 3px; border-bottom: 2px solid transparent;
}
nav.main a:hover { color: var(--ink); }
nav.main a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ochre); font-weight: 500; }

/* ---------- Hero: Bildband + überlappender Block ---------- */
.band {
  position: relative; height: clamp(320px, 58vh, 580px);
  isolation: isolate; overflow: hidden;
}
.band img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(34, 21, 7, .62) 0%, rgba(34, 21, 7, .18) 42%, rgba(34, 21, 7, .10) 68%, rgba(34, 21, 7, .48) 100%);
}
.band .tag {
  position: absolute; z-index: 2; left: 0; right: 0; top: clamp(1.4rem, 3.5vh, 2.4rem);
}
.band .tag span {
  display: inline-block; color: #fdf6e6; font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(34, 21, 7, .7);
}
.hero-card {
  position: relative; z-index: 5;
  margin-top: clamp(-9rem, -12vh, -6rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 4.5vw, 3.6rem);
  max-width: 60rem;
}
.eyebrow {
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ochre); font-weight: 700;
}
h1 {
  font-family: "DM Serif Display", Georgia, serif; font-weight: 400;
  font-size: clamp(2.5rem, 5.6vw, 4.3rem); line-height: 1.06;
  letter-spacing: -.01em; margin: 1.1rem 0 1.3rem; max-width: 16ch;
}
h1 em { font-style: italic; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.62; color: var(--soft); max-width: 52ch; }
.lead strong { color: var(--ink); font-weight: 600; }
.actions { margin-top: 2.1rem; display: flex; gap: 1.1rem 1.6rem; flex-wrap: wrap; align-items: center; }

a.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: .95rem;
  background: var(--ochre); color: #fff8ea;
  padding: .95rem 1.9rem; border-radius: 999px; letter-spacing: .02em;
}
a.btn:hover { background: var(--deep); }
a.btn-ghost {
  display: inline-block; text-decoration: none; font-weight: 500; font-size: .95rem;
  color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  padding: .9rem 1.7rem; background: transparent;
}
a.btn-ghost:hover { border-color: var(--ochre); color: var(--ochre); }

/* ---------- Seitenkopf der Unterseiten ---------- */
.page-head { padding: clamp(3.4rem, 7vw, 5.4rem) 0 clamp(2.4rem, 5vw, 3.6rem); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
.page-head .lead { margin-top: .4rem; }

/* ---------- Hinweis-Kasten ---------- */
.notice {
  background: var(--sand); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.7rem;
  color: var(--soft); font-size: .96rem; max-width: 46rem;
}
.notice strong { color: var(--ink); font-weight: 600; }

/* ---------- Impressum/Datenschutz: Angaben-Zeilen ---------- */
.dl { margin-top: 1.8rem; border-top: 1px solid var(--line); max-width: 46rem; }
.dl > div {
  display: grid; grid-template-columns: 12rem 1fr; gap: .4rem 1.6rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.dl dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre); font-weight: 700; padding-top: .25rem; }
.dl dd { color: var(--soft); line-height: 1.6; }
.dl dd strong { color: var(--ink); font-weight: 600; }
.dl dd a { color: var(--ochre); }

/* ---------- Abschnitte ---------- */
section.block { padding: clamp(4rem, 8vw, 6.5rem) 0; }
section.block.tint { background: var(--sand); }
section.block.tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.sec-label {
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ochre); font-weight: 700; margin-bottom: 1.1rem;
}
h2 {
  font-family: "DM Serif Display", Georgia, serif; font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.1;
  letter-spacing: -.01em; max-width: 24ch; margin-bottom: 1.5rem;
}
h2 em { font-style: italic; }
h3 {
  font-family: "DM Serif Display", Georgia, serif; font-weight: 400;
  font-size: 1.45rem; line-height: 1.2; margin-bottom: .6rem;
}
.prose { max-width: 62ch; color: var(--soft); }
.prose p { margin-bottom: 1.1rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ochre); }
.fn { font-size: .86rem; color: var(--soft); margin-top: 1.6rem; max-width: 62ch; }
.fn::before { content: ""; display: block; width: 3rem; border-top: 1px solid var(--line); margin-bottom: .9rem; }

/* ---------- Fakten-Karten ---------- */
.fact-grid {
  display: grid; gap: 1.2rem; margin-top: 2.6rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.fact {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem 1.6rem 1.9rem;
}
.fact .k {
  display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ochre); font-weight: 700; margin-bottom: .7rem;
}
.fact .v {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.45rem; line-height: 1.18; display: block;
}
.fact .n { display: block; margin-top: .6rem; font-size: .92rem; color: var(--soft); }

/* ---------- Weiche Karten allgemein ---------- */
.cards { display: grid; gap: 1.2rem; margin-top: 2.4rem; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.9rem;
}
.card p { color: var(--soft); font-size: .98rem; margin-top: .4rem; }
.card h3 .star { color: var(--ochre); }
.card .tagline {
  display: inline-block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ochre); font-weight: 700; margin-bottom: .8rem;
}

/* ---------- Schritte ---------- */
.steps { list-style: none; counter-reset: step; margin-top: 2.4rem; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 5rem 1fr; gap: 1.6rem;
  padding: 1.8rem 0; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: "0" counter(step);
  font-family: "DM Serif Display", Georgia, serif; font-style: italic;
  font-size: 2.3rem; color: var(--ochre); line-height: 1.05;
}
.steps .st { font-family: "DM Serif Display", Georgia, serif; font-size: 1.4rem; display: block; margin-bottom: .25rem; }
.steps .sd { color: var(--soft); max-width: 58ch; }

/* ---------- Split mit Bild ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split figure { position: relative; }
.split figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split.rev figure { order: 2; }
.split p { color: var(--soft); margin-bottom: 1rem; }

/* ---------- Bildtafel voll ---------- */
.plate {
  position: relative; isolation: isolate; min-height: 62vh;
  display: flex; align-items: flex-end; color: #fdf6e6; overflow: hidden;
}
.plate img.bg {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
}
.plate::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(34, 21, 7, .78) 0%, rgba(34, 21, 7, .32) 52%, rgba(34, 21, 7, .08) 80%);
}
.plate .wrap { padding-bottom: clamp(2.6rem, 6vh, 4rem); padding-top: 4rem; width: 100%; }
.plate .cap {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.16; max-width: 26ch;
  text-shadow: 0 2px 24px rgba(34, 21, 7, .6);
}
.plate .cap small {
  display: block; font-family: "DM Sans", system-ui, sans-serif;
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; margin-bottom: .9rem; color: var(--ochre-bright);
  text-shadow: 0 1px 12px rgba(34, 21, 7, .6);
}

/* ---------- Statement ---------- */
.statement {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.22;
  max-width: 26ch; letter-spacing: -.01em;
}

/* ---------- Dunkles Band (CTA / Krise) ---------- */
.band-dark {
  background: var(--deep); color: #f3ead6;
  padding: clamp(3.6rem, 7vw, 5.6rem) 0;
}
.band-dark h2 { color: #fdf6e6; max-width: 26ch; }
.band-dark .prose { color: rgba(243, 234, 214, .78); }
.band-dark .prose strong { color: #fdf6e6; }
.band-dark .eyebrow { color: var(--ochre-bright); }
a.btn-light {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: .95rem;
  background: var(--ochre-bright); color: var(--deep);
  padding: .95rem 1.9rem; border-radius: 999px; letter-spacing: .02em;
}
a.btn-light:hover { background: #fdf6e6; }
.band-dark a.btn-ghost { color: #f3ead6; border-color: rgba(243, 234, 214, .35); }
.band-dark a.btn-ghost:hover { border-color: var(--ochre-bright); color: var(--ochre-bright); }

/* ---------- Krisen-Karte ---------- */
.crisis {
  background: var(--deep); color: #f3ead6;
  border-radius: var(--radius); padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}
.crisis h3 { color: #fdf6e6; font-size: 1.6rem; }
.crisis p { color: rgba(243, 234, 214, .82); }
.crisis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.8rem; }
.crisis-item {
  background: rgba(253, 246, 230, .07); border: 1px solid rgba(253, 246, 230, .18);
  border-radius: 16px; padding: 1.3rem 1.2rem;
}
.crisis-item .who { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ochre-bright); font-weight: 700; margin-bottom: .5rem; }
.crisis-item .num {
  display: block; font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.7rem; color: #fdf6e6; text-decoration: none; line-height: 1.15;
}
.crisis-item .num:hover { color: var(--ochre-bright); }
.crisis-item .hint { display: block; font-size: .84rem; color: rgba(243, 234, 214, .7); margin-top: .4rem; }

/* ---------- Kontakt-Karten ---------- */
.kontakt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.kontakt-grid .card p { margin-top: .6rem; }
.big-tel {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.1;
  text-decoration: none; color: var(--ink); display: block; margin-top: .5rem;
}
.big-tel:hover { color: var(--ochre); }
.adr { font-style: normal; line-height: 1.6; color: var(--soft); }
.adr strong { color: var(--ink); font-weight: 600; }

/* ---------- Listen ---------- */
.clean { list-style: none; margin-top: 1.4rem; }
.clean li {
  padding: .85rem 0 .85rem 1.6rem; position: relative;
  border-top: 1px solid var(--line); color: var(--soft);
}
.clean li:last-child { border-bottom: 1px solid var(--line); }
.clean li::before {
  content: ""; position: absolute; left: .2rem; top: 1.45rem;
  width: .45rem; height: .45rem; border-radius: 50%; background: var(--ochre);
}
.clean li strong { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
footer.site { background: var(--deep); color: rgba(243, 234, 214, .78); margin-top: 0; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
footer .fname {
  font-family: "DM Serif Display", Georgia, serif; color: #fdf6e6;
  font-size: 1.3rem; display: block; margin-bottom: .5rem;
}
footer .fdesc { font-size: .92rem; max-width: 34ch; }
footer .fhead { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ochre-bright); font-weight: 700; margin-bottom: .9rem; }
footer nav { display: grid; gap: .45rem; }
footer nav a { color: rgba(243, 234, 214, .78); text-decoration: none; font-size: .95rem; }
footer nav a:hover { color: #fdf6e6; }
.footnote-line {
  border-top: 1px solid rgba(243, 234, 214, .16);
  padding: 1.4rem 0 1.8rem; font-size: .82rem; color: rgba(243, 234, 214, .55);
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsiv ---------- */
@media (max-width: 900px) {
  .cards.three, .cards.two { grid-template-columns: 1fr; }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev figure { order: 0; }
  .crisis-grid { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; gap: 2rem; }
  .kontakt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header-in { gap: .8rem 1.5rem; padding: .85rem 0; }
  .dl > div { grid-template-columns: 1fr; gap: .3rem; }
  nav.main { gap: 1rem 1.2rem; }
  nav.main a { font-size: .86rem; }
  .band { height: clamp(260px, 42vh, 380px); }
  .hero-card { margin-top: -3.2rem; padding: 1.7rem 1.4rem 2rem; }
  h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .steps li { grid-template-columns: 3.4rem 1fr; gap: 1.1rem; }
  .steps li::before { font-size: 1.8rem; }
  .fact .v { font-size: 1.3rem; }
}


/* ============================================================
   CRAFT-LAYER (design-craft.md, auto-rollup)
   ============================================================ */

::selection { background: #ece1c9; color: #f5efe1; }

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: #ece1c9; color: #f5efe1;
  overflow: hidden; white-space: nowrap; padding: 0.8rem 0;
}
.ticker-inhalt {
  display: inline-block; animation: lauf 30s linear infinite;
  font-family: DM Serif Display; 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: DM Serif Display; font-size: 8.4px;
  letter-spacing: 0.3em; text-transform: uppercase; fill: #f5efe1;
}
.badge circle { fill: #ece1c9; }
@keyframes drehen { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .badge { animation: none; } }

/* Craft: Riesiges CTA */
.cta-riesig {
  background: #ece1c9; color: #f5efe1;
  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: DM Serif Display; 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: #f5efe1;
}
.cta-riesig h2 em { font-style: italic; font-weight: 400; opacity: 0.75; }
.cta-telefon {
  font-family: DM Serif Display; font-weight: 600;
  font-size: clamp(1.5rem, 4.2vw, 3rem);
  display: inline-block; border-bottom: 3px solid #f5efe1;
  padding-bottom: 0.25rem; color: #f5efe1;
}
.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;
}
