/* =====================================================================
   Poliobär – statische Abschlussseite
   END POLIO NOW · Rotary Distrikt 1880
   Eingefroren aus der Survey-App (Lovable/Surveyflow), keinerlei Backend.
   ===================================================================== */

:root {
  /* END POLIO NOW Kampagnenfarben (HSL) */
  --polio-red: 2 88% 49%;
  --polio-purple: 301 60% 36%;
  --rotary-blue: 207 100% 33%;
  --polio-orange: 30 93% 54%;
  --polio-pink: 338 85% 52%;
  --polio-lightblue: 196 100% 47%;
  --polio-dark: 0 0% 17%;
  --polio-gray: 0 0% 40%;
  --polio-bg-light: 0 0% 96%;

  --red: hsl(var(--polio-red));
  --dark: hsl(var(--polio-dark));
  --gray: hsl(var(--polio-gray));

  /* Seiten-Hintergrund = Marken-Farbverlauf. Akzent-Flächen in den Boxen: solide, KEINE Transparenz */
  --page-bg: linear-gradient(135deg, hsl(270 60% 55%), hsl(320 65% 50%) 50%, hsl(25 90% 55%));
  --tint-bg: hsl(6 72% 96%);
  --tint-border: hsl(6 55% 90%);
  --footer-bg: hsl(220 22% 14%);

  --radius: 1.5rem;
  --shadow-card: 0 10px 25px -5px hsl(220 25% 20% / 0.10), 0 4px 10px -6px hsl(220 25% 20% / 0.08);
  --shadow-soft: 0 1px 3px 0 hsl(0 0% 0% / 0.08), 0 1px 2px -1px hsl(0 0% 0% / 0.08);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
          "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--page-bg);
  background-attachment: fixed;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 64rem; margin-inline: auto; padding-inline: 1rem; }
.section { padding-block: 2.5rem; }
@media (min-width: 768px) { .section { padding-block: 3.5rem; } }

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
}
@media (min-width: 768px) { .card { padding: 2.5rem; } }
.card.flush { padding: 0; overflow: hidden; }
.narrow { max-width: 48rem; margin-inline: auto; }
.center { text-align: center; }

/* ---------- Typografie ---------- */
h1, h2, h3 { color: var(--dark); line-height: 1.2; letter-spacing: -0.02em; }
.h1 { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; }
.h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 700; margin-bottom: 1.25rem; }
.h3 { font-size: 1.05rem; font-weight: 700; }
.lead { color: var(--gray); max-width: 36rem; margin-inline: auto; }
.muted { color: var(--gray); }
.red { color: var(--red); }
.strong-dark { color: var(--dark); font-weight: 700; }
section p + p { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  height: 3rem; padding-inline: 2rem; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 1rem;
  text-decoration: none; box-shadow: 0 10px 20px -8px hsl(var(--polio-red) / 0.6);
  transition: filter .2s, box-shadow .2s, transform .2s; border: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); box-shadow: 0 14px 28px -8px hsl(var(--polio-red) / 0.7); transform: translateY(-1px); }
.btn-sm { height: 2.5rem; padding-inline: 1.25rem; font-size: 0.875rem; gap: 0.4rem; }
.btn-ghost { background: rgba(255,255,255,0.15); }
.btn .icon { width: 1.15rem; height: 1.15rem; }

/* ---------- Hero ---------- */
.hero { min-height: 78vh; display: flex; align-items: center; padding-block: 3.5rem; }
.hero-img-wrap { position: relative; }
.hero-img { width: 100%; height: 16rem; object-fit: cover; object-position: top; }
@media (min-width: 640px) { .hero-img { height: 20rem; } }
@media (min-width: 768px) { .hero-img { height: 24rem; } }
.hero-logo { position: absolute; top: 1rem; left: 1rem; height: 2.5rem; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
@media (min-width: 640px) { .hero-logo { top: 1.5rem; left: 1.5rem; height: 3rem; } }
.hero-body { padding: 1.75rem; }
@media (min-width: 768px) { .hero-body { padding: 2.5rem; } }
.hero-body > * + * { margin-top: 1.25rem; }

/* ---------- Status-Banner „Arbeit getan" ---------- */
.status {
  border: 2px solid var(--tint-border);
  background: var(--tint-bg);
}
.status .badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--red); color: #fff; font-weight: 700; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.status .badge .icon { width: 1rem; height: 1rem; }

