/* CDU Ortsverband Reitscheid – Webseite (www.cdu-reitscheid.de)
   Konzeption, Design & Entwicklung: Sebastian Jung
   wendel-it.de · info@wendel-it.de
   © 2026 Sebastian Jung – alle Rechte vorbehalten */
/* CDU Ortsverband Reitscheid – www.cdu-reitscheid.de
   Grundlage: Webseiten-System OGV Reitscheid · Sebastian Jung

   Farben und Schriften nach dem CDU-Gestaltungshandbuch (Stand 09/2023):
   Cadenabbia-Türkis #52B7C1, Rhöndorf-Blau #2D3C4B, Union-Gold #FFA600, Union-Rot #BF111B,
   Inter (Überschriften, Bedienelemente), IBM Plex Serif (Fließtext) – lokal eingebunden.
   Bodenständiges Layout mit Fotos und Dorf-Silhouette. */

/* ── Schriften ───────────────────────────────────────────── */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "IBM Plex Serif"; src: url("../fonts/ibm-plex-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Serif"; src: url("../fonts/ibm-plex-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Serif"; src: url("../fonts/ibm-plex-serif-latin-600-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

/* ── Farben und Maße ─────────────────────────────────────── */
:root {
    color-scheme: light;
    /* Türkis: Annäherung an CDU „Cadenabbia“ */
    --teal: #52b7c1;
    --teal-dark: #1d727b;   /* Buttons und Links: weiße Schrift erreicht WCAG AA */
    --teal-deep: #164f56;
    --teal-soft: #e3f4f6;
    --sun: #ffa600;         /* Sonnengelb: Akzent für Hinweise, Termine, Mitmachen */
    --sun-soft: #fff1d6;
    --red: #bf111b;

    --bg: #ffffff;
    --bg-tint: #f2f8f9;
    --card: #ffffff;
    --ink: #2d3c4b;          /* dunkles Blaugrün statt Schwarz */
    --text: #36434f;
    --muted: #5c6873;
    --line: #d8e2e6;
    --link: var(--teal-dark);
    --focus: #f5a400;

    --font-head: "Inter", "Segoe UI", system-ui, sans-serif;
    --font-ui: "Inter", "Segoe UI", system-ui, sans-serif;
    --font-text: "IBM Plex Serif", Georgia, serif;

    --wrap: 72rem;
    --wrap-text: 42rem;
    --gutter: clamp(1rem, 4vw, 2rem);
    --space: clamp(3rem, 7vw, 5rem);
    --r-sm: 8px;
    --r: 12px;
    --r-lg: 16px;
    --shadow: 0 1px 2px rgba(45, 60, 75, 0.06), 0 8px 24px rgba(45, 60, 75, 0.08);
}

/* ── Grundlagen ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.125rem/1.65 var(--font-text); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.08; margin: 0 0 0.55em; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--text { width: min(100% - 2 * var(--gutter), var(--wrap-text)); }
.wrap--wide { width: min(100% - 2 * var(--gutter), 62rem); }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 28rem); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: 0.75rem 1rem; border-radius: var(--r-sm); }
.skip:focus { top: 1rem; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.28rem); line-height: 1.6; max-width: 40rem; }
.lead.prose p:last-child { margin-bottom: 0; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 2.9rem; padding: 0.6rem 1.35rem;
    font: 700 1.02rem/1.2 var(--font-text);
    border: 2px solid transparent; border-radius: 8px;
    text-decoration: none; cursor: pointer; text-align: center;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn .icon { width: 1.15em; height: 1.15em; }
.btn--lg { min-height: 3.3rem; padding: 0.75rem 1.7rem; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--teal-dark); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--teal-deep); color: #fff; }
.btn--sun, .btn--light { background: var(--sun); color: #2d3c4b; }
.btn--sun:hover, .btn--light:hover { background: #ffb733; }
.btn--outline, .btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--outline:hover, .btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.more { font-weight: 700; white-space: nowrap; }

.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.icon-btn { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: var(--ink); background: none; border: 0; cursor: pointer; }
.icon-btn:hover { background: var(--bg-tint); }
.icon-btn .icon { width: 1.4rem; height: 1.4rem; }

.badge { display: inline-block; margin: 0 0.4rem 0.4rem 0; padding: 0.1rem 0.6rem; font-size: 0.85rem; font-weight: 700; border-radius: 8px; background: #d7eef1; color: #0a4f58; }
.badge--red { background: #fde3e4; color: #9b1219; }

/* ── Hinweisband, Kopf, Navigation ───────────────────────── */
.notice-bar { background: var(--teal-dark); color: #fff; font-weight: 700; text-align: center; padding: 0.55rem 0; }
.notice-bar a { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; padding-block: 0.55rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__logo { height: 4rem; width: auto; }
@media (max-width: 40rem) { .brand__logo { height: 3.25rem; } }
.brand__mark { font: 800 1.15rem/1 var(--font-head); background: var(--teal); color: #fff; padding: 0.55rem 0.55rem; border-radius: 12px; letter-spacing: 0.01em; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font: 800 1.15rem/1.1 var(--font-head); letter-spacing: -0.01em; }
.brand__claim { font-size: 0.85rem; color: var(--muted); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.15rem; }
.main-nav a:not(.btn) { display: block; padding: 0.5rem 0.85rem; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 8px; }
.main-nav a:not(.btn):hover { background: var(--bg-tint); }
.main-nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -3px 0 var(--teal); border-radius: 0; }
.main-nav__cta { margin-left: 0.5rem; }
.main-nav__cta .btn { min-height: 2.6rem; padding: 0.45rem 1.15rem; }
.header-tools { display: flex; align-items: center; gap: 0.25rem; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--open { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (min-width: 62rem) {
    .menu-toggle { display: none; }
    .header-tools { order: 3; }
}
@media (max-width: 61.99rem) {
    .brand__claim { display: none; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; padding: 0.75rem var(--gutter) 1.25rem; gap: 0.25rem; }
    .main-nav a:not(.btn) { padding: 0.8rem 1rem; font-size: 1.15rem; border-radius: var(--r-sm); }
    .main-nav__cta { margin: 0.75rem 0 0; }
    .main-nav__cta .btn { width: 100%; min-height: 3rem; }
}

.flashes { margin-top: 1rem; }
.flash { padding: 0.85rem 1.1rem; border-radius: var(--r-sm); background: var(--teal-soft); color: var(--ink); margin: 0 0 0.75rem; border-left: 5px solid var(--teal-dark); }
.flash--error { border-color: var(--red); background: #fdecec; color: #5c0a0e; }
.flash--success { border-color: #1e7f43; background: #e6f4ea; color: #0f3d20; }
/* ── Abschnitte ──────────────────────────────────────────── */
.section { padding-block: var(--space); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--teal-soft); }
.section--accent { background: var(--bg-tint); }
.section-sub { margin-top: var(--space); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.section-head + .lead { margin-top: -0.75rem; margin-bottom: 2rem; }

.page-head { background: var(--teal-soft); padding: 2rem 0 2.75rem; }
.page-head h1 { margin-bottom: 0.35em; }
.page-head__meta { color: var(--muted); font-weight: 600; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.page-head__icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: var(--r); background: var(--card); color: var(--teal-dark); margin-bottom: 1rem; }
.page-head__icon .icon { width: 1.9rem; height: 1.9rem; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0 0 1.25rem; padding: 0; font-size: 0.95rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 0.5rem; }
.crumbs a { color: var(--muted); }

.split { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) {
    .split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
    .split--form .split__side { position: sticky; top: 6.5rem; }
}
.empty { padding: 1.5rem; background: var(--bg-tint); border-radius: var(--r); }
.empty p:last-child { margin: 0; }

/* ── Startseite: Hero ────────────────────────────────────── */
.hero { position: relative; background: var(--teal-soft); overflow: hidden; padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hero__inner { display: grid; gap: 2.5rem; padding-top: clamp(2.5rem, 6vw, 4.5rem); position: relative; z-index: 2; }
@media (min-width: 60rem) { .hero__inner { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3rem; } }
.hero__hello { font: 700 1.05rem/1 var(--font-text); color: var(--teal-deep); margin-bottom: 1rem; }
.hero__title { font-size: clamp(2.7rem, 6.5vw, 4.6rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 0.4em; }
.hero__text { font-size: clamp(1.12rem, 1.7vw, 1.3rem); max-width: 32rem; margin-bottom: 2rem; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Fotos wie aufs Schwarze Brett gepinnt */
.hero__visual { position: relative; min-height: 20rem; }
.polaroid { position: absolute; margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 4px rgba(45, 60, 75, 0.08), 0 16px 36px rgba(45, 60, 75, 0.16); border: 4px solid var(--bg); }
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.polaroid--1 { width: 78%; left: 0; top: 0; z-index: 2; }
.polaroid--2 { width: 50%; right: 0; top: 40%; z-index: 3; }
.polaroid--3 { display: none !important; }
.hero__visual--empty { min-height: 0; }
.sticker {
    position: absolute; z-index: 4; left: 0; bottom: 0; width: 13rem;
    display: grid; gap: 0.15rem; padding: 0.95rem 1.1rem 1rem;
    background: var(--card); color: var(--ink); text-decoration: none; border-radius: var(--r);
    border-left: 6px solid var(--sun); box-shadow: 0 10px 24px rgba(45, 60, 75, 0.16);
}
.sticker:hover .sticker__title { text-decoration: underline; }
.sticker__label { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.sticker__date { font: 800 1.6rem/1.05 var(--font-head); letter-spacing: -0.02em; }
.sticker__title { font-size: 0.95rem; font-weight: 600; line-height: 1.3; }
.hero__visual--empty .sticker { position: relative; width: auto; max-width: 18rem; }
@media (min-width: 60rem) {
    .hero__visual { min-height: 27rem; }
    .polaroid--1 { top: 1rem; }
    .polaroid--2 { top: auto; bottom: 2.5rem; }
}
@media (max-width: 59.99rem) {
    .hero__visual { min-height: min(78vw, 24rem); }
    .sticker { bottom: -0.5rem; width: 11.5rem; }
}

/* Teamfoto rechts im Hero */
.hero__visual--team { min-height: 0 !important; display: grid; justify-items: end; gap: 1rem; }
.teamfoto { margin: 0; border-radius: var(--r); overflow: hidden; background: #fff; border: 5px solid #fff; box-shadow: 0 2px 4px rgba(45, 60, 75, 0.08), 0 18px 40px rgba(45, 60, 75, 0.22); }
.teamfoto a, .teamfoto img { display: block; width: 100%; height: auto; border-radius: calc(var(--r) - 4px); }
.hero__visual--team .teamfoto { max-width: 30rem; width: 100%; }
/* Termin-Karte unter dem Foto, damit Gesichter und Schriftzug frei bleiben */
.hero__visual--team .sticker { position: relative; left: auto; bottom: auto; width: 100%; max-width: 30rem; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; }
.hero__visual--team .sticker__label { grid-column: 1 / -1; }
.hero__visual--team .sticker__date { white-space: nowrap; }
.teamfoto--page { max-width: 40rem; margin: 0 auto 3rem; }

/* Dorf-Panorama als Band unten im Hero */
.hero--panorama { padding-bottom: 0; }
.panorama { position: relative; z-index: 1; margin-top: 1.5rem; line-height: 0; }
.panorama img {
    /* ganzes Bild zeigen, nicht beschneiden */
    width: 100%; height: auto; max-height: none; object-fit: contain;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%);
}
@media (max-width: 59.99rem) { .panorama { margin-top: 1rem; } .panorama img { min-height: 110px; object-fit: cover; object-position: 40% bottom; } }

/* Dorf-Silhouette (Hero unten, Fuß oben) */
.village { display: block; width: 100%; height: clamp(3rem, 7vw, 6rem); color: var(--bg); }
.village--hero { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; }
.village--footer { color: var(--ink-footer, #2d3c4b); margin-bottom: -1px; }

/* Kennzahlen */
.facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; padding-top: 2.5rem; }
.fact { margin: 0; padding: 1.25rem 1.4rem; display: flex; align-items: baseline; gap: 0.75rem; background: var(--bg-tint); border-radius: var(--r); }
.fact__value { font: 800 2.6rem/1 var(--font-head); color: var(--teal-dark); letter-spacing: -0.03em; }
.fact__label { font-weight: 600; line-height: 1.3; }

/* Anliegen-Kasten */
.callout { background: var(--sun-soft); color: #2d3c4b; border-left: 6px solid var(--sun); padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--r-lg); position: relative; }
.callout__title { font-size: clamp(1.6rem, 2.6vw, 2rem); color: #2d3c4b; }
.callout__small { font-size: 0.95rem; margin: 0.75rem 0 0; }
.callout .btn--dark { background: #2d3c4b; color: #fff; }
.callout .btn--dark:hover { background: var(--teal-deep); }
.callout--inline { margin-top: var(--space); display: grid; gap: 0.25rem 2rem; align-items: center; }
.callout--inline p { margin: 0; }
.callout--inline .btn { justify-self: start; margin-top: 0.75rem; }
@media (min-width: 48rem) {
    .callout--inline { grid-template-columns: 1fr auto; }
    .callout--inline .callout__title { grid-column: 1; margin: 0; }
    .callout--inline p { grid-column: 1; }
    .callout--inline .btn { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}


/* ── Termine ─────────────────────────────────────────────── */
.events { display: grid; gap: 0.85rem; }
.event { display: grid; grid-template-columns: 4.6rem 1fr; gap: 1.1rem; padding: 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); transition: border-color 0.15s; }
.event:hover { border-color: var(--teal); }
.event__date { background: var(--teal-soft); color: var(--teal-deep); text-align: center; padding: 0.55rem 0.25rem 0.6rem; border-radius: 14px; align-self: start; display: flex; flex-direction: column; line-height: 1; }
.event__day { font: 800 2.1rem/1 var(--font-head); color: var(--ink); letter-spacing: -0.03em; }
.event__month { font-weight: 700; font-size: 0.95rem; margin-top: 0.2rem; }
.event__year { font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }
.event__date--lg { width: 6rem; padding: 0.8rem 0.5rem; background: var(--sun); }
.event__date--lg .event__day { font-size: 3rem; color: #2d3c4b; }
.event__date--lg .event__month, .event__date--lg .event__year { color: #2d3c4b; font-size: 1.1rem; }
.event__date--lg .event__year { font-size: 0.85rem; }
.event__title { font-size: 1.3rem; margin-bottom: 0.35rem; }
.event__title a { color: var(--ink); text-decoration: none; }
.event__title a::after { content: ""; position: absolute; inset: 0; }
.event { position: relative; }
.event__title a:hover { text-decoration: underline; }
.event__meta { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0 0 0.15rem; color: var(--muted); font-size: 1rem; }
.event__meta .icon { margin-top: 0.22rem; width: 1.05rem; height: 1.05rem; }
.event__text { margin: 0.5rem 0 0; font-size: 1.02rem; }
.event--cancelled .event__title a { text-decoration: line-through; }
.event--past .event__date { opacity: 0.6; }
.month-head { font-size: 1.4rem; margin: 2.5rem 0 0.9rem; color: var(--teal-dark); }
.month-head:first-child { margin-top: 0; }
.calendar-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; }

.event-facts { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem 1.5rem; align-items: start; padding: 1.5rem; background: var(--bg-tint); border-radius: var(--r); margin-bottom: 2rem; }
.event-facts dl { margin: 0; display: grid; gap: 0.75rem; }
.event-facts dt { font-weight: 700; color: var(--muted); font-size: 0.95rem; }
.event-facts dd { margin: 0; font-size: 1.12rem; color: var(--ink); }
.event-facts__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ── Beiträge ────────────────────────────────────────────── */
.posts { display: grid; gap: 1.5rem; }
.posts--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
@media (min-width: 56rem) {
    .posts--home { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 1.5rem; }
    .posts--home .post--gross { grid-row: 1 / span 2; }
    .posts--home .post--normal { grid-template-columns: 9.5rem 1fr; display: grid; gap: 1.1rem; align-items: center; padding: 0.75rem; }
    .posts--home .post--normal .post__media { aspect-ratio: 1; border-radius: 12px; }
    .posts--home .post--normal .post__body { padding: 0; }
    .posts--home .post--normal .post__teaser { display: none; }
}
.post { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.post__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--teal-soft); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
/* Sharepics und Flyer vollständig zeigen statt Text abzuschneiden */
.post__media--hoch { padding: 0.75rem; }
.post__media--hoch img { object-fit: contain; border-radius: 6px; }
.post:hover .post__media--hoch img { transform: none; }
.post:hover .post__media img { transform: scale(1.04); }
.post__placeholder { display: grid; place-items: center; height: 100%; color: var(--teal-dark); }
.post__placeholder .icon { width: 3rem; height: 3rem; opacity: 0.5; }
.post__body { padding: 1.1rem 1.25rem 1.35rem; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--muted); margin-bottom: 0.4rem; }
.post__cat { font-weight: 700; color: var(--teal-deep); background: var(--teal-soft); padding: 0.05rem 0.6rem; border-radius: 8px; font-size: 0.85rem; }
.post__title { font-size: 1.3rem; margin-bottom: 0.4rem; }
.post--gross .post__title { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.post__title a { color: var(--ink); text-decoration: none; }
.post__title a::after { content: ""; position: absolute; inset: 0; }
.post__title a:hover { text-decoration: underline; }
.post__teaser { margin: 0; font-size: 1.02rem; }

.filters { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: flex-end; margin-bottom: 2.5rem; }
.filters label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.95rem; }
.filters__reset { padding-bottom: 0.6rem; }

.pagination { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: center; margin-top: 3rem; }
.pagination a, .pagination span { min-width: 2.75rem; padding: 0.55rem 0.9rem; text-align: center; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); }
.pagination .is-current { background: var(--teal-dark); color: #fff; border-color: var(--teal-dark); }
.pagination .is-disabled { color: var(--muted); opacity: 0.5; }

/* Einzelbeitrag */
.article__head { padding-top: 2rem; }
.article__meta { display: flex; flex-wrap: wrap; gap: 1rem; color: var(--muted); font-weight: 600; margin-bottom: 0.75rem; }
.article__head h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); }
.article__image { margin: 1.5rem auto 2.5rem; }
.article__image img { display: block; width: auto; max-width: 100%; height: auto; margin-inline: auto; border-radius: var(--r); }
/* Quadratische Grafiken und Flyer: nicht über die ganze Breite aufblasen */
.article__image--hoch img { max-width: min(100%, 34rem); box-shadow: 0 2px 4px rgba(45, 60, 75, 0.06), 0 12px 32px rgba(45, 60, 75, 0.12); }
.prose + .article__image { margin-top: 2rem; }
.article__foot { border-top: 1px solid var(--line); margin-top: 3rem; padding: 1.5rem 0 3rem; display: grid; gap: 1rem; }
.article__foot p a, .section > p > a { display: inline-flex; gap: 0.4rem; align-items: center; }
.article__gallery { margin-top: 2.5rem; }
.article > .wrap:last-child { padding-bottom: var(--space); }

.prose { max-width: 42rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.75rem; margin: 1.6em 0 0.5em; }
.prose h3 { font-size: 1.35rem; margin: 1.4em 0 0.4em; }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.35em; }
.prose ul li::marker { color: var(--teal); }
.prose blockquote { margin: 1.5em 0; padding: 1rem 1.25rem; border-radius: var(--r-sm); background: var(--sun-soft); font-size: 1.15rem; color: var(--ink); }
.prose img { display: block; max-width: 100%; height: auto; border-radius: var(--r-sm); margin: 1.5em auto; }
.prose figure { margin: 1.5em 0; }
.prose figure img { margin: 0 auto; }
/* Mehrere Bilder in einem Absatz (übernommen aus WordPress): nebeneinander statt wild untereinander */
.prose p:has(> img + img), .prose p:has(> a > img) { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.prose p:has(> img + img) img, .prose p:has(> a > img) img { margin: 0; flex: 1 1 0; min-width: min(100%, 12rem); max-width: 22rem; }
.prose p > a:has(> img) { display: contents; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 1rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 0.5rem; text-align: left; vertical-align: top; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-sm); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.share__label { font-weight: 700; margin-right: 0.25rem; }
.share__btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.9rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--card); font: inherit; font-size: 0.95rem; text-decoration: none; cursor: pointer; }
.share__btn:hover { border-color: var(--teal); }
.share__btn .icon { width: 1.1rem; height: 1.1rem; }

/* ── Themen ──────────────────────────────────────────────── */
.topics { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.topic a { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1rem; height: 100%; padding: 1.35rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--text); transition: border-color 0.15s, transform 0.15s; }
.topic a:hover { border-color: var(--teal); }
.topic__icon { grid-row: span 2; display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 14px; background: var(--teal-soft); color: var(--teal-deep); }

.topic__icon .icon { width: 1.5rem; height: 1.5rem; }
.topic__title { font: 700 1.25rem/1.15 var(--font-head); color: var(--ink); letter-spacing: -0.01em; }
.topic__text { font-size: 0.98rem; color: var(--muted); }
.topics--large .topic a { padding: 1.75rem 1.5rem; }

.topic-image { margin: 0 0 3rem; }
.topic-image img { width: 100%; border-radius: var(--r); max-height: 28rem; object-fit: cover; }
.topic-blocks { display: grid; gap: 1.25rem; }
@media (min-width: 60rem) { .topic-blocks { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); } }
.topic-block { background: var(--bg-tint); border-radius: var(--r); padding: 1.5rem; }
.topic-block--erreicht { background: var(--teal-soft); }
.topic-block--offen { background: var(--sun-soft); }
.topic-block h2 { font-size: 1.5rem; }

/* ── Ortsrat ─────────────────────────────────────────────── */
.board { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.board__col a { display: flex; flex-direction: column; padding: 1.1rem 1.1rem 1rem; background: var(--card); border-radius: var(--r); text-decoration: none; color: var(--ink); height: 100%; box-shadow: var(--shadow); border-top: 6px solid var(--teal); }
.board__col a:hover { box-shadow: 0 0 0 2px var(--teal); }
.board__col--in_arbeit a { border-color: var(--sun); }
.board__col--erledigt a { border-color: #3aa865; }
.board__count { font: 800 clamp(2.6rem, 7vw, 4rem)/0.95 var(--font-head); letter-spacing: -0.04em; }
.board__label { font-weight: 700; margin-top: 0.3rem; color: var(--muted); }

.motions { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.motion { padding: 1.2rem 1.35rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); color: var(--text); }
.motion__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; margin-bottom: 0.5rem; }
.motion__kind { font-size: 0.92rem; color: var(--muted); }
.motion__title { font-size: 1.25rem; margin-bottom: 0.35rem; color: var(--ink); }
.motion__text, .motion__result { margin: 0 0 0.4rem; font-size: 1.02rem; }
.motion__topic { margin: 0.5rem 0 0; font-size: 0.95rem; font-weight: 600; }
.motions--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }

.status { display: inline-block; padding: 0.15rem 0.65rem; border-radius: 8px; font-size: 0.85rem; font-weight: 700; background: #d7eef1; color: #0a4f58; }
.status--in_arbeit { background: #ffeeb8; color: #5d4500; }
.status--erledigt { background: #d6f2df; color: #145a2c; }
.status--abgelehnt, .status--zurueckgestellt { background: #e8eced; color: #3d4447; }

.status-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.status-filter a { padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; background: var(--card); }
.status-filter a span { color: var(--muted); font-weight: 400; margin-left: 0.15rem; }
.status-filter a[aria-current] { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.status-filter a[aria-current] span { color: #cfeef2; }

/* ── Personen ────────────────────────────────────────────── */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); gap: 2rem 1.5rem; }
.people--small { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.person__photo { aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--teal-soft); margin-bottom: 0.9rem; max-width: 12rem; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }

.person__initials { display: grid; place-items: center; height: 100%; font: 800 2.8rem/1 var(--font-head); color: var(--teal-dark); letter-spacing: -0.03em; }

.person__name { font-size: 1.3rem; margin-bottom: 0.15rem; }
.person__role { color: var(--teal-dark); font-weight: 700; margin-bottom: 0.5rem; font-size: 1rem; }
.person__text { font-size: 1rem; }
.person__contact { display: grid; gap: 0.3rem; font-size: 1rem; }
.person__contact a { display: inline-flex; gap: 0.4rem; align-items: center; }
.people--small .person__photo { max-width: 9rem; }
.people--small .person__name { font-size: 1.15rem; }
.people--small .person__role { font-size: 0.95rem; }
.team-group + .team-group { margin-top: var(--space); }
.tabs-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.tabs-nav a { padding: 0.5rem 1.1rem; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--ink); background: var(--card); }
.tabs-nav a:hover { border-color: var(--teal); }

.about { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 56rem) { .about { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } }

/* Mitmachen-Leiste */
.join { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .join { grid-template-columns: 1fr 1fr; } }
.join__item { background: var(--card); padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); border-top: 5px solid var(--teal); }
.join__item + .join__item { border-top-color: var(--sun); }
.join__item h2 { font-size: clamp(1.6rem, 2.8vw, 2rem); }
.join__item p { max-width: 30rem; }
.section--accent .btn--dark { background: var(--teal-dark); color: #fff; }
.section--accent .btn--light { background: var(--sun); color: #2d3c4b; }

/* ── Formulare ───────────────────────────────────────────── */
.form { display: grid; gap: 1.35rem; }
.field { display: grid; gap: 0.35rem; }
.field-row { display: grid; gap: 1.35rem; }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr; } }
label, legend { font-weight: 700; color: var(--ink); }
.req, .opt { font-weight: 500; font-size: 0.85rem; color: var(--muted); margin-left: 0.35rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="url"], input[type="number"], input[type="date"], input[type="datetime-local"], select, textarea {
    width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
    padding: 0.7rem 0.95rem; min-height: 3rem;
    background: var(--card); border: 2px solid #9fb4b9; border-radius: 12px;
}
textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--teal-dark); outline: 3px solid color-mix(in srgb, var(--teal) 40%, transparent); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--red) !important; }
input[type="file"] { font: inherit; font-size: 1rem; padding: 0.5rem 0; }
.field__hint { font-size: 0.95rem; color: var(--muted); margin: 0; }
.field__error { color: #b3141c; font-weight: 700; margin: 0; }
.fieldset { border: 0; background: var(--bg-tint); border-radius: var(--r); padding: 1.25rem; margin: 0; display: grid; gap: 1.1rem; }
.fieldset legend { padding: 0; float: left; width: 100%; margin-bottom: 0.25rem; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 500; color: var(--text); cursor: pointer; }
.check input { width: 1.35rem; height: 1.35rem; margin-top: 0.15rem; flex: none; accent-color: var(--teal-dark); }
.check--consent { padding: 1rem 1.1rem; background: var(--sun-soft); border-radius: var(--r-sm); }
.check.is-invalid { outline: 2px solid var(--red); }
.form__note { font-size: 0.95rem; color: var(--muted); margin: 0; }
.form__note p { margin: 0; }
.form .btn { justify-self: start; }

.success-box { padding: 2rem; border-radius: var(--r); background: var(--teal-soft); }
.success-box__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--teal-dark); color: #fff; margin-bottom: 1rem; }
.success-box__icon .icon { width: 1.6rem; height: 1.6rem; }

.ways { display: grid; gap: 1rem; }
.way { padding: 1.35rem; background: var(--bg-tint); border-radius: var(--r); }
.way h3 { display: flex; gap: 0.6rem; align-items: center; font-size: 1.25rem; }
.way h3 .icon { color: var(--teal-dark); width: 1.4rem; height: 1.4rem; }
.way p { margin-bottom: 0.5rem; }
.way--member { background: var(--sun-soft); }
.way--member .btn { margin-top: 0.5rem; }

.contact-card, .contact-people { padding: 1.5rem; background: var(--bg-tint); border-radius: var(--r); margin-bottom: 1rem; }
.contact-card h2, .contact-people h2 { font-size: 1.4rem; }
.contact-card a { display: inline-flex; gap: 0.5rem; align-items: center; }
.contact-people ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-people li { display: grid; }
.contact-people span { color: var(--muted); font-size: 0.95rem; }
.side-note { font-size: 1rem; color: var(--muted); }

.auth-box { padding: 2rem; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
.auth-box h1 { font-size: 2.3rem; }
.auth-box h2 { font-size: 1.4rem; margin-top: 1.5rem; }
.auth-box__links { margin: 1.25rem 0 0; }
.inline-form { display: inline; }

/* ── Galerie, Dateien, Suche ─────────────────────────────── */
.albums { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 2rem 1.5rem; }
.album a { display: grid; gap: 0.3rem; text-decoration: none; color: var(--text); }
.album__cover { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--teal-soft); margin-bottom: 0.5rem; }
.album__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.album a:hover img { transform: scale(1.04); }
.album__title { font: 700 1.25rem/1.15 var(--font-head); color: var(--ink); }
.album__meta { color: var(--muted); font-size: 0.95rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(48%, 11rem), 1fr)); gap: 0.6rem; margin-bottom: 1.5rem; }
.gallery--album { grid-template-columns: repeat(auto-fill, minmax(min(48%, 15rem), 1fr)); }
.gallery__item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--teal-soft); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 25, 30, 0.94); display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 3.5rem 1rem 1rem; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; color: #fff; }
.lightbox::backdrop { background: rgba(10, 25, 30, 0.94); }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 6px; }
.lightbox__caption { margin: 0.75rem 0 0; text-align: center; }
.lightbox__btn { position: absolute; background: rgba(255, 255, 255, 0.14); color: #fff; border: 0; width: 3rem; height: 3rem; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 1.3rem; }
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__close { top: 0.75rem; right: 0.75rem; }
.lightbox__prev { left: 0.75rem; top: 50%; }
.lightbox__next { right: 0.75rem; top: 50%; }

.files + .files { margin-top: 2.5rem; }
.files ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.file { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 0.9rem 1rem; background: var(--bg-tint); border-radius: var(--r-sm); }
.file__icon { color: var(--teal-dark); }
.file__icon .icon { width: 2rem; height: 2rem; }
.file__body { display: grid; }
.file__title { font-weight: 700; font-size: 1.08rem; }
.file__meta { font-size: 0.9rem; color: var(--muted); }

.search-form { display: flex; gap: 0.5rem; max-width: 36rem; margin-top: 1rem; }
.search-form input { flex: 1; border-radius: 8px; padding-inline: 1.2rem; }
.results { list-style: none; padding: 0; margin: 0; }
.result { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.result__type { font-size: 0.9rem; font-weight: 700; color: var(--teal-dark); margin: 0 0 0.2rem; }
.result__title { font-size: 1.35rem; margin-bottom: 0.3rem; }
.results-count { color: var(--muted); }
.link-list { padding-left: 1.2rem; }
.link-list li { margin-bottom: 0.4rem; }

/* ── Fuß ─────────────────────────────────────────────────── */
.site-footer { --ink-footer: #2d3c4b; margin-top: var(--space); }
.site-footer__grid, .site-footer__bottom { color: #c6d8dc; }
.site-footer > .wrap { position: relative; }
.site-footer::after { content: ""; display: block; }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); padding: 2.5rem 0 3rem; }
.site-footer { background: linear-gradient(to bottom, transparent 0, transparent calc(clamp(3rem, 7vw, 6rem) - 4px), #2d3c4b calc(clamp(3rem, 7vw, 6rem) - 4px)); }
.site-footer a { color: #fff; }
.site-footer__name { font: 800 1.5rem/1.1 var(--font-head); color: #fff; margin-bottom: 0.25rem; letter-spacing: -0.01em; }
.site-footer__claim { color: var(--sun); font-weight: 600; }
.site-footer__head { font: 700 1.15rem/1 var(--font-head); color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.social { display: flex; gap: 0.35rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: rgba(255, 255, 255, 0.1); border-radius: 50%; }
.social a:hover { background: var(--teal); }
.site-footer__crest img { width: 6rem; height: auto; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 1.25rem 0 1.75rem; font-size: 0.95rem; }
.site-footer__bottom, .site-footer > .wrap { background: transparent; }
/* ── Bewegung reduzieren ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .btn:hover, .topic a:hover, .board__col a:hover { transform: none; }
}

/* ── Druck ───────────────────────────────────────────────── */
@media print {
    .site-header, .site-footer, .share, .callout, .hero__actions, .hero__visual, .panorama, .village, .calendar-tools, .skip, .notice-bar { display: none !important; }
    body { font-size: 11pt; color: #000; background: #fff; }
    .page-head, .section--tint, .hero { background: none; }
    a { color: #000; }
}

/* ── CDU-Gestaltungshandbuch: Schriftzuordnung und Hauptflächen ── */
h1, h2, h3, h4, .hero__title { font-weight: 800; letter-spacing: -0.015em; }
h3, h4 { font-weight: 700; }
.btn, .main-nav, .brand, .header-tools, .crumbs, .more, .badge, .status, .status-filter, .tabs-nav,
label, legend, input, select, textarea, .field__hint, .field__error, .form__note, .req, .opt,
.post__meta, .article__meta, .event__date, .event__meta, .event-facts dt, .sticker, .hero__hello,
.board, .motion__head, .motion__topic, .person__role, .file__meta, .album__meta, .result__type,
.pagination, .share, .site-footer, .notice-bar, .flash, .fact, .filters, .page-head__meta, .callout__small,
.topic__title, .album__title { font-family: var(--font-ui); }
body { line-height: 1.7; }

.btn--primary { background: #2d3c4b; color: #fff; }
.btn--primary:hover { background: #1b191d; }
.btn--dark { background: #2d3c4b; color: #fff; }
.btn--dark:hover { background: #1b191d; color: #fff; }
.notice-bar { background: #2d3c4b; }
/* Hero auf Cadenabbia-Türkis mit Rhöndorf-Blau – in hell und dunkel gleich */
.hero { background: #52b7c1; }
.hero, .hero__title, .hero__text, .hero__hello { color: #2d3c4b; }
.hero .btn--primary { background: #2d3c4b; color: #fff; }
.hero .btn--primary:hover { background: #1b191d; }
.hero .btn--outline { color: #2d3c4b; border-color: #2d3c4b; }
.hero .btn--outline:hover { background: #2d3c4b; color: #fff; }
.polaroid { border-color: #fff; }
.sticker { background: #fff; color: #2d3c4b; }
.sticker__label { color: #5c6873; }

/* Fuß in Rhöndorf-Blau */
.site-footer__claim { color: #52b7c1; }
.social a:hover { background: #52b7c1; color: #2d3c4b; }

/* Absender: Logo-Datei (aus dem CI-Portal) + Verbandsname in Versalien, wie im Handbuch vorgesehen */
.brand__mark { background: none; color: var(--black, #1b191d); padding: 0; font: 800 1.6rem/1 var(--font-ui); letter-spacing: -0.02em; border-radius: 0; }
.brand__name { font: 500 0.82rem/1.2 var(--font-ui); text-transform: uppercase; letter-spacing: 0.06em; }
.brand__claim { font-size: 0.8rem; }

/* Bildansicht nur zeigen, wenn geöffnet */
.lightbox:not([open]) { display: none; }



/* ── Konventionelle Listen und Detailseiten ─────────────── */
/* Aktuelles: klassische Liste mit Vorschaubild links */
.posts--list { display: block; max-width: 56rem; }
.posts--list .post { display: grid; grid-template-columns: 13rem 1fr; gap: 1.5rem; align-items: start; background: none; box-shadow: none; border-radius: 0; overflow: visible; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.posts--list .post:first-child { padding-top: 0; }
.posts--list .post__media { aspect-ratio: 4 / 3; border-radius: 10px; }
.posts--list .post__media--hoch { padding: 0.4rem; }
.posts--list .post__body { padding: 0; }
.posts--list .post__title { font-size: 1.35rem; margin-bottom: 0.45rem; }
.posts--list .post__teaser { color: var(--text); }
.post__more { margin: 0.6rem 0 0; font: 600 0.95rem/1 var(--font-ui); color: var(--link, #1d727b); }
.post__more::after { content: " →"; }
.post:hover .post__more { text-decoration: underline; }
@media (max-width: 40rem) { .posts--list .post { grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 1.1rem 0; } .posts--list .post__media { aspect-ratio: 1; } .posts--list .post__teaser { display: none; } .posts--list .post__title { font-size: 1.12rem; } }

/* Termine: schlichte Liste mit Kalenderblatt */
.events { gap: 0; max-width: 56rem; }
.event:first-child { border-top: 1px solid var(--line); }
.event { grid-template-columns: 4.2rem 1fr; gap: 1.25rem; padding: 1.25rem 0.25rem; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.event:hover { background: var(--bg-tint); }
.event__date { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--teal); border-radius: 8px; padding: 0.4rem 0.2rem 0.45rem; }
.event__day { font-size: 1.7rem; }
.event__month { font-size: 0.85rem; margin-top: 0.15rem; }
.event__title { font-size: 1.2rem; margin-bottom: 0.3rem; }
.event__meta { font-size: 0.95rem; }
.event__text { font-size: 0.98rem; color: var(--text); }
.month-head { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 2.25rem 0 0; padding-bottom: 0.5rem; }
.month-head + .events .event:first-child { border-top: 2px solid var(--ink); }

/* Detailseiten: ruhigere Überschrift, Datum darunter */
.article__head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; margin-bottom: 0.6rem; }
.article__meta { font-size: 0.98rem; gap: 0.75rem; margin: 0 0 1rem; }
.article__meta > * + *::before { content: "·"; margin-right: 0.75rem; color: var(--muted); }
.article__meta a { color: var(--muted); text-decoration: none; }
.article__meta a:hover { text-decoration: underline; }
.article__note { margin: 0 0 1rem; font: 600 0.95rem/1.4 var(--font-ui); color: var(--muted); }
.article__note--red { color: var(--red, #bf111b); }
.facts { margin: 0.5rem 0 1.5rem; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.facts dt { display: flex; gap: 0.5rem; align-items: center; font: 600 0.95rem/1.4 var(--font-ui); color: var(--muted); }
.facts dt .icon { width: 1.1rem; height: 1.1rem; color: var(--teal-dark); }
.facts dd { margin: 0; color: var(--ink); }
.facts__sub { color: var(--muted); }
.facts__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 2rem; }
@media (max-width: 30rem) { .facts > div { grid-template-columns: 1fr; gap: 0.2rem; } }

/* Hero: besser lesbar – dunklere Schrift (Union-Schwarz) auf Türkis, Fließtext etwas kräftiger */
.hero__title { color: #1b191d; }
.hero__text { color: #1b191d; }
.hero__hello { color: #1b191d; }
.hero .btn--outline { color: #1b191d; border-color: #1b191d; background: rgba(255, 255, 255, 0.35); }
.hero .btn--outline:hover { background: #1b191d; color: #fff; }

/* Kopfbereich kompakter */
.hero__inner { padding-top: clamp(1.75rem, 3.5vw, 2.75rem); gap: 2rem; }
.hero__title { font-size: clamp(2.3rem, 4.8vw, 3.7rem); }
.hero__text { margin-bottom: 1.5rem; }
.hero__hello { margin-bottom: 0.75rem; }
.hero__visual--team .teamfoto, .hero__visual--team .sticker { max-width: 25rem; }
@media (min-width: 60rem) { .hero__visual { min-height: 0; } }

/* Panorama: volle Breite, ganzes (serverseitig verbreitertes) Bild, oben weich ins Türkis */
.panorama { margin-top: 0.5rem; line-height: 0; }
.panorama img { width: 100%; height: auto; max-height: none; object-fit: cover; object-position: center bottom;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40%); mask-image: linear-gradient(to bottom, transparent 0, #000 40%); }
@media (max-width: 59.99rem) { .panorama img { height: 10rem; object-fit: cover; object-position: center 70%; } }

/* YouTube-Platzhalter (Zwei-Klick) */
.video-consent { display: grid; gap: 0.9rem; justify-items: start; padding: 1.5rem; margin: 1.5em 0; aspect-ratio: 16 / 9; align-content: center; background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--r); }
.video-consent p { margin: 0; font-size: 0.95rem; max-width: 34rem; }
.video-frame, .prose iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r); margin: 1.5em 0; }

/* Hinweis „Ohne Tracking“ */
.cookie-hinweis { position: fixed; z-index: 60; left: 1rem; right: 1rem; bottom: 1rem; margin-inline: auto; max-width: 46rem; display: flex; gap: 1rem; align-items: center; padding: 1rem 1.25rem; background: #fff; color: var(--text); border-radius: var(--r); border-top: 5px solid var(--teal); box-shadow: 0 12px 40px rgba(45, 60, 75, 0.25); }
.cookie-hinweis[hidden] { display: none; }
.cookie-hinweis p { margin: 0; font-size: 0.95rem; line-height: 1.5; }
.cookie-hinweis .btn { flex: none; }
@media (max-width: 34rem) { .cookie-hinweis { flex-direction: column; align-items: stretch; } }
@media print { .cookie-hinweis { display: none !important; } }
