/* ============================================================
   Renninger Fasnet – Stylesheet
   Farben: Fasnet-Rot & Gold auf warmem Creme
   ============================================================ */

:root {
  --red: #b01e2f;
  --red-dark: #7e1220;
  --red-deep: #560b15;
  --gold: #f2a900;
  --gold-bright: #ffc94d;
  --gold-pale: #ffe9bd;
  --cream: #fbf5ea;
  --paper: #ffffff;
  --ink: #2c2018;
  --ink-soft: #5c4f44;
  --line: rgba(44, 32, 24, 0.12);

  --club-nz: #b01e2f;   /* 1. Narrenzunft Renningen 1999 */
  --club-rsg: #c98a00;  /* Renninger Schlüssel-Gesellschaft */
  --club-hex: #5b2a86;  /* Schdoibruch-Hexa */
  --club-hh: #2f6b3b;   /* Hecka-Hupfer */
  --club-sot: #16688a;  /* Guggenmusik Sotanos */

  --shadow-sm: 0 2px 10px rgba(44, 32, 24, 0.08);
  --shadow-md: 0 10px 28px rgba(44, 32, 24, 0.14);
  --radius: 14px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, Arial, sans-serif;

}

/* ---------- Reset & Grundlagen ---------- */
*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; display: block; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}

a { color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }

::selection { background: var(--gold); color: var(--ink); }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--red); color: #fff; padding: 0.6rem 1.2rem;
  border-radius: 0 0 10px 10px; text-decoration: none; font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

.section { padding-block: 4.25rem; }
.section + .section { border-top: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: 2.4rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}
.eyebrow::before { content: "» "; color: var(--gold); }
.eyebrow::after { content: " «"; color: var(--gold); }

h1.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h2.section-title { font-size: clamp(1.7rem, 3vw, 2.35rem); }

