@import url('fonts.css');

/* ---------- Design-Tokens ---------- */
:root {
  --paper: #f4efe4;
  --paper-alt: #e9e4d5;
  --line: #d9d2c1;
  --ink: #1e2a1f;
  --ink-soft: #4a5449;
  --ink-card: #2b342b;
  --green: #2f5a3a;
  --green-dark: #1e3d27;
  --forest: #1a2a1c;
  --sage: #cfe0c8;
  --bar: #aebfa6;
  --cream-soft: #eae6da;

  --serif: 'Gelasio', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1120px;
  --gutter: 24px;
  --section-y: clamp(56px, 8vw, 112px);
  --eyebrow: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

/* Muss die display-Regeln unten schlagen, sonst bleibt [hidden] wirkungslos. */
[hidden] { display: none !important; }

a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { font-family: var(--serif); letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-size: var(--eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.btn--paper { background: var(--paper); color: var(--ink); padding: 16px 26px; font-size: 17px; }
.btn--paper:hover { background: #fff; color: var(--ink); }

.btn--ghost {
  color: var(--paper);
  padding: 16px 22px;
  font-size: 16px;
  font-weight: 600;
  border-color: rgba(244, 239, 228, .5);
}
.btn--ghost:hover { border-color: var(--paper); color: var(--paper); background: rgba(244, 239, 228, .1); }

.btn--chip {
  color: var(--paper);
  background: none;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  border-color: rgba(244, 239, 228, .5);
}
.btn--chip:hover { border-color: var(--paper); background: rgba(244, 239, 228, .1); color: var(--paper); }

.btn--chip-ink {
  color: var(--ink);
  background: none;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  border-color: var(--line);
}
.btn--chip-ink:hover { border-color: var(--green); background: rgba(47, 90, 58, .08); color: var(--green-dark); }

.btn--green { background: var(--green); color: var(--paper); padding: 14px 24px; font-size: 16px; margin-top: 4px; }
.btn--green:hover { background: var(--green-dark); color: var(--paper); }
.btn--sm { padding: 10px 16px; font-size: 15px; }

.btn .arrow { font-size: .8em; opacity: .85; }

/* ---------- Abschnitte auf dunklem Grund ---------- */
.dark-section {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--paper);
}
.dark-section > picture {
  position: absolute;
  inset: 0;
}
.dark-section__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dark-section .wrap { position: relative; }

/* ---------- Hero ---------- */
.hero .dark-section__bg { opacity: .55; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,42,28,.5) 0%, rgba(26,42,28,.66) 60%, rgba(26,42,28,.92) 100%);
}
.hero .wrap {
  padding-block: clamp(96px, 14vw, 180px) 64px;
  display: grid;
  gap: 28px;
}
.hero .eyebrow { color: var(--sage); }
.hero h1 {
  font-weight: 700;
  font-size: clamp(40px, 7vw, 88px);
  line-height: .98;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.hero__lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  max-width: 60ch;
  color: var(--cream-soft);
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }

.facts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 16px 0 0;
  padding: 0;
  color: var(--sage);
  font-size: 15px;
}
.facts div { margin: 0; }
.facts dt { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--paper); }
.facts dd { margin: 0; }

