/* KIFKA – KI Festival Kaufbeuren
   Leitbild: eine Betonwand, auf der leuchtende Linien eingeritzt sind
   (wie im Titelbild), darauf Fotos in Torbögen und Papierbögen. */

/* ---------- Schriften (lokal eingebunden, keine externen Server) ---------- */
@font-face { font-family: 'Barlow'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 400; font-style: italic; font-display: swap; src: url('../fonts/barlow-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/barlow-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/barlow-semi-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/barlow-semi-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Courier Prime'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/courier-prime-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Courier Prime'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/courier-prime-latin-700-normal.woff2') format('woff2'); }

:root {
  --wall: #aab1b8;
  --ink: #16222c;
  --ink-soft: #33434f;
  --paper: #f4f2ec;
  --paper-ink: #1b2730;
  --paper-soft: #55626c;
  --glow: #f4fbff;
  --night: #121a21;
  --stamp: #a8372c;
  --head: 'Barlow Semi Condensed', 'Arial Narrow', Arial, sans-serif;
  --body: 'Barlow', 'Segoe UI', Arial, sans-serif;
  --type: 'Courier Prime', 'Courier New', monospace;
  --width: 1120px;
  --lift: 0 34px 70px -38px rgba(12, 22, 32, 0.62);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--wall);
  /* feine Körnung plus zwei weiche Lichtflecken: wirkt wie Sichtbeton */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"),
    radial-gradient(900px 700px at 12% 1500px, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(1000px 800px at 92% 3300px, rgba(255, 255, 255, 0.14), transparent 70%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2.5px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.04;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.15; margin-bottom: 0.35em; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; padding: clamp(4rem, 9vw, 7.5rem) 0; }

/* Kapitelmarke: Knotenpunkt mit kurzer Leuchtlinie, Schreibmaschinenschrift */
.kapitel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--type);
  font-size: 0.98rem;
  color: var(--ink-soft);
  margin: 0 0 0.9rem;
}
.kapitel::before {
  content: '';
  flex: none;
  width: 48px;
  height: 12px;
  background:
    radial-gradient(circle at 42px 6px, transparent 2.4px, var(--glow) 2.9px, var(--glow) 4.3px, transparent 4.9px),
    linear-gradient(var(--glow), var(--glow)) left center / 37px 1.5px no-repeat;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.95));
}

.lead-text { font-size: 1.14rem; max-width: 44rem; color: var(--ink-soft); }
.lead-text p { margin-bottom: 0.9em; }

/* ---------- Leuchtlinien, die sich durch die Seite ziehen ---------- */
main { position: relative; }

.trace-spine {
  position: absolute;
  top: 92vh;
  bottom: 0;
  width: 120px;
  pointer-events: none;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 220px, #000 calc(100% - 200px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 220px, #000 calc(100% - 200px), transparent 100%);
}
.trace-spine.left  { left: max(2px, calc(50% - 692px)); background: url('../img/trace-left.svg') top center / 120px 720px repeat-y; }
.trace-spine.right { right: max(2px, calc(50% - 692px)); background: url('../img/trace-right.svg') top center / 120px 880px repeat-y; }

