/* ==================================================================
   DBDO – Neues Design (Relaunch) · Grundlage
   ==================================================================
   Werte aus dem Entwurf (Website/DBDO-Relaunch/project). Diese Datei
   wird auf ALLEN Seiten mit neuem Design geladen:

     - neue Seiten (body.dbdo-rl-neu): Grundstil + alle Bausteine
     - Divi-Seiten (body.dbdo-rl-divi): nur Kopf und Fuss greifen;
       den Rest erledigt divi-angleich.css

   Inhalt:
     1  Schriften            6  Knoepfe, Pillen, Umschalter
     2  Werte (Variablen)    7  Karten, Kacheln, Symbole, Bilder
     3  Grundstil            8  Seitenkopf (Hero) und Zahlenband
     4  Kopf und Fuss        9  Cookie-Banner
     5  Abschnitte, Raster  10  Hilfen
                            11  Gemeinsame Bausteine: App-Band, Fragen,
                                Beitragskarte, Formular

   Alles Eigene beginnt mit "rl-". Stile nur fuer eine einzelne Seite
   gehoeren in seite-<name>.css.
   ================================================================== */

/* 1 ─ Schriften (liegen im Theme, nichts kommt von Google) ───────── */

@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-weight: 500 800;
	font-stretch: 100%;
	font-display: swap;
	src: url('schriften/BricolageGrotesque-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Bricolage Grotesque';
	font-style: normal;
	font-weight: 500 800;
	font-stretch: 100%;
	font-display: swap;
	src: url('schriften/BricolageGrotesque-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Figtree';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('schriften/Figtree-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Figtree';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('schriften/Figtree-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2 ─ Werte ──────────────────────────────────────────────────────── */

:root {
	/* Farben */
	--rl-papier: #F6F3EC;        /* Seitenhintergrund */
	--rl-sand: #EDE8DC;          /* abgesetzte Flaeche */
	--rl-sand-hell: #F1EDE3;     /* Umschalter-Hintergrund */
	--rl-weiss: #fff;
	--rl-tanne: #1F3D2E;         /* Text, dunkle Flaechen */
	--rl-tanne-tief: #1C3A2C;
	--rl-gruen: #1F6B4A;         /* Akzent, Hover */
	--rl-gruen-hell: #E1F0E7;
	--rl-gruen-tinte: #165238;
	--rl-gelb: #F2B705;          /* Signalfarbe */
	--rl-rot: #C2410C;
	--rl-rot-hell: #FBE6DA;
	--rl-rot-tinte: #9A3412;
	--rl-text: #1F3D2E;
	--rl-text-2: #3D5248;        /* Fliesstext */
	--rl-text-3: #5A6B62;        /* Nebentext, Bildunterschriften */
	--rl-linie: #E2DCCD;
	--rl-linie-hell: #E8E2D3;    /* auch: aktiver Menuepunkt */
	--rl-linie-zart: #EFEAE0;
	--rl-auf-dunkel: #F6F3EC;    /* Text auf Tanne */
	--rl-auf-dunkel-2: #B9C7BF;
	--rl-auf-dunkel-3: #C9D6CF;
	--rl-linie-dunkel: #2F4D3F;
	--rl-linie-dunkel-2: #3E5E4E;

	/* Schrift */
	--rl-schrift: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--rl-schrift-titel: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
	--rl-gr-h1: clamp(44px, 8vw, 128px);
	--rl-gr-h2: clamp(36px, 4.6vw, 60px);
	--rl-gr-h2-klein: clamp(26px, 2.6vw, 34px);
	--rl-gr-h2-karte: clamp(28px, 3vw, 38px);
	--rl-gr-zahl: clamp(40px, 4.4vw, 60px);

	/* Rundungen */
	--rl-rund-s: 8px;
	--rl-rund-m: 12px;
	--rl-rund-l: 20px;
	--rl-rund-xl: 24px;
	--rl-rund-xxl: 28px;
	--rl-rund-pille: 999px;

	/* Abstaende */
	--rl-rand: 40px;             /* Seitenrand links/rechts */
	--rl-abstand: 96px;          /* Abschnitt oben/unten */
	--rl-breite: 1440px;         /* groesste Inhaltsbreite */
	--rl-breite-schmal: 1240px;  /* Seitenkopf, Zahlenband */
	--rl-kopf-hoehe: 89px;       /* Hoehe des festen Kopfes (fuer Sprungziele); bis 700 px siehe 4 */
}

/* 3 ─ Grundstil (nur neue Seiten) ────────────────────────────────── */

html:has(body.dbdo-rl-neu) {
	scroll-behavior: smooth;
	scroll-padding-top: var(--rl-kopf-hoehe);
}
body.dbdo-rl-neu {
	margin: 0;
	padding: 0;
	background: var(--rl-papier);
	color: var(--rl-text);
	font-family: var(--rl-schrift);
	font-size: 16px;
	font-weight: 400;
	/* Wie im Entwurf: keine feste Zeilenhoehe. Jeder Baustein nennt seine eigene,
	   so lassen sich die Werte aus dem Entwurf 1:1 uebernehmen. */
	line-height: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
.dbdo-rl-neu *,
.dbdo-rl-neu *::before,
.dbdo-rl-neu *::after,
.rl-kopf *,
.rl-fuss * {
	box-sizing: border-box;
}
.dbdo-rl-neu .rl-inhalt h1,
.dbdo-rl-neu .rl-inhalt h2,
.dbdo-rl-neu .rl-inhalt h3,
.dbdo-rl-neu .rl-inhalt h4,
.dbdo-rl-neu .rl-inhalt p,
.dbdo-rl-neu .rl-inhalt figure,
.dbdo-rl-neu .rl-inhalt blockquote {
	margin: 0;
	padding: 0;
}
.dbdo-rl-neu .rl-inhalt h1,
.dbdo-rl-neu .rl-inhalt h2,
.dbdo-rl-neu .rl-inhalt h3,
.dbdo-rl-neu .rl-inhalt h4 {
	color: inherit;
	font-family: var(--rl-schrift-titel);
}
.dbdo-rl-neu .rl-inhalt a {
	color: var(--rl-tanne);
	text-decoration: none;
}
.dbdo-rl-neu .rl-inhalt a:hover {
	color: var(--rl-gruen);
}
.dbdo-rl-neu .rl-inhalt img {
	max-width: 100%;
	height: auto;
}
.dbdo-rl-neu .rl-inhalt button {
	font: inherit;
}
.rl-inhalt {
	display: block;
}
/* Fuss auf kurzen Seiten am unteren Fensterrand: der Inhalt waechst mit */
body.dbdo-rl-neu,
body.dbdo-rl-divi {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}
body.dbdo-rl-neu > .rl-inhalt,
body.dbdo-rl-divi > #page-container {
	flex: 1 0 auto;
}
body.dbdo-rl-neu > .rl-kopf,
body.dbdo-rl-neu > .rl-fuss,
body.dbdo-rl-divi > .rl-kopf,
body.dbdo-rl-divi > .rl-fuss {
	flex-shrink: 0;
}
/* Listen mit eigener Klasse (Bausteine) ohne Einzug und Aufzaehlungszeichen.
   Listen ohne Klasse – etwa im Text eines Beitrags – behalten ihren Stil.
   :where() haelt das Gewicht bei null, jede Regel einer Seite geht vor. */
:where(.dbdo-rl-neu .rl-inhalt) :where(ul[class], ol[class]) {
	margin: 0;
	padding: 0;
	list-style: none;
}
:where(.dbdo-rl-neu .rl-inhalt) :where(ul[class], ol[class]) > li {
	margin: 0;
}

/* Sichtbarer Fokus fuer die Tastatur */
.rl-kopf a:focus-visible,
.rl-fuss a:focus-visible,
.rl-inhalt a:focus-visible,
.rl-inhalt button:focus-visible,
.rl-inhalt input:focus-visible,
.rl-inhalt select:focus-visible,
.rl-inhalt textarea:focus-visible,
.rl-inhalt summary:focus-visible,
.rl-sprung:focus-visible {
	/* Gelber Rahmen mit dunklem Innenring: auf hellem wie dunklem Grund zu sehen */
	outline: 3px solid var(--rl-gelb);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px var(--rl-tanne);
}

/* Sprunglink: erst sichtbar, wenn er mit der Tastatur erreicht wird */
.rl-sprung {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100000;
	padding: 12px 18px;
	border-radius: var(--rl-rund-pille);
	background: var(--rl-tanne);
	color: var(--rl-auf-dunkel) !important;
	font: 600 15px/1.2 var(--rl-schrift);
	text-decoration: none;
}
.rl-sprung:focus {
	top: 12px;
}

/* 4 ─ Kopf und Fuss ──────────────────────────────────────────────── */

.rl-kopf {
	position: sticky;
	top: 0;
	z-index: 9990;
	background: rgba(246, 243, 236, .94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--rl-linie);
	font-family: var(--rl-schrift);
	line-height: normal;
	-webkit-font-smoothing: antialiased;
}
.admin-bar .rl-kopf { top: 32px; }
@media (max-width: 782px) { .admin-bar .rl-kopf { top: 46px; } }
@media (max-width: 600px) { .admin-bar .rl-kopf { top: 0; } }

.rl-kopf__zeile {
	max-width: var(--rl-breite);
	margin: 0 auto;
	padding: 10px var(--rl-rand);
	display: flex;
	align-items: center;
	gap: 24px;
}
.rl-kopf__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.rl-kopf__logo img {
	display: block;
	width: auto;
	height: 68px;
	max-width: none;
}
.rl-kopf__nav {
	display: flex;
	gap: 4px;
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
	font-size: 15px;
	font-weight: 500;
	/* Platz fuer den Fokusrahmen, der sonst abgeschnitten wuerde */
	padding: 4px;
	margin: -4px;
}
.rl-kopf__nav::-webkit-scrollbar { display: none; }
.rl-kopf a.rl-kopf__punkt {
	/* Bezug fuer den nur vorgelesenen Zusatz "(öffnet in neuem Fenster)": ohne
	   ihn ragte der Zusatz aus dem Menue und machte die Seite breiter (375 px → 579 px). */
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: var(--rl-rund-s);
	white-space: nowrap;
	color: var(--rl-tanne);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: background .15s;
}
.rl-kopf a.rl-kopf__punkt:hover,
.rl-kopf a.rl-kopf__punkt.ist-aktiv {
	background: var(--rl-linie-hell);
	color: var(--rl-tanne);
}
.rl-kopf a.rl-kopf__punkt.ist-aktiv {
	font-weight: 700;
}
.rl-kopf__punkt-neu {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rl-gelb);
}
/* Bei allen anderen Punkten unsichtbar und ohne Breite (Abstand bleibt wie im Entwurf) */
.rl-kopf__punkt-neu--leer {
	width: 0;
	background: transparent;
}
.rl-kopf__rechts {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-shrink: 0;
}
.rl-kopf a.rl-kopf__login {
	padding: 10px 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--rl-tanne);
	text-decoration: none;
}
.rl-kopf a.rl-kopf__login:hover {
	color: var(--rl-gruen);
}
.rl-kopf a.rl-kopf__melden {
	padding: 10px 18px;
	border-radius: var(--rl-rund-pille);
	background: var(--rl-tanne);
	color: var(--rl-auf-dunkel);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
	transition: background .15s;
}
.rl-kopf a.rl-kopf__melden:hover {
	background: var(--rl-gruen);
	color: #fff;
}
/* Wie im Entwurf: bis 700 px Breite steht das Menue in der Zeile neben Logo
   und Knoepfen und laesst sich dort seitlich schieben. Darunter bekommt es
   eine eigene Zeile, Rand und Logo werden kleiner. */
@media (max-width: 700px) {
	.rl-kopf__zeile {
		flex-wrap: wrap;
		padding: 8px 16px;
		gap: 10px;
	}
	.rl-kopf__logo img {
		height: 48px;
	}
	.rl-kopf__nav {
		order: 3;
		flex: 1 1 100%;
	}
	.rl-kopf__rechts {
		margin-left: auto;
	}
	:root {
		--rl-kopf-hoehe: 109px;   /* gemessen: Entwurf und Seite bei 375 px */
	}
}

.rl-fuss {
	background: var(--rl-tanne);
	color: var(--rl-auf-dunkel-2);
	font-family: var(--rl-schrift);
	font-size: 15px;
	line-height: normal;
	-webkit-font-smoothing: antialiased;
}
.rl-fuss__innen {
	max-width: var(--rl-breite);
	margin: 0 auto;
	padding: 64px var(--rl-rand) 32px;
	display: flex;
	flex-direction: column;
	gap: 48px;
}
.rl-fuss__spalten {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 40px;
}
.rl-fuss__firma {
	display: flex;
	flex-direction: column;
	gap: 14px;
	line-height: 1.6;
}
.rl-fuss a.rl-fuss__logo {
	align-self: flex-start;
	display: block;
	padding: 10px 14px;
	border-radius: var(--rl-rund-m);
	background: var(--rl-papier);
}
.rl-fuss__logo img {
	display: block;
	width: auto;
	height: 36px;
	max-width: none;
}
.rl-fuss__name {
	color: var(--rl-auf-dunkel);
	font-weight: 600;
}
.rl-fuss a {
	color: var(--rl-auf-dunkel-2);
	text-decoration: none;
}
.rl-fuss a:hover {
	color: #fff;
}
.rl-fuss__spalte {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.rl-fuss__titel {
	color: var(--rl-auf-dunkel);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.rl-fuss ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.rl-fuss li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.rl-fuss li a {
	position: relative;   /* Bezug fuer den nur vorgelesenen Zusatz (siehe Kopf) */
}
.rl-fuss__unten {
	padding-top: 24px;
	border-top: 1px solid #2A4538;
	font-size: 14px;
}

/* 5 ─ Abschnitte und Raster ──────────────────────────────────────── */

/* Inhaltsbreite mit Seitenrand */
.rl-breite {
	width: 100%;
	max-width: var(--rl-breite);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--rl-rand);
	padding-right: var(--rl-rand);
}
.rl-breite--schmal {
	max-width: var(--rl-breite-schmal);
}
/* Abschnitt: oben und unten 96 px */
.rl-abschnitt {
	padding-top: var(--rl-abstand);
	padding-bottom: var(--rl-abstand);
}
.rl-abschnitt--ohne-oben {
	padding-top: 0;
}
/* Farbige Flaechen ueber die ganze Breite */
.rl-flaeche--dunkel {
	background: var(--rl-tanne);
	color: var(--rl-auf-dunkel);
}
.rl-flaeche--sand {
	background: var(--rl-sand);
}
/* Untereinander mit Abstand: --rl-luecke setzen (z. B. style="--rl-luecke:40px") */
.rl-stapel {
	display: flex;
	flex-direction: column;
	gap: var(--rl-luecke, 32px);
}
/* Raster, das von selbst umbricht: --rl-spalte = Mindestbreite einer Spalte */
.rl-raster {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--rl-spalte, 260px)), 1fr));
	gap: var(--rl-luecke, 24px);
}
/* Kopfzeile eines Abschnitts: Ueberschrift links, Zusatz rechts */
.rl-zeile {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
}

