/* ==========================================================================
   Kontora – elemente.css
   Stile der Contao-eigenen Inhaltselemente und ihrer Zusatzfelder (07, 4).
   Die Klassen sitzen an der Sektion bzw. am <div> verschachtelter Elemente
   (DarstellungListener) und wirken auf das Markup von Contao 5.7:
   .content-text, .content-headline (h*), .content-image, .content-hyperlink,
   .content-download(s), .ce_accordion (accordionSingle).
   Werte gemessen auf old.kontoramail.com (11.11.2026), Desktop und 390 px.
   Benötigt: variables.css, base.css (Buttons: base.css, Abschnitt 7)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Text
   -------------------------------------------------------------------------- */
/* Links im Fließtext unterstrichen (barriere.css .ce_text a) */
.content-text a:not([class]) {
	text-decoration: underline;
}

/* Schriftgröße (bisher font-size-m / font-size-xl): gemessen 19,2 / 32 px,
   mobil 15,4 / 21 px, Zeilenhöhe 1,3 */
.schrift-m {
	font-size: 1.2em;
	line-height: 1.3;
}
.schrift-xl {
	font-size: 2em;
	line-height: 1.3;
}
@media (max-width: 575.98px) {
	.schrift-m  { font-size: 1.1em; }
	.schrift-xl { font-size: 1.5em; }
}

/* Fett (bisher font-weight-bold) */
.fett,
.fett :is(h1, h2, h3, h4, h5, h6) {
	font-weight: 700;
}

/* Großbuchstaben: .uppercase (base.css); Listenpunkte: .liste-akzent (base.css) */

/* --------------------------------------------------------------------------
   2. Überschrift (Element „Überschrift" und Überschriften im Text)
   -------------------------------------------------------------------------- */
/* Schwarz hinterlegt (bisher fontBlackBackground): gemessen h3 20,8 px fett,
   weiß auf schwarz, 5 × 10 px Innenabstand, Großbuchstaben */
:is(.ueberschrift-schwarz, .ueberschrift-einschub) :is(h1, h2, h3, h4, h5, h6) {
	width: fit-content;
	padding: 5px 10px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--c-weiss);
	background-color: var(--c-schwarz);
}

/* Einschub (bisher fontHeadlineInsert): ragt halb über die Kante zum
   folgenden Element, 25 px nach links versetzt */
.ueberschrift-einschub {
	position: relative;
	z-index: 2;
}
.ueberschrift-einschub :is(h1, h2, h3, h4, h5, h6) {
	position: absolute;
	z-index: 1;
	margin-top: 0;
	transform: translate(-25px, -50%);
}

/* Schlicht groß / klein (bisher h2_casual / h2_casual_small): 1,9em bzw.
   1,2em, Gewicht 600, schwarz. Mobil wie bisher 2em (alte Regel
   „h2 { font-size: 2em !important }" unter 600 px). */
:is(.ueberschrift-schlicht-gross, .ueberschrift-schlicht-klein) :is(h1, h2, h3, h4, h5, h6) {
	font-weight: 600;
	text-transform: none;
	color: var(--c-schwarz);
}
.ueberschrift-schlicht-gross :is(h1, h2, h3, h4, h5, h6) { font-size: 1.9em; }
.ueberschrift-schlicht-klein :is(h1, h2, h3, h4, h5, h6) { font-size: 1.2em; line-height: 1.3; }
/* mit „fett“ wie bisher h2_casual + font-weight-bold: 700 */
.fett:is(.ueberschrift-schlicht-gross, .ueberschrift-schlicht-klein) :is(h1, h2, h3, h4, h5, h6) { font-weight: 700; }
@media (max-width: 575.98px) {
	:is(.ueberschrift-schlicht-gross, .ueberschrift-schlicht-klein) h2 { font-size: 2em; }
}

/* Erster Absatz ohne oberen Rand (Konverter, 7.2): bisher fiel der Absatzrand
   mit dem Außenabstand des Elements bzw. des Elements davor zusammen */
