/* ============================================================
   Olivia Kaletta-Graubner M. Ed., Berlin-Köpenick — Entwurf
   Konzept „Der doppelte Blick" — Therapeutin und Sonderpädagogin.
   Navy dark-forward, Creme, antikes Gold. DM Serif Text + DM Sans.
   ============================================================ */

:root {
  --navy-deep: #0c1727;
  --navy: #13233a;
  --navy-soft: #1c3049;
  --creme: #f2ecdc;
  --paper: #faf7ed;
  --ink: #14202f;
  --ink-soft: #47525f;
  --gold: #a98a48;
  --gold-bright: #c8a961;
  --line-dark: rgba(9, 18, 32, .16);
  --line-light: rgba(242, 236, 220, .16);
  --creme-dim: rgba(242, 236, 220, .72);
}

* { 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 "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.25rem, 4.5vw, 3.5rem); }

::selection { background: var(--gold); color: var(--navy-deep); }

/* ---------- Header ---------- */
header.site {
  background: var(--navy-deep);
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid var(--line-light);
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: 1.05rem 0;
}
.brand { text-decoration: none; color: var(--creme); }
.brand .name {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: 1.28rem; line-height: 1.15; display: block;
}
.brand .sub {
  display: block; font-size: .64rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--creme-dim); margin-top: .18rem;
}
nav.main { display: flex; gap: 1.55rem; flex-wrap: wrap; }
nav.main a {
  color: var(--creme-dim); text-decoration: none; font-size: .87rem;
  padding-bottom: 3px; border-bottom: 1px solid transparent;
}
nav.main a:hover { color: var(--creme); border-bottom-color: var(--gold); }
nav.main a[aria-current="page"] { color: var(--gold-bright); border-bottom-color: var(--gold); }

/* ---------- Hero Start: Titel überlappt die Bildkante ---------- */
.hero {
  background: var(--navy-deep);
  color: var(--creme);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  min-height: 88vh;
  align-items: stretch;
}
.hero-text {
  padding: clamp(4rem, 9vh, 7rem) clamp(1.25rem, 4.5vw, 3.5rem) clamp(4rem, 8vh, 6rem) 0;
  max-width: 46rem;
  position: relative; z-index: 2;
}
.hero-figure {
  position: relative;
  min-height: 22rem;
  margin-left: clamp(-12rem, -12vw, -6rem);
}
.hero-figure img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(12, 23, 39, .55) 0%, rgba(12, 23, 39, 0) 38%),
              linear-gradient(to top, rgba(12, 23, 39, .45) 0%, rgba(12, 23, 39, 0) 45%);
}
/* Der übergroße Titel ragt über die Bildkante */
.hero h1 {
  font-family: "DM Serif Text", Georgia, serif;
  font-weight: 400;
  font-size: clamp(3.4rem, 8.2vw, 7.2rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: 1.6rem 0 1.7rem;
  position: relative;
  width: 125%;
  text-shadow: 0 2px 34px rgba(12, 23, 39, .6);
}
.eyebrow {
  font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-bright); font-weight: 600;
}
.hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.62;
  color: var(--creme-dim); max-width: 42ch;
}
.hero .actions { margin-top: 2.5rem; display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }

a.btn-primary {
  display: inline-block; text-decoration: none;
  background: var(--gold); color: var(--navy-deep);
  padding: .95rem 2rem; font-size: .9rem; font-weight: 600;
  letter-spacing: .05em;
}
a.btn-primary:hover { background: var(--gold-bright); }
a.btn-quiet {
  color: var(--creme); font-size: .93rem; text-decoration: none;
  border-bottom: 1px solid var(--gold-bright); padding-bottom: 3px;
}
a.btn-quiet:hover { color: var(--gold-bright); }