/* Ueberschriften und Texte */
.dbdo-rl-neu .rl-inhalt .rl-h2 {
	font-family: var(--rl-schrift-titel);
	font-weight: 800;
	font-size: var(--rl-gr-h2);
	line-height: 1;
	letter-spacing: -.03em;
}
.dbdo-rl-neu .rl-inhalt .rl-h2--klein {
	font-size: var(--rl-gr-h2-klein);
	line-height: 1.05;
	letter-spacing: -.02em;
}
.dbdo-rl-neu .rl-inhalt .rl-h2--karte {
	font-weight: 700;
	font-size: var(--rl-gr-h2-karte);
	line-height: 1.1;
	letter-spacing: -.02em;
	text-wrap: balance;
}
.dbdo-rl-neu .rl-inhalt .rl-h3 {
	font-family: var(--rl-schrift-titel);
	font-size: 22px;
	font-weight: 700;
	line-height: normal;   /* wie im Entwurf: keine feste Zeilenhoehe */
}
.rl-akzent { color: var(--rl-gruen); }
.rl-flaeche--dunkel .rl-akzent { color: var(--rl-gelb); }
.rl-text {
	font-size: 18px;
	line-height: 1.6;
	color: var(--rl-text-2);
	text-wrap: pretty;
}
.rl-text--klein {
	font-size: 16px;
}
.rl-flaeche--dunkel .rl-text {
	color: var(--rl-auf-dunkel-2);
}
/* Kleine Zeile in Grossbuchstaben ueber einer Ueberschrift */
.rl-etikett {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* 6 ─ Knoepfe, Pillen, Umschalter ───────────────────────────────── */

.dbdo-rl-neu .rl-inhalt .rl-knopf {
	display: inline-block;
	padding: 14px 22px;
	border: 1px solid transparent;
	border-radius: var(--rl-rund-pille);
	background: var(--rl-tanne);
	color: var(--rl-auf-dunkel);
	font-family: var(--rl-schrift);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.dbdo-rl-neu .rl-inhalt .rl-knopf:hover {
	background: var(--rl-gruen);
	color: #fff;
}
.dbdo-rl-neu .rl-inhalt .rl-knopf--weiss {
	background: #fff;
	color: var(--rl-tanne);
}
.dbdo-rl-neu .rl-inhalt .rl-knopf--weiss:hover {
	background: var(--rl-gelb);
	color: var(--rl-tanne);
}
.dbdo-rl-neu .rl-inhalt .rl-knopf--gelb {
	padding: 15px 24px;
	background: var(--rl-gelb);
	color: var(--rl-tanne);
}
.dbdo-rl-neu .rl-inhalt .rl-knopf--gelb:hover {
	background: #fff;
	color: var(--rl-tanne);
}
/* Durchscheinend auf Bild oder dunkler Flaeche */
.dbdo-rl-neu .rl-inhalt .rl-knopf--glas {
	padding: 15px 24px;
	border-color: rgba(246, 243, 236, .45);
	background: rgba(14, 30, 23, .45);
	color: var(--rl-auf-dunkel);
	font-weight: 600;
}
.dbdo-rl-neu .rl-inhalt .rl-knopf--glas:hover {
	background: #24493A;
	color: #fff;
}

/* Kleine runde Schildchen */
.rl-pillen {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 600;
}
.rl-pille {
	padding: 7px 14px;
	border: 1px solid rgba(246, 243, 236, .3);
	border-radius: var(--rl-rund-pille);
	background: rgba(14, 30, 23, .45);
	color: #EEF3EF;
}
/* Schildchen mit gelbem Punkt (ueber der Hauptueberschrift) */
.rl-marke {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 10px;
	border: 1px solid rgba(246, 243, 236, .3);
	border-radius: var(--rl-rund-pille);
	background: rgba(14, 30, 23, .45);
	font-size: 14px;
	font-weight: 600;
}
.rl-marke::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rl-gelb);
	box-shadow: 0 0 0 4px rgba(242, 183, 5, .25);
}

