/* Übergangsseite Karnevalisten Rot-Weiß Medebach
   Keine externen Schriften oder Skripte (Datenschutz, Sicherheit). */

:root {
  --rot: #e30613;
  --rot-dunkel: #8c0010;
  --rot-tief: #4a0008;
  --weiss: #ffffff;
  --creme: #fff7f2;
  --text: #2a1a1c;
  --text-hell: #6b5558;
  --gold: #f5c518;
  --eis: #a8e6ff;
  --radius: 18px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--creme);
  line-height: 1.55;
}

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

a { color: var(--rot); }

.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 16px; }

/* ---------- Kopf ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--weiss);
  text-align: center;
  background: linear-gradient(135deg, var(--rot) 0%, var(--rot-dunkel) 60%, var(--rot-tief) 100%);
  padding: 40px 0 72px;
}

/* Konfetti aus reinem CSS */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .9;
  background-repeat: no-repeat;
}
.hero::before {
  background-image:
    linear-gradient(var(--gold), var(--gold)), linear-gradient(#2ec4f1, #2ec4f1),
    linear-gradient(#ff3d9a, #ff3d9a), linear-gradient(#38d26a, #38d26a),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(#2ec4f1, #2ec4f1),
    linear-gradient(#ff3d9a, #ff3d9a), linear-gradient(#7a3cff, #7a3cff);
  background-size: 10px 16px, 9px 14px, 12px 8px, 8px 13px, 9px 9px, 14px 8px, 8px 14px, 10px 10px;
  background-position: 6% 12%, 92% 8%, 14% 78%, 86% 70%, 72% 20%, 4% 48%, 96% 40%, 28% 30%;
}
.hero::after {
  background-image:
    linear-gradient(#2ec4f1, #2ec4f1), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(#38d26a, #38d26a), linear-gradient(#ff3d9a, #ff3d9a),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(#7a3cff, #7a3cff);
  background-size: 8px 12px, 12px 7px, 9px 9px, 7px 12px, 8px 14px, 11px 8px;
  background-position: 22% 90%, 60% 6%, 80% 92%, 40% 88%, 88% 24%, 10% 28%;
  transform: rotate(8deg) scale(1.1);
}

.logo-plakette {
  position: relative;
  z-index: 1;
  width: min(300px, 78vw);
  margin: 0 auto 24px;
  background: var(--weiss);
  border-radius: 24px;
  padding: 18px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}
.logo-plakette img { width: 100%; height: auto; }

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.1rem, 8vw, 4rem);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.05;
  text-transform: uppercase;
}
.hero .session {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  font-size: clamp(1.2rem, 4.5vw, 1.8rem);
  font-weight: 700;
}
.hero .session::before, .hero .session::after {
  content: "";
  width: 32px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.schlachtruf {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  font-weight: 800;
  letter-spacing: .04em;
}

/* ---------- Hinweis ---------- */
.hinweis {
  position: relative;
  z-index: 2;
  margin: -40px auto 0;
  background: var(--weiss);
  border-radius: var(--radius);
  border-top: 6px solid var(--gold);
  padding: 24px 24px 22px;
  box-shadow: 0 10px 30px rgba(74, 0, 8, .12);
  text-align: center;
}
.hinweis h2 { margin: 0 0 8px; font-size: 1.35rem; color: var(--rot-dunkel); }
.hinweis p { margin: 0; color: var(--text-hell); font-size: 1.05rem; }

/* ---------- Abschnitte ---------- */
section.block { padding: 48px 0 8px; }
section.block h2 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--rot-dunkel);
  text-align: center;
}

.foto {
  margin: 0;
  background: var(--weiss);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(74, 0, 8, .12);
}
.foto img { width: 100%; height: auto; }
.foto figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 48px;
  padding: 20px 18px;
  text-align: center;
  color: var(--text-hell);
}
.foto .paar { font-size: 1.25rem; font-weight: 800; color: var(--rot-dunkel); line-height: 1.25; }
.foto .paar small {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rot);
}
.foto .regieren { flex-basis: 100%; }

/* Termine */
.termine {
  list-style: none;
  margin: 0;
  padding: 8px;
  background: linear-gradient(135deg, var(--rot-dunkel), var(--rot-tief));
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(74, 0, 8, .18);
}
.termine li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  color: var(--weiss);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.termine li:last-child { border-bottom: 0; }
.termine .datum { font-weight: 800; color: var(--eis); font-variant-numeric: tabular-nums; line-height: 1.2; }
.termine .datum small { display: block; font-weight: 600; opacity: .8; font-size: .8rem; letter-spacing: .05em; }
.termine .titel { font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.termine li.vorbei { opacity: .55; }
.termine li.vorbei .titel::after { content: " – war super!"; text-transform: none; font-weight: 400; letter-spacing: 0; }

.notiz { margin: 14px 0 0; text-align: center; color: var(--text-hell); font-size: .95rem; }

/* Social */
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--rot);
  color: var(--weiss);
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}
.social a:hover, .social a:focus-visible { background: var(--rot-dunkel); }
.social svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Fuß ---------- */
footer {
  margin-top: 56px;
  padding: 28px 0;
  background: var(--rot-tief);
  color: rgba(255, 255, 255, .85);
  text-align: center;
  font-size: .95rem;
}
footer a { color: var(--weiss); margin: 0 8px; }
footer p { margin: 6px 0; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.kopf-klein {
  background: linear-gradient(135deg, var(--rot), var(--rot-dunkel));
  padding: 18px 0;
}
.kopf-klein a { display: inline-block; background: var(--weiss); border-radius: 12px; padding: 8px 10px; }
.kopf-klein img { width: 120px; height: auto; }
.text { padding: 32px 0 0; }
.text h1 { color: var(--rot-dunkel); font-size: clamp(1.6rem, 6vw, 2.2rem); margin: 0 0 16px; }
.text h2 { color: var(--rot-dunkel); font-size: 1.2rem; margin: 28px 0 8px; }
.text .karte { background: var(--weiss); border-radius: var(--radius); padding: 24px; box-shadow: 0 6px 20px rgba(74, 0, 8, .08); }
.ergaenzen { background: #fff3b0; padding: 0 4px; border-radius: 4px; }

@media (max-width: 520px) {
  .termine li { grid-template-columns: 1fr; gap: 2px; }
  .hinweis { padding: 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