/* ---------- Seitenkopf Unterseiten ---------- */
.page-hero {
  background: var(--navy-deep);
  color: var(--creme);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 56vh;
  display: flex; align-items: flex-end;
}
.page-hero .bg { position: absolute; inset: 0; z-index: -1; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 23, 39, .92) 0%, rgba(12, 23, 39, .45) 55%, rgba(12, 23, 39, .38) 100%);
}
.page-hero .wrap { width: 100%; padding-bottom: clamp(3rem, 7vh, 5rem); padding-top: 6rem; }
.page-hero h1 {
  font-family: "DM Serif Text", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1.04; letter-spacing: -.01em;
  max-width: 16ch; margin: 1.2rem 0 1.3rem;
  text-shadow: 0 2px 30px rgba(12, 23, 39, .55);
}
.page-hero .eyebrow { text-shadow: 0 1px 18px rgba(12, 23, 39, .65); }
.page-hero .lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--creme-dim); max-width: 50ch;
  text-shadow: 0 1px 22px rgba(12, 23, 39, .5);
}
.page-hero.plain { min-height: 0; }
.page-hero.plain .wrap { padding: clamp(4rem, 9vh, 6.5rem) 0 clamp(3rem, 6vh, 4.5rem); }

/* ---------- Kapitelmarker mit großen Serif-Ziffern ---------- */
.chapter { display: flex; align-items: baseline; gap: 1.4rem; margin-bottom: 1.6rem; }
.chapter .num {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: clamp(3.6rem, 6vw, 5.6rem);
  line-height: .9;
  color: var(--gold);
}
.dark .chapter .num { color: var(--gold-bright); }
.chapter .rule {
  flex: 0 1 6.5rem; height: 1px; background: currentColor; opacity: .35;
  transform: translateY(-.55rem);
}
.chapter .label {
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-soft);
}
.dark .chapter .label { color: var(--creme-dim); }

/* ---------- Abschnitte ---------- */
section.block { padding: clamp(4.5rem, 9vw, 8rem) 0; }
section.block.creme { background: var(--creme); }
section.block.dark { background: var(--navy); color: var(--creme); }
section.block.dark .prose { color: var(--creme-dim); }
section.block.dark .prose strong { color: var(--creme); }
section.block + section.block.creme,
section.block + section.block:not(.dark):not(.creme) { border-top: 1px solid var(--line-dark); }

h2 {
  font-family: "DM Serif Text", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.1; letter-spacing: -.01em;
  max-width: 24ch; margin-bottom: 1.7rem;
}
h3 {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: 1.42rem; font-weight: 400; margin-bottom: .7rem;
}
.prose { max-width: 58ch; color: var(--ink-soft); }
.prose p { margin-bottom: 1.1rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }

.split { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2.5rem, 6vw, 6.5rem); align-items: start; }
.split .side { position: sticky; top: 7.5rem; }