/* Umschalter mit zwei oder mehr Knoepfen (Reiter).
   Die Knoepfe tragen data-rl-zeige="gruppe:wert", siehe relaunch.js. */
.rl-umschalter {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 4px;
	max-width: 100%;
	border-radius: 22px;
	background: var(--rl-sand-hell);
}
.dbdo-rl-neu .rl-inhalt .rl-umschalter__knopf {
	padding: 10px 16px;
	border: 0;
	border-radius: var(--rl-rund-pille);
	background: transparent;
	color: var(--rl-tanne);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}
.dbdo-rl-neu .rl-inhalt .rl-umschalter__knopf[aria-pressed="true"] {
	background: #fff;
}
/* Wahlknoepfe auf dunkler Flaeche (Beispiel 1 / Beispiel 2) */
.dbdo-rl-neu .rl-inhalt .rl-wahl {
	padding: 10px 16px;
	border: 1px solid var(--rl-linie-dunkel-2);
	border-radius: var(--rl-rund-pille);
	background: transparent;
	color: var(--rl-auf-dunkel);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s;
}
.dbdo-rl-neu .rl-inhalt .rl-wahl[aria-pressed="true"] {
	border-color: var(--rl-auf-dunkel);
	background: var(--rl-auf-dunkel);
	color: var(--rl-tanne);
}

