/* Jost – SIL Open Font License, lokal gehostet (siehe assets/fonts/OFL.txt) */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/jost-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #25394c;
  --red: #e41b1c;
  --blue: #008fcf;
  --green: #00693e;
  --snow: #f6f8fa;
  --white: #ffffff;
  --line: #dfe5ea;
  --muted: #5b6b7a;
  --radius: 14px;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--snow);
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 72px 0 180px;
  background: var(--white);
  overflow: hidden;
}

.hero__logo {
  width: min(560px, 86vw);
  height: auto;
  margin: 0 auto;
}

.hero h1 {
  margin: 48px 0 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 40rem;
  margin: 20px auto 0;
  font-size: 1.2rem;
  color: var(--muted);
  text-wrap: pretty;
}

/* Drei Spuren in den Gemeindefarben */
.tracks {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 150px;
  pointer-events: none;
}
.tracks path {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* ---------- QR-Hinweis ---------- */
.hello {
  margin: -36px auto 0;
  position: relative;
  z-index: 1;
}
.hello__box {
  display: flex;
  gap: 18px;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(37, 57, 76, 0.18);
}
.hello__icon { flex: none; width: 44px; height: 44px; }
.hello p { margin: 0; font-size: 1.05rem; line-height: 1.45; }
.hello strong { font-weight: 600; }

/* ---------- Sections ---------- */
section { padding: 88px 0 0; }

.kicker {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.prose p { margin: 0 0 1em; }

.places {
  list-style: none;
  margin: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.places li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.places li:last-child { border-bottom: 0; }
.places .bar {
  flex: none;
  width: 28px;
  height: 6px;
  border-radius: 3px;
  transform: translateY(-4px);
}
.places strong { font-size: 1.25rem; font-weight: 600; }
.places span.meta { margin-left: auto; font-size: 0.95rem; color: var(--muted); }

/* Bald verfügbar */
.soon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.soon li {
  padding: 22px 20px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--c, var(--navy));
  border-radius: var(--radius);
}
.soon h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.soon p { margin: 0; font-size: 0.98rem; line-height: 1.5; color: var(--muted); }

/* Kontakt */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact address { font-style: normal; }
.contact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; }
.contact a { font-weight: 500; }

/* ---------- Förderung & Footer ---------- */
.funding {
  margin-top: 96px;
  padding: 56px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.funding__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.funding__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 40px);
  width: 100%;
}
.funding__logo { flex: 0 1 520px; min-width: 0; width: 100%; height: auto; }
.funding__flags { flex: 0 1 151px; min-width: 0; width: 100%; height: auto; }
.funding p { max-width: 44rem; margin: 0; font-size: 0.95rem; color: var(--muted); }

.site-footer {
  padding: 28px 0 36px;
  font-size: 0.95rem;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
}
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--navy); text-decoration: none; font-weight: 500; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.page-header {
  padding: 32px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.page-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.page-header img { width: 200px; height: auto; }
.page-header a.back { font-size: 0.95rem; font-weight: 500; text-decoration: none; }

.legal { max-width: 760px; padding-top: 56px; }
.legal h1 { margin: 0 0 28px; font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 600; line-height: 1.15; }
.legal h2 { margin: 40px 0 10px; font-size: 1.3rem; }
.legal h3 { margin: 24px 0 6px; font-size: 1.1rem; font-weight: 600; }
.legal p, .legal ul { margin: 0 0 1em; }
.legal ul { padding-left: 1.2em; }
.legal address { font-style: normal; margin: 0 0 1em; }
.legal .note {
  padding: 14px 18px;
  background: #fff6d6;
  border-left: 4px solid #e0b300;
  border-radius: 6px;
  font-size: 0.95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .soon { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 1.05rem; }
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 130px; min-height: 86svh; }
  .hero h1 { margin-top: 36px; }
  .hello { margin-top: -12px; }
  .tracks { height: 110px; }
  .hello__box { padding: 16px 18px; gap: 14px; }
  .hello__icon { width: 36px; height: 36px; }
  section { padding-top: 64px; }
  .soon { grid-template-columns: 1fr; }
  .places, .contact { padding: 22px; }
  .contact dl { grid-template-columns: 1fr; gap: 0; }
  .contact dd { margin-bottom: 8px; }
  .page-header img { width: 150px; }
}

@media print {
  .tracks, .hello { display: none; }
  .hero { min-height: 0; padding: 24px 0; }
}
