/* Angelus Vit - gemeinsames Stylesheet fuer Startseite, Impressum, Datenschutz.
   Die Schriften kommen bewusst vom System und nicht von Google: ein Aufruf an
   fonts.googleapis.com uebertraegt die IP jedes Besuchers in die USA, und genau
   das ist in Deutschland abgemahnt worden. Georgia und die System-Sans sind auf
   jedem Geraet vorhanden. */

:root {
  color-scheme: light;
  --ground: #F5F8F7;
  --surface: #FFFFFF;
  --surface-sunk: #EDF2F0;
  --ink: #16262B;
  --ink-soft: #3C4F53;
  --muted: #637578;
  --line: #DAE3E1;
  --line-strong: #C3D1CE;
  --primary: #1F5C56;
  --primary-deep: #143F3A;
  --primary-tint: #E4EEEB;
  --alert: #B33F28;
  --alert-tint: #F8E9E4;
  --shadow: 0 1px 2px rgba(20, 63, 58, .05), 0 8px 24px rgba(20, 63, 58, .06);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #0E1A19;
    --surface: #162624;
    --surface-sunk: #1D302D;
    --ink: #E9F0EE;
    --ink-soft: #C2D2CE;
    --muted: #8FA4A0;
    --line: #27403C;
    --line-strong: #375450;
    --primary: #6FB3A6;
    --primary-deep: #8FC9BC;
    --primary-tint: #1B302C;
    --alert: #E2836B;
    --alert-tint: #2E1C17;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #0E1A19;
  --surface: #162624;
  --surface-sunk: #1D302D;
  --ink: #E9F0EE;
  --ink-soft: #C2D2CE;
  --muted: #8FA4A0;
  --line: #27403C;
  --line-strong: #375450;
  --primary: #6FB3A6;
  --primary-deep: #8FC9BC;
  --primary-tint: #1B302C;
  --alert: #E2836B;
  --alert-tint: #2E1C17;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding-inline: 20px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; }

a { color: var(--primary); }

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

/* ---------------------------------------------------- Kopfzeile */
.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.topbar .wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-block: 18px;
  flex-wrap: wrap;
}
.logotype {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  color: var(--primary-deep);
  letter-spacing: .2px;
  text-decoration: none;
}
.logomark {
  font-style: normal;
  color: var(--primary);
  margin-right: 7px;
}
.topbar .status {
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------------------------------------------------- Hero */
.hero { padding-block: 64px 48px; }
.hero h1 {
  font-size: clamp(30px, 6.2vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.hero .lead {
  font-size: clamp(16.5px, 2.4vw, 18.5px);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 34em;
}

/* ---------------------------------------------------- Abschnitte */
section { padding-block: 40px; }
.eyebrow {
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}
h2 {
  font-size: clamp(22px, 3.6vw, 27px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 38em; }
.prose p { color: var(--ink-soft); }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------------------------------------------------- Zeitstrahl */
.timeline {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.tl-step {
  background: var(--surface);
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.tl-step.is-gap { background: var(--alert-tint); }
.tl-day {
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}
.tl-step.is-gap .tl-day { color: var(--alert); }
.tl-what {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.tl-step.is-gap .tl-what { color: var(--alert); }
.tl-note {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.tl-caption {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------------------------------------------------- Ablauf */
.steps {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--line-strong);
  line-height: 1;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.step h3 {
  font-size: 17px;
  margin-bottom: 5px;
}
.step p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.58;
}

/* ---------------------------------------------------- Datengrundlage */
.figures {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.figure {
  background: var(--surface);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.fig-num {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.05;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.fig-label {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.fig-src {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------------------------------------------------- Status */
.status-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.status-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 20px 20px 22px;
}
.status-col h3 {
  font-size: 15.5px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.status-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.status-col li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
}
.status-col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
}
.col-works li::before { content: "✓"; color: var(--primary); }
.col-open li::before { content: "•"; color: var(--muted); font-size: 18px; line-height: 1.2; }

/* ---------------------------------------------------- Partner */
.seeking {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.seek {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  padding-left: 18px;
  border-left: 2px solid var(--primary);
}
.seek h3 { font-size: 16.5px; }
.seek p { font-size: 15px; color: var(--ink-soft); line-height: 1.58; }

/* ---------------------------------------------------- Kontakt */
.contact {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mailrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.mail {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--primary-deep);
  word-break: break-all;
}
.copy-btn {
  font-family: var(--sans);
  font-size: 13px;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  background: var(--surface-sunk);
  color: var(--ink-soft);
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
}
.copy-btn:hover { border-color: var(--primary); color: var(--primary); }
.contact p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------------------------------------------------- Rechtstexte */
.legal { padding-block: 48px 8px; }
.legal h1 {
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.2;
  margin-bottom: 8px;
}
.legal .updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 19px;
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal h3 {
  font-size: 16px;
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal p, .legal li {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
}
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal address {
  font-style: normal;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 18px 20px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
  margin-top: 12px;
}
.legal .back {
  display: inline-block;
  margin-top: 40px;
  font-size: 14.5px;
}

/* Auszufuellende Stellen sollen im Browser sofort auffallen, damit keine
   Platzhalter unbemerkt online stehen bleiben. */
.todo {
  background: var(--alert-tint);
  color: var(--alert);
  border-bottom: 1px dashed var(--alert);
  padding: 1px 4px;
  font-weight: 600;
}

/* ---------------------------------------------------- Fuß */
footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: var(--surface-sunk);
  padding-block: 30px 40px;
}
.foot-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.disclaimer {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 44em;
}
.foot-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.foot-links a { color: var(--ink-soft); }
.foot-links a:hover { color: var(--primary); }

/* ---------------------------------------------------- Schmal */
@media (max-width: 640px) {
  .timeline { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; }
  .hero { padding-block: 44px 36px; }
  .topbar .status { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