/* Store-Knoepfe */
.rl-stores {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
.rl-stores--mitte { justify-content: center; }
.rl-store {
	display: block;
	border-radius: 8px;
	transition: opacity .15s;
}
.rl-store:hover { opacity: .85; }
.dbdo-rl-neu .rl-inhalt .rl-store img {
	display: block;
	max-width: none;
}

/* 7 ─ Karten, Kacheln, Symbole, Bilder ───────────────────────────── */

/* Weisse Karte */
.rl-karte {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 32px;
	border: 1px solid var(--rl-linie-hell);
	border-radius: var(--rl-rund-xl);
	background: #fff;
}
.rl-karte--gross {
	gap: 24px;
	border: 0;
	border-radius: var(--rl-rund-xxl);
}
/* Kachel mit grosser Zahl */
.rl-zahlkachel {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 4px;
	padding: 28px;
	border-radius: var(--rl-rund-xl);
	background: var(--rl-tanne);
	color: var(--rl-auf-dunkel);
}
.rl-zahlkachel__zahl {
	font-family: var(--rl-schrift-titel);
	font-size: var(--rl-gr-zahl);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1;
}
.rl-zahlkachel__text {
	font-size: 16px;
	color: var(--rl-auf-dunkel-2);
}
.rl-zahlkachel--gelb {
	background: var(--rl-gelb);
	color: var(--rl-tanne);
}
.rl-zahlkachel--gelb .rl-zahlkachel__text {
	color: inherit;
	font-weight: 500;
}
/* Gelbes Quadrat mit Symbol */
.rl-symbol {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: var(--rl-rund-m);
	background: var(--rl-gelb);
	color: var(--rl-tanne);
}
.rl-symbol--gross {
	width: 52px;
	height: 52px;
}
.rl-symbol svg {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
/* Zeilen mit Symbol links und Text rechts, durch Linien getrennt */
.rl-punkte {
	display: flex;
	flex-direction: column;
}
.rl-punkt {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 20px;
	padding: 28px 0;
	border-top: 1px solid var(--rl-linie);
}
.rl-punkt:last-child {
	border-bottom: 1px solid var(--rl-linie);
}
.rl-punkt__text {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.rl-punkt__text p {
	font-size: 16px;
	line-height: 1.6;
	color: var(--rl-text-2);
}
/* Grosses Bild mit Unterschrift */
.rl-bild {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.dbdo-rl-neu .rl-inhalt .rl-bild img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 21 / 9;
	object-fit: cover;
	border-radius: var(--rl-rund-xxl);
	background: var(--rl-sand);
}
.rl-bild figcaption,
.rl-bildhinweis {
	font-size: 13px;
	color: var(--rl-text-3);
}
/* Grosse farbige Karte mit Aufruf (z. B. "Jetzt informieren") */
.rl-aufruf {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
	min-height: 300px;
	padding: 40px;
	border-radius: var(--rl-rund-xxl);
	background: var(--rl-gruen);
	color: #fff;
}
.rl-aufruf__text {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.rl-aufruf .rl-etikett { color: #CFE6D9; }
.rl-aufruf p {
	font-size: 17px;
	line-height: 1.55;
	color: #E2F0E8;
}
.rl-aufruf .rl-knopf { align-self: flex-start; }
.rl-aufruf--gelb {
	background: var(--rl-gelb);
	color: var(--rl-tanne);
}
.rl-aufruf--gelb .rl-etikett { color: inherit; }

/* 8 ─ Seitenkopf (Hero) und Zahlenband ───────────────────────────── */

/* Plakat: Bild ueber die ganze Breite, dunkler Schleier, grosse Schrift.
   Anpassen ueber Variablen am Element:
     --rl-hero-bildlage   Bildausschnitt (object-position)
     --rl-hero-schleier   Verlauf ueber dem Bild
     --rl-hero-polster    Innenabstand oben/unten */
.rl-hero {
	position: relative;
	overflow: hidden;
	background: var(--rl-tanne);
	color: var(--rl-auf-dunkel);
	text-align: center;
}
.dbdo-rl-neu .rl-inhalt .rl-hero__bild {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: var(--rl-hero-bildlage, center 60%);
}
.rl-hero__schleier {
	position: absolute;
	inset: 0;
	background: var(--rl-hero-schleier, radial-gradient(ellipse 75% 62% at 50% 42%, rgba(16, 42, 30, .72) 0%, rgba(16, 42, 30, .56) 45%, rgba(16, 42, 30, .2) 100%));
}
.rl-hero__innen {
	position: relative;
	max-width: var(--rl-breite-schmal);
	margin: 0 auto;
	padding: var(--rl-hero-polster, 88px var(--rl-rand) 96px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
}
.dbdo-rl-neu .rl-inhalt .rl-hero__titel {
	font-family: var(--rl-schrift-titel);
	font-weight: 800;
	font-size: var(--rl-hero-titel, clamp(40px, 7vw, 112px));
	line-height: .92;
	letter-spacing: -.04em;
	text-shadow: 0 2px 28px rgba(10, 24, 18, .6);
	text-wrap: balance;
}
.rl-hero__titel span {
	display: block;
	color: var(--rl-gelb);
}
.rl-hero__text {
	max-width: 640px;
	font-size: 20px;
	line-height: 1.55;
	color: #EEF3EF;
	text-shadow: 0 1px 12px rgba(10, 24, 18, .7);
	text-wrap: pretty;
}
.rl-hero__knoepfe {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

/* Band mit Kennzahlen unter dem Seitenkopf */
.rl-zahlenband {
	position: relative;
	border-top: 5px solid var(--rl-gelb);
	background: var(--rl-tanne);
	color: var(--rl-auf-dunkel);
	text-align: left;
}
.rl-zahlenband__innen {
	max-width: var(--rl-breite-schmal);
	margin: 0 auto;
	padding: 32px var(--rl-rand);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 24px;
}
.rl-zahlenband__eintrag {
	display: flex;
	flex-direction: column-reverse;   /* Zahl oben, Bezeichnung darunter */
	justify-content: flex-end;
	gap: 6px;
}
.rl-zahlenband__zahl {
	margin: 0;
	font-family: var(--rl-schrift-titel);
	font-size: var(--rl-gr-zahl);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1;
}
.rl-zahlenband__eintrag:first-child .rl-zahlenband__zahl {
	color: var(--rl-gelb);
}
.rl-zahlenband__text {
	font-size: 15px;
	color: var(--rl-auf-dunkel-3);
}

/* 9 ─ Cookie-Banner (Complianz) in den neuen Farben ──────────────── */
/* Uebernommen aus mu-plugins/dbdo-google-a11y.php, das auf den neuen
   Seiten abgemeldet ist – gleiche Regeln, neue Farbe. */

.dbdo-rl-neu #cmplz-cookiebanner-container .cmplz-cookiebanner {
	background: #fff !important;
	color: #222 !important;
	font-family: var(--rl-schrift);
}
.dbdo-rl-neu #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message {
	color: #222 !important;
}
.dbdo-rl-neu #cmplz-cookiebanner-container .cmplz-cookiebanner a.cmplz-link {
	color: var(--rl-tanne) !important;
}
.dbdo-rl-neu #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-accept {
	background: var(--rl-tanne) !important;
	border-color: var(--rl-tanne) !important;
	color: #fff !important;
}
.dbdo-rl-neu #cmplz-cookiebanner-container .cmplz-documents a.cookie-statement:empty {
	display: none !important;
}

/* 10 ─ Hilfen ────────────────────────────────────────────────────── */

/* Nur fuer Vorleseprogramme */
.rl-nur-vorlesen {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
.dbdo-rl-neu .rl-inhalt [hidden] {
	display: none !important;
}
.rl-einzeilig {
	white-space: nowrap;
}

/* 11 ─ Gemeinsame Bausteine der Seiten ───────────────────────────── */
/* Zusaetzlich angelegt (17.11.2026). Die Seiten benutzen vorerst noch ihre
   eigenen Klassen (rl-orte-app, rl-kontakt-app, rl-nk-aufruf; Formular und
   Karte stehen gleich in seite-kontakt.css bzw. seite-neuigkeiten.css).
   Wo die Regeln hier gleich lauten wie in einer seite-<name>.css, gewinnt
   die Seite (wird spaeter geladen, gleiches Gewicht). */

/* 11a Gelbes Band "Jetzt App downloaden …" mit Store-Knoepfen
   Entwurf (Orte v2, Kontakt v2, Neuigkeiten v2): Abschnitt 0 40 96,
   gelb, Rundung 28, Polster 40, Titel 26–36 px.
     <section class="rl-breite rl-abschnitt rl-abschnitt--ohne-oben">
       <div class="rl-app-band">
         <h2 class="rl-app-band__titel">Jetzt App downloaden und Deinen Ort verbessern</h2>
         <?php echo dbdo_rl_store_knoepfe(52); ?>
       </div>
     </section> */
.rl-app-band {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 40px;
	border-radius: var(--rl-rund-xxl);
	background: var(--rl-gelb);
	color: var(--rl-tanne);
}
.dbdo-rl-neu .rl-inhalt .rl-app-band__titel {
	min-width: 0;
	font-family: var(--rl-schrift-titel);
	font-weight: 700;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.1;
	letter-spacing: -.02em;
}

/* 11b Aufklappbare Fragen (<details>/<summary>), z. B. haeufige Fragen
     <div class="rl-fragen">
       <details><summary>Frage</summary><p>Antwort</p></details> …
     </div> */
.rl-fragen {
	display: flex;
	flex-direction: column;
}
.rl-fragen details {
	border-top: 1px solid var(--rl-linie);
}
.rl-fragen details:last-child {
	border-bottom: 1px solid var(--rl-linie);
}
.rl-fragen summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 22px 0;
	font-family: var(--rl-schrift-titel);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	cursor: pointer;
	list-style: none;
}
.rl-fragen summary::-webkit-details-marker { display: none; }
/* Plus / Minus rechts */
.rl-fragen summary::after {
	content: '+';
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--rl-linie-hell);
	font-family: var(--rl-schrift);
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
}
.rl-fragen details[open] summary::after {
	content: '–';
	background: var(--rl-gelb);
}
.rl-fragen summary:focus-visible {
	border-radius: var(--rl-rund-s);
}
.dbdo-rl-neu .rl-inhalt .rl-fragen details > :not(summary) {
	max-width: 68ch;
	padding: 0 48px 24px 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--rl-text-2);
}
@media (max-width: 600px) {
	.dbdo-rl-neu .rl-inhalt .rl-fragen details > :not(summary) {
		padding-right: 0;
	}
}