/* ---------- Bild-Split ---------- */
.imgtext { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.imgtext figure { position: relative; }
.imgtext img { width: 100%; height: auto; }
.imgtext figcaption {
  font-size: .8rem; color: var(--ink-soft); margin-top: .7rem; letter-spacing: .02em;
}
.dark .imgtext figcaption { color: var(--creme-dim); }

/* ---------- Tafel mit Bild + Text (Karte) ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.tile {
  border: 1px solid var(--line-dark);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  background: var(--paper);
}
.dark .tile { background: var(--navy-soft); border-color: var(--line-light); }
.tile .k {
  font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
  font-weight: 600; color: var(--gold); display: block; margin-bottom: 1rem;
}
.dark .tile .k { color: var(--gold-bright); }
.tile p { color: var(--ink-soft); font-size: .98rem; }
.dark .tile p { color: var(--creme-dim); }

/* ---------- Schwerpunkt-Liste ---------- */
.focus-list { list-style: none; }
.focus-list li {
  display: grid; grid-template-columns: minmax(11rem, 15rem) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: 1.9rem 0; border-top: 1px solid var(--line-light);
  align-items: baseline;
}
.focus-list li:last-child { border-bottom: 1px solid var(--line-light); }
.focus-list .t {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.2;
}
.focus-list .d { color: var(--creme-dim); max-width: 54ch; font-size: .99rem; }
.creme .focus-list li { border-top-color: var(--line-dark); }
.creme .focus-list li:last-child { border-bottom-color: var(--line-dark); }
.creme .focus-list .d { color: var(--ink-soft); }

/* ---------- Schritte (Ablauf/Kosten) ---------- */
.steps { list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 5.5rem 1fr; gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: 2rem 0; border-top: 1px solid var(--line-dark);
}
.steps li:last-child { border-bottom: 1px solid var(--line-dark); }
.steps .n::before {
  content: counter(step);
  font-family: "DM Serif Text", Georgia, serif;
  font-size: 3.4rem; line-height: .95; color: var(--gold);
  display: block;
}
.steps .b h3 { margin-bottom: .5rem; }
.steps .b p { color: var(--ink-soft); max-width: 56ch; }
.steps a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.steps a:hover { color: var(--gold); }

/* ---------- Hinweis-Kasten (Kosten, ehrlich und prominent) ---------- */
.notice {
  background: var(--navy-deep); color: var(--creme);
  padding: clamp(2.2rem, 4vw, 3.4rem);
  border-left: 4px solid var(--gold);
}
.notice h3 { color: var(--gold-bright); font-size: 1.6rem; margin-bottom: 1rem; }
.notice p { color: var(--creme-dim); max-width: 60ch; margin-bottom: 1rem; }
.notice p:last-child { margin-bottom: 0; }
.notice strong { color: var(--creme); }

/* ---------- Krisenblock ---------- */
.crisis {
  background: var(--navy-deep); color: var(--creme);
  padding: clamp(2.4rem, 5vw, 4rem);
  border: 1px solid var(--line-light);
}
.crisis h2 { color: var(--gold-bright); margin-bottom: 1.2rem; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.crisis p { color: var(--creme-dim); max-width: 62ch; margin-bottom: 1rem; }
.crisis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.2rem; }
.crisis-item { border-top: 1px solid var(--gold); padding-top: 1.2rem; }
.crisis-item .who { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--creme-dim); display: block; margin-bottom: .5rem; }
.crisis-item a.tel {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--creme); text-decoration: none;
}
.crisis-item a.tel:hover { color: var(--gold-bright); }
.crisis-item .note { font-size: .88rem; color: var(--creme-dim); margin-top: .45rem; }

/* ---------- Fakten-Band ---------- */
.factband { background: var(--navy); color: var(--creme); border-top: 1px solid var(--line-light); }
.factband .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.factband .fact { padding: 2.2rem 2rem 2.4rem; border-left: 1px solid var(--line-light); }
.factband .fact:first-child { border-left: 0; padding-left: 0; }
.factband .fact strong {
  display: block; font-family: "DM Serif Text", Georgia, serif;
  font-weight: 400; font-size: 1.45rem; margin-bottom: .35rem;
}
.factband .fact span { font-size: .92rem; color: var(--creme-dim); }

/* ---------- Fußnote mit Stern ---------- */
.footnote {
  margin-top: 2.5rem; padding-top: 1.3rem;
  border-top: 1px solid var(--line-dark);
  font-size: .85rem; color: var(--ink-soft); max-width: 62ch;
}
.dark .footnote, .page-hero + .footnote { border-top-color: var(--line-light); }
section.dark .footnote { color: var(--creme-dim); border-top-color: var(--line-light); }
.star { color: var(--gold); font-weight: 600; }
.dark .star { color: var(--gold-bright); }

/* ---------- Statement ---------- */
.statement {
  font-family: "DM Serif Text", Georgia, serif;
  font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  line-height: 1.22; letter-spacing: -.01em;
  max-width: 26ch;
}
.statement em { font-style: italic; color: var(--gold); }
.dark .statement em { color: var(--gold-bright); }

