/* dito ASK — Übersicht der Teilnahme-Domain (0.9.1, 0.9.3: Kurzbeschreibung und Angaben je Kachel; Entwurf „B · Kontrast“, Entscheidung Heinz 19.10.2026).
   Eigenständig: keine Abhängigkeit von public-base.css/participate.css. Farbe je Kachel über --tile (landing.js). */
:root {
  --navy: #012e5d;
  --navy-dark: #00203f;
  --bg: #e5ecf3;
  --text: #14202c;
  --muted: #4f5d6c;
  --on-navy-muted: #dbe4ee;
  --kicker: #c9d6e4;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.landing {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font-family: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.5;
}
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--navy); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }

.hero { background: var(--navy); color: #fff; padding: 20px 24px 76px; }
.hero__inner { max-width: 1120px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; margin-bottom: 48px; font-size: 16px; }
.brand__mark { width: 32px; height: 32px; border-radius: 8px; background: #fff; color: var(--navy); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.hero__kicker { margin: 0 0 10px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--kicker); }
.hero__title { margin: 0 0 14px; font-size: 44px; line-height: 1.1; font-weight: 700; max-width: 720px; }
.hero__lead { margin: 0; font-size: 18px; color: var(--on-navy-muted); max-width: 620px; }

.tiles-wrap { flex: 1 0 auto; width: 100%; max-width: 1168px; margin: -44px auto 0; padding: 0 24px 56px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.tiles > li { display: flex; }
.tile {
  --tile: var(--navy);
  flex: 1; display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden;
  text-decoration: none; color: var(--text); box-shadow: 0 2px 8px rgba(1, 46, 93, .08); transition: box-shadow .15s ease;
}
.tile:hover { color: var(--text); box-shadow: 0 10px 28px rgba(1, 46, 93, .18); }
.tile:hover .tile__go { background: var(--navy-dark); }
.tile:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.tile__banner { display: block; width: 100%; height: auto; aspect-ratio: 4 / 1; object-fit: cover; background: #d5dde6; }
.tile__banner--none { background: var(--tile); color: #fff; font-size: 28px; font-weight: 700; letter-spacing: .02em; display: flex; align-items: flex-end; padding: 14px 20px; }
.tile__body { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 20px 22px 22px; }
.tile__title { font-size: 22px; line-height: 1.25; font-weight: 700; overflow-wrap: anywhere; }
.tile__desc { color: var(--muted); font-size: 16px; overflow-wrap: anywhere; }
.tile__facts { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.tile__fact { display: flex; align-items: flex-start; gap: 10px; overflow-wrap: anywhere; }
.tile__fact-icon { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile__crowd { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; background: var(--bg); font-size: 15px; }
.tile__crowd-head { font-weight: 700; color: var(--navy); }
.tile__crowd-line strong { font-weight: 700; color: var(--navy); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tile__meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tile__when { display: flex; flex-direction: column; gap: 2px; }
.tile__label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tile__range { font-size: 16px; }
.tile__code { font-size: 14px; color: var(--muted); }
.tile__cta { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.tile__left { padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--navy); font-size: 14px; font-weight: 600; white-space: nowrap; }
.tile__go { width: 44px; height: 44px; border-radius: 999px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .15s ease; }

.empty { background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 2px 8px rgba(1, 46, 93, .08); max-width: 720px; }
.empty h2 { margin: 0 0 8px; font-size: 22px; }
.empty p { margin: 0; color: var(--muted); }

.landing-footer { padding: 24px; text-align: center; font-size: 14px; color: var(--muted); }

@media (max-width: 639px) {
  .hero { padding: 16px 16px 64px; }
  .brand { margin-bottom: 32px; }
  .hero__title { font-size: 32px; }
  .hero__lead { font-size: 17px; }
  .tiles-wrap { padding: 0 16px 40px; }
  .tiles { gap: 16px; }
  .tile__body { padding: 16px 18px 18px; }
  .tile__title { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .tile, .tile__go { transition: none; } }
