/* Komitee «Schulraum für ganz Neftenbach», Kampagnenseite. Look wie der Flyer (V4). Handy zuerst. */
@font-face { font-family: "Oswald"; src: url("fonts/Oswald-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("fonts/Oswald-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --blue: #057fd8;
  --blue-dark: #0566ad;
  --blue-light: #e6f2fc;
  --red: #ff453a;
  --red-dark: #d93025;
  --green: #4cd964;
  --ink: #1a1a1a;
  --muted: #555;
  --line: #d9dee5;
  --bg: #ffffff;
  --card: #f4f8fc;
  --ok: #1a7f37;
  --max: 960px;
  --radius: 14px;
  --head: "Oswald", "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: 1.7rem; color: var(--blue); margin-top: 0; font-weight: 700; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .9rem; color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
section { padding: 44px 0; }
section + section { border-top: 1px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #ffbf00; outline-offset: 2px; }
.nein-word { color: var(--red); font-weight: 700; }
.caps { text-transform: uppercase; }

/* Kopfleiste */
.topbar { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { font-weight: 700; color: var(--blue); text-decoration: none; font-size: 1rem; line-height: 1.15; }
.brand span { display: none; font-weight: 400; color: var(--muted); font-size: .8rem; }
.nav { display: none; gap: 18px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:hover { color: var(--blue); }
.menu-btn { background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; }
.btn { display: inline-block; background: var(--blue); color: #fff !important; text-decoration: none; padding: 12px 18px; border-radius: 10px; border: 2px solid var(--blue); cursor: pointer; font: inherit; font-weight: 700; min-height: 44px; line-height: 1.2; text-align: center; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn.ghost { background: #fff; color: var(--blue) !important; }
.btn.ghost:hover { background: var(--blue-light); }
.btn.inverse { background: #fff; color: var(--blue) !important; border-color: #fff; }
.btn.inverse:hover { background: var(--blue-light); }
.btn.red { background: var(--red); border-color: var(--red); color: #fff !important; }
.btn.red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.small { padding: 8px 12px; font-size: .95rem; min-height: 40px; }
.topbar .cta { display: inline-block; margin-left: auto; }
.mobile-nav { display: none; background: #fff; border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 16px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.mobile-nav a.cta-link { color: var(--blue); }
@media (min-width: 860px) {
  .nav { display: flex; gap: 14px; }
  .nav a { font-size: .9rem; white-space: nowrap; }
  .brand { white-space: nowrap; }
  .menu-btn { display: none; }
  .brand span { display: block; }
  .topbar .cta { margin-left: 0; }
  .mobile-nav { display: none !important; }
}

/* Kopfbereich wie Flyer: blau, NEIN rot, FÜR grün */
.hero { background: var(--blue); color: #fff; padding: 28px 0 30px; overflow: hidden; }
.hero .row { display: block; }
.hero .claim br { display: none; }
.hero .word { font-family: var(--head); font-weight: 700; line-height: .95; margin: 0; letter-spacing: -.01em; text-transform: uppercase; }
.hero .nein { color: var(--red); font-size: clamp(96px, 30vw, 168px); }
.hero .fuer { color: var(--green); font-size: clamp(96px, 30vw, 168px); }
.hero .claim { font-size: clamp(1.1rem, 3.6vw, 1.55rem); font-weight: 700; line-height: 1.3; margin: 0; }
.hero .claim .ohne { color: var(--red); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.hero .claim .echt { color: var(--green); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.hero .somit-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 14px 0; }
.hero .somit-row::before, .hero .somit-row::after { content: ""; height: 3px; background: #fff; }
.hero .somit { font-family: var(--head); font-weight: 700; font-size: clamp(30px, 8vw, 54px); text-transform: uppercase; line-height: 1; margin: 0; letter-spacing: .02em; }
.hero .tag { display: inline-block; background: #fff; color: var(--blue); border-radius: 12px; padding: 8px 16px; transform: rotate(-4deg); margin: 14px 0 4px; box-shadow: 0 3px 0 rgba(0,0,0,.12); }
.hero .tag .l { font-weight: 700; font-size: 1rem; display: block; line-height: 1.1; }
.hero .tag .d { font-family: var(--head); font-weight: 700; font-size: 2rem; line-height: 1; display: block; }
.hero .tag .c { font-weight: 400; font-size: .9rem; display: block; margin-top: 2px; color: var(--blue-dark); }
.hero .sender { margin: 14px 0 0; font-size: .95rem; opacity: .95; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
@media (min-width: 600px) {
  .hero .row { display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: center; }
  .hero .claim br { display: inline; }
}
@media (min-width: 700px) {
  .hero { padding: 36px 0 36px; }
  .hero .row { column-gap: 32px; }
  .hero .somit-row { margin: 18px 0; }
}

/* Inhalt */
.lead { font-size: 1.2rem; text-align: center; }
.lead .salute { color: var(--blue); font-weight: 700; display: block; margin-bottom: 6px; }
.lead .appeal { color: var(--blue); font-weight: 700; font-size: 1.35rem; line-height: 1.3; }
.lead .appeal .nein-word { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.box { background: var(--card); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0; }
.box.blue { background: var(--blue-light); }
.box.outline { background: #fff; border: 3px solid var(--blue); }
.box h3 { margin-top: 0; }
.reasons-box { background: #fff; border: 3px solid var(--blue); border-radius: var(--radius); padding: 18px 16px 8px; }
.reasons-box > h2 { color: var(--ink); font-size: 1.45rem; margin-bottom: 10px; }
.reasons { list-style: none; margin: 0; padding: 0; }
.reason { display: block; padding: 14px 0; border-top: 1px solid var(--line); }
.reason:first-child { border-top: 0; }
.reason .num { float: left; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin: 0 12px 6px 0; }
.reason h3 { margin: 4px 0 6px; font-size: 1.15rem; }
.reason h3 .nein-word { text-decoration: none; }
.reason p { margin-bottom: .6em; }
.reason > div::after { content: ""; display: block; clear: both; }
.reason details { margin-top: 4px; }
.reason summary, details.faq summary { cursor: pointer; font-weight: 700; color: var(--blue); padding: 6px 0; min-height: 44px; display: flex; align-items: center; }
.reason details div { padding: 6px 0 4px; border-left: 3px solid var(--blue-light); padding-left: 14px; margin-top: 6px; }
@media (min-width: 700px) {
  .reasons-box { padding: 24px 28px 12px; }
  .reason { display: grid; grid-template-columns: 44px 1fr; gap: 12px; }
  .reason .num { float: none; margin: 0; }
}
.closing { text-align: center; padding: 14px 8px 10px; font-size: 1.1rem; }
.closing .big { font-size: 1.3rem; font-weight: 700; color: var(--blue); margin: 8px 0 0; }
.src { font-size: .9rem; color: var(--muted); }
.src a { color: var(--blue); }
blockquote { margin: 10px 0; padding: 10px 16px; border-left: 4px solid var(--blue); background: var(--card); font-style: italic; }
blockquote cite { display: block; font-style: normal; font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* Tabellen, Dokumente */
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: 10px 8px; border-top: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 700; font-size: .85rem; }
.docs .doc { padding: 14px 0; border-top: 1px solid var(--line); }
.docs .doc:first-child { border-top: 0; }
.docs .doc h3 { font-size: 1.05rem; margin: 0 0 4px; }
.docs .doc p { margin: 0 0 6px; }
.docs .links a { margin-right: 14px; display: inline-block; }

/* Zeitstrahl */
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 3px solid var(--blue-light); }
.timeline li { position: relative; padding: 0 0 22px 14px; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; }
.timeline time { display: block; font-weight: 700; color: var(--blue); font-size: .95rem; }
.timeline p { margin: 2px 0 4px; }

/* Unterstützen */
.counter { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: baseline; margin-bottom: 16px; }
.counter .big { font-family: var(--head); font-size: 3rem; font-weight: 700; color: var(--red); line-height: 1; }
.quotes { display: grid; gap: 12px; margin: 16px 0; }
.quote { background: var(--card); border-radius: var(--radius); padding: 14px 16px; border-left: 4px solid var(--blue); }
.quote p { margin: 0 0 6px; font-size: 1.05rem; }
.quote .who { font-size: .9rem; color: var(--muted); }
.names { columns: 2; column-gap: 24px; font-size: .95rem; padding: 0; list-style: none; margin: 10px 0; }
.names li { break-inside: avoid; padding: 3px 0; }
@media (min-width: 700px) { .names { columns: 3; } .quotes { grid-template-columns: 1fr 1fr; } }
form .field { margin-bottom: 14px; }
form .submit-row .small { display: block; margin-top: 8px; }
form label { display: block; font-weight: 700; margin-bottom: 4px; font-size: .95rem; }
form input[type=text], form input[type=email], form select, form textarea {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #aab4bf; border-radius: 10px; background: #fff; min-height: 44px;
}
form textarea { min-height: 80px; resize: vertical; }
form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .95rem; }
form .check input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
form .hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-msg { margin-top: 12px; font-weight: 700; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--red-dark); }
.form-grid { display: grid; gap: 0 16px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.charcount { font-size: .85rem; color: var(--muted); text-align: right; }

/* Teilen */
.share { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 18px; }
.share-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.share-imgs a { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.share-imgs img { width: 100%; }
.share-imgs small { display: block; padding: 6px 8px; }

/* Abstimmen */
.ballot { border: 3px solid var(--blue); border-radius: var(--radius); padding: 18px 20px; margin: 16px 0; }
.ballot .q { font-style: italic; }
.ballot .a { font-weight: 700; color: var(--blue); font-size: 1.4rem; margin: 8px 0 0; }
.ballot .a .nein-word { font-family: var(--head); font-size: 1.8rem; letter-spacing: .02em; }

/* FAQ */
details.faq { border-top: 1px solid var(--line); padding: 4px 0; }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { font-size: 1.05rem; }
details.faq div { padding: 4px 0 14px; }
.faq-page details.faq { border: 0; padding: 0; }
.faq-page article { padding: 18px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.faq-page article h2 { font-size: 1.25rem; color: var(--ink); }
.faq-page article h2 a { color: inherit; text-decoration: none; }
.faq-page article h2 a:hover::after { content: " #"; color: var(--blue); }
.toc { list-style: decimal; padding-left: 22px; }
.toc li { padding: 3px 0; }

/* Fuss */
footer { background: var(--card); border-top: 1px solid var(--line); padding: 30px 0; font-size: .95rem; color: var(--muted); }
footer a { color: var(--blue); }
footer .links a { margin-right: 16px; }
footer .committee { color: var(--blue); font-weight: 700; }

@media print {
  .topbar, .mobile-nav, .actions, .share, footer .links, form, .menu-btn { display: none !important; }
  .hero { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { font-size: 11pt; }
  section { padding: 14pt 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
}

/* Fotos Schulhaus Heerenweg */
.photos-section .lead-left { font-size: 1.1rem; max-width: 760px; margin: 0 0 18px; }
.photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 10px; }
.photos figure { margin: 0; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.photos figure.wide { grid-column: 1 / -1; }
.photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photos figure.wide img { aspect-ratio: 2 / 1; }
.photos figcaption { font-size: .9rem; color: var(--muted); padding: 8px 12px; }
.photo-single { margin: 0 0 22px; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.photo-single img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.photo-single figcaption { font-size: .9rem; color: var(--muted); padding: 8px 12px; }
@media (max-width: 600px) {
  .photos { grid-template-columns: 1fr; gap: 10px; }
  .photos img, .photos figure.wide img, .photo-single img { aspect-ratio: 4 / 3; }
}

@media (min-width: 1060px) { .nav { gap: 18px; } .nav a { font-size: .95rem; } }
.photos.single { grid-template-columns: 1fr; }