/* ---------- Volle Bildtafel ---------- */
.plate {
  position: relative; isolation: isolate;
  min-height: 66vh; display: flex; align-items: flex-end; color: var(--creme);
}
.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(12, 23, 39, .85) 0%, rgba(12, 23, 39, .25) 55%, rgba(12, 23, 39, .1) 100%);
}
.plate .wrap { width: 100%; padding-bottom: clamp(2.5rem, 6vh, 4.5rem); padding-top: 6rem; }
.plate .caption {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.2; max-width: 22ch;
  text-shadow: 0 2px 26px rgba(12, 23, 39, .6);
}

/* ---------- Kontakt-Karte ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-card { border: 1px solid var(--line-dark); padding: clamp(1.8rem, 3.5vw, 2.8rem); background: var(--creme); }
.contact-card dl { margin: 0; }
.contact-card dt {
  font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
  font-weight: 600; color: var(--gold); margin-top: 1.6rem;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: .4rem 0 0; font-size: 1.06rem; color: var(--ink); }
.contact-card a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.contact-card a:hover { color: var(--gold); }
.contact-card .big {
  font-family: "DM Serif Text", Georgia, serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.25;
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy-deep); color: var(--creme-dim);
  border-top: 1px solid var(--line-light);
  padding: 3.2rem 0 2.6rem; font-size: .9rem;
}
.footer-in { display: flex; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
footer.site .fname {
  font-family: "DM Serif Text", Georgia, serif; color: var(--creme);
  font-size: 1.15rem; display: block; margin-bottom: .4rem;
}
footer.site nav { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: flex-start; }
footer.site nav a { color: var(--creme-dim); text-decoration: none; }
footer.site nav a:hover { color: var(--gold-bright); }
footer.site .legal { margin-top: 2rem; font-size: .8rem; color: rgba(242, 236, 220, .45); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .18s ease-out, transform .22s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-figure { order: -1; min-height: 19rem; max-height: 46vh; margin-left: 0; }
  .hero-figure img { position: absolute; }
  .hero-text { padding-right: 0; }
  .hero h1 { width: 100%; font-size: clamp(2.7rem, 12vw, 4.2rem); }
  .split, .imgtext, .contact-grid { grid-template-columns: 1fr; }
  .split .side { position: static; }
  .tiles { grid-template-columns: 1fr; }
  .factband .wrap { grid-template-columns: 1fr; }
  .factband .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-light); }
  .factband .fact:first-child { border-top: 0; }
  .crisis-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .focus-list li { grid-template-columns: 1fr; gap: .6rem; }
  .steps li { grid-template-columns: 3.6rem 1fr; }
  .steps .n::before { font-size: 2.5rem; }
  .header-in { flex-direction: column; align-items: flex-start; gap: .8rem; }
}


/* ============================================================
   CRAFT-LAYER (design-craft.md, auto-rollup)
   ============================================================ */

::selection { background: #a98a48; color: #faf7ed; }

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: #a98a48; color: #faf7ed;
  overflow: hidden; white-space: nowrap; padding: 0.8rem 0;
}
.ticker-inhalt {
  display: inline-block; animation: lauf 30s linear infinite;
  font-family: DM Serif Text; 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 Text; font-size: 8.4px;
  letter-spacing: 0.3em; text-transform: uppercase; fill: #faf7ed;
}
.badge circle { fill: #a98a48; }
@keyframes drehen { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .badge { animation: none; } }

/* Craft: Riesiges CTA */
.cta-riesig {
  background: #a98a48; color: #faf7ed;
  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 Text; 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: #faf7ed;
}
.cta-riesig h2 em { font-style: italic; font-weight: 400; opacity: 0.75; }
.cta-telefon {
  font-family: DM Serif Text; font-weight: 600;
  font-size: clamp(1.5rem, 4.2vw, 3rem);
  display: inline-block; border-bottom: 3px solid #faf7ed;
  padding-bottom: 0.25rem; color: #faf7ed;
}
.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;
}