.lead { color: var(--ink-soft); font-size: 1.13rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #3a2600; box-shadow: 0 6px 18px rgba(242, 169, 0, 0.45); }
.btn-gold:hover { background: var(--gold-bright); color: #3a2600; }
.btn-outline { border: 2px solid rgba(255, 255, 255, 0.9); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn-outline-dark { border: 2px solid var(--red); color: var(--red); background: rgba(255, 255, 255, 0.85); }
.btn-outline-dark:hover { background: var(--red); color: #fff; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(176, 30, 47, 0.35); }
.btn-red:hover { background: var(--red-dark); color: #fff; }

/* ---------- Kopfbereich / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

/* Kopfbereich: Plakate links/rechts, Logo mittig */
.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0 0.35rem;
}

/* Navigationsleiste unter dem Logo – klar getrennt vom Logo-Bereich */
.header-navrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0 0.6rem;
  border-top: 2px solid var(--gold);
}

.brand img { height: 54px; width: auto; }
@media (max-width: 600px) {
  .brand img { height: 42px; }
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1.1;
  color: var(--red);
  text-decoration: none;
}
.brand-text:hover { color: var(--red-dark); }
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav { display: flex; align-items: center; justify-content: center; gap: 0.15rem; }
.nav a {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav a:hover { background: var(--gold-pale); color: var(--ink); }
.nav a.active { background: var(--red); color: #fff; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  width: 22px; height: 2.5px; border-radius: 2px;
  background: var(--ink); transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 40;
    flex-direction: column; align-items: stretch;
    background: #fff; padding: 0.8rem 1.25rem 1.4rem;
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid var(--gold);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { padding: 0.85rem 1rem; border-radius: 10px; }
}

/* Kleine Bildschirme: Plakate verkleinern */
@media (max-width: 640px) {
  .brand img { height: 40px; }
  .hero-top { gap: 0.6rem; grid-template-columns: 1fr auto 1fr; }
  .hero-poster img { max-height: 110px; max-width: 26vw; border-width: 2px; }
}

/* ---------- Startseiten-Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(rgba(255, 201, 77, 0.16) 2px, transparent 2.6px),
    linear-gradient(135deg, var(--red-deep) 0%, var(--red-dark) 55%, var(--red) 100%);
  background-size: 26px 26px, cover;
}

.hero-inner {
  position: relative;
  padding: 4.2rem 0 4.6rem;
  text-align: center;
}

/* Plakate im Hero: links & rechts neben der Logo-Karte */
.hero-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: 1.4rem;
  width: 100%;
}
/* Logo-Karte bleibt auch ohne Plakate exakt mittig */
.hero-top > .hero-card {
  margin: 0 auto;
}
.hero-poster { display: inline-flex; align-items: center; }
.hero-poster img {
  display: block;
  max-height: 170px;
  max-width: 24vw;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
  border: 3px solid #fff;
}
.hero-poster-left { justify-self: end; }
.hero-poster-right { justify-self: start; }

.hero-card {
  display: inline-block;
  background: #fff;
  padding: 1.3rem 2.2rem 1.4rem;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  max-width: min(760px, 94%);
}
.hero-card img { width: 100%; height: auto; }
.hero-brand {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.55rem, 3.6vw, 2.5rem);
  line-height: 1.05;
  color: var(--red);
}
.hero-brand-sub {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-motto {
  margin-top: 1.9rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.9rem);
  font-weight: 900;
  color: var(--gold-bright);
  letter-spacing: 0.01em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.hero-motto span { color: #fff; }

.hero-tagline {
  max-width: 660px;
  margin: 0.9rem auto 2.1rem;
  font-size: 1.18rem;
  color: #fbe9d8;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: relative;
  margin-top: 2.6rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
}
.hero-scroll:hover { color: #fff; }

/* Wimpelkette (Fähnchen) */
.bunting {
  position: relative; z-index: 2;
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='26' viewBox='0 0 64 26'%3E%3Cpath d='M0 3h64' stroke='%23fff' stroke-width='2' fill='none'/%3E%3Cpath d='M13 3 3 25h20z' fill='%23b01e2f'/%3E%3Cpath d='M45 3 35 25h20z' fill='%23f2a900'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 64px 26px;
}

/* ---------- Unterseiten-Kopf ---------- */
.page-hero {
  position: relative;
  color: #fff;
  padding: 3.6rem 0 3.2rem;
  background:
    radial-gradient(rgba(255, 201, 77, 0.22) 2px, transparent 2.5px),
    linear-gradient(135deg, var(--red-deep) 0%, var(--red-dark) 55%, var(--red) 100%);
  background-size: 26px 26px, cover;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); }
.page-hero .lead { color: #f7d9b8; max-width: 720px; margin-top: 0.8rem; }
.crumb { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 0.5rem; }

/* ---------- Vereinskarten ---------- */
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.club-card {
  --club-color: var(--red);
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 6px solid var(--club-color);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.club-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.club-head {
  padding: 1.5rem 1.5rem 0.6rem;
  display: flex; align-items: flex-start; gap: 0.9rem;
}
.club-monogram {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--club-color);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 900;
  letter-spacing: 0.02em;
}
.club-logo {
  flex: 0 0 auto;
  max-width: 110px;
  max-height: 68px;
  object-fit: contain;
}
.club-name { font-size: 1.28rem; line-height: 1.2; }
.club-since {
  display: inline-block; margin-top: 0.35rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--club-color);
  background: color-mix(in srgb, var(--club-color) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--club-color) 30%, #fff);
  padding: 0.12rem 0.6rem; border-radius: 999px;
}
.club-desc { padding: 0.8rem 1.5rem 1.2rem; color: var(--ink-soft); flex: 1; }
.club-foot {
  padding: 0.9rem 1.5rem 1.3rem;
  border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 0.8rem;
  font-size: 0.92rem;
}
.club-foot a { font-weight: 700; text-decoration: none; }
.club-foot a:hover { text-decoration: underline; }

/* ---------- Termine (Zeitstrahl) ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.6rem 0 0.4rem; }

.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.18rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--club-color, var(--red));
  white-space: nowrap;
}

.timeline {
  position: relative;
  margin: 2.2rem 0 0 0.5rem;
  padding-left: 1.9rem;
  border-left: 3px dashed rgba(176, 30, 47, 0.4);
}

.tl-item { position: relative; padding-bottom: 2.1rem; }
.tl-item:last-child { padding-bottom: 0.4rem; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -1.9rem; top: 0.55rem;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2.5px var(--red), var(--shadow-sm);
  transform: translateX(-50%);
}

.tl-date { display: flex; align-items: baseline; gap: 0.55rem; }
.tl-day { font-family: var(--font-display); font-size: 1.9rem; font-weight: 900; color: var(--red); line-height: 1; }
.tl-month { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }

.tl-card {
  margin-top: 0.5rem;
  background: var(--paper);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 1.15rem 1.4rem;
}
.tl-card.highlight {
  border-left: 6px solid var(--gold);
  background: linear-gradient(135deg, #fffdf6, #fff3d6);
}
.tl-title { font-size: 1.18rem; margin-top: 0.35rem; }
.tl-meta {
  display: flex; flex-wrap: wrap; gap: 0.45rem 1.4rem;
  margin-top: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.tl-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }

.season-label {
  margin-top: 3rem; margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 900; color: var(--red);
}
.season-label::after { content: ""; flex: 1; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- Aktuelles ---------- */
.news-list { display: grid; gap: 1.6rem; }

.news-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.5rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.news-date {
  text-align: center;
  border-right: 1px dashed var(--line);
  padding-right: 1.5rem;
  align-self: start;
}
.news-date .n-day { font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; color: var(--red); line-height: 1; }
.news-date .n-month { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

.news-body .n-cat {
  display: inline-block;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 0.08rem 0.55rem; border-radius: 999px;
  margin-bottom: 0.45rem;
}
.news-title { font-size: 1.3rem; }
.news-text { margin-top: 0.5rem; color: var(--ink-soft); }

@media (max-width: 620px) {
  .news-card { grid-template-columns: 1fr; gap: 0.9rem; }
  .news-date { border-right: 0; border-bottom: 1px dashed var(--line); padding: 0 0 0.8rem; text-align: left; display: flex; align-items: baseline; gap: 0.5rem; }
  .news-date .n-day { font-size: 1.9rem; }
}

/* ---------- Hinweis-Box ---------- */
.note {
  background: var(--gold-pale);
  border-left: 5px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
  color: #5a4300;
}
.note strong { color: #3a2600; }

.warn {
  background: #fdeaea;
  border-left: 5px solid var(--red);
  border-radius: 0 10px 10px 0;
  padding: 1.1rem 1.3rem;
  margin: 1.6rem 0;
  color: #6b1017;
}

/* ---------- Impressum / Rechtliches ---------- */
.legal { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 2.2rem 2.4rem; }
.legal h2 { font-size: 1.45rem; margin: 2rem 0 0.7rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.12rem; margin: 1.4rem 0 0.5rem; font-family: var(--font-body); font-weight: 700; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 1.4rem; margin: 0.5rem 0; }
.legal .ph { color: var(--red); font-weight: 700; }
.legal address { font-style: normal; margin-top: 0.5rem; }

/* ---------- Fußbereich ---------- */
.site-footer {
  margin-top: 4.5rem;
  background: var(--red-deep);
  color: #f6dfc8;
  padding-top: 3.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1.2fr;
  gap: 2.6rem;
}
.footer-logo {
  display: inline-block;
  background: #fff; border-radius: 12px;
  padding: 0.55rem 0.9rem;
  margin-bottom: 1.1rem;
}
.footer-logo img { height: 46px; width: auto; }
.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1.1;
  color: var(--red);
  text-decoration: none;
  display: block;
}
.site-footer h3 { color: var(--gold-bright); font-size: 1.02rem; margin-bottom: 0.9rem; }
.site-footer a { color: #ffd9a0; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: #f0d3b4; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-motto { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; color: var(--gold-bright); margin-top: 1.2rem; }

.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.25rem 0 1.5rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: 0.92rem;
}
.footer-bottom p { color: #e8c9a6; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- „Nach oben“-Button ---------- */
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 50;
  width: 48px; height: 48px;
  border: 0; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: 1.25rem; cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.2s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); background: var(--red-dark); }

/* ---------- Einblende-Animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .club-card:hover, .news-card:hover, .countdown-card:hover, .widget-card:hover { transform: none; }
}

/* ============================================================
   CMS-Widgets: Top-Button, Countdowns, Cards, Kontaktformular
   ============================================================ */

/* ---------- Top-Button (unter dem Logo) ---------- */
.header-cta {
  background: var(--red-deep);
  padding: 0.45rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.header-cta-btn { padding: 0.45rem 1.6rem; font-size: 0.95rem; }

/* ---------- Countdown-Karten ---------- */
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.countdown-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 6px solid var(--gold);
  padding: 1.6rem 1.6rem 1.8rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.countdown-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cd-title { font-family: var(--font-display); font-size: 1.35rem; }
.cd-note { color: var(--ink-soft); margin-top: 0.25rem; }
.cd-boxes {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.cd-box {
  background: var(--red-deep);
  color: #fff;
  border-radius: 12px;
  padding: 0.75rem 0.35rem;
  min-width: 70px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25);
}
.cd-num { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 900; line-height: 1.1; }
.cd-label { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; margin-top: 0.2rem; }
.cd-done {
  display: none;
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--red);
  font-size: 1.15rem;
}
.countdown-card.is-done .cd-boxes { opacity: 0.35; filter: grayscale(1); }

/* ---------- Cards (Counter & Buttons) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.widget-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 6px solid var(--club-color, var(--red));
  padding: 1.7rem 1.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.widget-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon { font-size: 2rem; line-height: 1; }
.counter-value {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--club-color, var(--red));
  line-height: 1.1;
}
.card-title { font-size: 1.2rem; }
.card-text { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Kontaktformular ---------- */
.contact-form { max-width: 640px; margin-top: 1.6rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.3rem; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fffdf9;
  color: var(--ink);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 169, 0, 0.25);
}

/* ---------- Artikel-Detail ---------- */
.article-detail { max-width: 780px; }
.article-date { color: var(--ink-soft); font-weight: 700; margin: 0.4rem 0 1.2rem; }
.article-image { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 1rem 0; }
.article-body p { margin-bottom: 1rem; }

/* ---------- Vergangene Termine ---------- */
.tl-past { opacity: 0.55; }
.tl-past .tl-title { color: var(--ink-soft); }

/* ---------- Termin-Anhang (Bild / PDF) ---------- */
.tl-media { margin-top: 0.7rem; }
.tl-media img {
  max-height: 150px;
  width: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Versionsanzeige im Footer ---------- */
.cms-version {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Plakat-Rotation ---------- */
.header-poster-rot-90 img { transform: rotate(90deg); }
.header-poster-rot-180 img { transform: rotate(180deg); }
.header-poster-rot-270 img { transform: rotate(-90deg); }

/* ---------- Medien-Galerie (Artikel & Termine) ---------- */
.media-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0.9rem 0 0.3rem;
}
.media-gallery .media-img img {
  max-height: 110px;
  width: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease;
}
.media-gallery .media-img:hover img { transform: scale(1.04); }
.media-gallery .media-pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px dashed var(--red);
  color: var(--red);
  border-radius: 10px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.media-gallery .media-pdf:hover { background: var(--gold-pale); }

/* ---------- Nächster Termin als Button im Hero ---------- */
.hero-event-btn { margin-top: 1.1rem; }
.btn-hero-event {
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid var(--gold-bright);
  color: #fff;
  font-size: 0.98rem;
}
.btn-hero-event:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #3a2600;
  transform: translateY(-2px);
}

/* ---------- Klickbare Leiste mit nächsten Terminen (unter dem Hero) ---------- */
.next-events-strip {
  background: var(--red-deep);
  padding: 1.15rem 0 1.5rem;
  border-bottom: 3px solid var(--gold);
}
.next-events-head { text-align: center; margin-bottom: 0.9rem; }
.next-events-head .eyebrow { color: var(--gold-bright); }
.next-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.next-event-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem 1.05rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.next-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.ne-date {
  flex: 0 0 auto;
  min-width: 62px;
  text-align: center;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
}
.ne-date strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.05;
}
.ne-date > span {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.92;
}
.ne-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ne-title { font-weight: 700; line-height: 1.25; }
.ne-loc { font-size: 0.85rem; color: var(--ink-soft); }
.ne-arrow { color: var(--red); font-weight: 900; font-size: 1.2rem; flex: 0 0 auto; }

/* ---------- Lightbox (Vollbild) ---------- */
.lb-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(16, 6, 4, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  cursor: zoom-out;
}
.lightbox.show { opacity: 1; }
.lightbox img {
  max-width: 94vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  cursor: zoom-out;
}
.lightbox-cap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.lightbox-link { padding: 0.5rem 1.2rem; font-size: 0.92rem; }
.lightbox-hint {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .lightbox { padding: 1rem; }
  .lightbox img { max-width: 96vw; max-height: 78vh; }
}

/* ---------- Termin-Detail & klickbare Titel ---------- */
.tl-title a { color: var(--ink); text-decoration: none; }
.tl-title a:hover { color: var(--red); text-decoration: underline; }
.event-detail { max-width: 780px; }
.event-all-dates { margin: 0.4rem 0 0; padding-left: 1.4rem; list-style: disc; }
.event-all-dates li { margin-bottom: 0.3rem; }
