﻿body { font-family: 'Source Sans 3', Helvetica, Arial; font-size:1rem; margin:0; color:#000; line-height:1.5 }	
input, select { font-family: 'Source Sans 3'; font-size: 1rem; line-height: 1.5rem; }
a:-webkit-any-link { color:#004994 }

/*
.ce-textpic, .ce-image, .ce-nowrap .ce-bodytext, .ce-gallery, .ce-row, .ce-uploads li, .ce-uploads div { overflow:visible  }
  auskommentiert weil sonst das Bild übersteht bei: https://neu.bgrci-cms.de/medien/bgrci-magazin
*/

/* Container-Breite Statisches HTML */	
.container { margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; width: auto; }	
   /*@media (min-width: 576px)  { .container { max-width: 510px;  } }
   @media (min-width: 768px)  { .container { max-width: 690px; } }*/
/*
   @media (min-width: 992px)  { .container { max-width: 930px;  } }
   @media (min-width: 1200px) { .container { max-width: 1110px; } }
   @media (min-width: 1400px) { .container { max-width: 1290px; } }
*/
/* */	

/* Container-Breite Typo3 / 12-Spalten-Grid. jede Spalte 80px, 30px gap; Gesamtbreite 1290px */	
:root { --container-max-width: auto; --col-1:calc(100% / 12 + 1.2px ); --gap:10px }
@media (min-width: 992px) {  :root { --container-max-width: 930px; --col-1:50px; --gap:30px }}
@media (min-width: 1200px) { :root { --container-max-width: 1110px; --col-1:65px; --gap:30px }}
@media (min-width: 1400px) { :root { --container-max-width: 1290px; --col-1:80px; --gap:30px }}
:root { --col-2:calc(var(--col-1) * 2 + var(--gap) *1); }
:root { --col-3:calc(var(--col-1) * 3 + var(--gap) *2); }
:root { --col-4:calc(var(--col-1) * 4 + var(--gap) *3); }
:root { --col-5:calc(var(--col-1) * 5 + var(--gap) *4); }
:root { --col-6:calc(var(--col-1) * 6 + var(--gap) *5); }
:root { --col-7:calc(var(--col-1) * 7 + var(--gap) *6); }
:root { --col-8:calc(var(--col-1) * 8 + var(--gap) *7); }
:root { --col-9:calc(var(--col-1) * 9 + var(--gap) *8); }
:root { --col-10:calc(var(--col-1) * 10 + var(--gap) *9); }

.container,
.content:not(.content_mitte) .frame-type-text,
.content:not(.content_mitte) .frame-type-div,
.content:not(.content_mitte) .frame-type-image,
.content:not(.content_mitte) .frame-type-table,
.content:not(.content_mitte) .frame-type-textmedia,
.content:not(.content_mitte) .frame-type-header,
.content:not(.content_mitte) .frame-type-tiles,
.content:not(.content_mitte) .frame-type-textpic.frame-layout-0,
.content:not(.content_mitte) .frame-type-textpic.frame-layout-1,
.content:not(.content_mitte) .frame-type-textpic.frame-layout-2,
.content:not(.content_mitte) .frame-type-textpic.frame-layout-3,
.content:not(.content_mitte) .frame-type-textpic.frame-layout-99,
.content:not(.content_mitte) .frame-type-menu_abstract,
.content:not(.content_mitte) .frame-bg-blue > header,
.content:not(.content_mitte) .frame-bg-blue .ce-textpic,
.content:not(.content_mitte) .frame-bg-lightblue > header,
.content:not(.content_mitte) .frame-bg-lightblue .ce-textpic,
.content:not(.content_mitte) .frame-type-menu_pages.frame-layout-0,
.content:not(.content_mitte) .frame-type-menu_subpages.frame-layout-0,
.content:not(.content_mitte) .frame-type-uploads,
.content:not(.content_mitte) .frame-type-textpic.frame-layout-52,
.content:not(.content_mitte) .frame-type-powermail_pi1,
.content:not(.content_mitte) .frame-type-felogin_login,
.content:not(.content_mitte) .frame-type-html:has(> video),
.content:not(.content_mitte) .frame-type-html:has(#erg),
.inpagenavi
{ margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; max-width:var(--container-max-width); }

.ce-image { margin-bottom:15px }

@media (min-width:993px) {
.content:not(.content_mitte) .frame-type-text > header > h3,
.content:not(.content_mitte) .frame-type-textpic > header > h3,
.content:not(.content_mitte) .frame-type-textmedia > header > h3,
.content:not(.content_mitte) .frame-type-text > header > h2,
.content:not(.content_mitte) .frame-type-textpic > header > h2,
.content:not(.content_mitte) .frame-type-textmedia > header > h2,
.content:not(.content_mitte) .frame-type-text > p,
.content:not(.content_mitte) .frame-type-textpic > p,
.content:not(.content_mitte) .frame-type-textmedia > p,
.ce-bodytext > p,
.ce-bodytext > ul,
.ce-bodytext > ol
 { max-width:var(--col-8);  }
}

.content_rechts img { max-width:100%; height:auto }

/* */	
/* */	

#header { height:151px; }
#header .container { position:relative }
.header_logo { }
.header_logo img { width:auto; height:56px; margin-top:71px; }
#metanav { position:absolute; top:13px; right:15px; } 
#metanav ul { list-style-type:none; margin:0; padding:0; }
#metanav li { display:inline; font-size:15px; font-weight:400; line-height:22px }
#metanav li a { color:#4E4C4E; text-decoration:none; padding:12px; padding-top:5px; padding-bottom:5px; display:inline-block  }
#metanav li a.active { color: #004994; font-weight: 400; text-decoration: underline; text-decoration-thickness: .0625rem; text-underline-offset: .25rem; }
#metanav li:last-child a.active { color:#333 }
#metanav .icon_meine_bgrci a,
#metanav li:last-child a { background-image:url(img/icon_meine_bgrci.png); background-repeat:no-repeat; background-size:14px auto;
	  	  background-position: 7px 6px; padding-left:27px; margin-left:15px;
	  	  background-color:#00C1F3; color:#333 } /* #333 statt #4E4C4E: Kontrast 4,0 -> 5,8:1 */
#suchfeld { position:absolute; top:75px; right:10px; width:clamp(271px, 24.3vw, 345px); }
#suchfeld input[type=text], #suchfeld_mobil input[type=text]  { border:0.5px solid #555555; padding:12px; padding-bottom:11px; padding-left:10px; padding-right:28px; font-size:16px; width:calc(100% - 40px) }   
#suchfeld .submit { position:absolute; right:9px; top:8px; cursor: pointer; border:0; background:none; width:32px; height:32px; padding:8px; line-height:0 } /* Klickfläche 32px (WCAG 2.5.8), Icon bleibt 16px an alter Position */
#suchfeld .submit img { width:16px; height:16px }
#suchfeld_mobil { display:none }

#hauptmenue { background-color:#004994; position:relative; box-shadow: 4px 4px 8px 1px rgba(0, 0, 0, 0.2); }
#hauptmenue ul.lev1 { list-style-type:none; margin:0; padding:0; margin-left:-10px; margin-right:-10px }
#hauptmenue ul.lev1 > li { display:inline; font-size:18px; line-height:28px; font-weight:600 }
#hauptmenue ul.lev1 > li > a { color:white; text-decoration:none; padding:12px; display:inline-block  }
#hauptmenue ul.lev1 > li > a.active,
#hauptmenue ul.lev1 > li.nav-open > a,
#hauptmenue ul.lev1 > li:hover > a { background-color:white; color:#004994 }
         
/*#hauptmenue .lev2 { position:absolute; left:0px; width:100%; background-color:white; z-index:2 }
#hauptmenue .lev2 li a { color:#004994; font-weight:bold }*/

#hauptmenue ul.lev1 { position:relative; }
#hauptmenue ul.lev2 { margin:0; padding:0; padding-top:16px; padding-bottom:32px }
#hauptmenue .lev1 .nav_panel { position:absolute; background-color:white; left:0; width:100%; z-index:10; min-height: 620px; }

#hauptmenue .lev1 > li > .nav_panel { box-shadow: 0 2px 8px 0 rgba(40, 41, 61, .08), 0 20px 32px 0 rgba(96, 97, 112, .24); }

 
#hauptmenue a.has-sub:after { content: " ›"; position:absolute; left:65%  }

#hauptmenue .lev1>li .nav_panel { display:none }
@media (min-width: 993px) { /* Aufklappen bei Hover nur in Desktopversion */
   #hauptmenue .lev1>li.nav-hover > .nav_panel,
   #hauptmenue .lev1>li > .nav_panel.menu-open { display:flex; } /* menu-open: per Tastatur über .nav_toggle geöffnet */
}


#hauptmenue .lev1 > li > .nav_panel > .nav_teaser { width:33.3% }
.nav_ul { width:33.3% }

#hauptmenue .lev2>li .nav_panel { display:none }
@media (min-width: 993px) { /* Aufklappen bei Hover nur in Desktopversion */
   #hauptmenue .lev2>li.nav-hover > .nav_panel,
   #hauptmenue .lev2>li:focus-within > .nav_panel { display:block; } /* focus-within: Ebene 3 per Tastatur */
}

#hauptmenue .lev2 .nav_panel { background-color:#e4edfc; position:absolute; top:0; left:66.7%; width:33.3%; height:100%; overflow: auto; }
#hauptmenue li { list-style-type:none; }
#hauptmenue ul.lev2 li > a { padding:16px; text-decoration:none; color:#004994; display:flex; font-weight:600; font-size:16px; line-height:1.5 }
#hauptmenue ul.lev2 li > a.aktiv,
#hauptmenue ul.lev2 li > a:hover { background-color: #d4edfc; box-shadow: inset 0 -2px 0 -1px #004994; }

#hauptmenue ul.lev3 { margin:0; padding:0; padding-top:16px; padding-bottom:32px}

.nav_teaser { padding:16px; padding-top:32px; padding-bottom:44px }
.nav_teaser h2, .nav_teaser h3 { color:#004994; font-size: 24px; font-weight: 700; }
.nav_teaser_button { cursor: pointer; border: 1px solid #004994; color:#000; display: inline-flex; font-weight: 400; font-size:14px;
    line-height: 18px; padding: 8px 16px; text-decoration: none; white-space: nowrap; }	

#banner { background-color:#d4edfc; min-height:460px; overflow: hidden; } /* min-height statt height: Banner wächst bei größerem Text/Textabstand (WCAG 1.4.4/1.4.12) */
#banner > .container { max-width:100%; margin:0; padding:0 }
#banner .container { position:relative; min-height:460px }
/*.banner_bg { position:absolute;  }
.banner_bg img.rechts { width:629px; right:0 }
.banner_bg img.volle_breite { width:100%; z-index:0 }*/
#banner .banner_text { position:relative; z-index:1; width:var(--col-6); min-height:390px; padding-top:45px;  }
#banner .banner_bild { position:absolute; right:0; width:var(--col-6); height:360px; top:35px }
#banner .banner_bild img { width:100%; height:100%; object-fit:cover; }
#banner .banner_bild p { font-size:14px; color:#1C1816; text-align:right; padding:0; margin:0  }
#banner h1 { color:#004994; font-size: 40px; line-height:1.167; font-weight:900; margin-top:40px; margin-bottom:18px }
#banner p {  color:#4E4C4E; font-size: 24px; line-height:1.167; font-weight:400; margin-top:5px; }

#banner .frame-layout-10 { position:relative; min-height:460px; display:flex; flex-direction:column; justify-content:flex-end }
#banner .frame-layout-10 .banner_bild { position:absolute; left:0; width:100%; height:100%; top:0 }
#banner .frame-layout-10 .container { min-height:0; width:100% }
#banner .frame-layout-10 header { display:none }
#banner .frame-layout-10 .banner_text { left:30px; margin-top:45px; margin-bottom:45px; height:auto; min-height:0; padding-top:0 } /* im Fluss statt absolut: Kasten wächst mit, Lage wie bisher 45px vom Rand */
#banner .frame-layout-10 .banner_text_innen { background-color:#004994; padding:30px;  }
#banner .frame-layout-10 .banner_text_innen h1,
#banner .frame-layout-10 .banner_text_innen p  { color:white  }
#banner .frame-layout-10 .banner_text_innen h1 { margin-top:10px; margin-bottom:15px }
#banner .frame-layout-10 .banner_text_innen p { margin-bottom:5px }


#banner_startseite { background-color:#D3E9F6; height:466px; margin-bottom:50px; 
	  background-image:url(img/banner_startseite.jpg); background-repeat:no-repeat;
	  background-position: center right; background-size: cover; }
#banner_startseite .container { position:relative; height:100%; padding:0 }
/*#banner_startseite .banner_bild { position:absolute; left:0; top:0; width:100%; height:100% }
#banner_startseite .banner_bild img { width:100%; height:100%; object-fit: cover; }*/
#banner_startseite .banner_text { background-color:#004994;
	   position:relative; z-index:1; width:calc(46%); padding:35px; padding-top:27px; top:160px; left:-15px }
#banner_startseite h1 { color:#fff; font-size: 40px; font-weight:900; margin-top:0px; margin-bottom:10px }
#banner_startseite p { color:#fff; font-size: 22px; font-weight:400; margin-top:5px; line-height: 1.3; }
#banner_startseite p:last-child { margin-bottom:0 }

#banner .icon_link_email,
#banner a[href="#"] { padding:5px; padding-left:40px; display:inline-block;
	  background-image:url(img/icon_email.png); background-size:32px 32px; background-repeat:no-repeat; background-position:0 center; }

#breadcrumb { margin-top:40px; margin-bottom:20px; color:#555; font-size:14px; }
#breadcrumb ol { list-style-type:none; margin:0; padding:0; }
#breadcrumb li { display:inline-block; padding:5px; padding-right:10px; margin-right:3px }
#breadcrumb li a { color:#004994; text-decoration:none;
	background-image:url(icons/breadcrumb-arrow-right.svg); background-size:auto 12px; background-repeat:no-repeat; background-position:right center; padding-right:16px; }

