/*
  Design-System „Amtliches Blatt" — Praxis Renate Blumenstock, Holzgerlingen
  Sora (Display) + Source Serif 4 (Text). Ivory, Waldgrün-Ink, Messing.
  Text-Bild-Splits mit Inset-Rahmen. Individuell; nicht wiederverwenden.
*/
:root {
  --ivory: #f6f4ef;
  --ivory-tief: #ede9df;
  --gruen: #253629;
  --gruen-weich: #4d6354;
  --gruen-grau: #7f917f;
  --messing: #9c7d3f;
  --messing-hell: #c4a865;
  --linie: rgba(37, 54, 41, 0.16);
  --linie-stark: rgba(37, 54, 41, 0.4);
  --grot: 'Sora', 'Segoe UI', Arial, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: var(--messing); color: var(--ivory); }

html { scroll-behavior: smooth; }

body { background: var(--ivory); color: var(--gruen); font-family: var(--grot); font-size: 16.5px; line-height: 1.66; -webkit-font-smoothing: antialiased; position: relative; }

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"); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.kopf {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center; gap: 1.2rem;
  padding: 0.9rem clamp(1.1rem, 4vw, 3rem);
  background: rgba(246, 244, 239, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linie-stark);
}
.kopf-name { font-family: var(--serif); font-size: 1.2rem; }
.kopf-name i { color: var(--messing); font-style: italic; }
.kopf-nav { display: flex; gap: clamp(0.8rem, 2.2vw, 1.8rem); flex-wrap: wrap; justify-content: flex-end; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.kopf-nav a { position: relative; padding-bottom: 0.15rem; }
.kopf-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--messing); transition: width 0.25s ease; }
.kopf-nav a:hover::after { width: 100%; }
.kopf-nav a[aria-current="page"]::after { width: 100%; }

.blatt { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 3rem); }

.kicker { display: flex; align-items: center; gap: 0.8rem; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--messing); margin-bottom: 1.2rem; }
.kicker::before { content: ""; width: 2.4rem; height: 2px; background: var(--messing); }

h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.8rem, 7vw, 6.2rem); line-height: 1.02; letter-spacing: -0.018em; }
h1 em { font-style: italic; color: var(--messing); }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.08; margin-bottom: 1.2rem; }
h2 em { font-style: italic; color: var(--messing); }
h3 { font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; }
p + p { margin-top: 0.9rem; }
.einleitung { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--gruen-weich); max-width: 54ch; line-height: 1.72; }

.sektion { padding: clamp(5rem, 10vw, 9rem) 0; }

/* Inset-Bild */
.inset-bild { background: #fff; border: 1px solid var(--linie); padding: 0.6rem 0.6rem 0.3rem; box-shadow: 0 12px 32px rgba(37, 54, 41, 0.1); }
.inset-bild img { width: 100%; height: clamp(280px, 48vh, 480px); object-fit: cover; }
.inset-bild figcaption { display: flex; justify-content: space-between; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gruen-grau); padding: 0.5rem 0.1rem 0.1rem; }

/* Steckbrief */
.steck { border-top: 1px solid var(--linie-stark); }
.steck > div { display: grid; grid-template-columns: minmax(8.5rem, 13rem) 1fr; gap: 0.6rem 1.8rem; padding: 0.9rem 0; border-bottom: 1px solid var(--linie); }
.steck dt { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gruen-grau); padding-top: 0.28rem; }
.steck dd { font-size: 0.97rem; line-height: 1.6; }
.steck dd em { font-family: var(--serif); font-style: italic; font-size: 1.1em; }
.steck dd a { border-bottom: 1px solid var(--linie-stark); }
.steck dd a:hover { color: var(--messing); border-color: var(--messing); }

/* Zwei-Spalter */
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start; }

/* Ticker */
.ticker { background: var(--gruen); color: var(--ivory); overflow: hidden; white-space: nowrap; padding: 0.75rem 0; }
.ticker-inhalt { display: inline-block; animation: lauf 30s linear infinite; font-family: var(--serif); font-style: italic; font-size: 1rem; }
.ticker-inhalt span { margin: 0 1.5rem; }
.ticker-inhalt .stern { color: var(--messing-hell); font-style: normal; }
@keyframes lauf { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-inhalt { animation: none; } }

/* Vollblei */
.vollblei { position: relative; min-height: 84vh; display: flex; align-items: flex-end; color: var(--ivory); isolation: isolate; }
.vollblei img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.vollblei::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(29, 42, 33, 0.82), rgba(29, 42, 33, 0.22) 55%, rgba(29, 42, 33, 0.3)); }
.vollblei-inhalt { padding: 0 clamp(1.1rem, 4vw, 3rem) clamp(2.8rem, 6vw, 4.6rem); width: 100%; max-width: 1120px; margin: 0 auto; }
.vollblei-inhalt .vorzeile { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--messing-hell); margin-bottom: 1rem; }
.vollblei-inhalt h1 { font-size: clamp(2.5rem, 6.5vw, 5.2rem); max-width: 17ch; }
.vollblei-inhalt .unter { margin-top: 1.2rem; max-width: 46ch; font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.7; opacity: 0.92; }
.vollblei-inhalt .takt { margin-top: 1.8rem; }

/* Knöpfe */
.knopf { display: inline-block; padding: 0.82rem 1.55rem; border-radius: 999px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; border: 1.5px solid var(--gruen); }
.knopf:hover { background: var(--gruen); color: var(--ivory); }
.knopf-messing { background: var(--messing); border-color: var(--messing); color: var(--ivory); }
.knopf-messing:hover { background: var(--messing-hell); border-color: var(--messing-hell); color: var(--gruen); }
.takt { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* Krise */
.krise { border: 2px solid var(--messing); padding: 1.5rem 1.7rem; margin-top: 2.4rem; background: var(--ivory); }
.krise h3 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--messing); margin-bottom: 0.5rem; }
.krise p, .krise li { font-size: 0.94rem; color: var(--gruen-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); }

/* Fussnote */
.fussnote { border-top: 1px solid var(--linie); margin-top: 2.6rem; padding-top: 0.9rem; font-size: 0.78rem; color: var(--gruen-grau); }
sup { color: var(--messing); font-size: 0.72em; }

/* Fusszeile */
.fuss { background: var(--gruen); color: var(--ivory); padding: clamp(2.4rem, 5vw, 3.6rem) 0 1.5rem; }
.fuss .blatt > p:first-child { font-family: var(--serif); font-weight: 600; 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(246, 244, 239, 0.22); padding-top: 1.3rem; font-size: 0.87rem; }
.fuss-raster h3 { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(246, 244, 239, 0.5); margin-bottom: 0.5rem; }
.fuss-raster p { color: rgba(246, 244, 239, 0.85); line-height: 1.7; }
.fuss-raster a { border-bottom: 1px solid rgba(246, 244, 239, 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(246, 244, 239, 0.55); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 820px) { .zwei { grid-template-columns: 1fr; } .steck > div { grid-template-columns: 1fr; gap: 0.2rem; } .fuss-raster { grid-template-columns: 1fr; } }
@media (max-width: 600px) { body { font-size: 16px; } .kopf-nav { display: none; } .inset-bild img { height: 240px; } }
