/* =============================================================================
 * GFBW – Design-Auffrischung (gfbw2.tc-r.de, 23.11.2026)
 * Wird nach customize.css geladen. Farben, Schriften und Aufbau bleiben;
 * neu sind Verläufe statt flacher Farbflächen, runde Ecken, weichere Schatten
 * und ruhigere Titelbilder.
 * ========================================================================== */
:root {
	--g-blue: #007fbe;
	--g-blue-dark: #00598a;
	--g-blue-light: #29a3dc;
	--g-gold: #b68322;
	--g-gold-dark: #8c6214;
	--g-red: #8a3c48;
	--g-red-dark: #632630;
	--g-radius: 14px;
	--g-radius-s: 10px;
	--g-shadow: 0 1px 2px rgba(0, 40, 70, .06), 0 8px 24px rgba(0, 40, 70, .10);
	--g-shadow-hover: 0 2px 4px rgba(0, 40, 70, .08), 0 16px 40px rgba(0, 40, 70, .16);
	--g-ease: cubic-bezier(.2, .7, .2, 1);
}

html { animation: none; scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* --- Kopfbereich ----------------------------------------------------------- */
#header { transition: box-shadow .3s var(--g-ease); }
.header.cloned, .stickyheader #header.cloned {
	background: rgba(255, 255, 255, .92) !important;
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	backdrop-filter: saturate(160%) blur(10px);
	box-shadow: 0 6px 24px rgba(0, 40, 70, .10);
}
#top-wrapper { box-shadow: 0 1px 0 rgba(0, 40, 70, .06); position: relative; z-index: 5; }

.mainmenu .level_2 {
	border-radius: var(--g-radius-s); overflow: hidden;
	box-shadow: var(--g-shadow-hover) !important; border: 0 !important;
}

/* --- Titelbilder der Unterseiten ------------------------------------------- */
.ce_headerimage {
	position: relative; overflow: hidden;
	background-size: cover !important;
	background-position: center 45% !important;
}
.ce_headerimage.height_small, .ce_headerimage.height_medium, .ce_headerimage.height_large,
.ce_headerimage.height_xlarge, .ce_headerimage.height_xxlarge { height: 360px !important; }
.ce_headerimage::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(0, 60, 100, .78) 0%, rgba(0, 90, 140, .45) 38%, rgba(0, 127, 190, 0) 70%),
		linear-gradient(0deg, rgba(0, 30, 50, .45) 0%, rgba(0, 30, 50, 0) 55%);
}
.neuaubing .ce_headerimage::before {
	background:
		linear-gradient(90deg, rgba(110, 72, 8, .80) 0%, rgba(182, 131, 34, .45) 38%, rgba(182, 131, 34, 0) 70%),
		linear-gradient(0deg, rgba(40, 25, 0, .45) 0%, rgba(40, 25, 0, 0) 55%);
}
.ffb .ce_headerimage::before {
	background:
		linear-gradient(90deg, rgba(90, 30, 40, .82) 0%, rgba(138, 60, 72, .45) 38%, rgba(138, 60, 72, 0) 70%),
		linear-gradient(0deg, rgba(40, 10, 15, .45) 0%, rgba(40, 10, 15, 0) 55%);
}
.ce_headerimage .ce_headerimage_inside { position: relative; z-index: 1; }
.ce_headerimage h1 {
	text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
	letter-spacing: .02em;
}
.ce_headerimage .content::after {
	content: ""; display: block; width: 64px; height: 4px; margin-top: 14px;
	border-radius: 4px; background: rgba(255, 255, 255, .9);
}
/* Bildausschnitte, damit Gebäude und Logos nicht abgeschnitten werden */
.ce_headerimage_63024, .ce_headerimage_63445, .ce_headerimage_63085, .ce_headerimage_63233 { background-position: center 38% !important; }
.ce_headerimage_63061, .ce_headerimage_63388, .ce_headerimage_63394, .ce_headerimage_63401,
.ce_headerimage_63408, .ce_headerimage_63418, .ce_headerimage_63517 { background-position: center 55% !important; }
.ce_headerimage_63101, .ce_headerimage_63460, .ce_headerimage_63482, .ce_headerimage_63500 { background-position: center 50% !important; }
.ce_headerimage_63671 { background-position: center 60% !important; }
@media (max-width: 767px) {
	.ce_headerimage .ce_headerimage_inside { padding-bottom: 0; }
	.ce_headerimage.height_small, .ce_headerimage.height_medium, .ce_headerimage.height_large,
	.ce_headerimage.height_xlarge, .ce_headerimage.height_xxlarge { height: 240px !important; }
	.ce_headerimage::before { background: linear-gradient(0deg, rgba(0, 50, 85, .80) 0%, rgba(0, 50, 85, .25) 70%, rgba(0, 50, 85, .1) 100%); }
	.neuaubing .ce_headerimage::before { background: linear-gradient(0deg, rgba(110, 72, 8, .82) 0%, rgba(110, 72, 8, .25) 70%, rgba(110, 72, 8, .1) 100%); }
	.ffb .ce_headerimage::before { background: linear-gradient(0deg, rgba(90, 30, 40, .82) 0%, rgba(90, 30, 40, .25) 70%, rgba(90, 30, 40, .1) 100%); }
}