.trace-divider {
  height: 80px;
  margin: 0 auto;
  max-width: 1400px;
  background: url('../img/trace-h.svg') center / 560px 80px repeat-x;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 30%, #000 70%, transparent 96%);
  mask-image: linear-gradient(90deg, transparent 4%, #000 30%, #000 70%, transparent 96%);
}

.fan {
  position: absolute;
  z-index: 0;
  width: 430px;
  height: 261px;
  background: url('../img/trace-fan.svg') center / contain no-repeat;
  pointer-events: none;
  opacity: 0.85;
}
.fan.from-right { right: 0; transform: scaleX(-1); }
.fan.from-left { left: 0; }

/* ---------- Kopfleiste ---------- */
.site-header {
  position: fixed;
  top: 14px; left: 0; right: 0;
  z-index: 50;
  pointer-events: none;
}
.site-header .bar {
  pointer-events: auto;
  position: relative;
  width: min(var(--width), calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.55rem 0.5rem 1.5rem;
  border-radius: 999px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled .bar,
.site-header.nav-open .bar {
  background: rgba(222, 226, 229, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 16px 34px -22px rgba(12, 22, 32, 0.7);
}
.brand {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.nav-links a:hover { background: rgba(255, 255, 255, 0.45); }
.nav-links .nav-cta a {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  margin-left: 0.5rem;
}
.nav-links .nav-cta a:hover { background: #26363f; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); }

/* ---------- Auftakt ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  overflow: hidden;
}
.hero-graphic {
  position: absolute;
  top: 0; right: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  /* links und unten weich in die Wand auslaufen lassen */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 44%), linear-gradient(180deg, #000 60%, transparent 97%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 44%), linear-gradient(180deg, #000 60%, transparent 97%);
  mask-composite: intersect;
}
.hero-content { max-width: 36rem; }
.hero-content .lead, .hero-content .organizer-line { max-width: 27.5rem; }
.hero h1 {
  font-size: clamp(4.6rem, 15vw, 9.75rem);
  letter-spacing: 0.035em;
  line-height: 0.88;
  margin: 0 0 0.12em -0.04em;
}
.hero .claim {
  font-family: var(--head);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.1;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
/* hebt die Buchstaben hervor, aus denen sich KIFKA zusammensetzt */
.hero .claim b { font-weight: 700; color: var(--ink); }
.hero .lead { font-size: 1.22rem; line-height: 1.5; margin-bottom: 1.4rem; }
.organizer-line {
  font-family: var(--type);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 18px 30px -18px rgba(10, 20, 30, 0.85); }
.btn-dark:hover { background: #26363f; }
.btn-soft { background: rgba(255, 255, 255, 0.55); color: var(--ink); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-soft:hover { background: rgba(255, 255, 255, 0.85); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- Bild im Torbogen ---------- */
.duo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.duo.flip { grid-template-columns: 0.85fr 1.15fr; }
.duo-text p { color: var(--ink-soft); }

.arch {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 4 / 5.6;
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px 999px 34px 34px;
  box-shadow: var(--lift);
}
.arch::before {
  /* leuchtende Bogenlinie um das Bild */
  content: '';
  position: absolute;
  inset: -18px -18px 22px -18px;
  border: 1.5px solid var(--glow);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.95));
  pointer-events: none;
}
.arch::after {
  /* Knotenpunkt am Ende der Bogenlinie */
  content: '';
  position: absolute;
  left: -23.5px; bottom: 10px;
  width: 9px; height: 9px;
  border: 1.5px solid var(--glow);
  border-radius: 50%;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.95));
}

.quelle {
  font-family: var(--type);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 1.6rem;
}

/* ---------- Ziele ---------- */
.zwei {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin: 2.6rem 0 3.2rem;
  max-width: 54rem;
}
.zwei p { color: var(--ink-soft); }

.sheets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}
.sheets .sheet:nth-child(2) { margin-top: 2.75rem; }

.sheet {
  position: relative;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 30px;
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
  box-shadow: var(--lift);
}
.sheet p { color: var(--paper-soft); }
.sheet .typed { font-family: var(--type); font-size: 0.92rem; color: var(--paper-soft); margin-bottom: 0.5rem; }

.knoten { list-style: none; margin: 1rem 0 0; padding: 0; }
.knoten li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.9rem;
  color: var(--paper-soft);
}
.knoten li::before {
  content: '';
  position: absolute;
  left: 0.15rem; top: 1.05rem;
  width: 9px; height: 9px;
  border: 1.75px solid var(--paper-ink);
  border-radius: 50%;
}
/* ---------- Leitidee: drei Stationen an einer Linie ---------- */
.stations {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.4rem;
  padding-top: 2.4rem;
}
.stations::before {
  content: '';
  position: absolute;
  top: 5px; left: 0; right: 8%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--glow) 80%, transparent);
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.95));
}
.station { position: relative; }
.station::before {
  content: '';
  position: absolute;
  top: calc(-2.4rem - 1px); left: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--wall);
  border: 1.75px solid var(--glow);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.95);
}
.station p { color: var(--ink-soft); }