/* ---------- Info-Boxen / Grids ---------- */
.tint { background: var(--tint-bg); border: 1px solid var(--tint-border); border-radius: 1rem; padding: 1.25rem; }
.grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; align-items: flex-start; gap: 0.75rem; }
.feature .icon { width: 1.25rem; height: 1.25rem; color: var(--red); flex-shrink: 0; margin-top: 0.15rem; }
.icon-tile { height: 3rem; width: 3rem; background: var(--red); border-radius: 0.85rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.icon-tile .icon { width: 1.5rem; height: 1.5rem; color: #fff; }

.stat-col { display: flex; flex-direction: column; gap: 1rem; }
.stat { background: var(--red); color: #fff; border-radius: 1rem; padding: 1.25rem; text-align: center; width: 11rem; }
.stat .icon { width: 1.75rem; height: 1.75rem; margin: 0 auto 0.5rem; }
.stat .num { font-size: 1.875rem; font-weight: 800; line-height: 1; }
.stat .lbl { font-size: 0.75rem; margin-top: 0.25rem; color: rgba(255,255,255,0.8); }

.split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr auto; } .hide-mobile { display: flex; } }
.hide-mobile { display: none; }

.bear-split { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .bear-split { flex-direction: row; } }
.bear-img { width: 12rem; height: 12rem; object-fit: cover; border-radius: 1rem; flex-shrink: 0; }
@media (min-width: 768px) { .bear-img { width: 14rem; height: 14rem; } }

.quote { background: var(--tint-bg); border: 1px solid var(--tint-border); border-radius: 1rem; padding: 1.5rem; }
.quote .mark { width: 1.75rem; height: 1.75rem; color: hsl(6 60% 80%); margin-bottom: 0.75rem; }
.quote p { font-style: italic; color: hsl(var(--polio-dark) / 0.8); }
.quote cite { display: block; margin-top: 1rem; font-size: 0.875rem; color: var(--gray); font-style: normal; font-weight: 500; }

.eyebrow { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.eyebrow img { height: 2.5rem; width: 2.5rem; border-radius: 0.6rem; }

/* ---------- Word Cloud (Ergebnis-Seite) ---------- */
.wc-card { background: var(--tint-bg); border: 1px solid var(--tint-border); border-radius: var(--radius); padding: 2rem 1.25rem; }
.wc-canvas {
  font-size: 2.2rem;            /* Basisgröße – Wörter skalieren in em proportional zum Original */
  min-height: 16rem;
  padding: 1.5rem 0.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.25rem 0.75rem;
  user-select: none;
}
@media (min-width: 768px) { .wc-canvas { font-size: 2.8rem; min-height: 22rem; } }
.wc-word { font-weight: 800; white-space: nowrap; display: inline-block; line-height: 1.15; }

.diskon {
  margin-top: 2rem; text-align: center;
  background: var(--red);
  color: #fff; border-radius: 1rem; padding: 1.75rem;
}
.diskon h3 { color: #fff; margin-bottom: 0.5rem; }
.diskon p { color: rgba(255,255,255,0.9); max-width: 34rem; margin: 0 auto 1.25rem; }
.diskon .btn { background: #fff; color: var(--red); box-shadow: none; }
.diskon .btn:hover { background: #fff; filter: brightness(0.96); }

/* ---------- Footer ---------- */
footer { background: var(--footer-bg); color: hsl(0 0% 80%); margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
footer h4 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
footer p, footer li, footer a { font-size: 0.875rem; }
footer a { text-decoration: none; transition: color .2s; }
footer a:hover { color: #fff; }
.footer-links { list-style: none; display: grid; gap: 0.5rem; }
.footer-contact > div + div { margin-top: 1rem; }
.footer-contact .row { display: flex; align-items: center; gap: 0.5rem; }
.footer-contact .icon { width: 0.9rem; height: 0.9rem; }
.socials { display: flex; gap: 0.75rem; margin-bottom: 1rem; }
.socials a { height: 2.5rem; width: 2.5rem; border-radius: 999px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.socials a:hover { background: rgba(255,255,255,0.2); }
.socials .icon { width: 1.25rem; height: 1.25rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.75rem; }
.tags span { background: rgba(255,255,255,0.1); padding: 0.25rem 0.7rem; border-radius: 999px; }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bar .inner { display: flex; flex-direction: column; gap: 1rem; align-items: center; padding-block: 1.5rem; }
@media (min-width: 768px) { .footer-bar .inner { flex-direction: row; justify-content: space-between; } }
.footer-bar img { height: 2rem; }
.footer-bar .copy { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.footer-bar nav { display: flex; gap: 1rem; font-size: 0.75rem; }

/* ---------- Rechtsseiten ---------- */
.legal { background: #fff; min-height: 100vh; color: var(--dark); }
.legal .container { max-width: 48rem; padding-block: 3rem; }
.legal h1 { font-size: 1.875rem; font-weight: 800; margin-bottom: 2rem; }
.legal section { margin-bottom: 1.75rem; }
.legal h2 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.legal h3 { font-size: 1.05rem; margin: 1rem 0 0.4rem; }
.legal p { color: var(--gray); }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--gray); text-decoration: none; margin-bottom: 2rem; }
.back-link:hover { color: var(--red); }
.back-link .icon { width: 1rem; height: 1rem; }

.icon { display: inline-block; vertical-align: middle; }
.list-check { list-style: none; display: grid; gap: 0.5rem; }
.list-check li { display: flex; gap: 0.5rem; align-items: flex-start; }
.list-check .icon { width: 1.1rem; height: 1.1rem; color: var(--red); flex-shrink: 0; margin-top: 0.2rem; }