/* ---------- Vier Punkte ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px 56px;
  align-items: start;
}
.section-intro { display: flex; flex-direction: column; gap: 14px; }
.section-intro h2 {
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
}
.section-intro p:not(.eyebrow) { color: var(--ink-soft); }

.points { margin: 0; padding: 0; list-style: none; display: grid; }
.points li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.points li:last-child { border-bottom: 1px solid var(--line); }
.points__num {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--green);
  line-height: 1;
}
.points h3 { font-size: 21px; font-weight: 600; line-height: 1.25; margin-bottom: 6px; }
.points h3 a { color: inherit; text-decoration: none; }
.points h3 a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.points p { font-size: 16px; color: var(--ink-soft); }
.points-col { display: grid; gap: 24px; }

/* ---------- Presse-Hinweis ---------- */
.press {
  background: var(--paper-alt);
  border-left: 4px solid var(--green);
  border-radius: 6px 18px 18px 6px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.press__label {
  font-size: var(--eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
}
.press__text { font-family: var(--serif); font-size: 20px; line-height: 1.35; }
.press__text strong { font-weight: 600; }
.press__link { background: var(--paper); }

.section { padding-block: var(--section-y); }
.section--divided { border-top: 1px solid var(--line); }
.band {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Fließtext neben einer Abschnittseinleitung ---------- */
.prose { display: grid; gap: 14px; }
.prose p { color: var(--ink-soft); }
.prose strong { color: var(--ink); }

/* Ein breiter Textblock unter einem zweispaltigen Abschnitt. Die Klasse sitzt
   auf dem `.wrap`, damit der Text am linken Rand der Einleitung beginnt. */
.prose--wide { margin-top: clamp(32px, 4vw, 48px); }
.prose--wide p { max-width: 78ch; }

/* ---------- Kennzahlen und Balken ---------- */
.figure { display: grid; gap: 18px; }
.figure__note { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.stats li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.stats__num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  color: var(--green);
}
.stats__label { font-size: 16px; color: var(--ink-soft); }

.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.bar { display: grid; gap: 8px; }
.bar__label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
}
.bar__value { font-family: var(--serif); font-size: 19px; white-space: nowrap; }
.bar__track {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(47, 90, 58, .14);
  overflow: hidden;
}
.bar__fill { display: block; height: 100%; border-radius: 999px; background: var(--bar); }
.bar--highlight .bar__fill { background: var(--green); }
.bar--highlight .bar__label { color: var(--green-dark); }
.bar__meta { font-size: 14px; color: var(--ink-soft); }

/* ---------- Geschichten ---------- */
.stories { display: flex; flex-direction: column; gap: 48px; }
.stories .section-intro { max-width: 62ch; }
.stories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}
.story {
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 var(--line);
}
.story picture { display: block; }
.story img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.story__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.story h3 { font-size: 24px; font-weight: 600; line-height: 1.2; }
.story p { font-size: 16px; line-height: 1.6; color: var(--ink-card); }
.story__more { display: flex; flex-direction: column; gap: 14px; }
.story__toggle {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--green);
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.story__toggle:hover { color: var(--green-dark); }
.stories__note { font-size: 15px; color: var(--ink-soft); }

/* ---------- Appell ---------- */
.appeal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px 64px;
  align-items: start;
}
.appeal__text { display: flex; flex-direction: column; gap: 20px; }
.appeal__text h2 {
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.appeal__text p:not(.eyebrow):not(.signature):not(.appeal__lead) { color: var(--ink-soft); }
.appeal__lead { font-size: 18px; line-height: 1.5; color: var(--ink-card); max-width: 54ch; }
.signature { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink-card); }

.alt-list { list-style: none; margin: 0; padding: 0; display: grid; }
.alt-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-soft);
}
.alt-list li:last-child { border-bottom: 1px solid var(--line); }

.letter-card {
  background: var(--green);
  color: var(--paper);
  border-radius: 22px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.letter-card .eyebrow { color: var(--sage); font-size: 13px; }
.letter-card__meta { display: flex; flex-direction: column; gap: 6px; }
.letter-card__title { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.2; }
.letter-card__sub { font-size: 15px; color: var(--sage); }
.letter-card__text { font-size: 16px; color: var(--cream-soft); }

/* ---------- Mitmachen ---------- */
.mitmachen { display: flex; flex-direction: column; gap: 40px; }
.mitmachen__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px 56px;
  align-items: end;
}
.mitmachen__lead { color: var(--ink-soft); max-width: 52ch; }

.mitmachen__grid { display: grid; gap: 20px; }
@media (min-width: 760px) {
  .mitmachen__grid { grid-template-columns: 1fr 1fr; }
  /* Die Terminkarte steht über beiden Spalten. Deshalb hier feste Spalten statt
     `auto-fit`: leere Spuren fallen nur zusammen, solange kein Element sie
     überspannt – sonst bliebe rechts eine Lücke stehen. */
  .termin { grid-column: 1 / -1; }
}