/* --- Startseite: drei große Kacheln ---------------------------------------- */
#home { padding: 15px 15px 0 !important; }
#home .ce_autogridwrapper { padding-left: 0 !important; }
#home > .autogrid_wrapper { margin-left: 0 !important; margin-right: 0 !important; width: auto !important; }
#home .ce_bgimage {
	position: relative; overflow: hidden; isolation: isolate;
	border-radius: var(--g-radius); box-shadow: var(--g-shadow);
	background: var(--g-blue-dark);
}
#home .ce_bgimage .ce_bgimage-image {
	opacity: 1 !important; background-size: cover; background-position: center;
	transition: transform 1.2s var(--g-ease); z-index: -2;
}
#home .ce_bgimage:hover .ce_bgimage-image { transform: scale(1.04); }
#home .ce_bgimage::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
#home .ce_bgimage.startblockblau::before {
	background: linear-gradient(255deg, rgba(0, 127, 190, .55) 0%, rgba(0, 95, 150, .82) 45%, rgba(0, 60, 100, .94) 100%);
}
#home .ce_bgimage.startblockgelb::before {
	background: linear-gradient(105deg, rgba(140, 98, 20, .94) 0%, rgba(182, 131, 34, .78) 45%, rgba(182, 131, 34, .25) 100%);
}
#home .ce_bgimage.startblockrot::before {
	background: linear-gradient(105deg, rgba(99, 38, 48, .94) 0%, rgba(138, 60, 72, .78) 45%, rgba(138, 60, 72, .25) 100%);
}
#home .ce_bgimage-outer, #home .ce_bgimage-inside { position: relative; z-index: 1; }
#home .ce_bgimage h2 { text-shadow: 0 2px 16px rgba(0, 0, 0, .25); }
#home .ce_bgimage.startblockrot { margin-top: 15px !important; }
#home .ce_autogridwrapper.two_fifth { padding-right: 15px !important; }
#home .ce_autogridwrapper.three_fifth { padding-right: 0 !important; }
@media (max-width: 767px) {
	#home { padding: 12px 12px 0 !important; }
	#home .ce_autogridwrapper.two_fifth { padding-right: 0; margin-bottom: 12px; }
	#home .ce_bgimage.startblockrot { margin-top: 12px !important; }
}

/* --- Knöpfe ------------------------------------------------------------------ */
.ce_hyperlink a.hyperlink_txt, .ce_hyperlink-extended a {
	border-radius: 999px !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
	transition: transform .25s var(--g-ease), box-shadow .25s var(--g-ease), background-color .25s, color .25s;
}
.ce_hyperlink a.hyperlink_txt:hover, .ce_hyperlink-extended a:hover {
	transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}
.ce_hyperlink a.hyperlink_txt::after { content: " →"; font-weight: 500; }