/* 11c Beitragskarte (Neuigkeiten-Liste, "Weitere Neuigkeiten" im Beitrag)
   Bildflaeche: dbdo_rl_karten_bild($bild_id, $gross) in funktionen.php.
     <article class="rl-nk-karte">
       <?php echo dbdo_rl_karten_bild($id); ?>
       <div class="rl-nk-karte__text">
         <div class="rl-nk-meta"><span class="rl-nk-thema">…</span><time>…</time></div>
         <h3 class="rl-nk-karte__titel"><a href="…">…</a></h3>
         <p class="rl-nk-karte__auszug">…</p>
       </div>
     </article>
   Stand von seite-neuigkeiten.css Abschnitt 3 am 17.11.2026. Alle Regeln
   mit :where() ohne Gewicht (Bilder: so schwer wie die Grundregel fuer img),
   damit seite-neuigkeiten.css und seite-beitrag.css immer vorgehen. */

:where(.dbdo-rl-neu .rl-inhalt .rl-nk-karte) {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--rl-linie-hell);
	border-radius: var(--rl-rund-xl);
	background: #fff;
	color: var(--rl-tanne);
}
:where(.dbdo-rl-neu .rl-inhalt .rl-nk-karte:hover) {
	box-shadow: 0 24px 48px -28px rgba(31, 61, 46, .45);
	color: var(--rl-gruen);
}

