/*
  Design-System „Stillwasser" — Praxis Brigitte Demant, Paderborn
  Gilda Display (Display) + Nunito Sans (Text). Knochenweiß, Moosgrün-Ink, Umbra.
  Volles Bildband oben, leicht überlappender Titel, Registerleisten.
  Individuell für diese Praxis; nicht wiederverwenden.
*/
:root {
  --knochen: #f2efe6;
  --knochen-tief: #e9e4d5;
  --moos: #2f3a2a;
  --moos-weich: #55614c;
  --moos-grau: #8a9080;
  --umbra: #8a6b3f;
  --linie: rgba(47, 58, 42, 0.16);
  --linie-stark: rgba(47, 58, 42, 0.4);
  --disp: 'Gilda Display', Georgia, serif;
  --text: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: var(--umbra); color: var(--knochen); }

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='n'%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(%23n)'/%3E%3C/svg%3E");
}

/* Craft: Ticker */
.ticker { background: var(--moos); color: var(--knochen); overflow: hidden; white-space: nowrap; padding: 0.75rem 0; }
.ticker-inhalt { display: inline-block; animation: lauf 30s linear infinite; font-family: var(--disp); font-size: 0.95rem; letter-spacing: 0.06em; }
.ticker-inhalt span { margin: 0 1.5rem; }
.ticker-inhalt .stern { color: var(--umbra); }
@keyframes lauf { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-inhalt { animation: none; } }

/* Craft: Riesiges CTA */
.cta-riesig { background: var(--moos); color: var(--knochen); padding: clamp(3.2rem, 7.5vw, 6rem) clamp(1.1rem, 4vw, 3rem); }
.cta-riesig .flache { max-width: 900px; margin: 0 auto; padding: 0; }
.cta-riesig h2 { font-family: var(--disp); font-weight: 400; font-size: clamp(2.6rem, 7.5vw, 5.8rem); line-height: 1.04; max-width: 14ch; margin-bottom: 1.6rem; }
.cta-riesig h2 em { font-style: italic; color: var(--umbra-hell, #c8a45e); }
.cta-telefon { font-family: var(--disp); font-size: clamp(1.5rem, 4.2vw, 3rem); display: inline-block; border-bottom: 3px solid var(--umbra); padding-bottom: 0.25rem; color: var(--knochen); }
.cta-telefon:hover { color: var(--umbra); }
.cta-zeilen { max-width: 720px; margin: 2.4rem auto 0; border-top: 1px solid rgba(242, 239, 230, 0.22); padding-top: 1.3rem; font-size: 0.87rem; color: rgba(242, 239, 230, 0.8); display: grid; gap: 0.4rem; }
.cta-zeilen a { border-bottom: 1px solid rgba(242, 239, 230, 0.35); }

body { background: var(--knochen); color: var(--moos); font-family: var(--text); font-size: 16.5px; line-height: 1.7; -webkit-font-smoothing: antialiased; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* Kopfzeile */
.kopf {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.2rem;
  padding: 1rem clamp(1.1rem, 4vw, 3rem);
  background: rgba(242, 239, 230, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linie);
}
main { padding-top: 4.6rem; }
.kopf-name { font-family: var(--disp); font-size: 1.3rem; }
.kopf-name span { display: block; font-family: var(--text); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--moos-grau); margin-top: 0.2rem; }
.kopf-nav { display: flex; gap: clamp(0.9rem, 2.4vw, 1.9rem); flex-wrap: wrap; justify-content: flex-end; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.kopf-nav a:hover { color: var(--umbra); }
.kopf-nav a[aria-current="page"] { border-bottom: 2px solid var(--umbra); }

/* Bildband oben + überlappender Titel */
.band-oben img { width: 100%; height: clamp(300px, 52vh, 520px); object-fit: cover; }
.ueberlapp { max-width: 900px; margin: clamp(-2.4rem, -4vw, -1.4rem) auto 0; padding: 0 clamp(1.1rem, 4vw, 3rem); position: relative; }
.ueberlapp .kopfzeile-los {
  background: var(--knochen);
  padding: 1.8rem 1.9rem 1.6rem;
  box-shadow: 0 12px 34px rgba(47, 58, 42, 0.12);
}

.kennung { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--umbra); margin-bottom: 1rem; }

h1 { font-family: var(--disp); font-weight: 400; font-size: clamp(2rem, 4.8vw, 3.5rem); line-height: 1.14; }
h2 { font-family: var(--disp); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.16; margin-bottom: 1.05rem; }
h3 { font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }

p + p { margin-top: 0.9rem; }
.einleitung { color: var(--moos-weich); font-size: clamp(1rem, 1.45vw, 1.15rem); line-height: 1.75; }
.still { color: var(--moos-grau); font-size: 0.87rem; }

/* Flächen */
.flache { max-width: 900px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 3rem); }
.abschnitt { padding: clamp(5rem, 10vw, 9rem) 0; }
.abschnitt + .abschnitt { border-top: 1px solid var(--linie); }

/* Registerleiste */
.leiste { border-top: 1px solid var(--linie-stark); }
.leiste > div { display: grid; grid-template-columns: minmax(7.5rem, 12.5rem) 1fr; gap: 0.6rem 1.8rem; padding: 0.9rem 0; border-bottom: 1px solid var(--linie); }
.leiste dt { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--moos-grau); padding-top: 0.28rem; }
.leiste dd { font-size: 0.98rem; line-height: 1.62; }
.leiste dd a { border-bottom: 1px solid var(--linie-stark); }
.leiste dd a:hover { color: var(--umbra); border-color: var(--umbra); }