/* ---------- Terminkarte ---------- */
.termin {
  background: var(--forest);
  color: var(--paper);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 36px;
}
@media (min-width: 760px) {
  .termin { grid-template-columns: 1fr 1fr; gap: 36px 48px; }
}
.termin .eyebrow { color: var(--sage); font-size: 13px; }
.termin__main { display: flex; flex-direction: column; gap: 18px; }
.termin__when { display: flex; flex-direction: column; gap: 4px; }
.termin__count {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.termin__date { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.3; }
.termin__place { font-size: 16px; color: var(--sage); }
.termin__text { font-size: 16px; color: var(--cream-soft); max-width: 46ch; }
.termin__actions { display: flex; gap: 16px 20px; align-items: center; flex-wrap: wrap; }
.termin__link { color: var(--sage); font-weight: 600; font-size: 15px; }
.termin__link:hover { color: var(--paper); }

.agenda { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.agenda__item {
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  padding: 22px 22px 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 18px;
  align-items: start;
}
.agenda__item--quiet {
  background: rgba(244, 239, 228, .08);
  border: 1px solid rgba(244, 239, 228, .25);
  color: var(--paper);
}
.agenda__time { font-family: var(--serif); font-size: 34px; font-weight: 700; line-height: 1; color: var(--green); }
.agenda__time span { font-size: 18px; font-weight: 600; }
.agenda__item--quiet .agenda__time { color: var(--sage); }
.agenda__body { display: flex; flex-direction: column; gap: 6px; }
.agenda__head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.agenda h3 { font-size: 20px; font-weight: 600; line-height: 1.25; hyphens: auto; overflow-wrap: anywhere; }
.agenda p { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.agenda__item--quiet p { color: var(--sage); }
.badge {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--paper);
  background: var(--green);
  padding: 4px 9px;
  border-radius: 999px;
}

/* ---------- Karten daneben ---------- */
.help-card {
  background: var(--paper);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 1px 0 var(--line);
}
.help-card h3 { font-size: 24px; font-weight: 600; line-height: 1.2; }
.help-card p { font-size: 16px; color: var(--ink-soft); }
.help-card__end { margin-top: auto; align-self: flex-start; }

.share__links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Gedicht ---------- */
.poem .dark-section__bg { opacity: .35; }
.poem .wrap {
  max-width: 760px;
  padding-block: clamp(64px, 9vw, 120px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.poem .eyebrow { color: var(--sage); font-size: 13px; }
.poem h2 { font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.poem p:not(.eyebrow) { font-family: var(--serif); font-size: 19px; line-height: 1.65; }
.poem__litany { font-style: italic; color: var(--cream-soft); }
.poem .poem__credit { font-family: var(--sans); font-size: 15px; font-style: italic; color: var(--sage); }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--paper-alt); border-top: 1px solid var(--line); margin-top: auto; }
.site-footer .wrap {
  padding-block: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: start;
}
.site-footer h2 { font-size: 22px; font-weight: 600; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col--meta { font-size: 15px; color: var(--ink-soft); }
.footer-mail { font-size: 19px; font-weight: 600; word-break: break-word; }

.page { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- Bewegung ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .hero .wrap { animation: rise .7s ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Druck ---------- */
@media print {
  .hero__actions, .share__links, .story__toggle { display: none !important; }
  .story__more[hidden] { display: flex !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .dark-section { background: #fff; color: #000; }
  .dark-section__bg, .hero__scrim { display: none; }
  .letter-card { background: #fff; color: #000; border: 1px solid #000; }
}

/* ---------- Rechtliche Seiten (Impressum, Datenschutz) ---------- */
.legal-head { padding-block: clamp(48px, 7vw, 88px) 0; max-width: 74ch; }
.legal-head .eyebrow { display: block; margin-bottom: 14px; }
.legal-head h1 {
  font-weight: 700;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.legal-head__meta { margin-top: 16px; font-size: 15px; color: var(--ink-soft); }

.legal {
  padding-block: clamp(40px, 5vw, 64px) clamp(56px, 8vw, 112px);
  max-width: 74ch;
  margin-inline: 0;
}
.legal section + section { margin-top: 44px; }
.legal h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.legal h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  margin: 26px 0 8px;
}
.legal p { color: var(--ink-soft); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; color: var(--ink-soft); display: grid; gap: 8px; }
.legal li::marker { color: var(--green); }

.legal address {
  font-style: normal;
  color: var(--ink);
  line-height: 1.5;
}
.legal address + p, .legal p + address, .legal ul + p, .legal dl + p { margin-top: 12px; }

.legal dl { margin: 12px 0 0; display: grid; gap: 4px; }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0 0 10px; color: var(--ink-soft); }

/* ---------- Fußzeile: rechtliche Links ---------- */
.footer-legal {
  border-top: 1px solid var(--line);
}
.footer-legal .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
  font-size: 15px;
  color: var(--ink-soft);
}
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-legal a { font-weight: 600; }