.ohne-rand-oben > :first-child,
.ohne-rand-oben > .rte > :first-child,
:is(h1, h2, h3, h4, h5, h6).ohne-rand-oben { margin-top: 0; }
.ohne-rand-unten > :last-child,
.ohne-rand-unten > .rte > :last-child { margin-bottom: 0; }
/* auch durch Hüllen-DIVs hindurch (z. B. <div class="teaser"><p>): jeweils die Kette der ersten bzw. letzten Kinder */
.ohne-rand-oben .rte :first-child:not(.ohne-rand-oben .rte :not(:first-child) *) { margin-top: 0; }
.ohne-rand-unten .rte :last-child:not(.ohne-rand-unten .rte :not(:last-child) *) { margin-bottom: 0; }
/* Klassen aus dem Bestand (style.css), vom Konverter beibehalten */
.word-wrap { overflow-wrap: break-word; }
.hyphensAuto { hyphens: auto; }

/* --------------------------------------------------------------------------
   3. Bild
   -------------------------------------------------------------------------- */
/* Bildunterschrift wie bisher figcaption.caption: 14 px, grau, 6 px Abstand (7.2) */
.content-image figcaption {
	padding-top: 6px;
	font-size: 14px;
	line-height: 1.5625;
	color: var(--c-text-leise);
}

/* Versatz nach oben (bisher versetzt-oben / -l: -8 % / -16 % der Inhaltsbreite;
   mobil versetzt-oben-smart-l: -16 %, versetzt-oben-smart-0: 10 px) */
.versatz-normal .content-image { margin-top: -8%; }
.versatz-stark  .content-image { margin-top: -16%; }
@media (max-width: 575.98px) {
	.versatz-mobil-stark .content-image { margin-top: -16%; }
	.versatz-mobil-ohne  .content-image { margin-top: 10px; }
}

/* Rahmen (bisher image-with-frame2): gezeichneter Rahmen, 9 px rechts und
   24 px über dem Bild */
.bild-rahmen .content-image figure {
	position: relative;
}
.bild-rahmen .content-image figure::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 101%;
	height: 110%;
	background: url("../images/rahmen-schwarz.svg") no-repeat 0 0 / contain;
	transform: translate(9px, -24px);
	pointer-events: none;
}

.content-image img,
.content-image figure {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0;
}
/* figure als inline-block wie bisher (figure.image_container): darunter die Zeilenluft der Schrift
   (7 px bei 16 px, mobil entsprechend), nach jedem Bild-Element. Ausrichtung über text-end /
   text-center der Sektion (7.3c/7.3d, gemessen: H1 unter dem Aufmacherbild, Zeichnungen rechtsbündig). */
.content-image figure {
	display: inline-block;
	vertical-align: baseline;
}

/* --------------------------------------------------------------------------
   4. Hyperlink
   Buttons: base.css, Abschnitt 7 (.link-button, .link-button-rand usw.)
   -------------------------------------------------------------------------- */
/* Zurück-Pfeil (bisher linkPfeilLinks): Großbuchstaben, „← " davor */
.link-zurueck .content-hyperlink a {
	text-transform: uppercase;
}
.link-zurueck .content-hyperlink a::before {
	content: "← ";
}

/* --------------------------------------------------------------------------
   5. Akkordeon (accordionSingle; Markup Contao 5.7:
   section.ce_accordion > div.toggler + div.accordion > div)
   Gemessen: Titel fett, schwarz, 11 / 13 px oben/unten; Inhalt grau,
   20 px seitlich; Linie unten 1 px Gold (auch auf den blauen Seiten).
   Auf-/Zuklappen: kontora.js (4.7), erstes einer Gruppe offen.
   -------------------------------------------------------------------------- */
.ce_accordion {
	color: var(--c-text-leise);
	border-bottom: 1px solid var(--c-gold);
}
.ce_accordion .toggler {
	position: relative;
	margin-bottom: -2px;   /* wie bisher (jQuery-UI-Akkordeon): zu 48 px, offen 172 px (Punkt 8) */
	padding: .6875em 2em .8125em 0;
	font-weight: 700;
	color: var(--c-schwarz);
	cursor: pointer;
}
.ce_accordion .toggler:hover,
.ce_accordion .toggler:focus-visible {
	color: var(--c-akzent);
}
/* Pfeil rechts (bisher RockSolid-Icon 13 px) */
.ce_accordion .toggler::after {
	content: "";
	position: absolute;
	top: 1.05em;
	right: 7px;
	width: .5em;
	height: .5em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s;
}
.ce_accordion.is-offen .toggler::after {
	top: 1.3em;
	transform: rotate(-135deg);
}
.ce_accordion .accordion {
	margin-bottom: -2px;
	padding: 1px 20px;
}
/* Nur mit JavaScript zuklappen, sonst bleibt der Inhalt lesbar */
.js .ce_accordion:not(.is-offen) .accordion {
	display: none;
}
body.kontrast .ce_accordion {
	color: var(--c-schwarz);
}