:where(.rl-nk-bild) {
	position: relative;
	flex-shrink: 0;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--rl-sand);
}
.dbdo-rl-neu .rl-inhalt img:where(.rl-nk-bild__weich) {
	position: absolute;
	inset: -24px;
	display: block;
	width: calc(100% + 48px);
	height: calc(100% + 48px);
	max-width: none;
	object-fit: cover;
	filter: blur(18px) saturate(1.1);
	opacity: .55;
}
.dbdo-rl-neu .rl-inhalt img:where(.rl-nk-bild__bild) {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
}
:where(.rl-nk-bild--leer) {
	display: grid;
	place-items: center;
}
.dbdo-rl-neu .rl-inhalt img:where(.rl-nk-bild--leer img) {
	width: 110px;
	height: auto;
	opacity: .55;
}

:where(.rl-nk-karte__text) {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	padding: 24px;
}
:where(.rl-nk-meta) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	color: var(--rl-text-3);
	font-size: 13px;
}
:where(.rl-nk-thema) {
	padding: 3px 9px;
	border-radius: var(--rl-rund-pille);
	background: var(--rl-sand-hell);
	color: var(--rl-tanne);
	font-weight: 600;
}
:where(.dbdo-rl-neu .rl-inhalt .rl-nk-karte__titel) {
	font-family: var(--rl-schrift-titel);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: break-word;
	hyphens: auto;
	hyphenate-limit-chars: 16 6 6;
	-webkit-hyphenate-limit-before: 6;
	-webkit-hyphenate-limit-after: 6;
	text-wrap: pretty;
}
:where(.dbdo-rl-neu .rl-inhalt .rl-nk-karte__auszug) {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	color: var(--rl-text-2);
	font-size: 15px;
	line-height: 1.55;
	overflow-wrap: break-word;
}
:where(.rl-nk-weiter) {
	display: none;
	color: var(--rl-gruen);
	font-weight: 700;
}

