/**
 * Abschnitte, Karten, Listen, Detailseiten und Formulare.
 * Grundlage: v1 css/core/_sections.css, components/_cards.css, _forms.css, sections/_events.css.
 * Karten nach Auftrag A1: #202020, Kontur #2e2e2e, Radius 11px, Schraffur wie im Original.
 */

/* ---------- Abschnitt: festes Abstandssystem ----------
 * Jeder Abschnitt hat nur oben Abstand, damit sich nie zwei Abstände addieren.
 *   --re-abstand       zwischen zwei Abschnitten          96 px | 56 px (bis 992 px)
 *   --re-abstand-eng   Einleitungstext → zugehörige Liste  40 px | 28 px
 *   --re-abstand-kopf  Seitenkopf → erster Abschnitt       48 px | 32 px
 * Vor dem Footer sorgt dessen margin-top (re-footer.css) für denselben Abstand.
 * Die frühere ACF-Option «Abstand» wird bewusst nicht mehr ausgewertet.
 */
:root { --re-abstand: 6rem; --re-abstand-eng: 2.5rem; --re-abstand-kopf: 3rem; }
@media (max-width: 992px) { :root { --re-abstand: 3.5rem; --re-abstand-eng: 1.75rem; --re-abstand-kopf: 2rem; } }
.re-sek { position: relative; z-index: 2; padding: var(--re-abstand) 0 0; }
/* Erstes Element eines Abschnitts ohne eigenen Aussenabstand (sonst addiert er sich zum System) */
.re-sek > .re-container > :first-child { margin-top: 0; }
/* Einleitungstext + folgende Liste ohne eigenen Titel gehören zusammen */
.re-sek--text + .re-sek:is(.re-sek--karten, .re-sek--kacheln, .re-sek--galerie, .re-sek--mietobjekte, .re-sek--referenzen, .re-sek--team, .re-sek--events, .re-sek--punkte, .re-sek--faq, .re-sek--kennzahlen, .re-sek--zeitleiste):not(:has(> .re-container > .re-titel:first-child)) { padding-top: var(--re-abstand-eng); }
/* Erster Abschnitt direkt unter dem Seitenkopf */
.rie-page-header + .re-sek, .brxe-shortcode:has(.rie-page-header) + .brxe-shortcode .re-sek:first-child { padding-top: var(--re-abstand-kopf); }

.re-titel small,
.rie-page-header h1 small {
	display: block;
	margin-top: .5rem;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.4;
	text-transform: none;
	letter-spacing: 0;
	color: var(--color-white);
}
.rie-page-header h1 small { font-size: 24px; font-weight: 300; }
@media (max-width: 992px) { .re-titel small { font-size: 18px; } .rie-page-header h1 small { font-size: 20px; } }
@media (max-width: 576px) { .re-titel small { font-size: 17px; } .rie-page-header h1 small { font-size: 18px; } }
/* H1 im Stil einer H2 (Startseite: erster Abschnittstitel) */
.re-titel--h2 { font-size: 1.8rem; font-weight: 800; }
@media (max-width: 992px) { .re-titel--h2 { font-size: 1.75rem; } }
@media (max-width: 576px) { .re-titel--h2 { font-size: 1.5rem; } }

.re-text > :last-child { margin-bottom: 0; }
.re-text ul { margin: 0 0 1rem; }
.re-text h2, .re-text h3 { margin-top: 1.5rem; }
.re-text > :first-child { margin-top: 0; }
.re-text--schmal { max-width: none; }
.re-leer { opacity: .8; }

/* Zurück-Link im Seitenkopf (Original: a.backlink) */
.rie-page-header .rie-container { position: relative; }
.re-backlink {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	margin-bottom: .5rem;
	min-height: 24px;
	color: #e0e0e0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: var(--transition-slow);
}
.re-backlink svg { width: 1.1em; height: 1.1em; color: var(--color-red); transition: var(--transition-slow); }
.re-backlink:hover, .re-backlink:focus-visible { color: var(--color-white); }
.re-backlink:hover svg { transform: translateX(-3px); }

/* ---------- Buttons ---------- */
.re-buttons { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.re-btn--outline { background: transparent; border-color: var(--color-white); color: var(--color-white); }
.re-btn--outline:hover, .re-btn--outline:focus-visible { background: var(--color-red); border-color: var(--color-red); color: var(--color-white); }
.re-btn--icon { justify-content: center; padding: .75rem; border-radius: var(--border-radius-sm); }
.re-btn--icon svg { width: 1em; height: 1em; min-width: 0; min-height: 0; display: block; } /* gleiche Höhe wie Text-Knöpfe, quadratisch */
.re-btn--icon:hover, .re-btn--icon:focus-visible { background: var(--color-white); border-color: var(--color-white); color: var(--color-red); }

/* ---------- Bilder ---------- */
.re-lightbox { display: block; overflow: hidden; border-radius: var(--border-radius-sm); }
.re-lightbox img, .re-karte-bild img, .re-referenz-bild img, .re-event-bild img, .re-kachel-bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
}
.re-lightbox:hover img { transform: scale(1.04); }

.re-galerie { display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr); margin-top: 1.5rem; }
.re-galerie .re-lightbox { aspect-ratio: 3 / 2; }
@media (min-width: 768px) {
	.re-galerie--3 { grid-template-columns: repeat(3, 1fr); }
	.re-galerie--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Text mit Bildern (Original: article-standard) */
.re-tb { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 992px) {
	.re-tb { grid-template-columns: 5fr 6fr; gap: 3rem; }
	.re-tb--rechts { grid-template-columns: 6fr 5fr; }
	.re-tb--rechts .re-tb-bilder { order: 2; }
}
.re-tb-bilder > .re-lightbox { aspect-ratio: 4 / 3; }
/* Mietobjekte: Hauptbild auf der Detailseite immer quadratisch (Event-Plakate bleiben unbeschnitten) */
.single-re_mietobjekt .re-tb-bilder > .re-lightbox, .single-re_event .re-tb-bilder > .re-lightbox { aspect-ratio: 1 / 1; }
.single-re_mietobjekt .re-tb-bilder > .re-lightbox img, .single-re_event .re-tb-bilder > .re-lightbox img { width: 100%; height: 100%; object-fit: cover; }
.re-tb-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: .5rem; }
.re-tb-thumbs .re-lightbox { aspect-ratio: 1; }

/* ---------- Karten ---------- */
.re-karte {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--card-border);
	border-radius: var(--border-radius-md);
	background-color: var(--card-bg);
	background: repeating-linear-gradient(-35deg, var(--card-bg), var(--card-bg) 1px, transparent 1px, transparent 4px);
	transition: border-color var(--transition-slow);
}
.re-karte:hover { border-color: var(--color-lightgrey); }
.re-karte-bild { margin: 22px 22px 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--border-radius-sm); }
.re-karte:hover .re-karte-bild img { transform: scale(1.06); }
.re-karte-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.re-karte-body h3, .re-karte-body .re-karte-titel { font-size: 1.75rem; margin-bottom: .5rem; }
.re-karte-body h3 a, .re-karte-body .re-karte-titel a { color: inherit; text-decoration: none; }
.re-karte-body h3 small, .re-karte-body .re-karte-titel small { display: block; font-size: 80%; font-weight: 300; margin-top: .15rem; }
.re-karte-text > :last-child { margin-bottom: 0; }
.re-karte .re-buttons { margin-top: auto; padding-top: 1.5rem; }
@media (max-width: 768px) { .re-karte-bild { margin: 15px 15px 0; } .re-karte-body { padding: 15px; } }
@media (max-width: 577px) { .re-karte-bild { margin: 12px 12px 0; } .re-karte-body { padding: 12px; } }

.re-karten { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 768px) { .re-karten { grid-template-columns: repeat(2, 1fr); } }
.re-karten > [hidden] { display: none; }

