/*
Theme Name: Springreiten mit Handicap
Theme URI: https://www.springreitenmithandicap.de/
Author: IG Springreiten für Menschen mit Handicap e.V.
Description: Barrierearmes Vereins-Theme für die IG Springreiten für Menschen mit Handicap e.V. – mit Terminen, Vorstand, Presse, Spenden und anpassbarer Startseite.
Version: 1.4.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: springreiten
*/

/* ---------- Schriften (lokal eingebunden, DSGVO-konform, kein Google-CDN) ---------- */
@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Design-Tokens ---------- */
:root {
  --ink: #15211a;          /* Tannengrün-Schwarz: Text, dunkle Flächen */
  --ink-soft: #3d4a41;
  --paper: #f6f5ef;        /* warmes Off-White */
  --surface: #ffffff;
  --line: #dcdcd0;
  --lime: #8fb51f;         /* Logo-Grün – nur Flächen/Deko, nicht für Text auf hell */
  --lime-deep: #4e6a0b;    /* Logo-Grün abgedunkelt – Text & Links (Kontrast AA) */
  --lime-tint: #eef4d9;
  --pole: #e1572a;         /* Hindernisstangen-Orange – sparsam für Akzente */
  --gold: #c9a227; --silver: #9aa3a8; --bronze: #b0703d;

  --font-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-0: clamp(1.125rem, 1.08rem + 0.2vw, 1.25rem);   /* Grundschrift 18–20px */
  --step-1: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem);
  --step-2: clamp(1.7rem, 1.4rem + 1.3vw, 2.4rem);
  --step-3: clamp(2.3rem, 1.6rem + 3vw, 4.4rem);

  --radius: 14px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgb(21 33 26 / .06), 0 8px 24px rgb(21 33 26 / .08);
}