/* 11d Formular (Contact Form 7) – fuer Kontakt und Kommunen.
   Stand von seite-kontakt.css Abschnitt 3 am 17.11.2026: */
/* Das HTML kommt unveraendert von Contact Form 7:
     .wpcf7 > form.wpcf7-form[.init|.submitting|.invalid|.sent|.failed|…]
       .form-wrapper > .formrow > p > label > Text, .wpcf7-form-control-wrap > Feld
       … > .cf7sr-g-recaptcha, Knopf .wpcf7-submit, Wartezeichen .wpcf7-spinner
       .wpcf7-response-output   (Meldung nach dem Absenden)
   Fehler an einem Feld: Feld bekommt .wpcf7-not-valid, dahinter steht
   .wpcf7-not-valid-tip mit dem Text. */

.rl-formular {
	/* Die Breite der Karte ist der Massstab fuer das reCAPTCHA-Kaestchen (siehe unten). */
	container-type: inline-size;
}
.rl-formular .wpcf7 {
	margin: 0;
}
.rl-formular .hidden-fields-container {
	display: none;
}
.rl-formular .form-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.rl-formular .formrow {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.dbdo-rl-neu .rl-inhalt .rl-formular .form-wrapper p {
	margin: 0;
	padding: 0;
}
/* Zeilenumbrueche und der leere Absatz aus der Formularvorlage */
.rl-formular .form-wrapper br,
.rl-formular .form-wrapper > p:empty {
	display: none;
}

/* Beschriftung ueber dem Feld */
.rl-formular label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--rl-text-2);
}
.rl-formular .wpcf7-form-control-wrap,
.rl-formular .wpcf7-checkbox,
.rl-formular .wpcf7-radio,
.rl-formular .wpcf7-acceptance,
.rl-formular .dsgvo-checkbox {
	display: block;
	position: relative;
}

/* Felder */
.rl-formular input[type="text"],
.rl-formular input[type="email"],
.rl-formular input[type="tel"],
.rl-formular input[type="url"],
.rl-formular input[type="number"],
.rl-formular input[type="date"],
.rl-formular select,
.rl-formular textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid #D9D2C1;
	border-radius: var(--rl-rund-m);
	background: #FBFAF6;
	color: var(--rl-text);
	font-family: var(--rl-schrift);
	font-size: 16px;
	font-weight: 400;
	line-height: normal;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .15s, background .15s;
}
.rl-formular textarea {
	height: auto;       /* fuenf Zeilen wie im Entwurf (rows="5", siehe page-kontakt.php) */
	min-height: 80px;
	resize: vertical;
}
.rl-formular input:focus,
.rl-formular select:focus,
.rl-formular textarea:focus {
	border-color: var(--rl-gruen);
	background: #fff;
}

/* Haekchen "Datenschutzerklaerung gelesen" */
.rl-formular .wpcf7-list-item {
	display: block;
	margin: 0;
}
.rl-formular .wpcf7-list-item label {
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
	font-weight: 400;
	line-height: 1.5;
	cursor: pointer;
}
.rl-formular input[type="checkbox"],
.rl-formular input[type="radio"] {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: var(--rl-gruen);
}
.rl-formular .wpcf7-list-item-label {
	min-width: 0;
}
.dbdo-rl-neu .rl-inhalt .rl-formular .wpcf7-list-item-label a {
	color: var(--rl-tanne);
	text-decoration: underline;
}
.rl-formular .wpcf7-list-item-label::before,
.rl-formular .wpcf7-list-item-label::after {
	content: none;
}

/* reCAPTCHA: Google gibt das Kaestchen fest mit 304 x 78 px aus. Ist die
   Karte schmaler, wird es verkleinert (links oben verankert, die Hoehe
   zieht mit) – sonst ragte es rechts aus der Karte. Uebernommen aus
   mu-plugins/dbdo-kleine-korrekturen.php, das hier abgemeldet ist.
   Gemessen wird die Innenbreite der Karte, nicht der Bildschirm. */
.rl-formular .cf7sr-g-recaptcha {
	--rl-recaptcha: 1;
	height: calc(78px * var(--rl-recaptcha));
}
.rl-formular .cf7sr-g-recaptcha > div {
	transform: scale(var(--rl-recaptcha));
	transform-origin: 0 0;
}
@container (max-width: 303px) { .rl-formular .cf7sr-g-recaptcha { --rl-recaptcha: .91; } }
@container (max-width: 277px) { .rl-formular .cf7sr-g-recaptcha { --rl-recaptcha: .83; } }
@container (max-width: 252px) { .rl-formular .cf7sr-g-recaptcha { --rl-recaptcha: .75; } }
@container (max-width: 228px) { .rl-formular .cf7sr-g-recaptcha { --rl-recaptcha: .65; } }
@container (max-width: 197px) { .rl-formular .cf7sr-g-recaptcha { --rl-recaptcha: .55; } }
/* Sehr alte Browser, die die Kartenbreite nicht abfragen koennen */
@supports not (container-type: inline-size) {
	@media (max-width: 440px) { .rl-formular .cf7sr-g-recaptcha { --rl-recaptcha: .65; } }
}
/* Die Huelle des unsichtbaren reCAPTCHA-Feldes: ohne Fehlermeldung ohne Hoehe
   und ohne eigenen Abstand, mit Fehlermeldung direkt unter dem Kaestchen. */