/* Verbandszeile */
.verbandszeile { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: baseline; padding: 1.1rem 0; border-top: 1px solid var(--linie); font-size: 0.88rem; color: var(--moos-weich); }
.verbandszeile .sigel { font-family: var(--disp); font-size: 1.4rem; color: var(--umbra); }

/* Offen-Kasten */
.offen { border: 1px solid var(--linie-stark); border-top: 3px solid var(--umbra); background: var(--knochen-tief); padding: 1.25rem 1.5rem; font-size: 0.95rem; color: var(--moos-weich); max-width: 64ch; }
.offen strong { color: var(--moos); }

/* Knöpfe */
.takt { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.7rem; }
.knopf { display: inline-block; padding: 0.78rem 1.5rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border: 1.5px solid var(--moos); }
.knopf:hover { background: var(--moos); color: var(--knochen); }
.knopf-umbra { background: var(--umbra); border-color: var(--umbra); color: var(--knochen); }
.knopf-umbra:hover { background: #6f552f; border-color: #6f552f; color: var(--knochen); }

/* Krise */
.krise { border: 1.5px solid var(--moos); padding: 1.5rem 1.7rem; margin-top: 2.4rem; background: var(--knochen); }
.krise h3 { font-family: var(--disp); font-weight: 400; font-size: 1.35rem; color: var(--umbra); margin-bottom: 0.5rem; }
.krise p, .krise li { font-size: 0.94rem; color: var(--moos-weich); }
.krise ul { list-style: none; margin-top: 0.55rem; }
.krise li { padding: 0.26rem 0; }
.krise a { border-bottom: 1px solid var(--linie-stark); }

/* Fusszeile */
.fuss { background: var(--moos); color: var(--knochen); padding: clamp(2.4rem, 5vw, 3.8rem) 0 1.5rem; }
.fuss .flache > p:first-child { font-family: var(--disp); font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 1.6rem; }
.fuss-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; border-top: 1px solid rgba(242, 239, 230, 0.25); padding-top: 1.3rem; font-size: 0.86rem; }
.fuss-raster h3 { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(242, 239, 230, 0.5); margin-bottom: 0.5rem; }
.fuss-raster p { color: rgba(242, 239, 230, 0.85); line-height: 1.7; }
.fuss-raster a { border-bottom: 1px solid rgba(242, 239, 230, 0.35); }
.fuss-recht { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; font-size: 0.72rem; color: rgba(242, 239, 230, 0.55); }

.fussnote { border-top: 1px solid var(--linie); margin-top: 2.4rem; padding-top: 0.85rem; font-size: 0.78rem; color: var(--moos-grau); }
sup { color: var(--umbra); font-size: 0.72em; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 700px) {
  body { font-size: 16px; }
  .kopf { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .kopf-nav { justify-content: flex-start; }
  .leiste > div { grid-template-columns: 1fr; gap: 0.2rem; }
  .band-oben img { height: 260px; }
}