/* ---------- Kacheln mit Piktogramm (Startseite) ---------- */
.re-kacheln { display: grid; gap: 2.5rem; margin-top: 1.5rem; text-align: center; }
@media (min-width: 768px) { .re-kacheln { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.re-kachel { display: block; color: inherit; text-decoration: none; padding: 0 22px; }
.re-kachel-bild { height: 180px; margin: 0 auto 1.25rem; display: flex; align-items: center; justify-content: center; }
.re-kachel-bild img { width: auto; max-width: 100%; height: 100%; object-fit: contain; }
a.re-kachel:hover .re-kachel-bild img { transform: scale(.94); }
.re-kachel .re-kachel-titel { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; margin-bottom: .5rem; }
.re-kachel p { font-size: var(--font-size-small); margin: 0; }
@media (max-width: 767px) { .re-kachel-bild { height: 150px; } }

/* ---------- Filter ---------- */
.re-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
/* Filter: gleiche Knöpfe wie überall (Kontur), aktiver Filter gefüllt */
.re-filter-btn.is-aktiv { background: var(--color-red); border-color: var(--color-red); color: var(--color-white); }

/* ---------- Erfolgsgeschichten (Original: article-referenzen) ---------- */
.re-referenzen { display: grid; gap: .5rem; grid-template-columns: repeat(2, 1fr); margin-top: 1.5rem; }
@media (min-width: 992px) { .re-referenzen { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.re-referenzen > [hidden] { display: none; }
.re-referenz {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border: 1px solid var(--card-border);
	border-radius: var(--border-radius-md);
	color: var(--color-white);
	text-decoration: none;
}
.re-referenz-bild { position: absolute; inset: 0; }
.re-referenz::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 60%;
	background: linear-gradient(0deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0) 100%);
	transform-origin: bottom;
	transition: transform var(--transition-slow);
}
/* Original: Verlauf 60 % → 40 % Höhe beim Hover; als transform statt height (kein Layout-Neuberechnen) */
.re-referenz:hover::after { transform: scaleY(.6667); }
.re-referenz:hover img { transform: scale(1.06); }
.re-referenz-caption { position: absolute; z-index: 2; inset: auto 0 0; padding: 11px 22px 16px; line-height: 1.1; }
.re-referenz-zeit { display: block; font-size: 16px; margin-bottom: .25rem; }
.re-referenz-titel { display: block; font-size: 1.5rem; font-weight: 800; text-transform: uppercase; }
@media (max-width: 768px) { .re-referenz-caption { padding: 7px 12px 10px; } .re-referenz-titel { font-size: 1.05rem; } .re-referenz-zeit { font-size: 13px; } }

/* ---------- Team ---------- */
.re-team { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 768px) { .re-team { grid-template-columns: repeat(3, 1fr); } }
.re-person .re-karte-bild { aspect-ratio: 4 / 5; margin: 22px; }
.re-person .re-karte-body { padding-top: 0; }
.re-person a { word-break: break-word; }

/* ---------- Eventliste: flache Zeilen ohne Aufklappen ----------
   Bild | Titel, Datum, Ort | Buttons. Mit Ziel ist die ganze Zeile klickbar (Link über die Fläche),
   Buttons liegen darüber und bleiben einzeln anklickbar. */
.re-events { display: grid; gap: .75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.re-event {
	position: relative;
	display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 1.25rem; align-items: center;
	margin: 0; padding: 18px 22px;
	border: 1px solid var(--card-border); border-radius: var(--border-radius-md);
	background: repeating-linear-gradient(-35deg, var(--card-bg), var(--card-bg) 1px, transparent 1px, transparent 4px);
	transition: border-color var(--transition-slow);
}
.re-event--link:hover { border-color: var(--color-lightgrey); }
.re-event--link:has(.re-event-link:focus-visible) { outline: 2px solid var(--color-white); outline-offset: 3px; }
.re-event-bild { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--border-radius-sm); }
.re-event-bild--datum { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--color-red); font-size: var(--font-size-small); text-transform: uppercase; letter-spacing: .06em; }
.re-event-bild--datum b { font-size: 2rem; line-height: 1; letter-spacing: 0; }
.re-event-kopf { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.re-event .re-event-titel { margin: 0; font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 700; line-height: 1.2; }
.re-event-link { color: inherit; text-decoration: none; }
.re-event-link:focus-visible { outline: none; }
.re-event-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.re-event-wann, .re-event-ort { margin: 0; }
.re-event-zeit::before { content: "·"; margin: 0 .45rem; opacity: .7; }
.re-datum b { font-weight: 700; }
/* Enddatum immer auf eigener Zeile, gleich gross */
.re-datum-bis { display: block; }
.re-wday { margin-right: .1rem; }
.re-event-ort { font-size: var(--font-size-small); opacity: .85; }
/* Buttons rechts: alle gleich gross, Hauptaktion (rot) immer ganz rechts, zweiter Weg (Umriss) davor */
.re-event-aktionen { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; }
.re-event-aktionen a { position: relative; z-index: 2; }
.re-btn--liste { justify-content: center; min-width: 9.5rem; padding: .7rem 1.1rem; font-size: 16px; letter-spacing: 0; }
.re-btn-pfeil { width: .8em; height: .8em; flex: none; }
/* «Mehr erfahren» ist nur Anzeige (die ganze Zeile ist der Link): reagiert auf Hover der Zeile */
.re-event--link:hover .re-event-mehr, .re-event--link:has(.re-event-link:focus-visible) .re-event-mehr { background: var(--color-white); border-color: var(--color-white); color: var(--color-red); }
@media (max-width: 767px) {
	.re-event { grid-template-columns: 96px minmax(0, 1fr); gap: .9rem 1.1rem; }
	.re-event-aktionen { grid-column: 2 / -1; justify-content: flex-start; flex-wrap: wrap; }
}
/* Handy: Bild klein oben links neben dem Titel, alles Weitere darunter über die ganze Breite.
   .re-event-kopf löst sich auf (display: contents), damit Datum, Ort und Symbole die volle Breite nutzen. */
@media (max-width: 575px) {
	.re-event { grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: .35rem .85rem; padding: 14px 14px 16px; }
	.re-event-kopf { display: contents; }
	.re-event-bild { grid-row: 1; align-self: start; }
	.re-event .re-event-titel { grid-column: 2; grid-row: 1; font-size: 1.15rem; line-height: 1.2; text-wrap: pretty; }
	.re-event-wann, .re-event-ort, .re-event-aktionen { grid-column: 1 / -1; }
	.re-event-wann { margin-top: .5rem; font-size: 15px; line-height: 1.4; }
	.re-event-ort { font-size: 14px; line-height: 1.4; }
	.re-event-zeit { display: block; }
	.re-event-zeit::before { content: none; }
	.re-event-aktionen { margin-top: .6rem; gap: .5rem; }
	.re-event-aktionen .re-btn--liste { flex: 1 1 0; min-width: 0; padding: .7rem .6rem; font-size: 15px; }
}
@media (max-width: 359px) {
	.re-event { grid-template-columns: 56px minmax(0, 1fr); padding: 12px 12px 14px; }
	.re-event .re-event-titel { font-size: 1.05rem; }
	.re-event-aktionen .re-btn--liste { font-size: 14px; padding: .65rem .45rem; gap: .35rem; }
}

/* ---------- Event-Anmeldung ---------- */
.re-anmeldung > .re-titel + .re-text { margin-bottom: 1.5rem; }
.re-begleitung { min-width: 0; margin: 1.75rem 0 0; padding: 0; border: 0; }
.re-begleitung .re-wahlen-titel { margin-top: 0; padding: 0; }
.re-begleitung-person { margin-top: 1rem; }
.re-begleitung-person[hidden] { display: none; }
.re-begleitung-titel { margin: 0 0 .5rem; font-size: var(--font-size-small); font-weight: 700; color: #c4c4c4; }
.re-anmeldung-fragen { margin-top: 1.75rem; }
.re-anmeldung-fragen .re-feld--check { margin: .25rem 0; }
@media (min-width: 576px) { .re-feld--breit { grid-column: 1 / -1; } }
.re-anmeldung-frei { font-weight: 700; color: #e2575c !important; }
.re-anmeldung-weitere { color: var(--color-white); text-decoration: underline; text-underline-offset: 3px; }
.re-anfrage-box .re-anmeldung-kontakt { margin: 1.1rem 0 0; }
.re-anfrage-box .re-anmeldung-kontakt a { color: var(--color-white); }
.re-anmeldung-zu, .re-event-vorbei { border: 1px solid var(--color-lightgrey); background: rgba(255, 255, 255, .04); }
.re-event-vorbei a { color: var(--color-white); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Detailseiten ---------- */
.re-steckbrief { width: auto; border-collapse: collapse; margin: 0 0 1.5rem; }
.re-steckbrief th { text-align: left; font-weight: 700; padding: .25rem 1.5rem .25rem 0; vertical-align: top; white-space: nowrap; }
.re-steckbrief td { padding: .25rem 0; }
.re-detail-video { margin-top: 2rem; }
.re-video { position: relative; aspect-ratio: 16 / 9; background: var(--card-bg); border-radius: var(--border-radius-md); overflow: hidden; }
.re-video video, .re-video iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.re-video--yt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; background-image: var(--stripes); }
.re-video-start { display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-size: 18px; padding: .75rem 1.25rem; border-radius: var(--border-radius-pill); border: 0; background: var(--color-red); color: var(--color-white); cursor: pointer; }
.re-video-start svg { width: 22px; height: 22px; }
.re-video-start:hover { background: var(--color-white); color: var(--color-red); }
.re-video-hinweis { font-size: 13px; opacity: .8; margin: 0; }

/* ---------- Kontakt ---------- */
.re-kontakt { display: grid; gap: 3rem; }
@media (min-width: 992px) { .re-kontakt { grid-template-columns: 4fr 7fr; } }
.re-kontakt address { font-style: normal; margin-bottom: 1rem; }
.re-kontakt-tabelle { width: auto; border-collapse: collapse; }
.re-kontakt-tabelle th { text-align: left; font-weight: 300; padding: 0 1.5rem 0 0; }
.re-kontakt-tabelle a { color: var(--color-white); }
.re-kontakt-tabelle a:hover { color: var(--color-red); }

/* ---------- Formulare ---------- */
#anfrage, #infoservice, .re-sek[id] { scroll-margin-top: 160px; }
.re-form { margin-top: 1rem; }
.re-form-grid { display: grid; gap: 1rem 1.25rem; }
@media (min-width: 576px) { .re-form-grid { grid-template-columns: repeat(2, 1fr); } .re-feld--nachricht, .re-feld--betreff { grid-column: 1 / -1; } }
.re-feld label { display: block; font-size: var(--font-size-small); margin-bottom: .3rem; }
.re-optional { color: #c4c4c4; font-size: 90%; }
.re-feld--check a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.re-feld--check a:hover, .re-feld--check a:focus-visible { color: var(--color-white); }
.re-feld input:not([type=checkbox]), .re-feld select, .re-feld textarea {
	width: 100%;
	font: inherit;
	font-size: 16px;
	font-weight: 400;
	color: var(--color-white);
	background: var(--card-bg);
	border: 1px solid var(--color-lightgrey);
	border-radius: var(--border-radius-sm);
	padding: .7rem .85rem;
	transition: border-color var(--transition-fast);
	color-scheme: dark;
}
.re-feld input:focus, .re-feld select:focus, .re-feld textarea:focus { outline: none; border-color: var(--color-red); box-shadow: 0 0 0 3px rgba(177, 54, 59, .35); }
.re-feld--check { display: flex; gap: .65rem; align-items: flex-start; margin: 1.25rem 0; }
.re-feld--check input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--color-red); }
.re-feld--check label { margin: 0; }
.re-pflichthinweis { font-size: 14px; opacity: .8; }
.re-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.re-meldung { padding: .9rem 1.1rem; border-radius: var(--border-radius-sm); margin: 1rem 0; font-weight: 400; }
.re-meldung--ok { background: #1f3d24; border: 1px solid #3f7a49; }
.re-meldung--fehler { background: #4a1b1d; border: 1px solid var(--color-red); }

/* ---------- Infoservice (Original: infosevice-block splitter-background) ---------- */
.re-sek--infoservice { padding-top: var(--re-abstand); }
.re-infoservice {
	display: grid;
	gap: 1rem 3rem;
	padding: 22px;
	border-radius: var(--border-radius-md);
	background-color: var(--color-black);
	background-image: var(--stripes);
}
@media (min-width: 768px) { .re-infoservice { grid-template-columns: 4fr 8fr; } }
@media (min-width: 1200px) { .re-infoservice { padding: 40px; } }
.re-infoservice .re-feld label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.re-infoservice .re-feld--check label { position: static; width: auto; height: auto; clip: auto; font-size: var(--font-size-small); }
.re-infoservice .re-feld input::placeholder { color: #aaa; }

/* ---------- Lightbox ---------- */
.re-lb { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.re-lb::backdrop { background: rgba(0, 0, 0, .92); }
.re-lb-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.re-lb img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: var(--border-radius-sm); }
.re-lb button {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, .55);
	background: rgba(0, 0, 0, .55);
	color: var(--color-white);
	cursor: pointer;
	transition: background-color var(--transition-fast), border-color var(--transition-fast);
}
.re-lb button svg { display: block; }
.re-lb button:hover, .re-lb button:focus-visible { background: var(--color-red); border-color: var(--color-red); }
.re-lb button:focus-visible { outline: 2px solid var(--color-white); outline-offset: 3px; }
@media (max-width: 575px) { .re-lb button { width: 42px; height: 42px; } .re-lb-vor { right: 8px !important; } .re-lb-zurueck { left: 8px !important; } }
.re-lb-zu { top: 16px; right: 16px; }
.re-lb-vor { right: 16px; top: 50%; transform: translateY(-50%); }
.re-lb-zurueck { left: 16px; top: 50%; transform: translateY(-50%); }
.re-lb-zahl { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); font-size: 14px; color: var(--color-white); }

/* ---------- Einblenden (dezent, nur ohne reduzierte Bewegung) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.re-js .re-einblenden { opacity: 0; transform: translateY(16px); transition: opacity .6s ease-out, transform .6s ease-out; }
	.re-js .re-einblenden.is-sichtbar { opacity: 1; transform: none; }
}

/* Kennzahlen-Band -------------------------------------------------------- */
/* Rote Leiste über die volle Breite; vier gleich breite Spalten, zentriert, Zahlen zählen beim Einblenden hoch */
.re-zahlen {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem;
	padding: 2rem 0; background: var(--color-red); text-align: center;
	box-shadow: 0 0 0 100vmax var(--color-red); clip-path: inset(0 -100vmax);
}
/* Handy: zwei Spalten, ein einzelner letzter Wert steht zentriert auf eigener Zeile */
.re-zahl:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* Desktop: so viele gleich breite Spalten wie Werte */
@media (min-width: 992px) { .re-zahlen { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2rem; padding: 2.5rem 0; } .re-zahl:last-child:nth-child(odd) { grid-column: auto; } }
.re-zahl { display: flex; flex-direction: column; align-items: center; gap: .45rem; }
.re-zahl-wert { font-size: clamp(1.9rem, 3.2vw, 3rem); font-style: italic; font-weight: 800; line-height: 1; text-transform: uppercase; color: var(--color-white); white-space: nowrap; font-variant-numeric: tabular-nums; }
.re-zahl-text { font-size: 15px; line-height: 1.35; color: rgba(255, 255, 255, .92); max-width: 22ch; }

/* Kacheln: sichtbarer Link-Hinweis --------------------------------------- */
.re-kachel-mehr { position: relative; display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; padding-bottom: 6px; font-size: var(--font-size-small); font-weight: 700; color: var(--color-white); }
/* wie bei den Fotokacheln: Linie erst beim Hover, wächst von links */
.re-kachel-mehr::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--color-red); transform: scaleX(0); transform-origin: left center; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
a.re-kachel:hover .re-kachel-mehr::after, a.re-kachel:focus-visible .re-kachel-mehr::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .re-kachel-mehr::after { transition: none; } }
.re-kachel-mehr svg { width: 1em; height: 1em; transform: rotate(-90deg); transition: transform var(--transition-fast); }
a.re-kachel:hover .re-kachel-mehr svg, a.re-kachel:focus-visible .re-kachel-mehr svg { transform: rotate(-90deg) translateY(3px); }

/* Buttons unter Listen (Alle Events, Alle Erfolgsgeschichten) ------------- */
.re-events + .re-buttons, .re-referenzen + .re-buttons { margin-top: 1.5rem; justify-content: center; }

/* Punkte / Ablauf -------------------------------------------------------- */
.re-punkte { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 768px) { .re-punkte { grid-template-columns: repeat(2, 1fr); } }
/* Ablauf: Boxen mit Pfeilen verbunden. Handy und Tablet untereinander (Pfeil nach unten),
   Desktop nebeneinander in so vielen Spalten wie Schritte (Pfeil nach rechts). */
.re-punkte--nr { gap: 2.75rem; }
@media (min-width: 768px) { .re-punkte--nr { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1200px) { .re-punkte--nr { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
.re-punkte--nr .re-punkt:not(:last-child)::after {
	content: ""; position: absolute; z-index: 1; left: 50%; bottom: calc(-1.375rem - 14px);
	width: 28px; height: 28px; transform: translateX(-50%) rotate(90deg);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2575c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (min-width: 1200px) {
	.re-punkte--nr .re-punkt:not(:last-child)::after { left: auto; right: calc(-1.375rem - 14px); bottom: auto; top: 50%; transform: translateY(-50%); }
}
.re-punkt { position: relative; padding: 1.5rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--border-radius-md); }
.re-punkt .re-punkt-titel { font-size: 1.25rem; font-weight: 800; margin: 0 0 .5rem; }
.re-punkt p { font-size: var(--font-size-small); margin: 0; color: #d6d6d6; }
.re-punkt-nr { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; border-radius: 50%; background: var(--color-red); color: var(--color-white); font-weight: 800; font-size: 1.1rem; }

/* Häufige Fragen ----------------------------------------------------------- */
.re-faq { display: grid; gap: .5rem; margin-top: 1.5rem; }
.re-faq-eintrag { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--border-radius-md); }
.re-faq-eintrag summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 700; }
.re-faq-eintrag summary::-webkit-details-marker { display: none; }
.re-faq-eintrag summary svg { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; color: var(--color-red); transition: transform var(--transition-fast); }
.re-faq-eintrag[open] summary svg { transform: rotate(180deg); }
.re-faq-eintrag summary:focus-visible { outline: 2px solid var(--color-white); outline-offset: 2px; }
.re-faq-antwort { padding: 0 1.25rem 1.25rem; font-size: var(--font-size-small); }
.re-faq-antwort > :last-child { margin-bottom: 0; }

/* Zitat -------------------------------------------------------------------- */
.re-zitat { position: relative; margin: 2rem 0 0; padding: 1.75rem 1.75rem 1.5rem 4.5rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--border-radius-md); }
.re-zitat::before { content: "«"; position: absolute; left: 1.25rem; top: .9rem; font-size: 3.5rem; font-weight: 800; line-height: 1; color: var(--color-red); }
.re-zitat blockquote { margin: 0; }
.re-zitat blockquote p { font-size: 1.25rem; font-style: italic; margin: 0; }
.re-zitat blockquote p::before { content: ""; }
.re-zitat blockquote p::after { content: "»"; }
.re-zitat figcaption { margin-top: .75rem; font-size: var(--font-size-small); color: #c4c4c4; }

/* Merkliste ------------------------------------------------------------------ */
.re-merken { display: none; }
.re-js .re-merken { display: inline-flex; }
.re-karte-bild { position: relative; }
.re-karte-bild .re-merken {
	position: absolute; top: .6rem; right: .6rem; z-index: 2;
	align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: 50%; background: rgba(0, 0, 0, .65); color: var(--color-white); cursor: pointer;
	transition: background var(--transition-fast), transform var(--transition-fast);
}
.re-karte-bild .re-merken:hover { background: rgba(0, 0, 0, .85); transform: scale(1.06); }
.re-merken svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.re-merken[aria-pressed="true"] svg { fill: var(--color-red); stroke: var(--color-red); }
.re-merken:focus-visible { outline: 2px solid var(--color-white); outline-offset: 2px; }
.re-merken--text { gap: .5rem; align-items: center; }
.re-merken--text svg { width: 18px; height: 18px; }

body.re-ohne-merkliste .re-merkleiste { display: none !important; }
.re-merkleiste {
	position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
	background: var(--color-red); border-radius: var(--border-radius-pill); box-shadow: 0 6px 24px rgba(0, 0, 0, .5);
	font-size: var(--font-size-small);
}
.re-merkleiste[hidden] { display: none; }
.re-merkleiste a { display: flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; color: var(--color-white); text-decoration: none; }
.re-merkleiste a:focus-visible { outline: 2px solid var(--color-white); outline-offset: 3px; border-radius: inherit; }
.re-merkleiste-zahl { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--color-white); color: var(--color-red); font-weight: 800; }

.re-merkliste-form { grid-column: 1 / -1; }
.re-merkliste-form[hidden] { display: none; }
.re-merkliste-liste { display: flex; flex-wrap: wrap; gap: .5rem; margin: .35rem 0 0; padding: 0; list-style: none; }
.re-merkliste-liste li { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .25rem .25rem .8rem; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--border-radius-pill); font-size: var(--font-size-small); }
.re-merkliste-weg { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--color-white); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.re-merkliste-weg:hover, .re-merkliste-weg:focus-visible { background: var(--color-red); }

/* Zeitleiste -------------------------------------------------------------------- */
.re-zeitleiste { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
@media (min-width: 992px) { .re-zeitleiste { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.re-meilenstein { position: relative; padding-top: 1.25rem; border-top: 2px solid var(--card-border); }
.re-meilenstein::before {
	content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; background: var(--color-red);
	clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.re-meilenstein-jahr { display: block; font-size: clamp(1.75rem, 3vw, 2.5rem); font-style: italic; font-weight: 800; line-height: 1.05; }
.re-meilenstein p { margin: .4rem 0 0; font-size: var(--font-size-small); color: #d6d6d6; }


/* Aufruf als eigene Bühne ------------------------------------------------------ */
.re-cta {
	position: relative; padding: clamp(2rem, 5vw, 4rem);
	background-color: var(--color-black); background-image: var(--stripes); /* wie Infoservice */
	border-radius: var(--border-radius-md); overflow: hidden;
}
.re-cta .re-text { max-width: none; }
.re-cta .re-titel { font-size: clamp(1.9rem, 4.2vw, 3.25rem); font-style: italic; font-weight: 800; line-height: 1.05; text-transform: none; margin-bottom: 1rem; }
.re-cta .re-buttons { margin-top: 1.75rem; }

/* Fotokacheln (Karten, Wege auf der Startseite) – Muster der Erfolgsgeschichten -------- */
.re-fotokacheln { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 768px) { .re-fotokacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .re-fotokacheln--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.re-fotokachel {
	position: relative; isolation: isolate; display: flex; align-items: flex-end;
	min-height: clamp(300px, 32vw, 440px); overflow: hidden;
	border: 1px solid var(--card-border); border-radius: var(--border-radius-md);
	color: var(--color-white); text-decoration: none;
}
.re-fotokacheln--3 .re-fotokachel { min-height: clamp(300px, 30vw, 420px); }
.re-fotokachel-bild { position: absolute; inset: 0; z-index: -2; }
.re-fotokachel-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
/* Verlauf nur im unteren Teil: das Foto bleibt oben frei sichtbar */
.re-fotokachel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .62) 28%, rgba(0, 0, 0, .18) 55%, rgba(0, 0, 0, 0) 75%); }
.re-fotokachel-inhalt { display: flex; flex-direction: column; gap: .4rem; width: 100%; padding: 1.25rem 1.5rem 1.4rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.re-fotokachel-pikto img { display: block; width: auto; height: 76px; margin-bottom: .5rem; }
.re-fotokachel .re-fotokachel-titel { margin: 0; font-size: clamp(1.35rem, 1.9vw, 1.85rem); font-weight: 800; line-height: 1.08; text-transform: uppercase; }
.re-fotokachel-text { font-size: var(--font-size-small); line-height: 1.45; color: #ececec; max-width: 62ch; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
/* «Mehr erfahren»: ohne Hover keine Linie; beim Hover wächst ein roter Strich von links über die ganze Breite,
   der Pfeil rückt nach rechts. Ruhig, ohne Flächen. */
.re-fotokachel-mehr {
	position: relative; display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start;
	margin-top: .3rem; padding-bottom: 6px; font-size: 15px; font-weight: 700;
}
.re-fotokachel-mehr::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--color-red);
	transform: scaleX(0); transform-origin: left center; transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
a.re-fotokachel:hover .re-fotokachel-mehr::after, a.re-fotokachel:focus-visible .re-fotokachel-mehr::after { transform: scaleX(1); }
.re-fotokachel-mehr svg { width: 1em; height: 1em; transform: rotate(-90deg); transition: transform var(--transition-fast); }
a.re-fotokachel:hover img { transform: scale(1.05); }
a.re-fotokachel:hover .re-fotokachel-mehr svg, a.re-fotokachel:focus-visible .re-fotokachel-mehr svg { transform: rotate(-90deg) translateY(4px); }
a.re-fotokachel:focus-visible { outline: 2px solid var(--color-white); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { a.re-fotokachel:hover img { transform: none; } }
@media (prefers-reduced-motion: reduce) { .re-fotokachel-mehr::after, .re-fotokachel-mehr svg { transition: none; } }

/* Mietobjekt: «Passt dazu» in drei Spalten */
@media (min-width: 992px) { .re-karten--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Event-Detail: Buttons direkt unter Datum und Ort */
.re-event-knoepfe { margin: 1.25rem 0 2rem; }

/* Lesbare Zeilenlänge für Fliesstext (rund 70 Zeichen) */
/* Texte nutzen die volle Breite des Inhaltsbereichs */
.re-sek--text .re-text, .re-sek--events > .re-container > .re-text { max-width: none; }
.re-sek--cta .re-text { max-width: none; }
/* Piktogramme auf Fotos einfarbig weiss mit Schatten, damit sie auf jedem Bild lesbar sind */
.re-fotokachel-pikto img { filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
/* Event-Detail: Ticket-Knopf deutlich */
/* «Alle …»-Knopf unter Kartenlisten mittig wie bei Events und Erfolgsgeschichten */
.re-karten + .re-buttons { margin-top: 1.5rem; justify-content: center; }
/* Zwischentitel in Detailtexten (z. B. Events) in Grösse eines Untertitels */
.re-sek--detail .re-text h2 { font-size: 1.35rem; }

/* ---------- Sehr schmale Handys (bis 419 px) ---------- */
@media (max-width: 419px) {
	/* Erfolgsgeschichten: eine Spalte im Querformat, damit lange Namen ganz lesbar bleiben */
	.re-referenzen { grid-template-columns: 1fr; gap: .6rem; }
	.re-referenz { aspect-ratio: 2 / 1; }
	.re-referenz-titel { font-size: 1.2rem; }
	.re-referenz-zeit { font-size: 13px; }
	/* Aufruf: weniger Innenabstand, Knopf in einer Zeile */
	.re-cta { padding: 1.75rem 1.25rem; }
}

/* =========================================================================
   Formulare: E-Mail mit @, Telefon mit Ländervorwahl, Wizard, Auswahlkarten
   ========================================================================= */
.re-feld--thema, .re-feld--email, .re-feld--telefon { min-width: 0; }
.re-feld--thema { grid-column: 1 / -1; }

/* E-Mail: @ als Vorsatz (wie bisherige Seite) */
.re-eingabe { display: flex; align-items: stretch; }
.re-eingabe-vor {
	display: flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 2.75rem;
	background: var(--color-lightgrey); border: 1px solid var(--color-lightgrey); border-right: 0;
	border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
	color: var(--color-white); font-weight: 700;
}
.re-eingabe input { border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0 !important; min-width: 0; }

/* Telefon: Länderauswahl mit Flagge + Nummer in einem gemeinsamen Feld (wie Pub Festival, dunkel) */
.re-tel { position: relative; display: flex; align-items: stretch; border: 1px solid var(--color-lightgrey); border-radius: var(--border-radius-sm); background: var(--card-bg); transition: border-color var(--transition-fast), box-shadow var(--transition-fast); }
.re-tel:focus-within { border-color: var(--color-red); box-shadow: 0 0 0 3px rgba(177, 54, 59, .35); }
.re-tel-knopf { flex: none; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 12px; border: 0; border-right: 1px solid var(--color-lightgrey); border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm); background: var(--color-lightgrey); color: var(--color-white); font: inherit; font-size: 15px; cursor: pointer; transition: background-color var(--transition-fast), border-color var(--transition-fast); }
.re-tel-knopf::after { content: ""; width: 6px; height: 6px; margin: -4px 0 0 2px; border: solid var(--color-white); border-width: 0 1.6px 1.6px 0; rotate: 45deg; transition: rotate .3s cubic-bezier(.22, 1, .36, 1), translate .3s cubic-bezier(.22, 1, .36, 1); }
.re-tel-knopf[aria-expanded=true]::after { rotate: 225deg; translate: 0 8px; }
.re-tel:focus-within .re-tel-knopf { background: var(--color-red); border-right-color: var(--color-red); }
html body .re-tel-knopf:focus-visible { outline: none; }
html body .re-feld .re-tel input[type=tel] { flex: 1; min-width: 0; border: 0; border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0; background: transparent; box-shadow: none; }
.re-tel-liste { position: absolute; z-index: 30; top: calc(100% + 6px); left: -1px; width: min(320px, calc(100vw - 32px)); max-height: 300px; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 6px; list-style: none; background: #1a1a1a; color: var(--color-white); border: 1px solid var(--color-lightgrey); border-radius: var(--border-radius-sm); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8); scrollbar-width: thin; scrollbar-color: var(--color-lightgrey) transparent; }
.re-tel.is-oben .re-tel-liste { top: auto; bottom: calc(100% + 6px); }
/* Offene Liste über dem Footer (.re-footer z-index 5) und den Folgeabschnitten */
.re-sek:has(.re-tel-knopf[aria-expanded=true]) { z-index: 10; }
/* WP Rocket «Lazy Rendering» setzt content-visibility:auto auf Bricks-Elemente weiter unten: das schneidet die offene Liste am Rand ab */
[data-wpr-lazyrender]:has(.re-tel-knopf[aria-expanded=true]) { content-visibility: visible; }
.re-tel-liste:focus { outline: none; }
.re-tel-liste [role=option] { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; font-size: 15px; line-height: 1.2; cursor: pointer; }
.re-tel-name { flex: 1; }
.re-tel-nr { color: #a5a5a5; font-variant-numeric: tabular-nums; }
.re-tel-liste [role=option]:hover, .re-tel-liste [role=option].is-aktiv { background: #2e2e2e; }
.re-tel-liste [role=option][aria-selected=true] { font-weight: 700; }
.re-tel-liste [role=option][aria-selected=true] .re-tel-nr { color: #e2575c; }
.re-tel-trenner { height: 1px; margin: 6px 4px; background: var(--color-lightgrey); }
.re-flagge { flex: none; display: inline-block; width: var(--fw); height: var(--fh); background: #dbdbdb url("../img/flaggen.png") no-repeat var(--fx) 0 / 5652px 15px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.re-feld.is-fehler .re-tel { border-color: var(--color-red); }


/* Fehler */
.re-feld.is-fehler input, .re-feld.is-fehler select, .re-feld.is-fehler textarea, .re-feld.is-fehler .re-eingabe-vor { border-color: var(--color-red); }
.re-schritt-fehler, .re-form-fehler { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: var(--border-radius-sm); background: #4a1b1d; border: 1px solid var(--color-red); }
.re-schritt-fehler[hidden] { display: none; }
.re-kontakt-wege { margin: .25rem 0 1.25rem; font-size: var(--font-size-small); color: #c4c4c4; }
.re-kontakt-wege a { color: var(--color-white); text-decoration: underline; text-underline-offset: 3px; }

/* Wizard */
/* Anfrage-Wizards: links das Formular, rechts der Kasten «Lieber direkt?» (auf dem Handy darunter) */
.re-anfrage-raster { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 992px) { .re-anfrage-raster { grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2.5rem, 4vw, 4rem); } }
.re-anfrage { min-width: 0; }
.re-anfrage-seite { min-width: 0; }
@media (min-width: 992px) { .re-anfrage-seite { position: sticky; top: 140px; } }
.re-anfrage-box { padding: 1.75rem; border: 1px solid var(--card-border); border-radius: var(--border-radius-md); background-color: var(--color-black); background-image: var(--stripes); }
.re-anfrage-box p { margin: 0 0 .9rem; font-size: var(--font-size-small); color: #d6d6d6; }
.re-anfrage-box .re-anfrage-box-titel { margin-bottom: .6rem; font-size: 1.5rem; font-weight: 800; font-style: italic; line-height: 1.15; color: var(--color-white); }
.re-anfrage-box .re-anfrage-box-weg { margin-bottom: .35rem; font-size: 1.15rem; font-weight: 700; font-style: italic; }
.re-anfrage-box .re-anfrage-box-weg a { color: var(--color-white); text-decoration: none; overflow-wrap: anywhere; }
.re-anfrage-box .re-anfrage-box-weg a:hover, .re-anfrage-box .re-anfrage-box-weg a:focus-visible { color: #e2575c; }
.re-anfrage-box address { margin: 1rem 0 .9rem; font-style: normal; font-size: var(--font-size-small); line-height: 1.5; color: #c4c4c4; }
.re-anfrage-box .re-anfrage-box-link { color: var(--color-white); text-decoration: underline; text-underline-offset: 3px; }
.re-wizard { margin-top: 1.5rem; }
/* Fortschritt: Schrittnamen mit Pfeilen dazwischen, ohne Zahlen. Aktueller Schritt weiss und rot unterstrichen. */
.re-fortschritt { display: none; list-style: none; margin: 0 0 2rem; padding: 0 0 .9rem; border-bottom: 1px solid var(--color-lightgrey); }
.re-wizard.is-aktiv .re-fortschritt { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 0; }
.re-fortschritt li { position: relative; display: flex; align-items: center; font-size: 15px; line-height: 1.2; color: #8f8f8f; white-space: nowrap; }
.re-fortschritt li + li::before {
	content: ""; flex: 0 0 auto; width: 18px; height: 18px; margin: 0 .85rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2575c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.re-fortschritt li.is-erledigt { color: #d6d6d6; }
.re-fortschritt li.is-aktuell { color: var(--color-white); font-weight: 700; }
.re-fortschritt li.is-aktuell::after { content: ""; position: absolute; left: calc(18px + 1.7rem); right: 0; bottom: calc(-.9rem - 1px); height: 3px; background: var(--color-red); }
.re-fortschritt li:first-child.is-aktuell::after { left: 0; }
@media (max-width: 575px) {
	.re-fortschritt li { font-size: 13px; }
	.re-fortschritt li + li::before { width: 14px; height: 14px; margin: 0 .45rem; }
	.re-fortschritt li.is-aktuell::after { left: calc(14px + .9rem); }
}
@media (max-width: 400px) {
	.re-wizard.is-aktiv .re-fortschritt { flex-wrap: nowrap; }
	.re-fortschritt li { font-size: 12px; }
	.re-fortschritt li + li::before { width: 12px; height: 12px; margin: 0 .3rem; }
	.re-fortschritt li.is-aktuell::after { left: calc(12px + .6rem); }
}
/* «Schritt 1 von 3» nur für Screenreader (die Pfeil-Leiste ist für sie ausgeblendet) */
.re-wizard.is-aktiv .re-schritt-nr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.re-schritt { border: 0; margin: 0 0 2.5rem; padding: 0; min-width: 0; }
.re-wizard.is-aktiv .re-schritt { margin-bottom: 0; }
.re-schritt[hidden] { display: none; }
.re-schritt-titel { display: block; margin: 0 0 1.25rem; padding: 0; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; font-style: italic; line-height: 1.15; }
.re-schritt-titel:focus { outline: none; }
.re-schritt-nr { display: block; margin-bottom: .35rem; font-size: 14px; font-style: normal; font-weight: 400; color: #c4c4c4; }
.re-schritt-hilfe { margin: -.5rem 0 1rem; color: #c4c4c4; font-size: var(--font-size-small); }
.re-schritt-nav { display: none; gap: .75rem; margin-top: 1.75rem; flex-wrap: wrap; }
.re-wizard.is-aktiv .re-schritt-nav { display: flex; }
.re-wizard.is-aktiv .re-schritt-nav [data-weiter], .re-wizard.is-aktiv .re-schritt-nav [type=submit] { margin-left: auto; }
/* ohne JavaScript: nur der Absende-Knopf am Schluss */
.re-wizard:not(.is-aktiv) .re-schritt:last-child .re-schritt-nav { display: flex; }
.re-wizard:not(.is-aktiv) .re-schritt-nav [data-zurueck] { display: none; }

/* Auswahlkarten */
.re-wahlen { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-bottom: 1.25rem; }
.re-wahlen--gross { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.re-wahlen--bilder { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.re-wahlen.is-fehler, [data-pflicht].is-fehler .re-wahlen { outline: 2px solid var(--color-red); outline-offset: 6px; border-radius: var(--border-radius-sm); }
.re-wahlen .re-wahlen-titel, .re-wahlen-titel { margin: 1.25rem 0 .6rem; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #c4c4c4; }
.re-wahl {
	position: relative; display: flex; align-items: center; gap: .75rem; min-height: 56px; padding: .8rem 1rem .8rem 2.85rem;
	background: var(--card-bg); border: 1px solid var(--color-lightgrey); border-radius: var(--border-radius-sm);
	cursor: pointer; transition: border-color var(--transition-fast), background var(--transition-fast);
}
.re-wahl:hover { border-color: #8a8a8a; }
.re-wahl input { position: absolute; left: 1rem; top: 50%; width: 18px; height: 18px; margin: -9px 0 0; accent-color: var(--color-red); }
.re-wahl:has(input:checked) { border-color: var(--color-red); background: #2a1415; }
.re-wahl:has(input:focus-visible) { outline: 2px solid var(--color-white); outline-offset: 2px; }
.re-wahl-inhalt { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.re-wahl-titel { font-weight: 700; line-height: 1.25; }
.re-wahl-text { font-size: 14px; color: #c4c4c4; line-height: 1.35; }
.re-wahl--bild { padding: .5rem .75rem .5rem 2.85rem; }
.re-wahl-bild { flex: 0 0 52px; width: 52px; height: 52px; overflow: hidden; border-radius: 6px; }
.re-wahl-bild img { width: 100%; height: 100%; object-fit: cover; }
.re-wahl--bild .re-wahl-titel { font-size: 15px; }

/* =========================================================================
   Rechtstexte: volle Breite, Inhaltsverzeichnis links (nach v3.betasolutions.ch)
   ========================================================================= */
.re-recht-raster { display: grid; grid-template-columns: minmax(220px, 290px) minmax(0, 1fr); gap: 2.5rem clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.re-sek--rechtstext .re-text { max-width: none; }
.re-toc { position: sticky; top: 140px; max-height: calc(100vh - 170px); overflow-y: auto; overscroll-behavior: contain; padding-right: 10px; scrollbar-width: thin; scrollbar-color: var(--color-lightgrey) transparent; }
.re-toc-kopf { margin-bottom: 1rem; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #c4c4c4; list-style: none; cursor: default; }
.re-toc-kopf::-webkit-details-marker { display: none; }
.re-toc-liste { margin: 0; padding: 0; list-style: none; }
.re-toc-link { display: block; padding: 5px 0 5px 14px; border-left: 2px solid var(--color-lightgrey); font-size: 15px; line-height: 1.35; color: #c4c4c4; text-decoration: none; transition: color var(--transition-fast), border-color var(--transition-fast); }
.re-toc-link:hover { color: var(--color-white); }
.re-toc-link.is-aktiv { border-left-color: var(--color-red); color: var(--color-white); }
.re-recht h2 { scroll-margin-top: 140px; margin-top: 2.5rem; font-size: 1.5rem; }
.re-recht > h2:first-of-type { margin-top: 0; }
.re-recht-stand { color: #c4c4c4; }
.re-recht table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: var(--font-size-small); }
.re-recht th, .re-recht td { text-align: left; vertical-align: top; padding: .6rem .75rem; border-bottom: 1px solid var(--card-border); }
.re-recht th { color: #c4c4c4; font-weight: 700; }
.re-recht a { color: var(--color-white); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 991px) {
	.re-recht-raster { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
	.re-toc { position: static; max-height: none; overflow: visible; padding: 0; border: 1px solid var(--color-lightgrey); border-radius: var(--border-radius-sm); background: var(--card-bg); }
	.re-toc-kopf { position: relative; margin: 0; padding: 14px 48px 14px 18px; cursor: pointer; }
	.re-toc-kopf::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--color-white); }
	.re-toc-box[open] > .re-toc-kopf::after { content: "–"; }
	.re-toc-liste { padding: 0 18px 14px; }
	.re-recht h2 { scroll-margin-top: 110px; }
}
@media (max-width: 575px) { .re-recht table { display: block; overflow-x: auto; } }
/* Merkliste-Knopf auf Detailseiten: Stern so gross wie die Schrift (gleiche Höhe wie andere Knöpfe) */
.re-merken--text svg { width: 1em; height: 1em; min-width: 0; min-height: 0; }

/* =========================================================================
   Kontaktseite: Social Links und Lageplan (swisstopo)
   Formulare: «Firma / Verein» auf eigener Zeile
   ========================================================================= */
@media (min-width: 576px) { .re-feld--firma { grid-column: 1 / -1; } }
.re-kontakt-zwischentitel { margin: 2.25rem 0 1rem; font-size: 1.25rem; }
.re-kontakt-social { display: grid; gap: .6rem; max-width: 420px; }


/* Fokus der Formularfelder: ein Rahmen (rot) mit feinem Schein, keine zusätzliche weisse Kontur.
   E-Mail: Fokus umschliesst das ganze Feld samt @. */
html body .re-feld input:not([type=checkbox]):focus-visible, html body .re-feld select:focus-visible, html body .re-feld textarea:focus-visible { outline: none; outline-offset: 0; }
.re-eingabe { border-radius: var(--border-radius-sm); transition: box-shadow var(--transition-fast); }
.re-eingabe-vor, .re-eingabe input { transition: border-color var(--transition-fast), background var(--transition-fast); }
.re-eingabe:focus-within { box-shadow: 0 0 0 3px rgba(177, 54, 59, .35); }
.re-eingabe:focus-within .re-eingabe-vor { border-color: var(--color-red); background: var(--color-red); }
html body .re-eingabe input:focus { border-color: var(--color-red); box-shadow: none; }

/* Lageplan und Anfahrt: ein Rahmen, links Adresse und Routen-Knöpfe (Streifen wie Infoservice), rechts die Karte */
.re-lageplan { margin-top: clamp(3rem, 6vw, 4.5rem); scroll-margin-top: 120px; }
.re-lageplan-titel { margin-top: 0; font-size: 1.5rem; }
.re-lageplan-raster {
	display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 2.2fr);
	overflow: hidden; border: 1px solid var(--color-lightgrey); border-radius: var(--border-radius-md);
	background-color: var(--color-black); background-image: var(--stripes);
}
.re-lageplan-info { display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-right: 1px solid var(--color-lightgrey); }
.re-lageplan-name { margin: 0; font-size: 1.25rem; font-weight: 800; font-style: italic; line-height: 1.2; }
.re-lageplan-info address { margin: 0; font-style: normal; color: #c4c4c4; line-height: 1.5; }
.re-lageplan-knoepfe { display: flex; flex-direction: column; align-items: stretch; gap: .65rem; margin-top: .5rem; }
.re-lageplan-knoepfe .re-btn { justify-content: center; text-align: center; }
/* Karte: swisstopo-Bild dunkel (invertiert), eigene Markierung in der Mitte, Hinweis unten rechts */
.re-lageplan-karte { position: relative; display: block; min-height: 440px; overflow: hidden; background: #141414; color: var(--color-red); text-decoration: none; }
.re-lageplan-karte img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: invert(1) brightness(.78) contrast(.9); transition: filter var(--transition-slow), transform var(--transition-slow); }
.re-lageplan-karte::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .55) 100%); }
.re-lageplan-pin { position: absolute; z-index: 2; left: 50%; top: 50%; width: 40px; height: 53px; min-width: 0; min-height: 0; transform: translate(-50%, -100%); filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .7)); transition: transform var(--transition-fast); }
.re-lageplan-gross { position: absolute; z-index: 2; right: 14px; bottom: 14px; padding: 7px 14px; border: 1px solid var(--color-lightgrey); border-radius: 100px; background: rgba(0, 0, 0, .78); color: var(--color-white); font-size: 14px; line-height: 1.2; transition: background var(--transition-fast), border-color var(--transition-fast); }
.re-lageplan-karte:hover img, .re-lageplan-karte:focus-visible img { filter: invert(1) brightness(.9) contrast(.9); transform: scale(1.02); }
.re-lageplan-karte:hover .re-lageplan-pin, .re-lageplan-karte:focus-visible .re-lageplan-pin { transform: translate(-50%, calc(-100% - 4px)); }
.re-lageplan-karte:hover .re-lageplan-gross, .re-lageplan-karte:focus-visible .re-lageplan-gross { background: var(--color-red); border-color: var(--color-red); }
.re-lageplan-karte:focus-visible { outline: 2px solid var(--color-white); outline-offset: -4px; }
.re-lageplan-raster--ohne-karte { grid-template-columns: minmax(0, 1fr); }
.re-lageplan-raster--ohne-karte .re-lageplan-info { border-right: 0; }
@media (prefers-reduced-motion: reduce) { .re-lageplan-karte img, .re-lageplan-pin { transition: none; } .re-lageplan-karte:hover img { transform: none; } }
.re-lageplan-quelle { margin: .25rem 0 0; font-size: 13px; color: #a5a5a5; }
.re-lageplan-quelle a { color: #c4c4c4; text-decoration: underline; text-underline-offset: 3px; }
.re-lageplan-quelle a:hover, .re-lageplan-quelle a:focus-visible { color: var(--color-white); }
.re-kontakt-anfahrt { margin: 1rem 0 0; }
.re-kontakt-anfahrt a { color: var(--color-white); text-decoration: underline; text-underline-offset: 3px; }
.re-kontakt-anfahrt a:hover, .re-kontakt-anfahrt a:focus-visible { color: var(--color-red); }
@media (max-width: 767px) {
	.re-lageplan-raster { grid-template-columns: minmax(0, 1fr); }
	.re-lageplan-karte { order: -1; min-height: 0; aspect-ratio: 1 / 1; max-height: 440px; }
	.re-lageplan-info { border-right: 0; border-top: 1px solid var(--color-lightgrey); }
}

/* Abschnittstitel in Rock-it-Rot und etwas grösser, damit sie auffallen.
   Helleres Rot (wie Links): wirkt auf Schwarz klarer und erfüllt den Kontrast (WCAG AA).
   Nicht auf Streifen (CTA, Infoservice): dort bleibt der Titel weiss. */
html body .re-sek :is(h2.re-titel, h1.re-titel--h2):not(.re-cta *, .re-infoservice *),
html body .re-lageplan-titel { color: #e2575c; font-size: clamp(1.6rem, 2.6vw, 2.15rem); letter-spacing: .01em; }
html body .re-sek :is(h2.re-titel, h1.re-titel--h2) small { color: var(--color-white); }

/* Text direkt vor Piktogramm-Kacheln (Startseite «Wir machen Events möglich»): Titel und Text zentriert,
   damit Einleitung und die zentrierten Kacheln als ein Block wirken */
.re-sek--text:has(+ .re-sek--kacheln .re-kacheln) { text-align: center; }
.re-sek--text:has(+ .re-sek--kacheln .re-kacheln) .re-text { max-width: 1000px; margin-left: auto; margin-right: auto; }

/* SEO-Zwischentitel: FAQ-Fragen als H3, Zwischentitel auf Detailseiten */
.re-faq-eintrag summary h3.re-faq-frage { margin: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; }
.re-sek--detail .re-text .re-detail-zwischentitel { margin: 1.75rem 0 .75rem; }
.re-sek--detail .re-text > .re-detail-zwischentitel:first-child, .re-sek--detail .re-text .re-meldung + .re-detail-zwischentitel { margin-top: 0; }
.re-sek--detail .re-text h3 { font-size: 1.15rem; }
.re-kontakt-direkt { margin-top: 0; }

/* ---------- Popups (inc/popups.php, re-popup.js) ---------- */
.re-popup { width: min(720px, calc(100vw - 2rem)); max-width: none; max-height: calc(100vh - 2rem); margin: auto; padding: 0; border: 0; background: transparent; color: var(--color-white); overflow: visible; }
.re-popup::backdrop { background: rgba(0, 0, 0, .72); }
.re-popup-karte { position: relative; display: grid; max-height: calc(100vh - 2rem); overflow: auto; border: 1px solid var(--card-border); border-radius: var(--border-radius-md); background-color: var(--color-black); background-image: var(--stripes); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.re-popup--links.re-popup--bild .re-popup-karte { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.re-popup-bild img { display: block; width: 100%; height: 100%; max-height: 340px; object-fit: cover; }
.re-popup--links .re-popup-bild img { max-height: none; }
.re-popup-inhalt { padding: clamp(1.5rem, 4vw, 2.5rem); }
.re-popup .re-popup-titel { margin: 0 2.5rem .6rem 0; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; font-style: italic; line-height: 1.1; color: var(--color-white); text-wrap: balance; }
.re-popup-eck { margin: 0 0 .8rem; font-weight: 700; color: #e2575c; }
.re-popup-text p { margin: 0 0 .8rem; color: #e6e6e6; }
.re-popup-knopf { margin: 1.2rem 0 0; }
.re-popup-zu { position: absolute; top: .75rem; right: .75rem; z-index: 2; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; min-width: 0; margin: 0; padding: 0; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 50%; background: rgba(0, 0, 0, .55); color: var(--color-white); cursor: pointer; transition: background-color var(--transition-fast), border-color var(--transition-fast); }
.re-popup-zu:hover, .re-popup-zu:focus-visible { background: var(--color-red); border-color: var(--color-red); }
.re-popup-zu svg { display: block; }
@media (prefers-reduced-motion: no-preference) { .re-popup.is-offen .re-popup-karte { animation: re-popup-rein .35s cubic-bezier(.2, .7, .2, 1); } }
@keyframes re-popup-rein { from { opacity: 0; transform: translateY(16px); } }
/* Handy: als Karte unten */
@media (max-width: 575px) {
	.re-popup { width: 100vw; max-height: 88vh; margin: auto 0 0; }
	.re-popup-karte { max-height: 88vh; border-radius: var(--border-radius-md) var(--border-radius-md) 0 0; border-bottom: 0; }
	.re-popup--links.re-popup--bild .re-popup-karte { grid-template-columns: 1fr; }
	.re-popup-bild img { max-height: 200px; }
	.re-popup-knopf .re-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Bewegung (re-site.js setzt re-einblenden / is-sichtbar und --re-verz)
   Alles nur ohne «Bewegung reduzieren»; Hover-Effekte nur bei Maus.
   ========================================================================== */

/* Events: «Bald» */
.re-event-bald {
	display: inline-block; vertical-align: .25em; margin-left: .5rem; padding: .2em .55em .15em;
	font-size: .55em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
	color: #fff; background: var(--color-red); border-radius: var(--border-radius-pill);
}

/* Seitenkopf (Parallax, re-site.js setzt --re-par): Titel bleibt beim Scrollen zurück und blendet aus */
.rie-page-header { background-position: 0 calc(var(--re-par, 0) * 1px); overflow: clip; }
.rie-page-header > .rie-container { translate: 0 calc(var(--re-par, 0) * .6px); opacity: calc(1 - var(--re-par, 0) / 80); }

/* Scheinwerfer in der Anfrage-/CTA-Box (re-site.js setzt --mx/--my) */
.re-cta::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(226, 87, 92, .32), transparent 65%);
	opacity: 0; transition: opacity .4s ease;
}
.re-cta > * { position: relative; }
.re-cta.is-licht::before { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
	/* gestaffelt: Elemente einer Reihe nacheinander */
	.re-js .re-einblenden { transition-delay: calc(var(--re-verz, 0) * 90ms); }
	.re-js .re-titel.re-einblenden, .re-js .re-text.re-einblenden { transform: translateY(12px); }

	/* Karten: anheben und rot leuchten (eigene Übergänge für Hover, ohne Verzögerung) */
	.re-js .re-karte.re-einblenden, .re-karte {
		transition: opacity .6s ease-out, transform .6s ease-out, translate .35s ease, border-color .35s ease, box-shadow .35s ease;
		transition-delay: calc(var(--re-verz, 0) * 90ms), calc(var(--re-verz, 0) * 90ms), 0s, 0s, 0s;
	}
	@media (hover: hover) {
		.re-karte:hover { translate: 0 -4px; border-color: var(--color-red); box-shadow: 0 0 0 1px rgba(226, 87, 92, .35), 0 14px 34px -12px rgba(226, 87, 92, .35); }
		.re-karte .re-karte-bild img { transition-duration: .9s; }
		.re-karte:hover .re-karte-bild img { transform: scale(1.06); }
	}

	/* Buttons: Lichtstreifen beim Hover, Pfeil rückt nach */
	.re-btn:not(.re-btn--icon), .rie-btn { position: relative; overflow: hidden; isolation: isolate; }
	.re-btn:not(.re-btn--icon)::after, .rie-btn::after {
		content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; z-index: -1; pointer-events: none;
		background: linear-gradient(100deg, transparent, rgba(226, 87, 92, .28), transparent);
		transform: translateX(-120%) skewX(-18deg);
	}
	@media (hover: hover) {
		.re-btn:not(.re-btn--icon):hover::after, .rie-btn:hover::after { transform: translateX(260%) skewX(-18deg); transition: transform .75s ease; }
		.re-btn svg, .rie-btn svg { transition: translate .25s ease; }
		.re-btn:hover svg:last-of-type, .rie-btn:hover svg:last-of-type { translate: 3px -1px; }
	}

	/* Startslider: langsamer Zoom auf das aktive Bild */
	.rie-hero .rie-hero-slide:not(.is-contain).swiper-slide-active .rie-hero-media img { animation: re-zoom 12s ease-out forwards; }

	/* Events: Plakat zoomt ins Bild, Datum gleitet rot herein und wird weiss, «Bald» pulsiert */
	.re-event.is-sichtbar .re-event-bild img { animation: re-plakat 1.1s cubic-bezier(.22, 1, .36, 1) calc(var(--re-verz, 0) * 90ms) both; }
	.re-event.is-sichtbar .re-event-bild--datum b { animation: re-hops .7s cubic-bezier(.22, 1, .36, 1) calc(var(--re-verz, 0) * 90ms + .25s) both; }
	.re-event.is-sichtbar .re-event-wann { animation: re-datum 1.4s cubic-bezier(.22, 1, .36, 1) calc(var(--re-verz, 0) * 90ms + .3s) both; }
	.re-event-bald { animation: re-puls 2.4s ease-in-out infinite; }
}
/* scale statt transform: das Bild ist per transform: translate(-50%, -50%) zentriert (rie-hero.css) */
@keyframes re-zoom { from { scale: 1; } to { scale: 1.08; } }
@keyframes re-plakat { from { transform: scale(1.25); filter: brightness(.35); } to { transform: none; filter: none; } }
@keyframes re-datum { 0% { opacity: 0; transform: translateX(-16px); color: var(--color-red); } 40% { opacity: 1; transform: none; color: var(--color-red); } 100% { color: inherit; } }
@keyframes re-hops { 0% { transform: scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes re-puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(226, 87, 92, .55); } 60% { box-shadow: 0 0 0 7px rgba(226, 87, 92, 0); } }
@media (prefers-reduced-motion: reduce) {
	.rie-page-header { background-position: 0 0; }
	.rie-page-header > .rie-container { translate: none; opacity: 1; }
}