/* --- Kacheln auf den Wohnanlagen-Seiten (ce_iconbox_v2) --------------------- */
.neuaubing .ce_iconbox_v2, .ffb .ce_iconbox_v2 {
	border-radius: var(--g-radius); overflow: hidden;
	box-shadow: var(--g-shadow);
	transition: transform .3s var(--g-ease), box-shadow .3s var(--g-ease);
}
.neuaubing .ce_iconbox_v2 { background: linear-gradient(140deg, #cf9a35 0%, var(--g-gold) 45%, var(--g-gold-dark) 100%) !important; }
.ffb .ce_iconbox_v2 { background: linear-gradient(140deg, #a65665 0%, var(--g-red) 45%, var(--g-red-dark) 100%) !important; }
.neuaubing .ce_iconbox_v2:hover, .ffb .ce_iconbox_v2:hover { transform: translateY(-4px); box-shadow: var(--g-shadow-hover); }
.neuaubing .ce_iconbox_v2 a.link, .ffb .ce_iconbox_v2 a.link {
	border-radius: 999px; padding: 4px 14px !important; border-width: 1.5px !important;
	transition: background-color .25s, color .25s;
}
.neuaubing .ce_iconbox_v2 a.link:hover { background: #fff; color: var(--g-gold-dark) !important; }
.ffb .ce_iconbox_v2 a.link:hover { background: #fff; color: var(--g-red-dark) !important; }

/* --- News-Kacheln ------------------------------------------------------------ */
.newsteaser_v7 { border-radius: var(--g-radius); overflow: hidden; box-shadow: var(--g-shadow); transition: transform .3s var(--g-ease), box-shadow .3s var(--g-ease); }
.newsteaser_v7:hover { transform: translateY(-4px); box-shadow: var(--g-shadow-hover); }
.newsteaser_v7 .image_container { overflow: hidden; }
.newsteaser_v7 .image_container img { transition: transform 1s var(--g-ease); object-fit: cover; }
.newsteaser_v7:hover .image_container img { transform: scale(1.06); }
.newsteaser_v7 .item-overlay {
	background: linear-gradient(180deg, rgba(0, 90, 140, .92) 0%, rgba(0, 127, 190, .70) 45%, rgba(0, 127, 190, .25) 100%) !important;
}
.newsteaser_v7:hover .item-overlay {
	background: linear-gradient(180deg, rgba(0, 90, 140, .88) 0%, rgba(0, 127, 190, .45) 50%, rgba(0, 127, 190, 0) 100%) !important;
}
.nnews .newsteaser_v7 .item-overlay { background: linear-gradient(180deg, rgba(140, 98, 20, .92) 0%, rgba(182, 131, 34, .65) 50%, rgba(182, 131, 34, .2) 100%) !important; }
.fnews .newsteaser_v7 .item-overlay { background: linear-gradient(180deg, rgba(99, 38, 48, .92) 0%, rgba(138, 60, 72, .65) 50%, rgba(138, 60, 72, .2) 100%) !important; }
.newsteaser_v7 a.weiterlesen {
	border-radius: 999px; padding: 6px 18px; line-height: 1.6;
	transition: background-color .25s, color .25s;
}
.newsteaser_v7 a.weiterlesen:hover { background: #fff; color: var(--g-blue) !important; }

/* --- Inhaltsbilder und Bildergalerien ---------------------------------------- */
#main .ce_image .image_container img,
#main .ce_text .image_container img,
#main .ce_gallery img,
#main .rsts-main,
#main .mod_rocksolid_slider,
#main .ce_rocksolid_slider { border-radius: var(--g-radius-s); }
#main .rsts-main, #main .mod_rocksolid_slider { overflow: hidden; box-shadow: var(--g-shadow); }

/* Akkordeons, Downloads und Formulare */
.ce_accordion { border-radius: var(--g-radius-s); overflow: hidden; }
.ce_accordion .toggler { transition: background-color .25s; }
#main input[type="text"], #main input[type="email"], #main input[type="tel"], #main input[type="number"],
#main input[type="date"], #main select, #main textarea {
	border-radius: 8px !important; transition: border-color .2s, box-shadow .2s;
}
#main input:focus, #main select:focus, #main textarea:focus {
	border-color: var(--g-blue) !important; box-shadow: 0 0 0 3px rgba(0, 127, 190, .15) !important; outline: 0;
}
#main input[type="submit"], #main button[type="submit"], #main .submit {
	border-radius: 999px !important; padding-left: 28px !important; padding-right: 28px !important;
	background: linear-gradient(135deg, var(--g-blue-light), var(--g-blue-dark)) !important; border: 0 !important;
	box-shadow: 0 6px 18px rgba(0, 90, 140, .25); transition: transform .25s var(--g-ease), box-shadow .25s;
}
#main input[type="submit"]:hover, #main button[type="submit"]:hover, #main .submit:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 90, 140, .32); }

/* --- Fußzeile ---------------------------------------------------------------- */
#footer { background: linear-gradient(180deg, #fff 0%, #f1f7fb 100%) !important; }
#bottom {
	background: linear-gradient(100deg, var(--g-blue-dark) 0%, var(--g-blue) 55%, var(--g-blue-light) 100%) !important;
}
#bottom a { transition: opacity .2s; }
#bottom a:hover { opacity: .75; }

/* Barrierefreiheits-Knopf etwas weicher */
#tabnav-button, .tabnav-button { box-shadow: var(--g-shadow) !important; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* --- Karussells: überall gleiches Bildformat und gleiche Pfeile ------------- */
:root {
	--g-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007fbe' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
}
/* Bildergalerien (Swiper): einheitlich 3:2, Bilder füllen die Fläche (cover) */
.swiper-container { border-radius: var(--g-radius-s); overflow: hidden; box-shadow: var(--g-shadow); }
.swiper-container .swiper-slide .ce_image, .swiper-container .swiper-slide .image_container { margin: 0 !important; }
.swiper-container .swiper-slide .image_container { aspect-ratio: 3 / 2; width: 100%; overflow: hidden; }
.swiper-container .swiper-slide .image_container img {
	width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: center; border-radius: 0 !important; display: block;
}
/* Pfeile: weißer Kreis mit Chevron, für Swiper und den News-Slider gleich */
.swiper-button-prev, .swiper-button-next, .rsts-prev, .rsts-next {
	width: 44px !important; height: 44px !important; margin-top: -22px !important;
	border-radius: 50% !important; border: 0 !important;
	background: rgba(255, 255, 255, .92) var(--g-arrow) center / 20px 20px no-repeat !important;
	box-shadow: 0 4px 14px rgba(0, 40, 70, .22) !important;
	opacity: 1 !important; text-indent: -9999px; overflow: hidden; font-size: 0 !important; color: transparent !important;
	transition: transform .25s var(--g-ease), background-color .25s, box-shadow .25s;
}
.swiper-button-prev, .rsts-prev { transform: scaleX(-1); }
.swiper-button-prev::before, .swiper-button-prev::after, .swiper-button-next::before, .swiper-button-next::after,
.rsts-prev::before, .rsts-prev::after, .rsts-next::before, .rsts-next::after { display: none !important; content: none !important; }
.swiper-button-prev { left: 16px !important; } .swiper-button-next { right: 16px !important; }
.swiper-button-prev:hover, .rsts-prev:hover { transform: scaleX(-1) scale(1.08); background-color: #fff !important; }
.swiper-button-next:hover, .rsts-next:hover { transform: scale(1.08); background-color: #fff !important; }
.swiper-button-disabled { opacity: 0 !important; pointer-events: none; }
.swiper-pagination-bullet { width: 9px; height: 9px; background: #fff; opacity: .6; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); transition: width .25s var(--g-ease), opacity .25s; }
.swiper-pagination-bullet-active { opacity: 1; width: 24px; border-radius: 5px; background: #fff; }
/* News-Slider: Pfeile mittig links/rechts neben den Kacheln statt kleiner Kästchen unten */
#footer .mod_rocksolid_slider { position: relative; padding: 0 0 4px; }
#footer .rsts-nav { position: static !important; }
#footer .rsts-prev, #footer .rsts-next { position: absolute !important; top: 50% !important; bottom: auto !important; z-index: 20; }
#footer .mod_rocksolid_slider, #footer .footer-col1, #footer .autogrid_wrapper { overflow: visible !important; display: flow-root; }
#footer .rsts-view { overflow: visible !important; }
#footer .rsts-crop { overflow: hidden; }
#footer .rsts-prev { left: -62px !important; right: auto !important; margin-top: -22px !important; }
#footer .rsts-next { right: -62px !important; left: auto !important; margin-top: -22px !important; }
@media (max-width: 1400px) {
	#footer .rsts-prev { left: 8px !important; } #footer .rsts-next { right: 8px !important; }
}
/* News-Kacheln: alle gleich groß, Bild füllt die Kachel */
.newsteaser_v7 .image_container { width: 100% !important; height: 220px !important; }
.newsteaser_v7 .image_container img { height: 100% !important; object-fit: cover; }
/* Pfeilpositionen eindeutig festlegen (das Theme verschiebt sie auf kleinen Bildschirmen) */
.swiper-button-prev { right: auto !important; transform: scaleX(-1) !important; }
.swiper-button-next { left: auto !important; transform: none !important; }
.swiper-button-prev:hover { transform: scaleX(-1) scale(1.08) !important; }
.swiper-button-next:hover { transform: scale(1.08) !important; }
@media (max-width: 767px) {
	.swiper-button-prev, .swiper-button-next, .rsts-prev, .rsts-next { width: 38px !important; height: 38px !important; margin-top: -19px !important; background-size: 17px 17px !important; }
	.swiper-button-prev { left: 10px !important; } .swiper-button-next { right: 10px !important; }
	/* News-Slider: Pfeile unter die Kachel, damit sie keinen Text verdecken */
	#footer .mod_rocksolid_slider { margin-bottom: 64px !important; }
	#footer .rsts-prev, #footer .rsts-next { top: auto !important; bottom: -54px !important; margin-top: 0 !important; }
	#footer .rsts-prev { left: calc(50% - 46px) !important; }
	#footer .rsts-next { right: calc(50% - 46px) !important; }
}

/* --- Kopfbild der News-Detailseiten: gleiche Höhe und Optik wie die übrigen Titelbilder -- */
#headerbild { position: relative; height: 360px; overflow: hidden; }
#headerbild .mod_newsreader { position: absolute; inset: 0; z-index: 0; margin: 0; }
#headerbild .mod_newsreader img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; max-width: none; }
#headerbild .mod_newsreader .back { display: none; }
#headerbild::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(0, 60, 100, .78) 0%, rgba(0, 90, 140, .45) 38%, rgba(0, 127, 190, 0) 70%),
		linear-gradient(0deg, rgba(0, 30, 50, .45) 0%, rgba(0, 30, 50, 0) 55%);
}
#headerbild .displacebox { position: absolute !important; z-index: 2; left: 0; right: 0; bottom: 0; top: auto !important; margin: 0 auto !important; max-width: 1160px; padding: 0 0 30px; }
#headerbild .displacebox h1 { color: #fff !important; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); margin: 0; }
#headerbild .displacebox h1::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 14px; border-radius: 4px; background: rgba(255, 255, 255, .9); }
@media (max-width: 767px) {
	#headerbild { height: 240px; }
	#headerbild .displacebox { padding: 0 20px 20px; }
	#headerbild::before { background: linear-gradient(0deg, rgba(0, 50, 85, .80) 0%, rgba(0, 50, 85, .25) 70%, rgba(0, 50, 85, .1) 100%); }
}

/* --- Kontakte & Service (München, Fürstenfeldbruck) als Karten ------------------ */
.kontakt-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 10px 0 10px; }
.kontakt-karte {
	background: #fff; border-radius: var(--g-radius); box-shadow: var(--g-shadow);
	padding: 24px 24px 18px; border-top: 4px solid var(--g-blue); line-height: 1.6;
}
.neuaubing .kontakt-karte { border-top-color: var(--g-gold); }
.ffb .kontakt-karte { border-top-color: var(--g-red); }
.kontakt-karte h3 { font-size: 1.25em; margin: 0 0 14px; }
.neuaubing .kontakt-karte h3 { color: var(--g-gold) !important; }
.ffb .kontakt-karte h3 { color: var(--g-red) !important; }
.kontakt-karte p { margin: 0 0 10px; }
.kontakt-karte .kontakt-zeile {
	display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
	padding: 7px 0; margin: 0; border-bottom: 1px solid rgba(0, 40, 70, .08);
}
.kontakt-karte .kontakt-zeile:last-of-type { border-bottom: 0; }
.kontakt-karte .kontakt-zeile span { color: #666; }
.kontakt-karte .kontakt-zeile a, .kontakt-karte .kontakt-zeile > :last-child { white-space: nowrap; text-align: right; }
.kontakt-karte .kontakt-gruppe { margin: 16px 0 2px; font-weight: 500; font-size: .8em; letter-spacing: .08em; text-transform: uppercase; color: #8a8a8a; }
.kontakt-karte .kontakt-gruppe:first-of-type { margin-top: 0; }
.kontakt-karte .kontakt-hinweis { margin-top: 14px; padding: 12px 14px; border-radius: var(--g-radius-s); background: #f2f7fb; font-size: .95em; }
.kontakt-notruf { margin: 0 0 16px; padding: 14px 16px; border-radius: var(--g-radius-s); background: #fbf1f2; }
.kontakt-notruf p { margin: 0 0 4px; font-size: .95em; }
.kontakt-notruf .kontakt-gruppe { color: var(--g-red); margin: 0 0 4px; }
.kontakt-notruf-nummer a { font-size: 1.35em; color: var(--g-red) !important; }
@media (max-width: 1023px) { .kontakt-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kontakt-karte--notfall { grid-column: 1 / -1; } }
@media (max-width: 640px) {
	.kontakt-karten { grid-template-columns: 1fr; } 
	.kontakt-karte .kontakt-zeile { flex-wrap: wrap; } .kontakt-karte .kontakt-zeile a { text-align: left; }
}

/* --- Downloads (Formulare): Karten mit Dateisymbol ------------------------------- */
.ce_download {
	display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: center;
	background: #fff; border-radius: var(--g-radius-s); box-shadow: var(--g-shadow);
	padding: 16px 20px; transition: transform .25s var(--g-ease), box-shadow .25s var(--g-ease);
}
.ce_download:hover { transform: translateY(-2px); box-shadow: var(--g-shadow-hover); }
.ce_download h3 { grid-column: 2; grid-row: 1; margin: 0 !important; font-size: 1.1em; color: var(--g-blue) !important; }
.ce_download .mime_icon { grid-column: 1; grid-row: 1 / span 2; display: block; width: 40px; height: 48px; }
.ce_download > a { grid-column: 2; grid-row: 2; font-size: .95em; }

.ce_download .size { color: #888; font-weight: normal; }
.mime_icon svg { display: block; width: 40px; height: 48px; }
.mime_icon .mi-blatt { fill: #eef4f9; stroke: #9db7cc; stroke-width: 1.5; }
.mime_icon .mi-ecke { fill: #cfdeea; }
.mime_icon .mi-band { fill: var(--g-blue); }
.mime_icon--pdf .mi-band { fill: #d2343c; }
.mime_icon--office .mi-band { fill: #2b6cb0; }
.mime_icon text { fill: #fff; font: 700 9px/1 Rubik, sans-serif; letter-spacing: .04em; }
.ce_downloads li { display: flex; align-items: center; gap: 10px; list-style: none; }
.ce_downloads .mime_icon, .ce_downloads .mime_icon svg { width: 26px; height: 31px; }
.kontakt-karte a { text-decoration: none !important; }
.kontakt-karte a:hover { text-decoration: underline !important; }
/* Download-Karten: hell statt dunkelgrau, Download-Symbol rechts in Akzentfarbe */
.ce_download:not(.ce_download_small) { background: #fff !important; color: #555; padding: 18px 76px 18px 20px !important; border-radius: var(--g-radius-s) !important; }
.ce_download:not(.ce_download_small) h3 { color: var(--g-blue) !important; font-size: 1.15em; }
.ce_download:not(.ce_download_small) > a { color: var(--g-blue) !important; }
.ce_download a span.size { color: #888 !important; }
.ce_download:after {
	content: "\f019" !important; font-size: 18px !important; line-height: 42px !important;
	width: 42px; height: 42px; margin-top: -21px !important; right: 20px !important; text-align: center;
	border-radius: 50%; background: #eaf3fa; color: var(--g-blue) !important;
	transition: background-color .25s, color .25s;
}
.ce_download:hover:after { background: var(--g-blue); color: #fff !important; }
/* News-Kopfbild: Titel vollständig innerhalb des Bildes */
#headerbild .displacebox { bottom: 34px !important; padding: 0 20px !important; }
#headerbild .displacebox * { margin-top: 0 !important; margin-bottom: 0 !important; }
#headerbild .displacebox .ce_textarea h1::after { margin-top: 14px !important; }
@media (max-width: 767px) { #headerbild .displacebox { bottom: 22px !important; } }
#headerbild .displacebox .ce_textarea, #headerbild .displacebox h1 { position: static !important; transform: none !important; left: auto !important; top: auto !important; }

/* --- Google-Karte (Kontakt): Zustimmung erst, dann Karte (Stil wie postbau-regensburg) --- */
.ce_dlh_googlemaps .dlh_googlemap { border-radius: var(--g-radius); overflow: hidden; }
#confirm-googlemaps.karte-zustimmung {
	position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 24px;
	background-color: #0b3d5c;
	background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(135deg, #0d4a70 0%, #082f47 100%);
	background-size: 32px 32px, 32px 32px, auto;
	color: rgba(255, 255, 255, .88); text-align: center;
}
.karte-zustimmung__box { max-width: 520px; }
.karte-zustimmung__label { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8fd3ff; }
.karte-zustimmung__text { margin: 0 0 22px; line-height: 1.65; }
.karte-zustimmung__text a { color: #fff !important; text-decoration: underline !important; font-weight: normal; }
.karte-zustimmung__knopf {
	display: inline-block; padding: 14px 34px; border: 0; border-radius: 999px; cursor: pointer;
	background: #fff; color: #0b3d5c; font: 700 17px/1.2 'Rubik', sans-serif;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .25s var(--g-ease), box-shadow .25s;
}
.karte-zustimmung__knopf:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .32); }
.karte-zustimmung__knopf:focus-visible { outline: 3px solid #8fd3ff; outline-offset: 3px; }
.karte-zustimmung__link { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: normal !important; color: rgba(255, 255, 255, .8) !important; text-decoration: underline !important; }
.karte-zustimmung__link:hover { color: #fff !important; }
@media (max-width: 767px) { .ce_dlh_googlemaps .dlh_googlemap { padding-bottom: 0 !important; height: 420px; } }

/* --- Barrierefreiheits-Hilfe: eigener Knopf + Zustimmung vor dem Laden von tabnav ---- */
#bf-start {
	position: fixed; right: 20px; bottom: 72px; z-index: 99990; width: 48px; height: 48px; padding: 0;
	display: flex; align-items: center; justify-content: center;
	border: 2px solid #fff; border-radius: 50%; background: #405ec3; color: #fff; cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 40, 70, .28); transition: transform .2s var(--g-ease);
}
#bf-start:hover { transform: scale(1.06); }
#bf-start:focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }
#bf-dialog {
	position: fixed; right: 20px; bottom: 132px; z-index: 99991; width: min(360px, calc(100vw - 40px));
	background: #fff; border-radius: var(--g-radius); box-shadow: 0 18px 50px rgba(0, 40, 70, .25);
	padding: 20px 22px 18px; font-size: 15px; line-height: 1.55; color: #444;
}
#bf-dialog p { margin: 0 0 10px; }
#bf-dialog .bf-titel { font-weight: 700; color: #405ec3; font-size: 16px; }
#bf-dialog .bf-merken { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #666; margin: 6px 0 14px; cursor: pointer; }
#bf-dialog .bf-merken input { width: auto; margin: 0; }
#bf-dialog .bf-knoepfe { display: flex; gap: 10px; }
#bf-dialog .bf-knoepfe button { flex: 1; padding: 9px 14px; border-radius: 999px; font-weight: 600; cursor: pointer; border: 1.5px solid #405ec3; }
#bf-dialog .bf-ja { background: #405ec3; color: #fff; }
#bf-dialog .bf-nein { background: #fff; color: #405ec3; }
.karte-zustimmung__link { display: block !important; width: fit-content; margin-left: auto; margin-right: auto; }
