/* daisch50.de — Stylesheet */
:root {
  --rot: #c1121f;
  --rot-dunkel: #9a0e18;
  --anthrazit: #1d2228;
  --grau: #5c6670;
  --hell: #f6f7f8;
  --gelb: #ffc300;
  --gruen: #2a9d3a;
  --radius: 14px;
  --max: 880px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--anthrazit);
  background: var(--hell);
  line-height: 1.6;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header / Hero ---------- */
header.hero {
  background: linear-gradient(160deg, #14181d 0%, #232a33 60%, #2c3540 100%);
  color: #fff;
  padding: 48px 0 56px;
  text-align: center;
  overflow: hidden;
}
.schild-wrap { display: flex; justify-content: center; align-items: center; gap: 28px; margin-bottom: 28px; flex-wrap: wrap; }
.schild { width: 130px; height: 130px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); }
.schild.klein { width: 96px; height: 96px; opacity: .95; }
.pfeil { font-size: 44px; color: var(--gelb); }
h1.claim {
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.1;
}
h1.claim .durchgestrichen { text-decoration: line-through; text-decoration-color: var(--rot); text-decoration-thickness: 6px; }
p.subclaim {
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  margin: 18px auto 0;
  max-width: 640px;
  color: #cfd6dd;
}
p.subclaim strong { color: #fff; }
.hero-cta { margin-top: 30px; }

/* ---------- Fortschritt / Meilensteine ---------- */
.fortschritt {
  background: linear-gradient(180deg, #ffce2e 0%, var(--gelb) 100%);
  color: var(--anthrazit);
  padding: 16px 0 18px;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.08);
}
.fortschritt-kopf {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.fortschritt-zahl b { font-size: 1.6rem; }
.fortschritt-ziel { font-weight: 600; opacity: .85; }
.balken {
  height: 22px;
  background: rgba(0,0,0,.13);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.18);
}
.balken-fuell {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rot) 0%, #e63946 60%, #ff6b35 100%);
  background-size: 200% 100%;
  transition: width 1.1s cubic-bezier(.22,.9,.28,1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
/* dezent wandernder Glanz — signalisiert „läuft noch" */
.balken-fuell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.32) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: glanz 2.8s ease-in-out infinite;
}
@keyframes glanz { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.balken-prozent {
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.fortschritt-fuss {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
  font-size: .9rem;
  font-weight: 600;
  flex-wrap: wrap;
}
.meilensteine { display: flex; gap: 6px; flex-wrap: wrap; }
.meilensteine .ms {
  background: rgba(0,0,0,.10);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: .8rem;
  font-weight: 700;
  opacity: .6;
}
.meilensteine .ms-erreicht { background: var(--gruen); color: #fff; opacity: 1; }
.meilensteine .ms-aktiv { background: var(--rot); color: #fff; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .balken-fuell { transition: none; }
  .balken-fuell::after { animation: none; }
}

/* ---------- Sektionen ---------- */
section { padding: 52px 0; }
section.alt { background: #fff; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; margin-bottom: 18px; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; margin: 22px 0 8px; }
p + p { margin-top: 12px; }
.lead { font-size: 1.12rem; }

/* Fakten-Karten */
.fakten { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 26px; }
.fakt {
  background: #fff;
  border: 1px solid #e3e6e9;
  border-left: 5px solid var(--rot);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
section.alt .fakt { background: var(--hell); }
.fakt .zahl { font-size: 2rem; font-weight: 900; color: var(--rot); display: block; margin-bottom: 6px; }

/* Bilder */
.bilder { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 26px; }
.bilder figure { border-radius: var(--radius); overflow: hidden; background: #dde1e5; box-shadow: 0 3px 14px rgba(0,0,0,.12); }
.bilder img { width: 100%; height: 240px; object-fit: cover; display: block; }
.bilder figcaption { font-size: .85rem; color: var(--grau); padding: 10px 14px; }

/* Forderungen */
ol.forderungen { margin: 20px 0 0 0; padding-left: 0; list-style: none; counter-reset: f; }
ol.forderungen li {
  counter-increment: f;
  background: #fff;
  border: 1px solid #e3e6e9;
  border-radius: var(--radius);
  padding: 18px 20px 18px 64px;
  margin-bottom: 12px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
ol.forderungen li::before {
  content: counter(f);
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--rot); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Formular ---------- */
#unterschreiben { scroll-margin-top: 20px; }
form.petition {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #e3e6e9;
  box-shadow: 0 6px 26px rgba(0,0,0,.09);
  padding: 28px;
  margin-top: 26px;
}
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feld { display: flex; flex-direction: column; }
.feld.voll { grid-column: 1 / -1; }
.feld label { font-weight: 600; font-size: .92rem; margin-bottom: 5px; }
.feld label .opt { color: var(--grau); font-weight: 400; }
.feld input, .feld textarea {
  padding: 12px 14px;
  border: 1.5px solid #cfd4d9;
  border-radius: 9px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--hell);
}
.feld input:focus, .feld textarea:focus { outline: 2px solid var(--rot); border-color: var(--rot); background: #fff; }
.checkzeile { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .92rem; }
.checkzeile input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--rot); }
.checkzeile a { color: var(--rot); }
button.cta {
  display: inline-block;
  background: var(--rot);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 16px 42px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(193,18,31,.35);
  transition: transform .12s, background .12s;
}
button.cta:hover { background: var(--rot-dunkel); transform: translateY(-2px); }
button.cta:disabled { background: var(--grau); cursor: wait; transform: none; box-shadow: none; }
a.cta-link {
  display: inline-block;
  background: var(--rot);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 15px 38px;
  box-shadow: 0 6px 18px rgba(193,18,31,.45);
  transition: transform .12s, background .12s;
}
a.cta-link:hover { background: var(--rot-dunkel); transform: translateY(-2px); }
.form-hinweis { font-size: .85rem; color: var(--grau); margin-top: 14px; }
.form-status { margin-top: 16px; font-weight: 700; padding: 12px 16px; border-radius: 9px; display: none; }
.form-status.ok { display: block; background: #e6f6e8; color: var(--gruen); border: 1px solid #bfe5c4; }
.form-status.fehler { display: block; background: #fdecea; color: var(--rot); border: 1px solid #f5c6c2; }

/* Foto-Anhänge */
/* Honeypot — unsichtbar, aber nicht display:none (das erkennen manche Bots) */
.hp-feld {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Nativer Datei-Input wird versteckt — sein Systemtext ist je nach Browser
   unterschiedlich lang und sprengt auf iOS die Zeile. Das Label ersetzt ihn. */
.datei-input-versteckt {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.datei-button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1.5px dashed #cfd4d9;
  border-radius: 9px;
  background: var(--hell);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  color: var(--anthrazit);
}
.datei-button:hover { border-color: var(--rot); color: var(--rot); }
.datei-input-versteckt:focus-visible + .datei-button { outline: 2px solid var(--rot); }
.upload-hinweis { font-size: .82rem; color: var(--grau); margin-top: 8px; line-height: 1.5; overflow-wrap: anywhere; }
.anhang-preview { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.anhang-thumb { position: relative; }
.anhang-thumb img {
  width: 90px; height: 90px; object-fit: cover;
  border-radius: 9px; border: 1px solid #cfd4d9; display: block;
}
.anhang-thumb button {
  position: absolute; top: -8px; right: -8px;
  width: 26px; height: 26px; border-radius: 50%;
  border: 0; background: var(--rot); color: #fff;
  font-size: 13px; cursor: pointer; line-height: 1;
}

/* Unterstützerliste */
.signer-liste { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.signer-liste li {
  background: #fff;
  border: 1px solid #e3e6e9;
  border-radius: 9px;
  padding: 10px 14px;
  font-size: .95rem;
  overflow-wrap: anywhere;
}
.signer-mehr { color: var(--grau); margin-top: 12px; font-size: .95rem; }

/* FAQ */
details {
  background: #fff;
  border: 1px solid #e3e6e9;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 10px;
}
details summary { font-weight: 700; cursor: pointer; }
details[open] summary { margin-bottom: 8px; }

/* ---------- Footer ---------- */
footer {
  background: var(--anthrazit);
  color: #aab3bc;
  padding: 34px 0;
  font-size: .9rem;
}
footer a { color: #dfe4e8; text-decoration: none; margin-right: 18px; }
footer a:hover { text-decoration: underline; }
footer .fu { margin-top: 10px; }

/* Unterseiten (Impressum/Datenschutz) */
main.doc { padding: 48px 0 64px; }
main.doc h1 { font-size: 1.9rem; margin-bottom: 20px; hyphens: auto; overflow-wrap: break-word; }
main.doc h2 { font-size: 1.25rem; margin: 26px 0 8px; }
main.doc p, main.doc li { font-size: .98rem; }
main.doc ul { padding-left: 22px; margin: 8px 0; }
main.doc a { overflow-wrap: anywhere; }
a.zurueck { display: inline-block; margin-bottom: 26px; color: var(--rot); font-weight: 600; text-decoration: none; }
a.zurueck:hover { text-decoration: underline; }

/* FAQ-Summary: großzügige Touch-Fläche */
details summary { padding: 6px 0; min-height: 32px; }

@media (max-width: 620px) {
  .felder { grid-template-columns: 1fr; }
  .schild { width: 104px; height: 104px; }
  .schild.klein { width: 78px; height: 78px; }
  header.hero { padding: 34px 0 40px; }
  .schild-wrap { gap: 16px; margin-bottom: 20px; }
  .pfeil { font-size: 32px; }
  section { padding: 38px 0; }
  form.petition { padding: 18px 14px; }
  button.cta { width: 100%; padding: 16px 20px; }
  a.cta-link { display: block; text-align: center; }
  .fortschritt-kopf { font-size: .95rem; }
  .fortschritt-zahl b { font-size: 1.35rem; }
  .fortschritt-fuss { font-size: .84rem; }
  .meilensteine .ms { padding: 3px 9px; font-size: .75rem; }
  .bilder img { height: 200px; }
  ol.forderungen li { padding: 14px 16px 14px 58px; }
  .checkzeile { font-size: .95rem; }
  .checkzeile input { width: 22px; height: 22px; }
  main.doc { padding: 32px 0 44px; }
}

@media (max-width: 380px) {
  h1.claim { font-size: 1.9rem; }
  .schild { width: 88px; height: 88px; }
  .schild.klein { width: 66px; height: 66px; }
  main.doc h1 { font-size: 1.55rem; }
}
