/*
  Design-System „Nachtblau mit Gold" — Praxisgemeinschaft Emig/Senges/Cox, Schriesheim
  Libre Franklin (Display + Text). Navy dark-forward, Creme, antikes Gold.
  Typografischer Hero, gerahmte Bildtafeln. Individuell; nicht wiederverwenden.
*/
:root {
  --navy: #17213c;
  --navy-tief: #101830;
  --navy-hell: #22305a;
  --creme: #f2ead8;
  --creme-weich: rgba(242, 234, 216, 0.78);
  --gold: #c9a24a;
  --gold-hell: #e0c078;
  --linie: rgba(242, 234, 216, 0.16);
  --linie-stark: rgba(242, 234, 216, 0.42);
  --font: 'Libre Franklin', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: var(--aprikose, var(--karmesin, var(--ton, var(--gold, var(--violett, var(--rose, var(--ocker))))))); color: #fff; }

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");
}

body { background: var(--navy); color: var(--creme); font-family: var(--font); font-size: 16.5px; line-height: 1.68; -webkit-font-smoothing: antialiased; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* Kopf */
.kopf {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.2rem;
  padding: 1.3rem clamp(1.1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--linie);
}
.kopf-name { font-weight: 800; font-size: 1.02rem; letter-spacing: 0.04em; }
.kopf-name span { display: block; font-weight: 400; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: 0.2rem; }
.kopf-nav { display: flex; gap: clamp(0.8rem, 2.2vw, 1.8rem); flex-wrap: wrap; justify-content: flex-end; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.kopf-nav a:hover { color: var(--gold-hell); }
.kopf-nav a[aria-current="page"] { color: var(--gold); border-bottom: 2px solid var(--gold); }

/* Fläche */
.flaeche { max-width: 940px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 3rem); }
.abschnitt { padding: clamp(5rem, 10vw, 9rem) 0; }

.kennung { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }

h1 { font-weight: 800; font-size: clamp(2.1rem, 5.2vw, 3.8rem); line-height: 1.07; letter-spacing: -0.01em; max-width: 18ch; }
h2 { font-weight: 800; font-size: clamp(1.45rem, 3vw, 2.1rem); 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(--creme-weich); font-size: clamp(1rem, 1.45vw, 1.15rem); max-width: 56ch; line-height: 1.75; }
.still { color: rgba(242, 234, 216, 0.55); font-size: 0.87rem; }

/* Gerahmte Bildtafel */
.tafel { max-width: 860px; margin: clamp(2.4rem, 5vw, 3.6rem) auto; border: 1px solid var(--gold); padding: 0.55rem; }
.tafel img { width: 100%; height: clamp(220px, 38vh, 380px); object-fit: cover; }
.tafel figcaption { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242, 234, 216, 0.6); padding-top: 0.5rem; }

/* Drei-Namen-Panel */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--linie-stark); border: 1px solid var(--linie-stark); margin-top: 2rem; }
.trio > div { background: var(--navy-hell); padding: 1.5rem 1.4rem; }
.trio h3 { font-weight: 800; font-size: 1.05rem; color: var(--gold-hell); margin-bottom: 0.4rem; }
.trio small { display: block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--creme-weich); margin-bottom: 0.55rem; }
.trio p { font-size: 0.92rem; color: rgba(242, 234, 216, 0.75); }

/* Registerzeilen */
.zeilen { border-top: 1px solid var(--linie-stark); margin-top: 1.9rem; }
.zeilen > div { display: grid; grid-template-columns: minmax(7.5rem, 12rem) 1fr; gap: 0.6rem 1.8rem; padding: 0.9rem 0; border-bottom: 1px solid var(--linie); }
.zeilen dt { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242, 234, 216, 0.55); padding-top: 0.28rem; }
.zeilen dd { font-size: 0.98rem; line-height: 1.62; }
.zeilen dd a { border-bottom: 1px solid var(--linie-stark); }
.zeilen dd a:hover { color: var(--gold-hell); border-color: var(--gold-hell); }
.zeilen dd em { font-style: normal; color: var(--gold-hell); font-weight: 700; }

/* Samstag-Hervorhebung */
.wochenende { border: 1px solid var(--gold); padding: 1.25rem 1.5rem; margin-top: 1.8rem; font-size: 0.95rem; color: var(--creme-weich); }
.wochenende strong { color: var(--gold-hell); font-family: var(--disp, var(--font)); }

/* Knöpfe */
.takt { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.7rem; }
.knopf { display: inline-block; padding: 0.8rem 1.5rem; border: 1.5px solid var(--creme); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.knopf:hover { background: var(--creme); color: var(--navy); }
.knopf-gold { background: var(--gold); border-color: var(--gold); color: var(--navy-tief); }
.knopf-gold:hover { background: var(--gold-hell); border-color: var(--gold-hell); color: var(--navy-tief); }

/* Krise (auf Navy invertiert hell) */
.krise { border: 1px solid var(--gold); background: var(--navy-tief); padding: 1.5rem 1.7rem; margin-top: 2.4rem; }
.krise h3 { font-weight: 800; color: var(--gold); margin-bottom: 0.5rem; }
.krise p, .krise li { font-size: 0.94rem; color: var(--creme-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); }

/* Fuss */
.fuss { border-top: 1px solid var(--linie-stark); margin-top: 3.4rem; }
.fuss-inhalt { max-width: 940px; margin: 0 auto; padding: 1.8rem clamp(1.1rem, 4vw, 3rem) 2.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: rgba(242, 234, 216, 0.6); }
.fuss-inhalt a { border-bottom: 1px solid var(--linie-stark); }
.fuss-inhalt a:hover { color: var(--gold-hell); border-color: var(--gold-hell); }

.fussnote { max-width: 860px; margin: 2.4rem auto 0; border-top: 1px solid var(--linie); padding: 0.85rem clamp(1.1rem, 4vw, 3rem) 0; font-size: 0.78rem; color: rgba(242, 234, 216, 0.55); }
sup { color: var(--gold); 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: 780px) {
  .trio { grid-template-columns: 1fr; }
  .zeilen > div { grid-template-columns: 1fr; gap: 0.2rem; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .kopf { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .kopf-nav { justify-content: flex-start; }
  .tafel img { height: 220px; }
}

/* Craft: Ticker */
.ticker { background: var(--gold); color: var(--navy-tief); overflow: hidden; white-space: nowrap; padding: 0.75rem 0; }
.ticker-inhalt { display: inline-block; animation: lauf 30s linear infinite; font-family: var(--font); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.ticker-inhalt span { margin: 0 1.5rem; }
.ticker-inhalt .stern { opacity: 0.55; }
@keyframes lauf { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-inhalt { animation: none; } }