.rl-formular .wpcf7-form-control-wrap.cf7sr-recaptcha {
	margin-top: -14px;
}

/* Knopf */
.rl-formular .wpcf7-submit {
	display: block;
	width: 100%;
	margin: 0;
	padding: 15px 24px;
	border: 0;
	border-radius: var(--rl-rund-pille);
	background: var(--rl-tanne);
	color: var(--rl-auf-dunkel);
	font-family: var(--rl-schrift);
	font-size: 16px;
	font-weight: 700;
	line-height: normal;
	white-space: normal;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background .15s, opacity .15s;
}
.rl-formular .wpcf7-submit:hover {
	background: var(--rl-gruen);
	color: #fff;
}
.rl-formular form.submitting .wpcf7-submit {
	opacity: .7;
	cursor: progress;
}
/* Wartezeichen von Contact Form 7: rechts im Knopf statt als eigene Zeile */
.rl-formular .wpcf7-spinner {
	position: absolute;
	right: 16px;
	bottom: 13px;
	margin: 0;
	background-color: var(--rl-auf-dunkel);
	opacity: 1;
	pointer-events: none;
}
.rl-formular .wpcf7-spinner::before {
	background-color: var(--rl-tanne);
}

/* Fehler an einem Feld */
.rl-formular input.wpcf7-not-valid,
.rl-formular select.wpcf7-not-valid,
.rl-formular textarea.wpcf7-not-valid {
	border-color: var(--rl-rot);
	background: #FFF9F5;
}
.rl-formular .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: var(--rl-rot-tinte);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

/* Meldung unter dem Formular (Fehler, Versand fehlgeschlagen, Spam-Verdacht) */
.rl-formular .wpcf7 form .wpcf7-response-output {
	margin: 14px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--rl-linie);
	border-radius: var(--rl-rund-m);
	background: var(--rl-sand-hell);
	color: var(--rl-text);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
}
.rl-formular .wpcf7 form.invalid .wpcf7-response-output,
.rl-formular .wpcf7 form.unaccepted .wpcf7-response-output,
.rl-formular .wpcf7 form.payment-required .wpcf7-response-output,
.rl-formular .wpcf7 form.spam .wpcf7-response-output,
.rl-formular .wpcf7 form.failed .wpcf7-response-output,
.rl-formular .wpcf7 form.aborted .wpcf7-response-output {
	border-color: #EFC2A8;
	background: var(--rl-rot-hell);
	color: var(--rl-rot-tinte);
}

/* Nachricht gesendet: wie im Entwurf steht nur noch der Dank in der Karte
   (Haken, Ueberschrift, Satz; Karte mit 40 px Innenabstand). Erkannt an
   form.sent (Contact Form 7, auch nach einem Absenden ohne Javascript) oder
   an .ist-gesendet (setzt seite-kontakt.js beim Ereignis wpcf7mailsent).
   Direkt nach dem Senden steht das Formular einen Augenblick auf
   "resetting" – der Dank bleibt auch dann stehen. */
.rl-kontakt-karte:has(form.sent),
.rl-kontakt-karte:has(form.resetting .wpcf7-response-output:not(:empty)),
.rl-kontakt-karte.ist-gesendet {
	padding: 40px;
}
.rl-formular:has(form.sent) .wpcf7-form,
.rl-formular:has(form.resetting .wpcf7-response-output:not(:empty)) .wpcf7-form,
.rl-formular.ist-gesendet .wpcf7-form,
.rl-formular:has(form.sent) .rl-formular__hinweis,
.rl-formular.ist-gesendet .rl-formular__hinweis {
	display: none;
}
.rl-formular:has(form.sent) .rl-kontakt-danke,
.rl-formular:has(form.resetting .wpcf7-response-output:not(:empty)) .rl-kontakt-danke,
.rl-formular.ist-gesendet .rl-kontakt-danke {
	display: flex;
}
.rl-kontakt-danke {
	flex-direction: column;
	gap: 12px;
}
.rl-kontakt-danke[hidden] {
	display: none;
}
.rl-kontakt-danke__haken {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--rl-gruen);
	color: #fff;
	font-size: 22px;
}
.dbdo-rl-neu .rl-inhalt .rl-kontakt-danke__titel {
	font-family: var(--rl-schrift-titel);
	font-size: 26px;
	font-weight: 700;
	line-height: normal;
}
.dbdo-rl-neu .rl-inhalt .rl-kontakt-danke__text {
	font-size: 16px;
	color: var(--rl-text-2);
}

/* Zeile unter dem Formular mit dem Link zur Datenschutzerklaerung */
.dbdo-rl-neu .rl-inhalt .rl-formular__hinweis {
	margin-top: 14px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--rl-text-3);
}
.dbdo-rl-neu .rl-inhalt .rl-formular__hinweis a,
.dbdo-rl-neu .rl-inhalt .rl-formular__ersatz a {
	text-decoration: underline;
	text-underline-offset: 2px;
}
.rl-formular:has(form.sent) .rl-formular__hinweis {
	display: none;
}
/* Falls Contact Form 7 nicht laeuft: Hinweis statt Formular */
.rl-formular__ersatz {
	font-size: 16px;
	line-height: 1.6;
	color: var(--rl-text-2);
}

@media (prefers-reduced-motion: reduce) {
	html:has(body.dbdo-rl-neu) { scroll-behavior: auto; }
	.dbdo-rl-neu *,
	.rl-kopf * {
		transition: none !important;
		animation: none !important;
	}
}