#banner a:link, #banner a:visited { color:#004994 }
.content { margin-top:30px; padding-top:1px }

.content_mitte { margin-top: 0; clear:both }
.content_mitte .container { display:grid; gap: var(--gap); grid-template-columns: var(--col-8) var(--col-4); padding-left: 0; padding-right: 0 }
/*.content_mitte .content_links { margin-left:-15px; }
.content_mitte .content_rechts { margin-right:-15px; }*/
#content_unten { margin-top:0; }
.content_rechts { margin-top:10px }

.content a:not([class]),
.content a.underline_hover { color: #004994; text-decoration: underline; text-decoration-color: #004994; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.content a.underline_hover { text-decoration:none }

.content h1, .content h2 { font-weight: 900; }
.content h2 { font-size:32px; line-height:1.125; color:#004994; margin-bottom:0.5em; margin-top: 1.125em; } /* 36px (vorher 1em = 32px); H2 mehr Abstand als H3 */

/* nur erstes H2 mit geringem margin-top; alle weiteren H2 mit mehr margin-top */
/* -- passt so nicht, auskommentiert. 1em standard lassen
.content > .frame > header > h2 { margin-top:0.25em }
.frame + .frame > header > h2 { margin-top:1.75em } */


.content h3 { font-size:24px; line-height:1.125; color:#004994; margin-bottom:0.5em; margin-top:1.3333em } /* 32px (vorher 1.5em = 36px) */
.content p + h3 { margin-top:1.3333em } /* ursprünglich 1.9em: H3 nach Absatz hatte 46px statt 36px wie H3 als Element-Überschrift. Regel bleibt (statt zu entfallen), weil sie seitenspezifische Inline-Styles wie ".content h3 { margin-top:10px }" (Leichte Sprache) überstimmt */
.content h4 { font-size:20px; line-height:1.125; color:#004994; margin-top:0.5em; margin-bottom:0.5em }
.content h5 { font-size:100%; line-height:1.125; color:#004994; margin-top:0.5em; margin-bottom:0.5em }
.content .frame-type-header header > h4 { margin-top:1.5em; }

.content .lead { color:#004994; font-size:18px; font-weight:bold } 

.content hr { border:0; border-top:1px solid #DADADA; margin-top:1em; margin-bottom:1em }

.content p { margin-top:0px }
.content p + ul { margin-top:-10px }

.content_oben > div:last-child:not(.frame-layout-99) p:last-child { margin-bottom:0px; } /* Ziel: kein übergroßer Abstand zwischen content_oben und content_mitte */

.content table { border-collapse:collapse }
.content table th { background-color:#004994; border:1px solid white; text-align:left; color:white; padding:10px }
.content table tr td { background-color:#ffffff; border:1px solid #DADADA; padding:10px  }
.content table tr:nth-child(odd) td { background-color:#D8EDFA; }
.content table thead tr td { background-color:#004994; border:1px solid white } /* leere Kopfzelle wird als td ausgegeben (Partials/Table/Columns.html) */
.content .frame-type-table table { margin-bottom:2em }

.ce-table-table_fixed { table-layout:fixed }
.content video:not([class]), /* alle Videos im Content auf 540px, wenn keine class eingetragen ist */
.video_maxwidth { max-width:540px; }


.button, .button_standard_m, .button_primary_m, .button_secondary_m, .tx-powermail .btn-primary, .frame-type-felogin_login [type=submit]
 { 
	  position: relative; top: 7px; border:0px; background-color:#4ebfef; color:#000; font-weight:600; font-size:18px; line-height:32px; text-decoration:none; 
	  display: inline-block;
	  margin:1px; padding:10px; padding-left:23px; padding-right:23px; transition: transform 0.1s; }
a:-webkit-any-link, .button_standard_m:-webkit-any-link, .button_primary_m:-webkit-any-link, .button_secondary_m:-webkit-any-link  { color:#000 } 
.button:hover, .button_standard_m:hover, .button_primary_m:hover, .button_secondary_m:hover, .tx-powermail .btn-primary:hover, .frame-type-felogin_login [type=submit]:hover
    { transform: scale(1.015); background-color:#9DD4F5; }

.button_primary_m {  }
.button_secondary_m { background-color:#A7C02B }
.button_secondary_m:hover { background-color:#A7C02B }

.button_standard_m { border:1px solid #0063AF; background-color:#fff }
.button_standard_m:hover { border:1px solid #0063AF; background-color:#fff }

/*.button_standard_m:active { }*/
.frame-bg-blue .button_standard_m { border: 1px solid #fff; background-color: transparent; }
.content .frame-bg-blue a.button, .content .frame-bg-blue a.button_primary_m  { color:#000; }
.frame-bg-lightblue .button_standard_m { border: 1px solid #004994; background-color: transparent; } /* Rahmen #004994 statt weiß: Kontrast 1,5 -> 5,9:1 (WCAG 1.4.11) */
.content .frame-bg-lightblue a.button, .content .frame-bg-lightblue a.button_primary_m  { color:#000; }
.content .frame-bg-lightblue a.button_standard_m { color:#000; }
.frame-bg-lightblue .button:hover, .frame-bg-lightblue .button_primary:hover { background-color:#4ebfef; }

.ce-bodytext p > a.button, .ce-bodytext p > a.button_standard_m, .ce-bodytext p > a.button_secondary_m  { display: inline-block; margin-bottom: 20px; }

/*
.textmedia_bild img { width:100%; height:auto }
.textmedia_text h3 { margin-top:0 }
*/
.content .frame-type-textpic.frame-layout-0 .ce-textpic:not(.ce-above):not(.ce-below) .ce-gallery { width:var(--col-4) }
.content .frame-type-textpic.frame-layout-1 .ce-gallery { width:var(--col-6) }
.content .frame-type-textpic.frame-layout-3 .ce-gallery { width:var(--col-3) }
.content .frame-type-textpic.frame-layout-0 .ce-gallery img,
.content .frame-type-textpic.frame-layout-1 .ce-gallery img,
.content .frame-type-textpic.frame-layout-3 .ce-gallery img { width:100%; height:auto; }
.content .ce-intext.ce-left .ce-gallery { margin-right: 30px; }
.content .ce-intext.ce-right .ce-gallery { margin-left: 30px; }
/* Bild über dem Text: Galerie nicht floaten, sonst läuft der margin-top einer Überschrift direkt darunter hinter dem Bild ab (H2 nur 10px statt 36px) */
.content .ce-above .ce-gallery { float:none }

/* :where(...:not(.frame-layout-52)): Info-Cards mit Rahmen ausgenommen (Bild dort bündig oben am Rahmen); :where hält die Spezifität unverändert */
.content :where(.frame:not(.frame-layout-52)) .ce-intext .ce-gallery:has(+ .ce-bodytext > header > h2) { margin-top:39px } /* vorher 35px, mitgezogen mit H2 margin-top 32→36px */
.content :where(.frame:not(.frame-layout-52)) .ce-intext .ce-gallery:has(+ .ce-bodytext > header > h3:first-child) { margin-top:25px } /* :first-child: Unterüberschrift (H2+H3) soll nicht als H3 zählen */
.content :where(.frame:not(.frame-layout-52)) .ce-intext .ce-gallery:has(+ .ce-bodytext > header > h4:first-child) { margin-top:15px }

.content .frame-layout-0 .ce-bodytext > header > h3,
.content .frame-layout-1 .ce-bodytext > header > h3,
.content .frame-layout-3 .ce-bodytext > header > h3 { margin-top:1em } /* statt 1.5em */
.content .frame-accordion-dummy .ce-bodytext > header > h3 { margin-top:0.5em }

.content .frame-layout-0 .ce-bodytext,
.content .frame-layout-1 .ce-bodytext,
.content .frame-layout-3:not(.frame-space-after-no-space) .ce-bodytext { margin-bottom:16px }  /* von 30px auf 16px verringert, damit 2 Textblöcke keinen zu großen Abstand haben */
/* Text-Media (ohne farbigen Kasten): .ce-bodytext/.ce-textpic haben overflow:hidden, daher addierten sich
   Absatz-margin (16) + bodytext-margin (16) + margin-top der folgenden Überschrift (H3 danach 68px statt 36px).
   Stattdessen innen 0 und außen am Frame 16px, die mit der folgenden Überschrift kollabieren.
   Bild neben Text ebenfalls ohne margin-bottom, damit es egal ist, ob Bild oder Text unten endet. */
.content .frame-default.frame-type-textpic:is(.frame-layout-0,.frame-layout-1,.frame-layout-3) .ce-bodytext { margin-bottom:0 }
.content .frame-default.frame-type-textpic:is(.frame-layout-0,.frame-layout-1,.frame-layout-3) .ce-bodytext > :last-child { margin-bottom:0 }
.content .frame-default.frame-type-textpic:is(.frame-layout-0,.frame-layout-1,.frame-layout-3) .ce-intext.ce-nowrap .ce-gallery { margin-bottom:0 }
.content .frame-default.frame-type-textpic:is(.frame-layout-0,.frame-layout-1,.frame-layout-3):not(.frame-space-after-no-space) { margin-bottom:16px }
.frame-space-after-no-space { margin-bottom:0 } /* Bei "Erscheinungsbild->Abstand" neuen Wert "Kein Abstand" =0px margin-bottom */

.content .frame-type-div.frame-layout-70 hr { border:0 }


.content .frame-bg-blue { max-width:100%!important; background-color:#194E95; padding-top:45px; padding-bottom:30px; color:white; clear:both; }
.content .frame-bg-lightblue { max-width:100%!important; background-color:#A7DBF7; padding-top:45px; padding-bottom:30px; clear:both; }
.content .frame-bg-blue h2,
.content .frame-bg-blue h3 { color:#fff }
.content .frame-bg-blue a  { color:white }
.content .frame-bg-blue a:not([class]) { text-decoration-color: white; }

.content .frame-bg-blue.frame-type-textpic.frame-layout-0 .ce-textpic { font-size:24px; } 
.content .frame-bg-blue.frame-type-textpic.frame-layout-0 .ce-textpic h3 { font-size:40px; } 
/* frame-bg-blue / frame-bg-lightblue in schmaler Version mit Layout: frame-layout-100: */
.content .frame-layout-100 { max-width:var(--container-max-width) !important; margin: auto; }
/* TEST: Immer schmale Version */
.content .frame-bg-blue:not(.frame-layout-51),
.content .frame-bg-lightblue:not(.frame-layout-51) { max-width:var(--container-max-width) !important; margin: auto; margin-top:25px; margin-bottom:30px }
.content_links .frame-bg-blue:not(.frame-layout-51), .content_links .frame-bg-lightblue:not(.frame-layout-51) { padding-left:30px; padding-right:30px } /* Blauer Kasten in content_links: padding 30px */
.frame-layout-51 .content_3_spalten_grid { max-width:var(--container-max-width); margin:auto }

/* Erste Überschrift in farbigen Kästen (blue + lightblue): weniger Abstand nach oben,
   da der Kasten schon padding-top:50px hat. Weitere Überschriften im Fließtext bleiben unverändert. */
.content .frame-bg-blue > header h2,
.content .frame-bg-blue .ce-bodytext > header:first-child h2,
.content .frame-bg-lightblue > header h2,
.content .frame-bg-lightblue .ce-bodytext > header:first-child h2  { margin-top: 10px; }
.content .frame-bg-blue > header h3,
.content .frame-bg-blue .ce-bodytext > header:first-child h3,
.content .frame-bg-lightblue > header h3,
.content .frame-bg-lightblue .ce-bodytext > header:first-child h3  { margin-top: 10px; } /* vorher 15px; gleich wie H2 -> Kastenrand bis Überschrift überall 55px */
/* Bild neben Text (ce-intext) im Kasten: Bild-Oberkante an die reduzierte Überschrift angleichen
   (überschreibt die 35px/25px aus den :has()-Regeln für .ce-gallery weiter oben) */
.content .frame-bg-blue .ce-intext .ce-gallery:has(+ .ce-bodytext > header:first-child > h2),
.content .frame-bg-lightblue .ce-intext .ce-gallery:has(+ .ce-bodytext > header:first-child > h2) { margin-top: 10px; }
.content .frame-bg-blue .ce-intext .ce-gallery:has(+ .ce-bodytext > header:first-child > h3),
.content .frame-bg-lightblue .ce-intext .ce-gallery:has(+ .ce-bodytext > header:first-child > h3),
.content .frame-bg-blue .ce-intext .ce-gallery:has(+ .ce-bodytext > header:first-child > h4),
.content .frame-bg-lightblue .ce-intext .ce-gallery:has(+ .ce-bodytext > header:first-child > h4) { margin-top: 10px; } /* vorher 15px (H3); H4 neu */
/* Abstand unten in farbigen Kästen einheitlich 55px wie oben (vorher 40–83px, je nachdem ob Bild, Text oder Button unten endet):
   Innenabstand unten 55px, letztes Element und Bildergalerie ohne margin-bottom. Layout 51 (vollbreit, z. B. Startseite "Aktuelles") ausgenommen. */
.content :is(.frame-bg-blue,.frame-bg-lightblue):not(.frame-layout-51) { padding-bottom:55px }
.content :is(.frame-bg-blue,.frame-bg-lightblue):not(.frame-layout-51) :last-child { margin-bottom:0 }
.content :is(.frame-bg-blue,.frame-bg-lightblue):not(.frame-layout-51) .ce-gallery { margin-bottom:0 }
/* Buttons im Kasten: oben ausrichten (sonst zusätzlicher Platz durch die Grundlinie); letzte Buttonzeile ohne margin-bottom,
   Zeilenabstand beim Umbrechen über margin-top (per -10px am Absatz ausgeglichen), padding 7px gleicht den top:7px-Versatz der Buttons aus */
.content :is(.frame-bg-blue,.frame-bg-lightblue):not(.frame-layout-51) p > a[class*="button"] { vertical-align:top }
.content :is(.frame-bg-blue,.frame-bg-lightblue):not(.frame-layout-51) p:last-child:has(> a[class*="button"]:last-child) { padding-bottom:7px }
.content :is(.frame-bg-blue,.frame-bg-lightblue):not(.frame-layout-51) p:last-child > a[class*="button"] { margin-bottom:0; margin-top:10px }
.content :is(.frame-bg-blue,.frame-bg-lightblue):not(.frame-layout-51) p:last-child:has(> a[class*="button"]) { margin-top:-10px }

.inpagenavi ul { max-height: 300px; overflow: auto; }
/* Abstand unter der Inpage-Navi: ul hat overflow:auto, daher kollabieren li-/ul-Abstand nicht mit der folgenden Überschrift (H2 sonst 49px statt 32px).
   Stattdessen außen margin-bottom wie ein Absatz (16px), das mit dem margin-top der folgenden Überschrift zusammenfällt.
   Damit verhält sich die Navi wie ein Textabsatz davor (H2 32px, Text-Media 48px, Text 16px). */
.inpagenavi ul { margin-bottom:0 }
.inpagenavi li:last-child { margin-bottom:0 }
.inpagenavi { margin-bottom:16px; padding-bottom:16px } /* padding: generell 16px mehr Abstand unter der Navi, kollabiert nicht mit der folgenden Überschrift */
.inpagenavi:not(:has(li)) { padding-bottom:0 } /* Navi ohne Einträge (nur Seitentitel): kein zusätzlicher Abstand */
/* Navi als letztes Element in content_oben und content_mitte beginnt mit einer Überschrift: kein Abstand,
   da er an der Bereichsgrenze nicht mit dem margin-top der Überschrift kollabiert (padding-top:1px, Grid). Beginnt content_mitte mit Text, bleiben 16px. */
.content_oben:has(+ .content_mitte .content_links > .frame:first-child > header:first-child) > .inpagenavi:last-child { margin-bottom:0 }

.subnav { background-color:#D8ECFA; width:var(--col-4); float:right; margin-left:var(--gap); margin-bottom:var(--gap);}
.subnav .subnav_titel { margin-left:20px; margin-bottom:0; color: #000; margin-top:1.5em; font-weight:bold; line-height:1.125 } /* war h5 (Überschriftenhierarchie) */
.content .subnav .subnav_titel a { color:inherit; text-decoration:none }
.content .subnav .subnav_titel a:hover { text-decoration:underline }
.subnav ul { list-style-type:none; margin:0; padding:5px; padding-right:15px; padding-top:15px; padding-bottom:0px; margin-bottom:20px; line-height:1.25; font-size:15px }
/*.subnav > ul > li > ul { padding-bottom:5px; }*/
.subnav li { margin-bottom:1em; margin-left: 14px; }
.subnav li a { display:inline-block; padding-left:27px; background-image:url(icons/arrow-right-blue.png); background-size:15px 15px; background-repeat:no-repeat; background-position:0px center }
.subnav li a { color:#004994; font-weight:bold }
.subnav li a:hover { text-decoration:underline }
.subnav li li a { background-image:none; padding-left:10px; font-weight:normal }
.subnav li > a.active { text-decoration:underline }
.subnav li li a.active { text-decoration:none; font-weight:bold }
.subnav_toggle { display: none; }
/* Nur das aktive Untermenü anzeigen: */
.subnav li > a + ul { display:none }
.subnav li > a.active + ul { display:block }

.content blockquote { color:#004994; font-size:20px; margin-inline-start: 5vw; margin-inline-end: 5vw; font-style:italic }
.content blockquote cite { font-size:14px; font-style:normal; font-weight:bold }
/* content_2_spalten */
.frame-layout-20 { column-count:2; column-gap:36px; margin-bottom:30px }
.frame-layout-20 h3, .frame-layout-20 h2 { column-span: all; }
.frame-layout-20 p { margin-top:0 }
.frame-layout-20 h4:first-child { margin-top:0 }
.umbruch_naechste_spalte { break-before: column }
.frame-layout-20 .umbruch_naechste_spalte { margin-top:0 }

/* content_3_spalten */
.frame-layout-21 { column-count:3; column-gap:20px; margin-bottom:30px }
.frame-layout-21 h3, .frame-layout-21 h2 { column-span: all; }
.frame-layout-21 p { margin-top:0 }

.content_3_spalten_grid { display:grid; gap:var(--gap) var(--gap); grid-template-columns: 4fr 4fr 4fr; }
.content_4_spalten_grid { display:grid; gap:var(--gap) var(--gap); grid-template-columns: 3fr 3fr 3fr 3fr; }

.break_inside_avoid { break-inside: avoid; }

.frame-type-menu_abstract li > a {  font-size: 18px; font-weight: bold; }


.no_underline { text-decoration:none }
/*.infocard { max-width:320px; }*/
/*
.infocard img { width:100%; height:235px; background-color:#eee; display:block }
.infocard_unten { border:1px solid #000; border-top:0; overflow:hidden; padding:24px; height:calc(179px - 24px - 24px) }
.infocard h3 { font-size:22px; color:#004994; margin-top:0; margin-bottom:10px }
.infocard p { color:#4E4C4E; margin-top:10px }
*/
.infocard { min-height:462px; background-color:white;  border:0.5px solid #555555; hyphens: auto } /* min-height statt height (WCAG 1.4.12) */
.content_3_spalten_grid > a, .content_4_spalten_grid > a { display:flex }
.content_3_spalten_grid > a > .infocard, .content_4_spalten_grid > a > .infocard { flex:1; display:flex; flex-direction:column }
.content_3_spalten_grid .infocard_unten, .content_4_spalten_grid .infocard_unten { flex:1 }
.infocard:hover { box-shadow: 0 0 2px 0 rgba(40, 41, 61, .04), 0 4px 8px 0 rgba(96, 97, 112, .16); }
.infocard img { width:100%; height:239px; object-fit:cover; background-color:#eee; display:block }
.infocard_unten { overflow:hidden; padding:24px; padding-top:20px; min-height:179px; }
.infocard h3 { font-size:20px; line-height:30px; font-weight:700; color:#004994; margin-top:0 }
.infocard p { color:#4E4C4E; margin-top:10px; font-size:18px; line-height:28px; }

.infocard_mini_1spalte .infocard { min-height:100px; margin-bottom: 30px }
.infocard_mini_1spalte .infocard img { width:100px; height:100px; float:left; }
.infocard_mini_1spalte .infocard_unten { overflow:hidden; padding:24px; padding-top:15px; padding-bottom:15px; height:calc(100px - 30px); display: table-cell; vertical-align: middle; }
.infocard_mini_1spalte h3 { margin-top: 10px; }
.frame-layout-53 { margin-top: 35px; }

.frame-layout-50 { margin-bottom:30px }
.frame-layout-51 { margin-bottom:30px }
.content_4_spalten_grid .infocard { min-height:362px }
.content_4_spalten_grid .infocard img { height:176px; }
.content_4_spalten_grid .infocard_unten { min-height:139px; padding:20px; padding-top:16px; }
.content_4_spalten_grid .infocard p { font-size:16px; line-height:1.3 }

/* Infocard einspaltig */
.frame-layout-52 .ce-textpic { display:flex; width:100%; border:1px solid #585757; margin-bottom:20px }
.frame-layout-52 .ce-textpic .ce-gallery { width:300px; flex-grow:0; flex-shrink:0; margin-right:30px; margin-bottom:0 }
.frame-layout-52 .ce-textpic .ce-bodytext { margin-right:30px; margin-bottom:8px }
.frame-layout-52 .ce-textpic .ce-gallery img { height:208px; width:300px; object-fit:cover; display:block }
.frame-layout-52 .ce-textpic h3 { font-size:128%; /*margin-top:15px;margin-bottom:0*/ }
.content .frame-layout-52 .ce-textpic h3 { margin-top:22px } /* statt .content h3 (1.3333em = 27px) */
.frame-layout-52 .ce-textpic h4 { color:#000; font-weight:normal; font-size:128%; margin-top:15px;margin-bottom:0 }
.frame-layout-52 .ce-textpic p { color:#000; margin-top:0;margin-bottom:0 }
.frame-layout-52 .ce-textpic:hover h3 { color:#004994 }
.content .menu-abstract-52 a { text-decoration:none!important; color:inherit }

.content_2_spalten .frame-layout-60 div.infocard_bild { width:80px; }
.content_3_spalten .frame-layout-60 div.infocard_bild { width:80px; }

/* content_blau */
/*.frame-layout-40, .frame-layout-41 { background-color:#194E95; padding-bottom:50px; color:white }
.frame-layout-40 h2, .frame-layout-41 h2
.frame-layout-40 h3, .frame-layout-41 h3 { color:#fff }
.frame-layout-40 a, .frame-layout-41 a { color:white }
*/

.content .tiles a { text-decoration:none }

.frame-type-tiles { margin-bottom:30px }
.tile-infocard-3 .tile,
.tile-infocard-4 .tile { min-height:462px; background-color:white;  border:0.5px solid #555555;  }
.tile { hyphens: auto; }
.tiles a .tile:hover { box-shadow: 0 0 2px 0 rgba(40, 41, 61, .04), 0 4px 8px 0 rgba(96, 97, 112, .16); }
.tile-infocard-3 .tile_image img,
.tile-infocard-4 .tile_image img { width:100%; height:239px; object-fit:cover; background-color:#eee; display:block }
.tile-infocard-3 .tile_text, 
.tile-infocard-4 .tile_text { /*overflow:hidden;*/ padding:24px; padding-top:20px; /*height:calc(179px);*/ padding-bottom:5px }
.tile-infocard-3 .tile h3, 
.tile-infocard-4 .tile h3 { font-size:20px; line-height:30px; font-weight:700; color:#004994; margin-top:0 }
.tile-infocard-3 .tile p, 
.tile-infocard-4 .tile p { color:#4E4C4E; margin-top:10px; font-size:18px; line-height:28px; }

.tile-infocard-3,
.tile-schlagwortkachel-3 { display:grid; gap:var(--gap) var(--gap); grid-template-columns: 4fr 4fr 4fr; margin-left:0px; margin-right:0px  }
.tile-infocard-3 .tile_text p:first-child { margin-top:0 }
.tile-infocard-3 > a { display: flex; }
.tile-infocard-3 > a > .tile { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.tile-infocard-3 > a > .tile > .tile_text { flex: 1; }

.tile-infocard-4,
.tile-schlagwortkachel-4 { display:grid; gap:var(--gap) var(--gap); grid-template-columns: 3fr 3fr 3fr 3fr; margin-left:0px; margin-right:0px  }
.tile-infocard-4 .tile { min-height:362px }
.tile-infocard-4 > a { display: flex; }
.tile-infocard-4 > a > .tile { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.tile-infocard-4 > a > .tile > .tile_text { flex: 1; }
.tile-infocard-4 .tile_image img { height:176px; }
.tile-infocard-4 .tile_text { /*height:139px;*/ padding:20px; padding-top:16px;  padding-bottom:0px }
.tile-infocard-4 .tile p { font-size:16px; line-height:1.5 }


.tile-infocard-1 .tile { display:flex; width:calc(100% - 2px); border:1px solid #585757; margin-bottom:20px }
.tile-infocard-1 .tile .tile_image { width:194px; flex-grow:0; flex-shrink:0; margin-right:30px }
.tile-infocard-1 .tile .tile_image img { width:100%; height:auto!important; object-fit:cover; display:block }
.tile-infocard-1 .tile h3 { font-size:128%; margin-top:15px;margin-bottom:0 }
.tile-infocard-1 .tile h4 { color:#000; font-weight:normal; font-size:128%; margin-top:15px;margin-bottom:0 }
.tile-infocard-1 .tile p { color:#000; margin-top:0;margin-bottom:0 }
.tile-infocard-1 a .tile:hover h3 { color:#004994 }

.content_2_spalten .tile-infocard-1 .tile_image { width:80px; }
.content_3_spalten .tile-infocard-1 .tile_image { width:80px; }

/*
.textmedia_1 { padding-top:50px; display:grid; gap:43px; grid-template-columns:33% 66%; }
.textmedia_bild img { width:100%; height:auto }
.textmedia_text h3 { margin-top:0 }

.textmedia_2 { padding-top:50px; }
.textmedia_2 .textmedia_bild { float:right; margin-left:43px; width:calc(33% - 14px); display: flex; justify-content: right; }
.textmedia_2 .textmedia_bild img { text-align:right }
.textmedia_2 .textmedia_text { width:calc(66% - 28px) }
*/

.frame-layout-60, .inpage_navigation, .frame-layout-60 h3 { color:#3D3D3D; font-size:inherit}
.content .inpagenavi_titel { color:#3D3D3D; font-weight:bold; line-height:1.125; margin-top:1.3333em; margin-bottom:0.5em } /* war h3 (wiederholte die H1); Werte wie .content h3 */
.frame-layout-60 ul, .inpage_navigation ul { padding-left:16px; list-style-type: none; border-left: 2px solid #dadada; }
.frame-layout-60 li, .inpage_navigation li { margin:0; padding:0; margin-bottom:16px }
.frame-layout-60 li a:not([class]),
.inpage_navigation li a:not([class]) { text-decoration:none; font-weight:bold; color:#004994; 
	   padding-right: 24px; background-image:url(icons/arrow-down.svg); background-size:auto 12px; background-repeat:no-repeat; background-position:right center; }

.frame-accordion-closed header,
.frame-accordion-open header,
.frame-accordion-dummy header { display:block; background-repeat:no-repeat; 
	  background-size:28px 28px; background-position:right 15px center;
	  color:black; text-decoration:none; line-height:70px; font-weight:700;
	  padding: 16px 70px 16px 24px;
	  }
.frame-accordion-dummy .ce-bodytext > header { padding-left:0px; }

.frame-accordion-closed header,
.frame-accordion-open header { background-image:url(img/acc_icon_hoch_blau.png); cursor:pointer; user-select:none }

.frame-accordion-closed header:hover,
.frame-accordion-open header:hover { background-color:#D7EEFB; }
.frame-accordion-closed:after { content:''; display:block; border-bottom:1px solid #A7A8A9;}
.frame-accordion-open header, .frame-accordion-open .ce-textpic,
.frame-accordion-dummy header, .frame-accordion-dummy .ce-textpic { background-color:#D7EEFB; color:black; }
.frame-accordion-open:after,
.frame-accordion-dummy:after { content:''; display:block; border-bottom:1px solid #68BAE2 }
.frame-accordion-closed .ce-textpic,
.frame-accordion-open .ce-textpic,
.frame-accordion-dummy .ce-textpic { padding-left: 24px; padding-right: 24px; padding-bottom: 0.1px; }
.frame-accordion-closed header h4,
.frame-accordion-open header h4,
.frame-accordion-dummy header h4 { margin:0; padding: 0; font-size:18px; hyphens: auto; }
.content .frame-accordion-dummy header h4 { margin-top:6px } /* dauerhaft geöffnetes Akkordeon: Überschrift klebte oben am Kastenrand (16px oben, 28px links) */
.frame-accordion-closed header { background-image:url(img/acc_icon_runter_blau.png); }
/* Button in der Akkordeon-Überschrift (inc.js init_akkordeon): sieht aus wie der bisherige Text */
.acc_button { background:none; border:0; padding:0; margin:0; font:inherit; color:inherit; text-align:left; cursor:pointer; width:100%; line-height:inherit; hyphens:inherit; letter-spacing:inherit }
.frame-accordion-closed .ce-textpic { display:none }

/* Unter Akkordeon 25px Abstand */
.frame-accordion-dummy, .frame-accordion-open, .frame-accordion-closed { margin-bottom:25px; }
/* Innerhalb vom Akkordeon aber kein Abstand */
:is(
    .frame-accordion-dummy,
    .frame-accordion-open,
    .frame-accordion-closed
):has(+ :is(
    .frame-accordion-dummy,
    .frame-accordion-open,
    .frame-accordion-closed
)) { margin-bottom: 0; }

.content figure.table { margin-left:0 }
.content figure { margin-inline: 0; } /* neu für Content-Header bei Medien */

.content .frame-type-menu_pages ul { padding:0; margin:0; display: grid; gap: var(--gap) var(--gap); grid-template-columns: 3fr 3fr 3fr 3fr; }
.content .frame-type-menu_pages li { padding:0; margin:0; list-style-type:none; background-color: white; border: 0.5px solid #555555; font-size:18px; font-weight:bold }
.content .frame-type-menu_pages li a { text-decoration:none; color:#004994; padding: 20px; display: block; }
.content .frame-type-menu_pages.frame-layout-0 { margin-bottom:30px }

.tile-schlagwortkachel-3 .tile,
.tile-schlagwortkachel-4 .tile { font-size:16px; padding:20px; height: calc(100% - 40px); }
.tile-schlagwortkachel-3 h3,
.tile-schlagwortkachel-4 h3 { font-size:18px; margin-top:10px }
.tile-schlagwortkachel-3 > a,
.tile-schlagwortkachel-4 > a { padding:0; margin:0; list-style-type:none; background-color: white; border: 0.5px solid #555555; font-size:18px;
  text-decoration:none; color:#004994; display: flex; }
.tile-schlagwortkachel-3 > a > .tile,
.tile-schlagwortkachel-4 > a > .tile { flex: 1; min-height: 0; }


.content .frame-layout-99 { position:relative }
.content .frame-layout-99  header { width:32px;  position: absolute; right: 0; margin-top: -59px; }
.content .frame-layout-99  header:hover { background-color:inherit }
.content .frame-layout-99.frame-accordion-open header { background-color:inherit }
.content .frame-layout-99 header h3 { margin:0; font-size:0; line-height:0 } /* Text unsichtbar, Button bleibt für Tastatur/Screenreader erreichbar */
.content .frame-layout-99 header .acc_button { position:absolute; inset:0; width:100%; height:100%; overflow:hidden; font-size:0 }
.content .frame-layout-99 p { margin-top: 1em; }
.content .frame-layout-99.frame-accordion-closed:after { display:block; border-bottom: 0px }
.content .frame-layout-99.frame-accordion-closed header { background-image:url(img/info.png); }

/* Menu 'Zusammenfassungen' z.B. für Bekanntmachungen */
.menu-abstract-10 { margin: 0; padding: 0; max-width: var(--col-8); }
.menu-abstract-10__item { overflow: hidden; margin: 0 0 2rem; }
.menu-abstract-10 dt { margin: 0; font-size:18px; font-weight:bold }
.menu-abstract-10 dd { margin: 0; }
.menu-abstract-10__img { float: right; width: 240px; height:150px; object-fit:cover;  max-width: 45%; margin: 0 0 1rem 1.5rem; }
@media (max-width: 600px) {
	.menu-abstract-10__img { float: none; width: 100%; max-width: 240px;	margin: 0 0 .75rem;	}
}

.weiterlesen {display: block; align-items: center; text-decoration: none; }
a.weiterlesen { color:#004994 }
.weiterlesen:hover span { text-decoration: underline; }
.weiterlesen__icon { width: .45em; height: auto; top: 1px; position: relative; margin-right:0.4em }

/* Rechte Spalte, Infobox */
.frame-type-text.frame-layout-80,
.frame-type-text.frame-layout-81 { border:0.5px solid #555555; hyphens: auto; margin-bottom:1em; padding-top: 1em; }
.frame-type-text.frame-layout-80 h2 { font-size:16px; margin: 0 0 4px; font-weight:bold; margin-top:0!important }
.frame-type-text.frame-layout-80 p { margin-top:0 }
.frame-type-text.frame-layout-80 p:last-child { margin-bottom:0 }
.frame-type-text.frame-layout-80 p strong { color:#004994 }
/* Info-Icon (i im Kreis) wie beim Link-Kasten, 01.11.2026 */
.frame-type-text.frame-layout-80 { position:relative; box-sizing:border-box; padding:16px 16px 16px 70px; margin-bottom:16px }
.frame-type-text.frame-layout-80::before { content:""; position:absolute; left:16px; top:16px; width:40px; height:40px; border-radius:50%;
	background:#D5ECFB url(icons/info.svg) no-repeat center / 24px 24px; }

.content_links .frame-type-text.frame-layout-80 { position:absolute; margin-top:15px; margin-left:calc(var(--col-8) + var(--gap)); width:var(--col-4) }

/* Rechte Spalte: Link-Kasten (frame-layout-81) */
.frame-type-text.frame-layout-81 {
	display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 4px;
	padding: 16px; margin-bottom: 16px; max-width: 730px; hyphens: auto;
}
.frame-type-text.frame-layout-81 header,
.frame-type-text.frame-layout-81 p { padding: 0; margin: 0; grid-column: 2; }
.frame-type-text.frame-layout-81 header { grid-row: 1; }
.frame-type-text.frame-layout-81 p { grid-row: 2; }
.frame-type-text.frame-layout-81 h2 { font-size:16px; margin: 0 0 4px; font-weight:bold; margin-top:0!important }
.frame-type-text.frame-layout-81::before { content: ""; grid-column: 1; grid-row: 1 / span 2;	width: 40px; height: 40px; border-radius: 50%;
	background-color: #D5ECFB; background-image: url(FileIcons/link.png);	background-repeat: no-repeat; background-position: center; background-size: 40px 40px; }

/* Link-Kasten in content_oben/content_unten (nicht content_mitte): Desktop rechts floaten, rechtsbündig zum 12-Spalten-Raster */
@media (min-width: 993px) {
   .content:not(.content_mitte) .frame-type-text.frame-layout-81 {
      float: right; clear: right; /* zweiter Kasten rutscht unter den ersten */
      width: var(--col-4); max-width: none; box-sizing: border-box;
      margin: 0 calc((100% - var(--container-max-width)) / 2) 16px var(--gap);
      padding: 16px;
   }
   .content:not(.content_mitte) .frame-type-text.frame-layout-81:is(:has(+ .frame > header:first-child > :is(h1,h2,h3,h4,h5,h6):first-child), :has(+ .frame > :is(h1,h2,h3,h4,h5,h6):first-child)) { margin-top: 32px; }
}
/* Mobil/Tablet: volle Breite mit Seitenabstand (max-width 600px kommt aus dem 992px-Block weiter unten) */
@media (max-width: 992px) {
   .content:not(.content_mitte) .frame-type-text.frame-layout-81 { box-sizing: border-box; margin: 0 15px 16px 15px; padding: 16px; }
}

ul.ce-uploads li { border:0.5px solid #555; margin-bottom: 16px; max-width:730px; line-height: 1.2 }
ul.ce-uploads li a:not([class]) { text-decoration:none; color:inherit; display: flex; align-items: flex-start; gap: 14px; padding: 16px; }
.ce-uploads-fileName { font-weight:bold; font-size:18px; margin-top:0; margin-right:5px; color:#004994; display:block }
.ce-uploads span.uploads-file-extension { display:inline; }
.ce-uploads span.ce-uploads-filesize { display:inline;  }
/*.ce-uploads span.ce-uploads-description { display:block; margin:2px 0; }*/
ul.ce-uploads li img { width:40px; height:40px; padding:0px; }
ul.ce-uploads .file_icons {	flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
	background-color: #DCEAFB; display: flex; align-items: center; justify-content: center;	margin-right: 0; }


/* in rechter Spalte, icons und Schrift kleiner  */
.content_rechts .ce-uploads-fileName { font-size:16px; }
/*.content_rechts ul.ce-uploads .file_icons { flex: 0 0 52px; }*/
/*.content_rechts ul.ce-uploads li img { padding:10px; }*/


#links_services { background-color:#ECECEE; padding-top:12px; margin-top:10px; padding-bottom:59px }
#links_services h2 { font-size:32px; font-weight:900; color:#004994; }
#links_services h3 { font-size:16px; color:#004994; font-weight:bold; margin-top:0 }
#links_services ul { list-style-type:none; margin:0; padding:0; column-count:3 }
#links_services li { margin-bottom:1em; text-indent: -14px; margin-left: 14px; }
/*#links_services li a:before { content:'>  '; font-weight:700; color:#004994;   }*/
#links_services li a { padding-left:17px; background-image:url(img/icon_aufzaehlung.svg); background-size:13.5px 13.5px; background-repeat:no-repeat; background-position:0px center }

#links_services li a { text-decoration:none; color:#004994; font-weight:bold  }
#links_services li a:hover { text-decoration:underline }
.extern,
a[target="_blank"].button::after,
a[target="_blank"].button_standard_m::after,
a[target="_blank"].button_primary_m::after,
a[target="_blank"].button_secondary_m::after { content: ""; display: inline-block; width: 1em; height: 1em; margin-left: 0.6em;
	   background: url(icons/icon_extern.png) no-repeat center center;  background-size: contain; vertical-align: middle; margin-top: -5px;; }
.frame-bg-blue a[target="_blank"].button_standard_m::after { background-image: url(icons/icon_extern_ws.png) }
/* Externe Links im Menue (target=_blank) */
#hauptmenue a[target="_blank"]::after,
.subnav a[target="_blank"]::after { content: ""; display: inline-block; width: 0.75em; height: 0.75em; margin-left: 0.5em; margin-top: -0.2em; flex: none; align-self: center;
	   background: url(icons/icon_extern_bl.png) no-repeat center center; background-size: contain; vertical-align: middle; }
#hauptmenue .nav_teaser a[target="_blank"]::after { background-image: url(icons/icon_extern_ws.png) }

#footer { background-color:#004994; color:white; padding-top:70px; padding-bottom:40px; line-height:1.7 }
#footer h2 { font-size:1em; margin-top:0; margin-bottom:15px } /* war h4 */
.footer_2 { line-height:2.0 }
#footer a { color:white; text-decoration:none; }
.footer_spalten { display:grid; gap:24px 24px; grid-template-columns:33% 33% 33%; }
.footer_link { font-size:20px; font-weight:normal; line-height:33px; background-repeat:no-repeat; background-size:16px 16px; background-position:left center; padding-left:24px; display:inline-block }
.footer_link_linkedin { background-image:url(img/icon_linkedin.png); }
.footer_link_insta { background-image:url(img/icon_instagram.png); }
.footer_link_xing { background-image:url(img/icon_xing.png); }
.footer_link_facebook { background-image:url(img/icon_facebook.png); }

.footer_icon_notfallnummer { width:24px; height:24px; display:block; background-image:url(img/icon_notfallnummer.png); background-repeat:no-repeat; background-size:24px 24px; background-position:0px 0px; padding-left:40px; position:absolute; margin-left:-38px; margin-top:2px }

ul.footer_quicklinks { list-style-type:none; margin:0; padding:0; margin-top:44px }
.footer_quicklinks li { display:inline; font-size:14px; font-weight:700; margin-right:4px }
.footer_quicklinks li:first-child:before { content: "" }
.footer_quicklinks li:before { content: "· " }

.footer_quicklinks li a { padding:5px; padding-left:5px; display:inline-block  }
.footer_quicklinks li:first-child a { padding-left:0 }
.footer_unten { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; column-gap:24px; margin-top:44px }
.footer_unten ul.footer_quicklinks { margin-top:0 }
.footer_copyright { font-size:14px; margin-left:auto }

.visually-hidden, .frame-type-felogin_login legend { position: absolute; position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;	}


#credits { margin-top:49px; margin-bottom:0px } 
.image-copyright { display:none }
#credits h2 { margin-bottom:0; font-size:14px; line-height:1.2; margin-top:1.33em } /* war h4 */
#credits p { margin-top:0; font-size:14px; line-height:1.2 }

/* */


/* Mobil */

@media (max-width: 1399px) {
   #hauptmenue ul.lev1 > li { font-size: 17px; }
   #hauptmenue ul.lev1 > li > a { padding-left: 10px; padding-right: 10px; }
    
   #banner_startseite h1 { font-size: 32px; }
   #banner_startseite p { font-size: 20px; }

   .content_4_spalten_grid, .tile-infocard-4, .tile-schlagwortkachel-4 { gap: 20px 20px; }

    /* Fallback: Bilder im Inhalt nie breiter als ihr Container (z.B. frame-type-image mit width-Attribut 546px).  */
    :where(.content) :where(img) { max-width:100%; height:auto }
}

@media (max-width: 1200px) {
   #hauptmenue ul.lev1 > li { font-size: 16px; }
   #hauptmenue ul.lev1 > li > a { padding-left: 7px; padding-right: 7px; }

   #banner_startseite h1 { font-size: 28px; }
}

#mobil_menu_button { display:none }
@media (max-width: 992px) {
   #mobil_menu_button { display:block; position:absolute; right:14px; top:31px }
   #header { height:auto }
   .header_logo img {  margin-top: 11px; margin-bottom:7px; margin-left:-3px }
   #suchfeld { position:relative; top:auto; right:auto; width:auto; margin-top:5px; margin-bottom:15px } /* Suche mobil sichtbar (vorher ausgeblendet) */
   #suchfeld_mobil { display:block; position:relative; top:15px; margin-bottom:30px }
   #metanav { display:none }
   #hauptmenue { display:none }
   #hauptmenue ul {  }
   #hauptmenue ul.lev1 > li { display:block; font-size:18px; font-weight:normal }
   #hauptmenue ul.lev1 > li > a { padding-left: 15px; display:block; background-repeat:no-repeat; background-size:16px 16px; background-position:right 15px center;
   	    background-image:url(img/acc_icon_runter_ws.png); }
   #hauptmenue ul.lev1 > li:hover > a,
   #hauptmenue ul.lev1 > li > a.aktiv { background-image: url(img/acc_icon_runter_blau.png); }

   #hauptmenue .lev1 .nav_panel { position: static; min-height: auto }
   .nav_ul { width:auto }
   .nav_teaser { padding-top:15px; padding-bottom:1px }
   #hauptmenue .lev1 > li > .nav_panel > .nav_teaser { width: auto }
   #hauptmenue ul.lev2 { padding-bottom: 1px; }   	    
   #hauptmenue .lev2 .nav_panel { position: static; width:auto }   	
   #hauptmenue .lev1>li > .nav_panel.menu-open  { display:block }
   #hauptmenue .lev2>li > .nav_panel.menu-open { display:block;  }
   #hauptmenue .nav_teaser h2, #hauptmenue .nav_teaser h3 { display:none }

#breadcrumb { margin-top:10px; margin-bottom:10px; }
#breadcrumb li { padding:0; margin-right:0px }

   
   #banner_startseite { height:auto }
   #banner_startseite .container { overflow:auto; height:auto }
   #banner_startseite .banner_text { width:auto; position:static; margin-top:200px; padding: 15px; }
   #banner_startseite h1 { font-size: 28px; }
   #banner_startseite p { font-size: 18px; }

   #banner { height:auto; min-height:0 }
   #banner .container { height:auto; min-height:0 }
   #banner .banner_bild { width:auto; position:static; height:auto; margin-left:-15px; margin-right:-15px; }
   #banner .banner_bild img { max-height:250px;  }
   #banner .banner_bild p { margin-left:10px; margin-right:10px }
   #banner .banner_text { height: auto; min-height:0; width:auto; padding-top: 10px; hyphens:auto }
   #banner h1 { font-size: 24px; margin-top: 10px; }
   #banner p { font-size: 18px; }

   .content_3_spalten { display:block }
/* ALT:*/
   /* Fluid statt fester Spaltenzahl: zeigt so viele Kacheln pro Zeile wie bei min. 230px Breite passen (3, sonst 2, sonst 1) */
   .content_4_spalten_grid { gap: 15px 15px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
   .content_4_spalten_grid > a { display: flex; }
   .content_4_spalten_grid > a > .infocard { display: flex; flex-direction: column; flex: 1; min-height: 0; height: auto; }
   .content_4_spalten_grid .infocard img { height: 120px; width: auto; }
   .content_4_spalten_grid .infocard_unten { height:auto; min-height:0; flex: 1; }
/* */
   .tile-infocard-3, .tile-schlagwortkachel-3 { gap: 15px 15px; grid-template-columns: 3fr 3fr; }
   .tile-infocard-3 .tile_image img { height: auto; width: 100%; }
   .tile-infocard-3 .tile { height: auto; min-height: 0; }
   .tile-infocard-4, .tile-schlagwortkachel-4  { gap: 15px 15px; grid-template-columns: 3fr 3fr 3fr; width: auto; }
   .tile-infocard-4  .tile_image  img { height: auto; width: 100%; }
   .tile-infocard-4  .tile_text { height:auto }
   .tile-infocard-4  .tile { height: auto;  min-height: 0; }
   
   #links_services ul { column-count: 1; }
   .footer_spalten { display: block }
   
   .frame-layout-20,
   .frame-layout-21 { column-count: 1; margin-bottom: 0 }
   .content_3_spalten_grid { display: block; }
   .content_3_spalten_grid .infocard { margin-bottom:15px }
   .content .frame-type-menu_pages ul { display: block; }
   .content .frame-type-menu_pages li { margin-bottom:15px }
   .content figure.table { overflow:auto; margin-left:-15px; margin-right:-15px; }
   .content .frame figure.table { max-width:none; }   /* hebt max-width:100% auf, damit die Tabelle auch rechts bis zum Rand reicht */

   .ce-right .ce-gallery,
   .ce-left .ce-gallery { float:none }
   .content .ce-intext.ce-right .ce-gallery { margin-left: 0px; }
   .content .ce-intext.ce-left .ce-gallery { margin-right: 15px; }   /* von 0px geändert zu 15px wegen Formatierung bei Info-Card einspaltig  */
   .content .frame-type-textpic.frame-layout-0 .ce-gallery, 
   .content .frame-type-textpic.frame-layout-1 .ce-gallery, 
   .content .frame-type-textpic.frame-layout-3 .ce-gallery { width: 360px; max-width:100% } 
   
   .content .frame-type-textpic.frame-layout-0 .ce-textpic:not(.ce-above):not(.ce-below) .ce-gallery { width: 100%; max-width: 540px; }   
   
   .content_links .frame-type-text.frame-layout-80 { position:relative; margin-top:10px; margin-left:0; width:auto }
   .content_links, .content_rechts { padding-left:15px; padding-right:15px }
   .content_mitte .container { grid-template-columns: 1fr; }
   
   .content { overflow-wrap: break-word }
   .content .frame-bg-blue.frame-type-textpic.frame-layout-0 .ce-textpic { font-size: 16px; }
   .content .frame-bg-blue.frame-type-textpic.frame-layout-0 .ce-textpic h3 { font-size: 24px; }

   /* Subnav mobil: aufklappbar */
   .subnav { float: none; width: 100%; margin-left: 0; margin-bottom: 15px; }
   .subnav .subnav_titel { display: none; }
   .subnav ul { display: none; padding-bottom: 5px; }
   .subnav.subnav-open .subnav_titel { display: block; }
   .subnav.subnav-open ul { display: block; }
   .subnav_toggle { display: flex; justify-content: space-between; align-items: center;
       width: 100%; background: none; border: none;  
       padding: 5px 15px; ; color: #004994;
       cursor: pointer; text-align: left; }
   .subnav_icon { font-size: 1.5em; font-weight: 300; line-height: 1; transition: transform 0.2s; }
   .subnav.subnav-open .subnav_icon { transform: rotate(45deg); }
   
   .content h2 { font-size: 24px; }   
   .quicklinks ul li > a:not([class]) { font-size:18px; font-weight:normal; height:50px; line-height:50px; background-size:28px 28px;}
   .quicklinks  hr { display:none }
   #quicklink7_text p { margin-bottom:10px }
   #quicklink7_text { height:auto; padding-bottom:25px }
   
   .infocard { height: auto; min-height:0 }
   .infocard p { font-size: 16px; }
   .infocard_unten { height:auto; min-height:0; padding: 15px; padding-bottom:0 }
   .infocard img { height:auto; max-height:239px }
   
   .content_links .frame-type-text.frame-layout-80, .content_links .frame-type-text.frame-layout-81 { position:relative; margin:0; margin-bottom:10px; width:auto; }
   .frame-layout-81, .frame-layout-80 { max-width:600px }
   .content:not(.content_mitte) .frame-type-text > *, .content:not(.content_mitte) .frame-type-textpic > *, .content:not(.content_mitte) .frame-type-textmedia > *, .ce-bodytext > * {
       max-width: 100%;
   }
}

@media (max-width: 599px) {

/* Infocard einspaltig */
.frame-layout-52 .ce-textpic { display:block; }
.content .frame-layout-52 .ce-intext.ce-left .ce-gallery { margin-right:0 }
.frame-layout-52 .ce-nowrap .ce-bodytext { overflow:visible }
.frame-layout-52 .ce-textpic .ce-gallery { width:auto }
.frame-layout-52 .ce-textpic .ce-gallery img { max-width:100% }
.frame-layout-52 .ce-textpic .ce-bodytext { margin:15px }

.tile-infocard-4, .tile-schlagwortkachel-4 { gap: 15px 15px; grid-template-columns: 3fr 3fr; width:auto }
.frame-accordion-closed header, .frame-accordion-open header, .frame-accordion-dummy header { padding-left:10px }
.frame-accordion-closed .ce-textpic, .frame-accordion-open .ce-textpic, .frame-accordion-dummy .ce-textpic { padding-left: 10px; padding-right: 10px; }
}

@media (max-width: 499px) {
.tile-infocard-3, .tile-infocard-4,
.tile-schlagwortkachel-3, .tile-schlagwortkachel-4 { grid-template-columns: 1fr; }
.tile-infocard-4 .tile_image img { max-height: 120px }
}

.tx-powermail, .frame-type-felogin_login form { border:0.5px solid #555555; max-width:var(--col-8); }
.tx-powermail .container-fluid, .frame-type-felogin_login form { padding:20px }
/* Powermail Danke-Seite: Innenabstand + Zusammenfassung ohne Blau, nur Weiss/Hellgrau, schmalere Label-Spalte */
.tx-powermail .powermail_create { padding:15px }
.content .powermail_create table { width:100% }
.content .powermail_create table :is(th, td) { background-color:#ffffff; box-shadow:none; color:inherit; border:1px solid #DADADA; padding:10px; vertical-align:top }
.content .powermail_create table tr:nth-child(odd) :is(th, td) { background-color:#f0f0f0 }
.content .powermail_create table th { width:35%; font-weight:600 }
.tx-powermail input, .frame-type-felogin_login input { font-size: 18px; background-color: #f0f0f0; }
.tx-powermail input:autofill { font-size: 18px; }
/* felogin hat keine Bootstrap-Klassen (form-control, form-label, mb-3) -> nur das Nötige nachbilden */
.frame-type-felogin_login fieldset { border:0; padding:0; margin:0 }
.frame-type-felogin_login fieldset > div { margin-bottom:1rem }
.frame-type-felogin_login label { display:block; margin-bottom:4px }
.frame-type-felogin_login input:is([type=text],[type=password]) { display:block; width:100%; box-sizing:border-box; padding:6px 12px; border:1px solid #dee2e6 }
.frame-type-felogin_login fieldset > div:has(> [type=checkbox]) label { order:1 } /* Label steht im HTML vor der Checkbox */

/* Checkbox/Radio + Beschriftung: Box links, an der ersten Textzeile ausgerichtet, Schrift wie Fliesstext */
.frame-type-felogin_login fieldset > div:has(> [type=checkbox]),
.tx-powermail .form-check { display:flex; align-items:flex-start; gap:10px }
.frame-type-felogin_login fieldset > div:has(> [type=checkbox]) label,
.tx-powermail .form-check label { margin:0 }

/* Checkboxen + Radiobuttons im CI-Stil (Powermail, felogin, ...): 18px, Rahmen dunkelgrau, Hover/Fokus/aktiv UV-Blau */
.content input:is([type=checkbox],[type=radio]) { appearance:none; -webkit-appearance:none; flex:none; width:18px; height:18px; margin:3px 0 0; vertical-align:middle; cursor:pointer;
    border:1.5px solid #555; border-radius:0; box-shadow:none; background:#fff no-repeat center / 12px 12px; } /* margin-top = (Zeilenhöhe 24px - 18px) / 2 */
.content input:is([type=checkbox],[type=radio])::before { content:none } /* Powermail-Basic.css zeichnet sonst eigenen Haken/Punkt (blau auf blau) darüber */
.content input[type=radio] { border-radius:50% }
.content input:is([type=checkbox],[type=radio]):hover { border-color:#004994 }
.content input:is([type=checkbox],[type=radio]):focus-visible:not(:checked) { border-color:#004994; background-color:#e3e7ee }
.content input[type=checkbox]:checked { border-color:#004994; background-color:#004994;
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M4.5 10.5l3.5 3.5 7.5-8'/%3e%3c/svg%3e"); }
.content input[type=radio]:checked { border-color:#8c8c8c; background-color:#fff; background-image:radial-gradient(circle, #004994 3.5px, transparent 4px) }
.content input[type=radio]:checked:is(:hover,:focus-visible) { border-color:#004994 }
.content :is(.powermail_field_error, :user-invalid) input:is([type=checkbox],[type=radio]),
.content input:is([type=checkbox],[type=radio]):is(.powermail_field_error, :user-invalid) { border-color:var(--pm-red, #dc3545) } /* Pflichtfeld-Fehler wie Powermail */


/* ========== Barrierefreiheit (01.11.2026) ========== */

/* Sichtbarer Tastaturfokus (WCAG 2.4.7): blau auf hellem, weiß auf dunklem Grund */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline:3px solid #004994; outline-offset:2px }
#hauptmenue ul.lev1 > li > a:focus-visible, #hauptmenue .metanav_mobil a:focus-visible, #mobil_menu_button button:focus-visible,
#footer :focus-visible, .frame-bg-blue :focus-visible, .banner_text_innen :focus-visible { outline-color:#fff }
main:focus { outline:none } /* Ziel des Skip-Links, kein Bedienelement */
/* Inpage-Navi scrollt (overflow:auto) und würde einen äußeren Rahmen abschneiden */
.inpagenavi a:focus-visible { outline:2px solid #004994; outline-offset:-2px; background-color:#D8ECFA }
/* Lightbox (glightbox entfernt die Outline) */
.glightbox-container .gbtn:focus-visible, .glightbox-container button:focus-visible { outline:3px solid #fff; outline-offset:2px }

/* Skip-Link: erstes Element, bei Fokus sichtbar */
.skip-link { position:absolute; left:-9999px; top:0; z-index:1000; background-color:#004994; color:#fff!important; padding:12px 20px; font-weight:600; text-decoration:underline }
.skip-link:focus { left:15px; top:10px; outline:3px solid #fff; outline-offset:0; box-shadow:0 0 0 6px #004994 }

/* Hauptmenü: Button zum Aufklappen per Tastatur (nur bei Fokus sichtbar, Maus-Hover bleibt unverändert) */
.nav_toggle { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; background:none; white-space:nowrap }
@media (min-width: 993px) {
   #hauptmenue .nav_toggle:focus,
   #hauptmenue li.nav-open > .nav_toggle { position:static; display:inline-block; width:20px; height:28px; margin:0 -12px 0 -4px; overflow:visible; clip:auto;
        vertical-align:middle; background-color:#fff; color:#004994; cursor:pointer; line-height:28px; text-align:center; font-size:14px }
   #hauptmenue .nav_toggle::before { content:"▾" }
   #hauptmenue .nav_toggle[aria-expanded="true"]::before { content:"▴" }
}

/* Metanavigation im mobilen Menü (oben ausgeblendet) */
#hauptmenue ul.metanav_mobil { display:none }

/* Mobil-Menü-Button ist jetzt ein <button> */
#mobil_menu_button button { display:block; background:none; border:0; padding:0; margin:0; cursor:pointer; line-height:0 }

@media (max-width: 992px) {
   /* Pfeil rechts im Menüpunkt ist der Button zum Aufklappen (Klick auf den Text öffnet weiterhin ebenfalls) */
   #hauptmenue ul.lev1 > li { position:relative }
   #hauptmenue ul.lev1 > li > .nav_toggle { top:0; right:0; width:52px; height:52px; margin:0; clip:auto; cursor:pointer }
   #hauptmenue ul.lev1 > li.nav-open > a { background-image:url(img/acc_icon_hoch_blau.png) }
   #hauptmenue ul.metanav_mobil { display:block; list-style-type:none; margin:0; padding:0; border-top:1px solid rgba(255,255,255,0.4) }
   #hauptmenue ul.metanav_mobil a { display:block; color:#fff; text-decoration:none; padding:10px 15px; font-size:16px }
}

/* Bewegung reduzieren, wenn im System eingestellt (WCAG 2.3.3) */
@media (prefers-reduced-motion: reduce) {
   *, *::before, *::after { transition:none!important; animation:none!important; scroll-behavior:auto!important }
   .button:hover, .button_standard_m:hover, .button_primary_m:hover, .button_secondary_m:hover, .tx-powermail .btn-primary:hover, .frame-type-felogin_login [type=submit]:hover { transform:none }
}

/* Footer mobil: Kontaktblock linksbuendig, Rechtslinks und Copyright zentriert */
@media (max-width: 992px) {
   #footer { padding-top:40px; text-align:center; line-height:1.5 }
   .footer_spalten { display:flex; flex-direction:column; gap:28px; text-align:left }
   .footer_1 h2 { margin-top:0 }
   .footer_3 { order:2 }
   .footer_2 { order:3; display:flex; justify-content:center; gap:16px }
   .footer_2 br { display:none }
   /* nur Symbole; der Linktext bleibt fuer Screenreader erhalten */
   .footer_2 .footer_link { width:44px; height:44px; padding:0; overflow:hidden; font-size:0; line-height:0; background-size:28px 28px; background-position:center }
   .footer_notfall { display:flex; align-items:flex-start; gap:12px }
   .footer_icon_notfallnummer + div { min-width:0 }
   .footer_3 { text-wrap:balance }
   .footer_icon_notfallnummer { position:static; flex:none; margin:0; margin-top:4px; padding:0 }
   .footer_unten { display:block; margin-top:32px }
   .footer_unten ul.footer_quicklinks { display:flex; flex-wrap:wrap; justify-content:center; align-items:center }
   .footer_unten ul.footer_quicklinks::after { content:""; flex-basis:100%; order:1 }
   .footer_quicklinks li:nth-child(n+3) { order:2 }
   .footer_quicklinks li:nth-child(3):before { content:"" }
   .footer_quicklinks li:first-child a { padding-left:5px }
   .footer_copyright { margin-top:16px }
}
/* ab 400px passen die Rechtslinks in eine Zeile */
@media (min-width: 400px) and (max-width: 992px) {
   .footer_unten ul.footer_quicklinks::after { display:none }
   .footer_quicklinks li:nth-child(n+3) { order:0 }
   .footer_quicklinks li:nth-child(3):before { content:"· " }
}
