/* Layout nach dem Vorbild duisburgistecht.de: weisse Kopfleiste mit Spaced-Caps-Menue, bildschirmfuellender Hero-Slider
   mit Schlagzeile in weissen Textbloecken, grosse Bildkacheln, Fotos ohne Rand im Mosaik, ruhige Flaechen in Dunkelgruen. */
:root {
  --bg: #ffffff;
  --alt: #f2f5f3;
  --surface: #ffffff;
  --fg: #1d2622;
  --muted: #5d6963;
  --line: #dde4e0;
  --brand: #0f4a35;
  --brand-2: #1f8a5e;
  --leaf: #4fc08a;
  --head: #0f4a35;
  --btn: #0f4a35;
  --on-btn: #ffffff;
  --link: #14704c;
  --font-display: "DIN Alternate", "DIN Condensed", "Bahnschrift", "Barlow Semi Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "DIN Alternate", "Bahnschrift", "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1511; --alt: #101d17; --surface: #14251d; --fg: #e8f1ed; --muted: #9fb3a9; --line: #25392f;
    --head: #8fe0b3; --btn: #4fc08a; --on-btn: #062117; --link: #7fd9a8; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1511; --alt: #101d17; --surface: #14251d; --fg: #e8f1ed; --muted: #9fb3a9; --line: #25392f;
  --head: #8fe0b3; --btn: #4fc08a; --on-btn: #062117; --link: #7fd9a8; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 17px; line-height: 1.6; overflow-x: clip; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-transform: uppercase; letter-spacing: 0.01em; text-wrap: balance; }

/* Kopfleiste */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: #fff; color: #1d2622; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: block; flex: none; text-decoration: none; padding-block: 8px; }
.logo img { display: block; height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; text-decoration: none; padding: 10px 14px; font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase; color: #5d6963; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="true"] { color: #0f4a35; border-bottom-color: #1f8a5e; }
.nav a.cta { background: #0f4a35; color: #fff; margin-left: 8px; border-bottom: 0; }
.nav a.cta:hover { background: #1f8a5e; }
@media (max-width: 900px) {
  .head-row { flex-direction: column; align-items: stretch; gap: 0; }
  .logo { align-self: flex-start; padding-block: 6px 2px; }
  .logo img { height: 44px; }
  .nav { margin-inline: -8px; padding-bottom: 4px; }
}

/* Hero-Slider */
.hero { position: relative; height: clamp(480px, calc(100svh - 72px), 840px); background: #12281f; overflow: hidden; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0s 0.9s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity 0.9s ease, visibility 0s; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 24, 17, 0.45), rgba(8, 24, 17, 0) 62%); }
.slide-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; top: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding-inline: max(16px, calc((100% - 1180px) / 2 + 16px)); padding-right: 72px; }
.slide h2 { font-size: clamp(1.55rem, 4.6vw, 3.3rem); font-weight: 600; max-width: 17em; }
.slide h2 span { background: #fff; color: #111; padding: 0.08em 0.4em; box-decoration-break: clone; -webkit-box-decoration-break: clone; line-height: 1.7; }
.slide .kicker { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; font-size: 0.85rem; background: #0f4a35; color: #fff; padding: 6px 12px; }
.btn { display: inline-block; padding: 12px 22px; background: var(--btn); color: var(--on-btn); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: #1f8a5e; color: #fff; }
.slide .btn { background: rgba(15, 20, 18, 0.88); color: #fff; }
.slide .btn:hover { background: #1f8a5e; }
.arrow { position: absolute; z-index: 5; top: 50%; translate: 0 -50%; width: 44px; height: 64px; border: 0; background: rgba(0, 0, 0, 0.35); color: #fff; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
.arrow:hover { background: #0f4a35; }
.arrow.prev { left: 0; } .arrow.next { right: 0; }
.dots { position: absolute; z-index: 5; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 10px; }
.dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; }
.dots button[aria-current="true"] { background: #fff; }
.dots button::before { content: ""; position: absolute; width: 28px; height: 28px; translate: -10px -10px; }
@media (max-width: 700px) { .slide-text { padding-right: 16px; gap: 14px; } .arrow { width: 34px; height: 52px; } }

/* Bereiche */
section { padding-block: 72px; }
.alt { background: var(--alt); }
.sec-title { text-align: center; color: var(--head); font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 600; letter-spacing: 0.06em; }
.sec-lead { text-align: center; color: var(--muted); max-width: 62ch; margin: 14px auto 0; }
.sec-title + .sec-lead + *, .sec-title + * { margin-top: 36px; }
.sec-title + .sec-lead { margin-top: 14px; }
.sec-title + .sec-lead + * { margin-top: 36px; }

.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.intro h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 600; color: var(--fg); }
.intro p { margin: 0 0 14px; color: var(--muted); }
@media (max-width: 800px) { .intro { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Termine */
.tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 9px 18px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.chip:hover { border-color: var(--brand-2); }
.chip[aria-pressed="true"] { background: var(--btn); border-color: var(--btn); color: var(--on-btn); }
.search { flex: 1 1 200px; max-width: 320px; font: inherit; padding: 9px 14px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); }
@media (max-width: 600px) { .search { max-width: none; } }
.month { font-size: 1rem; letter-spacing: 0.18em; color: var(--muted); margin: 28px 0 12px; display: flex; align-items: center; gap: 14px; font-weight: 600; }
.month::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.event-list { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
.event { display: grid; grid-template-columns: 300px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.event.noimg { grid-template-columns: minmax(0, 1fr); }
.event-img { position: relative; background: #12281f; min-height: 260px; overflow: hidden; }
.event-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.event-body { padding: 22px 26px; display: flex; gap: 20px; align-items: flex-start; min-width: 0; }
.event h3 { font-size: 1.6rem; font-weight: 600; margin-bottom: 6px; }
.event .meta { color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 18px; }
.event p { margin: 10px 0 14px; }
.datebox { flex: none; width: 70px; text-align: center; background: var(--brand); color: #fff; padding: 8px 4px 10px; font-family: var(--font-display); line-height: 1; }
.datebox .w { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; margin-bottom: 4px; }
.datebox .d { display: block; font-size: 2.1rem; font-weight: 700; }
.datebox .m { display: block; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px; }
.tag { display: inline-block; font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 10px; background: var(--alt); color: var(--link); margin-bottom: 8px; }
.empty { padding: 32px; text-align: center; color: var(--muted); border: 1px dashed var(--line); }
@media (max-width: 700px) { .event { grid-template-columns: minmax(0, 1fr); } .event-img { min-height: 0; aspect-ratio: 4 / 3; } .event-body { padding: 18px 16px; } }

/* Bildkacheln: Foto oben, Text auf ruhiger Flaeche darunter (gut lesbar) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
@media (max-width: 900px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.card { display: flex; flex-direction: column; color: #fff; text-decoration: none; background: #0f4a35; min-width: 0; }
.card:nth-child(2) { background: #14604a; }
.card:nth-child(3) { background: #0b3a29; }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0a1f17; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-img.contain img { object-fit: contain; }
.card-body { position: static; padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.card h3 { font-size: 1.7rem; font-weight: 600; color: #fff; }
.card p { margin: 0; color: rgba(255, 255, 255, 0.92); font-size: 1.02rem; }
.card .more { margin-top: auto; align-self: flex-start; display: inline-block; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; padding: 10px 16px; background: #fff; color: #0f4a35; }
.card:hover .more { background: var(--leaf); color: #062117; }

/* Mosaik */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.mosaic figure { margin: 0; position: relative; aspect-ratio: 1; overflow: hidden; background: #12281f; }
.mosaic figure.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff; font-family: var(--font-display); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; background: linear-gradient(transparent, rgba(8, 24, 17, 0.75)); }
@media (max-width: 700px) { .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mosaic figure.wide { aspect-ratio: 2 / 1; } .mosaic figcaption { font-size: 0.75rem; padding: 18px 8px 8px; } }

.past { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.past li { display: flex; gap: 16px; align-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.past h3 { font-size: 1.2rem; font-weight: 600; }
.past h3 a { text-decoration: none; }
.past p { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }
.sub { margin: 56px 0 24px; text-align: center; color: var(--head); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.06em; }

/* Verein */
.about { background: var(--brand); color: #fff; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 800px) { .about-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.about h2 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 600; margin-bottom: 18px; }
.about p { color: rgba(255, 255, 255, 0.88); max-width: 60ch; }
.about p b { color: #fff; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.facts div { background: rgba(255, 255, 255, 0.08); padding: 28px 20px; text-align: center; }
.facts b { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.facts span { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }

.join { position: relative; padding-block: 0; min-height: 520px; display: flex; align-items: center; background: #12281f; color: #fff; overflow: hidden; }
.join > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.join::after { content: ""; position: absolute; inset: 0; background: rgba(8, 24, 17, 0.45); }
.join .wrap { position: relative; z-index: 2; padding-block: 56px; }
.join-box { background: #fff; color: #1d2622; max-width: 640px; padding: 36px 34px; }
.join-box h2 { color: #0f4a35; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; margin-bottom: 14px; }
.join-box p { margin: 0 0 12px; color: #4a5650; }
.join-box .contact-line { font-weight: 600; color: #1d2622; user-select: all; }
.join-box .btn { margin-top: 8px; background: #0f4a35; color: #fff; }
.join-box .btn:hover { background: #1f8a5e; }

footer { background: #0a2a1f; color: rgba(255, 255, 255, 0.78); padding-block: 40px; font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: flex-end; }
footer b { color: #fff; font-family: var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; }
footer a { color: #fff; text-underline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .btn, .chip, .nav a, .more { transition: background 0.2s, color 0.2s, border-color 0.2s; }
  .slide.on > img { animation: kenburns 9s ease-out both; }
  @keyframes kenburns { from { scale: 1.08; } to { scale: 1; } }
  .slide.on .slide-text > * { animation: rise 0.8s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .slide.on .slide-text > *:nth-child(2) { animation-delay: 0.4s; }
  .slide.on .slide-text > *:nth-child(3) { animation-delay: 0.55s; }
  @keyframes rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
  .card-img img, .mosaic img { transition: scale 0.7s ease; }
  .card:hover .card-img img, .mosaic figure:hover img { scale: 1.06; }
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes reveal { from { opacity: 0.2; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
  }
}

/* ===== WordPress-Ergaenzungen ===== */
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list li.cta a, .nav-list a.cta { background: #0f4a35; color: #fff; margin-left: 8px; border-bottom: 0; }
.nav-list li.cta a:hover, .nav-list a.cta:hover { background: #1f8a5e; color: #fff; }
.nav-list .current-menu-item > a { color: #0f4a35; border-bottom-color: #1f8a5e; }
.nav a { display: block; }
.wrap.head-row .nav { margin-left: auto; }
body.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-head { top: 46px; } }
.site-foot { background: #0a2a1f; color: rgba(255, 255, 255, 0.78); padding-block: 40px; font-size: 0.95rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: flex-end; }
.site-foot address { font-style: normal; line-height: 1.7; }
.site-foot b { color: #fff; font-family: var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; }
.site-foot a { color: #fff; text-underline-offset: 3px; }
.page-head { background: #0f4a35; color: #fff; padding-block: 56px 48px; background-size: cover; background-position: center; position: relative; }
.page-head.has-img::before { content: ""; position: absolute; inset: 0; background: rgba(8, 24, 17, 0.55); }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 600; }
.page-body { padding-block: 48px 72px; }
.entry-content { max-width: 880px; }
.entry-content.wide, .page-body.full .entry-content { max-width: none; }
.entry-content > * + * { margin-top: 1em; }
.entry-content a { color: var(--link); }
.entry-content h2, .entry-content h3 { color: var(--head); margin-top: 1.6em; }
.entry-img img { width: 100%; height: auto; }
.entry h2 { font-size: 1.6rem; }
.entry-meta { color: var(--muted); font-size: 0.9rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-head { background: #fff; } }

/* Termin-Slide mit Plakat: Plakat komplett rechts, Text links, nichts ueberlagert sich */
.slide.poster { background: #0f2a1f; }
.slide.poster::after { display: none; }
.slide.poster > img { left: auto; right: 0; width: 52%; object-fit: contain; object-position: center; }
.slide.poster .slide-text { max-width: 50%; padding-right: 24px; }
.slide.poster h2 { max-width: 100%; font-size: clamp(1.4rem, 3vw, 2.5rem); }
.slide.poster > img { width: 54%; }
.slide.poster .slide-text { max-width: 44%; }
@media (max-width: 800px) {
  .slide.poster .slide-text { max-width: none; }
  .slide.poster > img { left: 0; right: 0; width: 100%; height: 52%; }
  .slide.poster .slide-text { max-width: none; top: 52%; padding-right: 16px; justify-content: flex-start; padding-top: 18px; gap: 12px; }
  .slide.poster h2 { font-size: 1.3rem; }
}

.board { background: var(--bg); }
.board .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; margin-top: 32px; }
.board .person { background: var(--alt); border-top: 5px solid var(--brand-2); padding: 22px 22px 24px; }
.board .role { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--link); margin-bottom: 10px; }
.board .person h3 { font-size: 1.45rem; text-transform: none; letter-spacing: 0; color: var(--head); }
.board .person p { margin: 6px 0 0; color: var(--muted); font-size: 0.98rem; }

/* Werbefläche Kreisverkehr: eigener Bereich */
.promo { background: #f3f5f2; }
.promo-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .promo-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.promo-img { aspect-ratio: 4 / 3; overflow: hidden; background: #0a1f17; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-text .eyebrow { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; color: #14604a; margin: 0 0 8px; }
.promo-text h2 { color: #0f4a35; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; margin: 0 0 14px; }
.promo-text p { color: #4a5650; margin: 0 0 16px; }
.promo-facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; color: #1d2622; }
.promo-facts li { padding-left: 18px; position: relative; }
.promo-facts li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: #14604a; }