/* --------------------------------------------------------------------------
   6. Download(s): Link in Akzentfarbe mit Datei-Symbol davor
   (bisher Contao-Icon iconPDF.svg, 16 px; in 5.7 entfallen, daher Symbol
   aus Font Awesome in der Linkfarbe)
   -------------------------------------------------------------------------- */
/* 12 px über dem Download wie bisher (Absatz p.download-element), Größe in Klammern (7.2) */
.content-download { margin-top: .75em; }
:is(.content-download, .content-downloads) .size { color: inherit; }
:is(.content-download, .content-downloads) ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
:is(.content-download, .content-downloads) a {
	position: relative;
	padding: 3px 6px 3px 22px;
}
:is(.content-download, .content-downloads) a::before {
	content: "";
	position: absolute;
	top: .2em;
	left: 2px;
	width: 14px;
	height: 16px;
	background-color: currentColor;
	-webkit-mask: url("../images/icon-file.svg") no-repeat center / contain;
	mask: url("../images/icon-file.svg") no-repeat center / contain;
}
:is(.content-download, .content-downloads) .ext-pdf a::before,
.content-download.ext-pdf a::before {
	-webkit-mask-image: url("../images/icon-file-pdf.svg");
	mask-image: url("../images/icon-file-pdf.svg");
}

/* --------------------------------------------------------------------------
   7. YouTube / Vimeo / Player: volle Spaltenbreite im Seitenverhältnis
   -------------------------------------------------------------------------- */
:is(.content-youtube, .content-vimeo) iframe,
.content-player video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
}

/* Kopf-Video Startseite: wie bisher höchstens 940 px, mittig, 20 px Rand
   unten (bisher .video_container { margin: 20px 0 }) (Punkt 8). Oben seit
   15.11.2026 kein Abstand mehr: sitzt direkt an der Goldlinie des Kopfes. */
.sektion--player .content-player {
	max-width: 940px;
	margin: 0 auto;
}
.sektion--player .content-player figure { margin-bottom: 20px; }