/* Schriftgröße per Schalter vergrößerbar (Barrierefreiheit) */
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
html.text-large { font-size: 118.75%; }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime-deep); text-underline-offset: .2em; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--pole); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; max-width: 68ch; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--white { background: var(--surface); }
.section--dark { background: var(--ink); color: #eef0ea; }
.section--dark a { color: var(--lime); }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head p { color: var(--ink-soft); margin: 0; }
.section--dark .section__head p { color: #b9c0b5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-deep);
}
.eyebrow::before { content: ""; width: 34px; height: 8px; border-radius: 4px; background: var(--pole-stripes); }
.section--dark .eyebrow { color: var(--lime); }

/* Motiv: Hindernisstange (Streifen) */
:root { --pole-stripes: repeating-linear-gradient(90deg, var(--pole) 0 10px, #fff 10px 20px); }
.pole { height: 12px; background: repeating-linear-gradient(90deg, var(--lime) 0 56px, var(--surface) 56px 112px); border-block: 2px solid var(--ink); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 16px; color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.2;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--lime); color: var(--ink); }
.btn--primary:hover { background: #a3c93a; color: var(--ink); }
.btn--ghost { border-color: currentColor; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--lime-deep); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(246 245 239 / .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 56px; height: 56px; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; line-height: 1.05; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .78rem; letter-spacing: .02em; color: var(--ink-soft); margin-top: 3px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.02rem; }
.main-nav a:hover, .main-nav .current-menu-item > a { background: var(--lime-tint); color: var(--ink); }
.main-nav .menu-item-has-children { position: relative; }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; background: var(--surface);
  border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { border-radius: 8px; }
.main-nav .menu-cta a { background: var(--ink); color: #fff; margin-left: 8px; }
.main-nav .menu-cta a:hover { background: var(--lime-deep); color: #fff; }

.header-tools { display: flex; align-items: center; gap: 8px; }
.text-size, .nav-toggle {
  display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px;
  border: 2px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink);
  font: 700 1rem var(--font-head); cursor: pointer; white-space: nowrap;
}
.text-size { display: inline-flex; align-items: center; justify-content: center; gap: 1px; }
.text-size[aria-pressed="true"] { background: var(--ink); color: #fff; }
.nav-toggle { display: none; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-grid; }
  .main-nav { position: fixed; inset: 84px 0 auto 0; max-height: calc(100dvh - 84px); overflow: auto; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 28px; display: none; }
  .main-nav.is-open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .main-nav a { padding: 14px 16px; font-size: 1.15rem; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 16px; }
  .main-nav .menu-cta a { margin: 12px 0 0; text-align: center; }
}
@media (max-width: 520px) { .brand__name small { display: none; } .brand img { width: 46px; height: 46px; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(15 24 18 / .92) 0%, rgb(15 24 18 / .72) 45%, rgb(15 24 18 / .15) 100%); }
.hero__inner { min-height: min(86vh, 760px); display: grid; align-content: center; padding-block: 96px 120px; }
.hero h1 { font-size: var(--step-3); max-width: 13ch; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero__lead { font-size: var(--step-1); line-height: 1.45; max-width: 34ch; color: #e6eae2; margin-bottom: 1.6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .eyebrow { color: var(--lime); }

.facts { position: relative; margin-top: -64px; z-index: 2; }
.facts__grid { display: grid; grid-template-columns: repeat(var(--facts, 4), 1fr); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.fact { padding: 26px 28px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: var(--step-2); line-height: 1; color: var(--ink); margin-bottom: 6px; }
.fact span { color: var(--ink-soft); font-size: 1rem; line-height: 1.35; display: block; }
@media (max-width: 820px) {
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about__media img + img { position: absolute; width: 52%; aspect-ratio: 1; right: -24px; bottom: -40px; border: 6px solid var(--paper); box-shadow: var(--shadow); }
.about__list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.about__list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.about__list svg { width: 28px; height: 28px; color: var(--lime-deep); margin-top: 2px; }
@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; margin-bottom: 40px; }
  .about__media img + img { right: -8px; }
}

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-card__meta { font-size: .9rem; font-weight: 700; color: var(--lime-deep); text-transform: uppercase; letter-spacing: .06em; }
.post-card h3 { margin: 0 0 .3em; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; }
.post-card p { color: var(--ink-soft); margin: 0 0 auto; }
.post-card .more { margin-top: 16px; font-weight: 700; }
.post-card--featured h3 { font-size: var(--step-2); font-weight: 800; }
.news__side { display: grid; gap: 28px; }
.news__side .post-card { flex-direction: row; }
.news__side .post-card__img { aspect-ratio: auto; flex: 0 0 38%; }
.news__side .post-card__body { padding: 20px 22px; }
.news__side h3 { font-size: 1.2rem; }
.news__side p { font-size: 1rem; }
@media (max-width: 960px) { .news { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .news__side .post-card { flex-direction: column; } .news__side .post-card__img { aspect-ratio: 16 / 9; } }

/* ---------- Ergebnisse / Medaillen ---------- */
.results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.result { background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius); padding: 28px; }
.result h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; margin-bottom: 18px; }
.result h3 span { font-family: var(--font-body); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.podium { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.podium li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding: 12px 14px; background: rgb(255 255 255 / .05); border-radius: 10px; font-size: 1.1rem; font-weight: 600; }
.medal { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: var(--ink); }
.medal--1 { background: var(--gold); } .medal--2 { background: var(--silver); } .medal--3 { background: var(--bronze); color: #fff; }
.podium small { display: block; font-weight: 400; font-size: .9rem; color: #b9c0b5; }
.sponsor-note { margin-top: 32px; color: #b9c0b5; font-size: 1rem; max-width: none; }
.sponsor-note strong { color: #fff; }
@media (max-width: 760px) { .results { grid-template-columns: 1fr; } }

/* ---------- Termine ---------- */
.dates { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.event-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.event { display: grid; grid-template-columns: 112px 1fr auto; gap: 20px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.event__date { font-family: var(--font-head); line-height: 1; }
.event__date b { display: block; font-weight: 800; font-size: 1.8rem; }
.event__date span { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.event__title { font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.event__place { display: block; font-weight: 400; color: var(--ink-soft); font-size: 1rem; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--lime-tint); color: var(--lime-deep); white-space: nowrap; }
.tag--champ { background: #fde3d8; color: #9a3412; }
.archive-years { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.archive-years a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; background: var(--surface); }
.archive-years a:hover { border-color: var(--ink); }
@media (max-width: 880px) { .dates { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .event { grid-template-columns: 84px 1fr; } .event .tag { grid-column: 2; justify-self: start; } }

/* ---------- Vorstand ---------- */
.board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.member { margin: 0; }
.member__img { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--lime-tint); margin-bottom: 14px; }
.member__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.member__role { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lime-deep); }
.member__name { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; line-height: 1.2; }
@media (max-width: 1000px) { .board { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .board { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* ---------- Downloads ---------- */
.downloads { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; margin-top: clamp(48px, 7vw, 80px); }
.download--highlight { grid-row: span 2; align-content: center; }
@media (max-width: 960px) { .downloads { grid-template-columns: 1fr 1fr; } .download--highlight { grid-row: auto; grid-column: 1 / -1; } }
@media (max-width: 560px) { .downloads { grid-template-columns: 1fr; } }
.download { display: grid; grid-template-columns: 48px 1fr 24px; gap: 16px; align-items: center; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.download:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--ink); }
.download__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--lime-tint); color: var(--lime-deep); }
.download__icon svg, .download > svg { width: 24px; height: 24px; }
.download b { display: block; line-height: 1.25; }
.download small { display: block; margin-top: 4px; line-height: 1.4; color: var(--ink-soft); font-size: .9rem; }
.download--highlight { background: var(--lime); border-color: var(--lime); padding: 28px; }
.download--highlight b { font-family: var(--font-head); font-size: 1.35rem; }
.download--highlight .download__icon { background: var(--ink); color: var(--lime); }
.download--highlight small { color: var(--ink); }

/* ---------- Presse ---------- */
.press { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; }
.press li { border-top: 1px solid var(--line); }
.press a { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 0; text-decoration: none; color: var(--ink); }
.press a:hover b { text-decoration: underline; }
.press b { display: block; line-height: 1.35; margin-bottom: 4px; }
.press small { display: block; color: var(--ink-soft); font-size: .92rem; }
.press svg { width: 20px; height: 20px; color: var(--lime-deep); }

/* ---------- Spenden ---------- */
.donate { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.donate h2 { color: #fff; }
.donate p { color: #d3d9cf; }
.bank { background: var(--lime); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.bank::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--pole-stripes); }
.bank dl { margin: 0 0 24px; display: grid; gap: 14px; }
.bank dt { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.bank dd { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem); line-height: 1.2; word-break: break-word; }
@media (max-width: 880px) { .donate { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #0e1711; color: #c5ccc1; font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-block: 72px 48px; }
.footer-grid h4 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand img { width: 64px; margin-bottom: 14px; }
.footer-brand p { max-width: 32ch; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .92rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Unterseiten (page.php / single.php) ---------- */
.page-hero { background: var(--ink); color: #fff; padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: var(--step-3); max-width: 18ch; margin: 0; }
.page-hero .eyebrow { color: var(--lime); }
.page-hero--image { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(96px, 14vw, 180px) clamp(48px, 7vw, 88px); }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(15 24 18 / .92) 0%, rgb(15 24 18 / .74) 45%, rgb(15 24 18 / .25) 100%), linear-gradient(0deg, rgb(15 24 18 / .55) 0%, transparent 45%); }
.page-hero--image h1, .page-hero--image .breadcrumb { text-shadow: 0 2px 18px rgb(0 0 0 / .35); }
@media (max-width: 700px) { .page-hero__media::after { background: rgb(15 24 18 / .72); } }
.breadcrumb { font-size: .95rem; color: #b9c0b5; margin-bottom: 20px; }
.breadcrumb a { color: #fff; }
.entry-content { max-width: 760px; margin-inline: auto; }
.entry-content > * + h2 { margin-top: 1.6em; }
.entry-content img, .entry-content figure { border-radius: var(--radius); margin: 2em 0; }
.entry-content figcaption { font-size: .92rem; color: var(--ink-soft); margin-top: 8px; }
.entry-content blockquote { margin: 2em 0; padding: 8px 0 8px 24px; border-left: 6px solid var(--lime); font-size: var(--step-1); font-family: var(--font-head); font-weight: 600; line-height: 1.35; }
.entry-content ul { padding-left: 1.2em; }
.entry-content li::marker { color: var(--lime-deep); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 2em 0; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   WordPress-Ergänzungen
   ========================================================================== */
.custom-logo-link img, .brand img { width: 56px; height: 56px; object-fit: contain; }
.main-nav .menu { display: flex; align-items: center; gap: 4px; }
.main-nav .current-menu-ancestor > a, .main-nav .current_page_item > a { background: var(--lime-tint); }
@media (max-width: 1060px) { .main-nav .menu { flex-direction: column; align-items: stretch; } }

/* Inhalte aus dem Block-Editor */
.entry-content > * { margin-block: 0 1.1em; }
.entry-content > figure, .entry-content > .wp-block-image { margin-block: 2em; }
.entry-content img { border-radius: var(--radius); }
.entry-content .wp-block-gallery img, .entry-content .gallery img { border-radius: 10px; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content .wp-block-button__link { display: inline-flex; min-height: 52px; align-items: center; padding: 12px 24px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600; text-decoration: none; }
.entry-content .wp-block-button__link:hover { background: var(--lime-deep); }
.entry-content .wp-block-file { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.entry-content .wp-block-file__button { background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 18px; text-decoration: none; }
.entry-content .wp-block-table table { width: 100%; border-collapse: collapse; }
.entry-content .wp-block-table td, .entry-content .wp-block-table th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.entry-content .wp-block-separator { border: 0; height: 8px; background: var(--pole-stripes); max-width: 80px; border-radius: 4px; margin-block: 2.5em; }
.entry-content iframe, .entry-content .wp-block-embed { max-width: 100%; }
.alignwide { margin-inline: calc(-1 * clamp(0px, 8vw, 120px)); max-width: none; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .wp-element-caption { font-size: .92rem; color: var(--ink-soft); margin-top: 8px; }
.has-text-align-center { text-align: center; }
.entry-featured { margin: 0 0 2em; }
.entry-featured img { border-radius: var(--radius); width: 100%; }
.entry-meta { font-size: .95rem; color: #b9c0b5; margin-top: 18px; }

/* Beitragsliste / Archiv */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 700; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--ink); }
.post-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-nav a { font-weight: 700; text-decoration: none; }

/* Terminarchiv */
.year-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.year-nav a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; background: var(--surface); }
.year-nav a:hover { border-color: var(--ink); }
.year-block { display: grid; grid-template-columns: 160px 1fr; gap: 32px; margin-bottom: 56px; }
.year-block h2 { font-size: var(--step-2); position: sticky; top: 110px; }
.event--past { opacity: .72; }
@media (max-width: 760px) { .year-block { grid-template-columns: 1fr; gap: 8px; } .year-block h2 { position: static; } }

.empty-state { padding: 32px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-soft); }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form input[type="search"] { flex: 1; min-height: 52px; padding: 0 18px; border: 2px solid var(--line); border-radius: 999px; font: inherit; background: var(--surface); }
.search-form input[type="search"]:focus { border-color: var(--ink); outline: none; }
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .main-nav { inset: 130px 0 auto 0; } }
.entry-content .wp-block-gallery figure, .entry-content .wp-block-gallery img, .entry-content figure img { margin: 0; }

/* Videos: Zwei-Klick-Platzhalter */
.video-consent { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink) repeating-linear-gradient(135deg, rgb(255 255 255 / .03) 0 18px, transparent 18px 36px); color: #fff; display: grid; place-items: center; text-align: center; }
.video-consent__inner { padding: 24px; max-width: 460px; }
.video-consent__play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 26px 12px 16px; border: 0; border-radius: 999px; background: var(--lime); color: var(--ink); font: 600 1.05rem var(--font-head); cursor: pointer; transition: transform .15s; }
.video-consent__play:hover { transform: scale(1.04); }
.video-consent__play svg { width: 30px; height: 30px; padding: 6px; background: var(--ink); color: var(--lime); border-radius: 50%; }
.video-consent__note { font-size: .88rem; color: #c5ccc1; margin: 14px auto 0; }
.video-consent__note a { color: #fff; }
.video-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.entry-content .wp-block-embed { margin-block: 2em; }

/* Reiter/Innen */
.rider-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.rider { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .15s, border-color .15s; }
.rider:hover { transform: translateY(-3px); border-color: var(--ink); color: var(--ink); }
.rider__img { aspect-ratio: 4 / 5; background: var(--lime-tint); overflow: hidden; }
.rider__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.rider__body { padding: 18px 20px 22px; }
.rider__name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; line-height: 1.2; margin: 0 0 6px; }
.rider__text { font-size: .98rem; color: var(--ink-soft); margin: 0; }
.intro { max-width: 68ch; margin-bottom: 40px; color: var(--ink-soft); }

/* Fotoalben */
.entry-content .wp-block-gallery { margin-block: 1.2em 2.6em; }
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; }
.blocks-gallery-caption { width: 100%; font-size: .92rem; color: var(--ink-soft); }
.single-reiter .entry-featured { float: right; width: min(320px, 42%); margin: .3em 0 1.5em 2em; }
.single-reiter .entry-featured img { aspect-ratio: 3 / 4; object-fit: cover; }
.single-reiter .entry-content::after { content: ""; display: table; clear: both; }
@media (max-width: 600px) { .single-reiter .entry-featured { float: none; width: 100%; margin: 0 0 1.5em; } }
.footer-credit { padding-block: 0 22px; font-size: .85rem; color: #8f9a8c; }
.footer-credit a { color: #c5ccc1; }

/* Mitglied werden */
.join { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .join { grid-template-columns: 1fr; } }
.join__intro { max-width: none; margin: 0; font-size: var(--step-1); line-height: 1.5; }
.join__steps-title { margin-top: 1.4em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px; background: var(--paper); border-radius: var(--radius); }
.step h3 { margin: 4px 0 6px; font-weight: 800; }
.step p { margin: 0 0 12px; }
.step p:last-child { margin-bottom: 0; }
.step__num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); font: 800 1.5rem var(--font-head); }
.join__side { position: sticky; top: 110px; display: grid; gap: 16px; }
.join__card { display: grid; gap: 6px; padding: 28px; background: var(--lime); color: var(--ink); border-radius: var(--radius); text-decoration: none; position: relative; overflow: hidden; transition: transform .15s; }
.join__card:hover { transform: translateY(-3px); color: var(--ink); }
.join__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--pole-stripes); }
.join__card .download__icon { background: var(--ink); color: var(--lime); margin-bottom: 8px; }
.join__card strong { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.15; }
.join__card-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; }
.join__card-cta svg { width: 18px; height: 18px; }
.join__ask { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.join__ask h3 { margin-top: 0; }
@media (max-width: 900px) { .join__side { position: static; } }
.downloads--plain { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