/* ---------- Mitmachen: Auswahl und Antrag ---------- */
.choices {
  border: 0;
  margin: 2.6rem 0 1.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.choice {
  position: relative;
  display: block;
  padding: 1.5rem 1.6rem 1.6rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.choice:hover { background: rgba(255, 255, 255, 0.48); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: 0.45rem;
}
.choice-title::before {
  content: '';
  flex: none;
  width: 15px; height: 15px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.choice-text { display: block; font-size: 1rem; line-height: 1.5; color: var(--ink-soft); }
.choice.is-on {
  background: var(--paper);
  transform: translateY(-4px);
  box-shadow: var(--lift);
}
.choice.is-on .choice-title::before { background: var(--ink); box-shadow: inset 0 0 0 3px var(--paper); }
.choice:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }

.antrag { padding-top: clamp(2rem, 4vw, 2.8rem); }
.antrag-kopf { margin-bottom: 1.8rem; padding-right: 13rem; }
.antrag-kopf h3 { font-size: 1.9rem; font-weight: 700; }
.stamp {
  position: absolute;
  top: 2rem; right: 2.2rem;
  transform: rotate(6deg);
  padding: 0.4rem 0.8rem 0.25rem;
  border: 2.5px solid var(--stamp);
  border-radius: 12px;
  color: var(--stamp);
  font-family: var(--type);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.8;
}

.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1.75rem; }
.feld { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.feld.breit { grid-column: 1 / -1; }
.feld label, .feld .label { font-weight: 600; font-size: 0.98rem; }
.feld .hint { font-weight: 400; color: var(--paper-soft); }
.feld input[type="text"],
.feld input[type="email"],
.feld input[type="tel"],
.feld select,
.feld textarea {
  width: 100%;
  font-family: var(--type);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--paper-ink);
  background: rgba(27, 39, 48, 0.055);
  border: 0;
  border-bottom: 1.5px dashed rgba(27, 39, 48, 0.45);
  border-radius: 14px 14px 6px 6px;
  padding: 0.75rem 0.9rem 0.6rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.feld textarea { min-height: 8rem; resize: vertical; }
.feld select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231b2730' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.95rem center; }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  outline: none;
  background-color: rgba(27, 39, 48, 0.1);
  border-bottom: 1.5px solid var(--paper-ink);
}
.gruppe { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 1.75rem; }
.gruppe[hidden] { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.15rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(27, 39, 48, 0.07);
  font-size: 0.98rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.chip input:checked + span { background: var(--paper-ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--paper-ink); outline-offset: 2px; }

.zustimmung { grid-column: 1 / -1; display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.98rem; color: var(--paper-soft); }
.zustimmung input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0.2rem 0 0; accent-color: var(--paper-ink); }

.absenden { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 0.4rem; }
.absenden .typed { margin: 0; flex: 1 1 16rem; }

.meldung {
  grid-column: 1 / -1;
  border-radius: 20px;
  padding: 1rem 1.25rem;
  background: rgba(27, 39, 48, 0.07);
  color: var(--paper-ink);
}
.meldung:empty { display: none; }
.meldung.fehler { background: rgba(168, 55, 44, 0.12); }
.meldung strong { font-family: var(--head); font-size: 1.3rem; display: block; margin-bottom: 0.15rem; }

/* Köderfeld gegen Spam, für Menschen unsichtbar */
.koeder { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Unterstützer ---------- */
.supporters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.supporter {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 124px;
  padding: 1.1rem 1rem;
  border-radius: 22px;
  text-align: center;
  text-decoration: none;
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.15;
  color: var(--paper-ink);
  transition: background 0.2s ease, transform 0.2s ease;
}
.supporter:hover { background: rgba(27, 39, 48, 0.06); transform: translateY(-2px); }
.supporter img { max-height: 68px; max-width: 100%; width: auto; object-fit: contain; }

/* ---------- Kontakt ---------- */
.kontakt-karte { font-size: 1.14rem; margin: 1.4rem 0 1.8rem; }
.kontakt-karte strong { font-family: var(--head); font-size: 1.5rem; font-weight: 700; }

/* ---------- Fuß: die Wand läuft in die Nacht aus ---------- */
.site-footer {
  position: relative;
  padding: 15rem 0 2.5rem;
  background: linear-gradient(180deg, rgba(18, 26, 33, 0) 0, rgba(18, 26, 33, 0.18) 3rem, rgba(18, 26, 33, 0.55) 7rem, rgba(18, 26, 33, 0.88) 11rem, var(--night) 14rem);
  color: #c9d1d7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.site-footer h3 { font-size: 1.25rem; color: #fff; margin-bottom: 0.7rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  font-family: var(--type);
  font-size: 0.9rem;
  color: #97a3ab;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- Impressum und Datenschutz ---------- */
.legal { padding: 9rem 0 2rem; }
.legal .sheet { max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.1rem); }
.legal h2 { font-size: 1.55rem; margin-top: 2.1em; }
.legal a { overflow-wrap: anywhere; }
.platzhalter {
  background: #fdf0c8;
  color: #5c4a12;
  border-radius: 16px;
  padding: 0.85rem 1.1rem;
  font-size: 0.98rem;
  margin: 0.6rem 0 1.3rem;
}
.sheet .platzhalter { color: #5c4a12; }

/* ---------- sanftes Einblenden ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .choice.is-on, .supporter:hover { transform: none; }
}

/* ---------- schmalere Bildschirme ---------- */
@media (max-width: 1240px) {
  .trace-spine { display: none; }
  .fan { opacity: 0.45; }
}

@media (max-width: 980px) {
  .supporters { grid-template-columns: repeat(3, 1fr); }
  .choices { grid-template-columns: 1fr; }
  .choice.is-on { transform: none; }
  .fan { opacity: 0.3; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.9rem;
    border-radius: 28px;
    background: var(--paper);
    box-shadow: var(--lift);
  }
  .site-header.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; font-size: 1.1rem; }
  .nav-links .nav-cta a { margin: 0.4rem 0 0; text-align: center; }

  .duo, .duo.flip { grid-template-columns: 1fr; }
  .duo.flip .arch { order: 2; }
  .arch { max-width: 300px; margin-top: 1.5rem; }
  .zwei, .sheets { grid-template-columns: 1fr; }
  .sheets .sheet:nth-child(2) { margin-top: 0; }

  .stations { grid-template-columns: 1fr; gap: 2rem; padding: 0 0 0 2.2rem; }
  .stations::before {
    top: 0.4rem; bottom: 12%; left: 6px; right: auto;
    width: 1.5px; height: auto;
    background: linear-gradient(180deg, var(--glow) 80%, transparent);
  }
  .station::before { top: 0.35rem; left: calc(-2.2rem + 0.5px); }

  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (max-width: 700px) {
  body { font-size: 1.03rem; }
  .hero { padding-top: 6.5rem; }
  .hero-graphic {
    width: 100%;
    opacity: 0.35;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 45%, transparent 98%);
    -webkit-mask-composite: source-over;
    mask-image: linear-gradient(180deg, transparent 0, #000 45%, transparent 98%);
    mask-composite: add;
  }
  .felder, .gruppe { grid-template-columns: 1fr; }
  .antrag-kopf { padding-right: 0; }
  .stamp { position: static; display: inline-block; margin-bottom: 1.2rem; transform: rotate(-3deg); }
  .supporters { grid-template-columns: repeat(2, 1fr); }
  .supporter { min-height: 100px; }
  .trace-divider { height: 60px; background-size: 420px 60px; }
  .fan { display: none; }
}