/* YouTube mit Zusatztext (Variante content_element/youtube/neu, bisher ce_youtube_neu) */
.content-youtube .additional-text {
	font-size: .9em;
	margin-top: -15px;
}
.content-youtube .additional-text a {
	color: var(--c-gold);
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   8. Font-Awesome-Icons im Inhalt (HTML-Elemente, z. B. „Alle Podcasts >"):
   Font Awesome entfällt (08-basis.md), die <i class="fa-…"> bleiben im Bestand.
   Pfade aus Font Awesome Free 6.3 (CC BY 4.0) als Maske in Textfarbe (Punkt 8).
   -------------------------------------------------------------------------- */
i:is(.fa-angle-right, .fa-angle-left) {
	display: inline-block;
	width: .625em;
	height: 1em;
	vertical-align: -.125em;
	background-color: currentColor;
	-webkit-mask: var(--fa) no-repeat center / contain;
	mask: var(--fa) no-repeat center / contain;
}
i.fa-angle-right { --fa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z'/%3E%3C/svg%3E"); }
i.fa-angle-left { --fa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3E%3C/svg%3E"); }

/* Text + Video: CSS-Klasse „text-einzug" rückt nur den Text 80 px ein
   (bisher padding-left-l an der Textspalte, Family Office), Punkt 8 */
.textvideo.text-einzug .textvideo__text { padding-left: var(--einzug); }

/* Text + Bild, CSS-Klasse „bild-rand-rechts": Bild mit 100 px Rand rechts, unter 600 px 50 px
   (bisher margin-right-l am Bild, Das Team „Wen wir bei Kontora suchen“, Punkt 8) */
.textbild.bild-rand-rechts .textbild__bild { padding-right: 100px; }
@media (max-width: 599.98px) { .textbild.bild-rand-rechts .textbild__bild { padding-right: 50px; } }

/* Text + Bild, CSS-Klasse „karte-weiss": weißer Kasten mit 25 px Innenabstand (+ Seitenrand des
   inneren Wrappers) auf dem Sektionshintergrund (bisher Wrapper padding-s weiß, Karriere Kununu, Punkt 8) */
.textbild.karte-weiss .textbild__raster {
	background-color: var(--c-weiss);
	padding: 25px calc(25px + (100% - 50px) * var(--rand-seite-f, 0));
}

/* Artikelklasse „bild-handschlag": Hellblau 80 % mit Zeichnung darüber, mittig, contain
   (bisher Wrapper mit Hintergrundbild, Karriere Bewerbungsprozess, Punkt 8) */
.bild-handschlag {
	background: url("../../kontora/illustrationen/handshake_blue.svg") 50% 50% / contain no-repeat,
		color-mix(in srgb, var(--c-hellblau) 80%, transparent);
}
.bild-handschlag > .sektion { background-color: transparent; }

/* Text + Bild, CSS-Klasse „text-oben-s": Text 50 px (mobil 25 px) tiefer als das Bild
   (bisher padding-top-s am Text, Kopf Akademie/Webinare, Punkt 8) */
.textbild.text-oben-s .textbild__inhalt { padding-top: var(--s-s); }

/* Zwei Hyperlinks nebeneinander, mittig (CSS-Klasse „button-paar" an beiden; bisher
   zwei Links im selben Wrapper, Webinar-Videos); unter 576 px untereinander, Punkt 8 */
@media (min-width: 576px) {
	.sektion--hyperlink:has(.button-paar) { float: left; width: 50%; }
	.sektion--hyperlink .button-paar { text-align: right; }
	.sektion--hyperlink:has(.button-paar) + .sektion--hyperlink .button-paar { text-align: left; }
	.sektion--hyperlink:has(.button-paar) + .sektion--hyperlink:has(.button-paar) + * { clear: both; }
}

/* Text + Bild, CSS-Klasse „text-einzug": Text 80 px eingerückt (ab 768 px, bisher padding-left-l),
   unter 1.200 px Text und Bild 22 px Rand (bisher Wrapper padding-s); Kopf Whitepaper/Podcasts, Punkt 8 */
.textbild.text-einzug .textbild__inhalt { padding-left: var(--einzug); }
@media (max-width: 1199.98px) { .textbild.text-einzug .textbild__raster { padding-inline: 22px; } }

/* CSS-Klasse „kasten-spalte" (Contao-Element): Hintergrund als Kasten in der Spalte mit 25 px
   Innenrand, Sektion ohne Abstand oben/unten (bisher farbiger Wrapper padding-s im Wrapper
   max-width-850-inner, Infokästen in 12 News), Punkt 8 */
.sektion:has(> .container-fluid .kasten-spalte) { background-color: transparent; padding-top: 0; padding-bottom: 0; }
.sektion > .container-fluid .kasten-spalte { background-color: var(--bg); padding: 25px; }
@media (max-width: 575.98px) { .sektion > .container-fluid .kasten-spalte { padding-inline: 45px; } }

/* Teilen-Buttons unter News: Icons 28 px wie bisher (Font Awesome 28 px), Punkt 8 –
   Template news/sharingButtons.php ist im Backend nicht bearbeitbar */
.teilen .teilen__knopf svg { width: 28px; height: 28px; }

/* CSS-Klasse „news-rand" am Leser-Modul (News-Archiv 1, Element 15598), Punkt 8: bisher stand der
   Inhalt in einem zweiten Wrapper im Leser – Seitenrand (--rand-seite-f) doppelt, bis 600 px
   statt dessen 20 px (style.css .mod_newsreader .layout_full .centered-wrapper-inner);
   Kopfbox bis 650 px ohne Zusatzrand (.mod_newsreader .centered-wrapper:nth-child(2)).
   Kopfbox wie bisher Spalten 4/5 (ab 901 px) bzw. 5/6 der inneren Fläche, unter 600 px voll.
   Gemessen alt = neu bei 1.400 / 1.150 / 1.000 / 900–700 / 600 / 500 / 390 px. */
.news-rand { --rand-news: 0px; --rn-f: var(--rand-seite-f); --rn-r: .8226; }
@media (min-width: 901px) { .news-rand { --rn-r: .7922; } }
@media (max-width: 650px) { .news-rand { --rn-f: 0; } }
@media (max-width: 600px) { .news-rand { --rand-news: 20px; } }
@media (max-width: 599.98px) { .news-rand { --rn-r: 1; } }
.news-rand .sektion.einzug-beidseitig > .container-fluid > .row > * {
	--rand-innen: calc(var(--rand-seite-f) * (100% - var(--bs-gutter-x)) - 2 * var(--rand-seite-f) * var(--einzug) + var(--rand-news));
	padding-left: calc(var(--bs-gutter-x) * .5 + var(--einzug) + var(--rand-innen));
	padding-right: calc(var(--bs-gutter-x) * .5 + var(--einzug) + var(--rand-innen));
}
.news-rand .sektion--image.einzug-beidseitig > .container-fluid > .row > * {
	--rand-innen: calc(var(--rand-seite-f) * (100% - var(--bs-gutter-x)) + var(--rand-news));
}
.news-rand .textbox .textbox__spalte {
	margin-left: calc(var(--rn-f) * (100% - var(--bs-gutter-x)));
	width: calc(var(--rn-r) * (100% - var(--bs-gutter-x)) * (1 - 2 * var(--rn-f)) + var(--bs-gutter-x));
}
.news-rand .textbox .textbox__box > * { margin-inline: calc(100% * var(--rn-f)); }

/* CSS-Klasse „randlos-mobil" am Artikel (Magazin-Detail, Artikel 109 „Das könnte Sie auch interessieren"),
   Punkt 8: bis 650 px ohne Seitenrand, Karten bis an den Rand wie bisher (style.css
   .mod_newsreader .centered-wrapper:nth-child(2) .centered-wrapper-inner { margin: unset }).
   Gemessen alt = neu bei 700 / 650 / 620 / 390 px. */
@media (max-width: 650px) {
	.randlos-mobil > .sektion > .container-fluid { padding-left: 0; padding-right: 0; }
	.randlos-mobil > .sektion > .container-fluid > .row { --bs-gutter-x: 0px; }
}

/* Text + Bild, CSS-Klasse „link-unten" (Wissen, Element 15609), Punkt 8: Link wie bisher als
   eigene Zeile unter Text und Bild (mobil unter dem Bild), 25 px Fläche darunter (mobil 65 px).
   Wissen-Filter: Abstand oben wie bisher (Filtermodul mit padding-top-s), 68 px / mobil 37 px.
   Gemessen alt = neu bei 1.400 / 900 / 390 px (±2 px). */
.textbild.link-unten .textbild__inhalt { display: contents; }
.textbild.link-unten .textbild__inhalt > :not(.textbild__link) { grid-column: 1; grid-row: 1; }
.textbild.link-unten .textbild__bild { grid-row: 1; grid-column: 2; }
.textbild.link-unten .textbild__link { grid-row: 2; grid-column: 1; margin-top: 15px; }
.textbild.link-unten { --sektion-unten: 25px; }
.sektion:has(> .container-fluid .wissen-filter) { --sektion-oben: 68px; }
@media (max-width: 575.98px) {
	.textbild.link-unten .textbild__bild { grid-row: 2; grid-column: 1; }
	.textbild.link-unten .textbild__link { grid-row: 3; margin-top: 0; }
	.textbild.link-unten { --sektion-unten: 65px; }
	.sektion:has(> .container-fluid .wissen-filter) { --sektion-oben: 37px; }
}

/* CSS-Klasse „bild-randlos-mobil" am Bild (Kopfbild Team 2104, Kontakt 2135), Punkt 8:
   bis 701 px über die volle Breite wie bisher (Wrapper smart-full-width). Gemessen 700–390 px. */
@media (max-width: 701px) {
	.sektion--image:has(> .container-fluid .bild-randlos-mobil) > .container-fluid { padding-left: 0; padding-right: 0; }
	.sektion--image:has(> .container-fluid .bild-randlos-mobil) > .container-fluid > .row { --bs-gutter-x: 0px; }
}

/* Text + Bild, CSS-Klasse „text-einzug-links": nur der Text 80 px eingerückt (ab 768 px, bisher
   padding-left-l ohne Wrapper-Innenrand; Kontakt 15618), Punkt 8 */
.textbild.text-einzug-links .textbild__inhalt { padding-left: var(--einzug); }

/* --------------------------------------------------------------------------
   9. Formulare (Kontakt, Whitepaper, Webinar, Forum), Punkt 9
   Bisher style.css „Formular" und Tao main.css. Markup Contao 5.7 wie bisher
   (form.userForm, HTML-Feld <div class="grid2col"> um die Kurzfelder).
   Gemessen alt bei 1.400 und 390 px: Felder 1 px Gold, Radius 3 px,
   .857em × 1.357em bei .875em Schrift (42 px hoch, Auswahl 44 px), Raster zwei
   Spalten mit 20 px Abstand ab 601 px, mobil ohne Abstand; Nachricht 200 px,
   20 px darüber; Pflichtfeld-Hinweis 14 px mit 25 px Abstand (mobil 13); Button wie
   .button (base.css, 7) mit 1,125em darüber (16,2 px); Formular 12 px oben, 24 px unten.
   -------------------------------------------------------------------------- */
.userForm { margin: 12px 0 24px; }
.userForm .widget { position: relative; margin: 0; }
.userForm :is(input, select, textarea):not([type=checkbox], [type=radio], [type=hidden]) {
	display: block;
	width: 100%;
	margin: 0;
	padding: .85714em 1.35714em;
	border: 1px solid var(--c-gold);
	border-radius: 3px;
	font-size: .875em;
	line-height: normal;
	color: var(--c-text);
	background: transparent;
	box-shadow: none;
}
.userForm select { color: var(--c-schwarz); }
.userForm textarea { height: 200px; line-height: 1.5; resize: vertical; }
.userForm :is(input, textarea)::placeholder { color: var(--c-schwarz); opacity: .8; }
.userForm :is(input, select, textarea):focus { border-color: var(--c-gold); outline: none; }
.userForm :is(input, select, textarea):focus-visible { outline: 2px solid var(--c-fokus); outline-offset: 2px; }
.userForm .widget-select > label { position: absolute; left: -9999px; top: 0; }
.userForm .widget-textarea { margin-top: 20px; }
@media (min-width: 601px) {
	.userForm .grid2col {
		display: grid;
		grid-template-columns: calc(50% - 10px) calc(50% - 10px);
		gap: 20px;
	}
	/* Kachel-Liste (news_kontora_kachel) setzt .grid2col > * auf volle Breite */
	.userForm .grid2col > .widget { grid-column: auto; }
}
/* Checkbox (Datenschutz): Fieldset wie bisher (Browser-Standard), Text 14 px leise */
.userForm fieldset {
	margin: 12px 0 24px;
	padding: .35em .625em .75em;
	border: 0;
}
.userForm fieldset input[type=checkbox] { margin: 0; vertical-align: middle; }
.userForm fieldset label { display: inline; margin: 0; font-size: .875em; color: var(--c-text-leise); }
.userForm .widget-explanation { font-size: .875em; color: var(--c-schwarz); }
.userForm .widget-explanation p { margin: 25px 0; }
@media (max-width: 599px) {
	.userForm .widget-explanation p { margin: 13px 0; }
}
.userForm button.submit {
	display: inline-block;
	margin-top: 1.125em;
	padding: 10px 25px;
	border: 0;
	border-radius: 5px;
	font-size: .9em;
	line-height: 1.42929;
	text-transform: uppercase;
	color: var(--c-auf-akzent);
	background-color: var(--c-akzent);
	cursor: pointer;
}
/* Fehlermeldungen (Tao: rot, Feldrahmen rot) */
.userForm p.error { margin: 0; color: var(--c-fehler); font-size: .875em; }
.userForm .error:is(input, select, textarea) { border-color: var(--c-fehler); }

/* --------------------------------------------------------------------------
   10. Suche (Modul „search“, /suche/ und /search/), Punkt 9
   Bisher Tao main.css. Gemessen alt bei 1.400 px: Feld und Button nebeneinander
   (Feld 39 px, 25 px Abstand, Button 150 px), Kopfzeile grau mit Linie,
   Treffer: Titel 1,3em in Gold, Auszug, Adresse 14 px grau mit gepunkteter Linie.
   Ergebnis-Template ohne Bild: templates/search_default.html5.
   -------------------------------------------------------------------------- */
.mod_search { margin: 27px 0; }
.mod_search form { margin: 12px 0 24px; }
.mod_search .formbody { display: flex; align-items: flex-start; gap: 25px; }
.mod_search .widget { margin: 1.125em 0; }
.mod_search .widget-text { flex: 1 1 auto; min-width: 0; }
.mod_search input.text {
	display: block;
	width: 100%;
	margin: 0;
	padding: .75em 1.357em;
	border: 1px solid #a4acb9;
	border-radius: 3px;
	font-size: .875em;
	line-height: normal;
	color: var(--c-text);
	background: var(--c-weiss);
}
.mod_search input.text:focus { outline: none; border-color: var(--c-gold); }
.mod_search input.text:focus-visible { outline: 2px solid var(--c-fokus); outline-offset: 2px; }
.mod_search button.submit {
	width: 150px;
	padding: 10px 25px;
	border: 0;
	border-radius: 5px;
	font-size: .9em;
	line-height: 1.42929;
	text-transform: uppercase;
	color: var(--c-auf-akzent);
	background-color: var(--c-akzent);
	cursor: pointer;
}
.mod_search p.header {
	margin: 12px 0 0;
	padding-bottom: 5px;
	border-bottom: 1px solid var(--c-linie);
	color: var(--c-text-leise);
}
.mod_search p.info { margin: 12px 0 0; }
.mod_search .search_default h3 {
	margin: .75em 0 .3em;
	font-size: 1.3em;
	line-height: 1.5;
	font-weight: 400;
	text-transform: none;
	color: var(--c-text);
}
.mod_search .search_default h3 a { color: var(--c-akzent); text-decoration: none; }
.mod_search .search_default p.context { margin: 12px 0 0; }
.mod_search .search_default p.url {
	margin: .75em 0 0;
	padding-bottom: 20px;
	border-bottom: 1px dotted var(--c-linie);
	font-size: .875em;
	color: var(--c-text-leise);
	word-break: break-all;
}
.mod_search .search_default .image_container { display: none; }

/* --------------------------------------------------------------------------
   11. Cookie-Bar (oveleon/contao-cookiebar, Punkt 10)
   Ausrichtung „Mitte | Mitte“ in beiden Bars (Backend). Gestaltung nach CI:
   Schrift und Textfarbe der Seite, Schalter in Gold, Buttons wie .button
   (Großbuchstaben, Radius 5 px): „Alle akzeptieren“ gefüllt, „Auswahl
   speichern“ mit Rand. Die Erweiterung liefert CSS-Variablen (--ccb-*).
   -------------------------------------------------------------------------- */
.contao-cookiebar {
	--ccb-clr: var(--c-text);
	--ccb-text: var(--c-text);
	--ccb-bg: var(--c-weiss);
	--ccb-bdr: var(--c-linie-hell);
	--ccb-info-bdr: var(--c-linie-hell);
	--ccb-cookies-bg: var(--c-beige-hell);
	--ccb-cookies-bdr: var(--c-beige-hell);
	--ccb-detail-clr: var(--c-text-leise);
	--ccb-detail-clr-hvr: var(--c-akzent);
	--ccb-checked-clr: var(--c-akzent);
	--ccb-checked-bg: var(--c-beige);
	--ccb-unchecked-clr: var(--c-linie);
	--ccb-focus-clr: var(--c-fokus);
	--ccb-max-width: 640px;
	font-family: var(--f-text);
}
.contao-cookiebar .cc-inner {
	padding: 30px;
	border-radius: 5px;
	box-shadow: 0 6px 30px rgba(0, 0, 0, .18);
}
.contao-cookiebar .cc-head p {
	font-size: 15px;
	line-height: 1.5;
}
.contao-cookiebar .cc-footer .cc-btn {
	padding: 10px 25px;
	border-radius: 5px;
	font-size: .9em;
	line-height: inherit;
	letter-spacing: 0;
	text-transform: uppercase;
	--ccb-btn-bg: transparent;
	--ccb-btn-bg-hvr: var(--c-beige-hell);
	--ccb-btn-bdr: var(--c-akzent);
	--ccb-btn-clr: var(--c-akzent);
}
.contao-cookiebar .cc-footer .cc-btn.success {
	--ccb-btn-bg: var(--c-akzent);
	--ccb-btn-bg-hvr: var(--c-gold-hell);
	--ccb-btn-bdr: var(--c-akzent);
	--ccb-btn-clr: var(--c-auf-akzent);
}
.contao-cookiebar .cc-info a { color: var(--c-akzent); }
.contao-cookiebar .cc-info a:is(:hover, :focus) { color: var(--c-link-hover); }
.contao-cookiebar .cc-close { color: var(--c-text-leise) !important; }
@media (max-width: 575.98px) {
	.contao-cookiebar .cc-inner { padding: 22px; }
}
