/* default.css */
/* --- undo --- */
html, body, div, span, a, h1, h2, h3, h4, h5, h6, p, blockquote, img,
ol, ul, li, form, input, textarea, label, select, table, tbody, thead, tfoot, tr, th,
td, footer, header, menu, nav, section, video { padding: 0; margin: 0; box-sizing: border-box; }

img, a img, :link img, :visited img, fieldset, button { border: none; outline: none; }
a:visited { text-decoration: none; }
img { vertical-align: bottom; }
table, tr, th, td { border: none; border-spacing: 0; }
th, td { vertical-align: top; }
hr { clear: both; }
address { font-style: normal; }

ul, ol { list-style-image: none; margin: 0 0 1.25rem 0; padding: 0 0 0 1.25rem; list-style-position: outside; }
ol { padding: 0 0 0 1.875rem; }
ul li, ol li { margin: 0 0 0.625rem 0; padding: 0; }
ul, ul li { list-style-type: disc; }
ol, ol li { list-style-type: decimal; }
li > ul, li > ol { margin: 0.625rem 0; }
li > ul > li { list-style-type: circle; }
li > ol > li { list-style-type: decimal; }

html, body {
    height: 100%; /* Vertikalen Scrollbalken immer einblenden */
    word-wrap:break-word; /* Woerter in die naechste Zeile umbrechen, wenn sie das umschliessende Element verlassen */
    min-width: 300px;
}
html { overflow: scroll; overflow-x: auto; }

/* fuer responsive Webseiten */
img, object, iframe { max-width: 100%; height: auto; }

/*  Clearfix, um das Floating innerhalb der Container aufzuheben */
.clearfix:after { content: ""; display: block; height: 0; clear: both; visibility: hidden; }

/* CSS-Formatierungen interne Module */
.flLeft, .float_left { float: left; }
.flRight, .float_right { float: right; }
.flClear, .float_clear { clear: both; }
.center { text-align: center; }
.small { font-size: small; }
.bold { font-weight: 700; }
.hide { display: none; }
.text_left { text-align: left; }
.text_center { text-align: center; }
.text_right { text-align: right; }

/* Flex-Ausrichtung innerhalb der Section - display:flex kommt direkt von der
   Breiten-Klasse (.section_full/.section_1200/... in main<datum>.css), nicht
   mehr von einer eigenen .section_flex-Klasse (bis 02.09.2026 - war ein
   Kaskade-Bug: die Breiten-Klasse lud NACH dieser Datei und ueberschrieb
   display:flex mit ihrem eigenen display:block). */
.justify_content_flex_start    { justify-content: flex-start; }
.justify_content_center        { justify-content: center; }
.justify_content_flex_end      { justify-content: flex-end; }
.justify_content_space_between { justify-content: space-between; }
.justify_content_space_around  { justify-content: space-around; }
.justify_content_space_evenly  { justify-content: space-evenly; }
.align_items_stretch    { align-items: stretch; }
.align_items_flex_start { align-items: flex-start; }
.align_items_center     { align-items: center; }
.align_items_flex_end   { align-items: flex-end; }
.align_items_baseline   { align-items: baseline; }

/* Erzwungener Zeilenumbruch in einer Flex-Section (z. B. 003_absaetze mit
   leerem Value als Umbruch zwischen zwei Box-Reihen): clear:both wirkt bei
   Flex-Items nicht mehr, flex-basis: 100% erzwingt stattdessen die volle
   Zeilenbreite und damit den Umbruch. Eigene Klasse statt .flClear, da die
   Bedeutung eine andere ist (Zeilenumbruch statt Float aufheben) - .flClear
   bleibt unveraendert fuer echte clear:both-Faelle (z. B. BwYFormHelper). */
.flex_break { flex-basis: 100%; width: 100%; }


/* main20261018.css */
/* Projekt-CSS (Basis). Kaskade: default.css -> diese Datei -> Modul-CSS des
   AddOns -> Projekt-Modul-CSS. Modul-Feinanpassungen und eigene Module stehen
   nicht hier, sondern in der Modul-CSS-Datei. */

/* pt-sans-regular - latin */
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    src: local(''),
    url('fonts/pt-sans-v12-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('fonts/pt-sans-v12-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    font-display: swap;
}

/* pt-sans-700 - latin */
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    src: local(''),
    url('fonts/pt-sans-v12-latin-700.woff2') format('woff2'),
    url('fonts/pt-sans-v12-latin-700.woff') format('woff');
    font-display: swap;
}



/* rubik-regular - latin */
@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    src: local(''),
    url('fonts/rubik-v14-latin-regular.woff2') format('woff2'),
    url('fonts/rubik-v14-latin-regular.woff') format('woff');
    font-display: swap;
}

/* rubik-700 - latin */
@font-face {
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 700;
    src: local(''),
    url('fonts/rubik-v14-latin-700.woff2') format('woff2'),
    url('fonts/rubik-v14-latin-700.woff') format('woff');
    font-display: swap;
}


/* --- undo --- */
html, body, div, span, a, h1, h2, h3, h4, h5, h6, p, blockquote, img,
ol, ul, li, input, textarea, label, select, table, tbody, thead, tfoot, tr, th,
td, footer, header, menu, nav, section, video { padding: 0; margin: 0; box-sizing: border-box; }

html, body, p, form, input, textarea { margin: 0; padding: 0; }
img, a img, :link img, :visited img, fieldset, button { border: none; outline: none; }
a:visited { text-decoration: none; }
img { margin: 0; padding: 0; vertical-align: bottom; }
table { margin: 0; padding: 0; border: none; border-spacing: 0; }
tr { margin: 0; padding: 0; border: none; border-spacing: 0; }
td { margin: 0; padding: 0; border: none; border-spacing: 0; vertical-align: top; }
hr { clear: both; }

ul { list-style-type: disc; list-style-image: none; margin: 0 0 1.0em 0; }
ul li { list-style-type: disc; margin: 0 0 0.5em 1em; padding: 0; }
ol { list-style-type: decimal; list-style-image: none; margin: 0 0 1.0em 0; }
ol li { list-style-type: decimal; margin: 0 0 0.5em 1em; padding: 0; }


html, body {
    min-height: 100%; /* Vertikalen Scrollbalken immer einblenden */
    word-wrap:break-word; /* Woerter in die naechste Zeile umbrechen, wenn sie das umschliessende Element verlassen */
    min-width: 300px;
}
html { overflow: scroll; overflow-x: auto; }


/* fuer responsive Webseiten */
img, object, iframe { max-width: 100%; height: auto; }

/*  Clearfix, um das Floating innerhalb der Container aufzuheben */
.clearfix:after,
.outer_box_inner:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; font-size: 0; line-height: 0; }

/* Css-Formatierungen interne Module */
.flLeft { float: left; }
.flRight { float: right; }
.flClear { clear: both; }
.center { text-align: center; }
.small { font-size: small; }
.bold { font-weight: bold; }
.hide { display: none; }
.textLeft { text-align: left; }
.textCenter { text-align: center; }
.textRight { text-align: right; }


/* --- CSS-Einstellungen fuer das Addon Modulhelper (bzw. bw_modulhelper) --- */

/* Section */
.section_bg_none,
.section_bg_blue,
.section_bg_red,
.section_bg_black
{ clear: both; display: block; position: relative; top: 0; left: 0; width: 100%; height: auto; margin: 0; padding: 40px 0 10px 0; z-index: 1; }

.section_bg_none { background-color: transparent; }
.section_bg_blue { background-color: #283649; }
.section_bg_red { background-color: #c51112; }
.section_bg_black { background-color: #00090b; }


.section_full,
.section_1600,
.section_1200,
.section_980 { clear: both; display: block; position: relative; top: 0; left: 0; width: 100%; height: auto; margin: 0 auto; padding: 0; z-index: 1; }

.section_full { width: 100%; margin: 0 ; }
.section_1600 { width: 1600px; margin: 0 auto; }
.section_1200 { width: 1200px; margin: 0 auto; }
.section_980 { width: 980px; margin: 0 auto; }


@media all and (max-width:1600px) { .section_1600 { width: 100%; margin: 0; } }
@media all and (max-width:1200px) { .section_1200 { width: 100%; margin: 0; } }
@media all and (max-width:980px) { .section_980 { width: 100%; margin: 0; } }


.section_bg_image,
.section_bg_paroller { display: block; position: static; width: 100%; margin: 0; padding: 100px 0 80px 0; z-index: 1;
    background-color: #fff; background-position: center center; background-attachment: scroll; background-repeat: no-repeat; background-size: cover; }
.section_bg_image { width: 91.67%; max-width: 1467px; min-height: 300px; margin: 0 auto; }


/* ------------ Outer Box ------------ */
/* Ausgangswerte: (Seitenbreite: 1200px | Abstand: 50px) */
.outer_box { clear: both; display: block; float: left; width: 91.67%; margin: 0 0 20px 4.17%; padding: 0; }

.box_width_full { width: 100%; margin: 0 0 20px 0; }
.box_width_1_2 { clear: none; width: 43.75%; }
.box_width_1_3 { clear: none; width: 27.78%; }
.box_width_2_3 { clear: none; width: 59.73%; }
.box_width_1_4 { clear: none; width: 19.79%; }
.box_width_3_4 { clear: none; width: 67.71%; }



.outer_box .image { margin: 0 0 25px 0; }
.outer_box .image a { text-decoration: none !important; }
.outer_box .image a:hover, .outer_box .image a:focus { opacity: 0.8; }

.text_bild .flLeft { float: left; display: block; width: auto; max-width: 42.86%; margin: 0 15px 0 0; overflow: hidden; }
.text_bild .flRight { float: right; display: block; width: auto; max-width: 42.86%; margin: 0 0 0 15px; overflow: hidden; }
.text_bild .image span.small { display: block; }

.zweispalter .flLeft { float: left; display: block; width: 47.37%; margin: 0; overflow: hidden; }
.zweispalter .flRight { float: right; display: block; width: 47.37%; margin: 0; overflow: hidden; }


.box_bg_white { background-color: #fff; }
.box_bg_blue { background-color: #283649; }
.box_bg_red { background-color: #c51112; }
.box_bg_black { background-color: #00090b; }



.outer_box_inner { padding: 20px 20px 1px 20px; }




/* --- Schriften + Generelle CSS-Anpassungen fuer diese Webseite --- */
html, body {
    font-family: 'PT Sans', Arial, sans-serif; font-weight: 400;
    font-size: 20px; line-height: 1.5;
    color: #00090b;
}

html { background-color: #fff; }

a { text-decoration: none; color: #c51112; }
a:hover, a:focus { text-decoration: none; color: #00090b; }
a:active, a:focus { outline: 0; }

/* Waehlt nur Links aus, die ein Bild enthalten, damit der focus um das Bild liegt und nicht nur der line-height */
a:has(img) { display: inline-block; }

a:hover img, a:focus img { opacity: 0.8; }

a:focus-visible { outline: 2px solid blue; outline-offset: 3px; }

a.link_as_button_white,
a.link_as_button_blue,
a.link_as_button_red,
a.link_as_button_black { display: inline-block; padding: 5px 50px 5px 20px; text-decoration: none; background-position: right center; background-repeat: no-repeat; background-image: url(link_as_button.png); }

a.link_as_button_white { background-color: #fff; color: #00090b; background-image: url(link_as_button_black.png); }
a.link_as_button_blue { background-color: #283649; color: #fff; }
a.link_as_button_red { background-color: #c51112; color: #fff; }
a.link_as_button_black { background-color: #00090b; color: #fff; }

a.link_as_button_white:hover,
a.link_as_button_blue:hover,
a.link_as_button_red:hover,
a.link_as_button_black:hover,
a.link_as_button_white:focus,
a.link_as_button_blue:focus,
a.link_as_button_red:focus,
a.link_as_button_black:focus { color: #fff; text-decoration: none; background-image: url(link_as_button.png); }

a.link_as_button_white:hover, a.link_as_button_white:focus { background-color: #00090b; }
a.link_as_button_blue:hover, a.link_as_button_blue:focus { background-color: #c51112; }
a.link_as_button_red:hover, a.link_as_button_red:focus { background-color: #00090b; }
a.link_as_button_black:hover, a.link_as_button_black:focus { background-color: #c51112; }


ul { margin: 0; padding: 0 0 10px 0; }
ul li { list-style-type: disc; list-style-position: outside; margin: 0 0 0 15px; padding: 0 0 10px 0; }

h1, h2, h3, h4, h5, h6,
.like_h1, .like_h2, .like_h3, .like_h4, .like_h5, .like_h6 { font-family: Rubik, 'PT Sans', Arial, sans-serif; font-weight: 400; font-style: normal; font-size: 1rem; line-height: 1.5; margin: 0 0 10px 0; color: #00090b; }
h1, .like_h1 { font-size: 2rem; line-height: 1.25; }
h2, .like_h2 { font-size: 1.8rem; line-height: 1.25; }
h3, .like_h3 { font-size: 1.6rem; line-height: 1.25; }
h4, .like_h4 { font-size: 1.2rem; }
h5, .like_h5 { font-size: 1rem; }
h6, .like_h6 { font-size: 0.8rem; }

em { font-style: italic; }
strong { font-weight: 700; }



p { margin: 0 0 20px 0; padding: 0;}

table { margin: 0 0 20px 0; padding: 0;}
td { padding: 0 8px 6px 0; vertical-align: top; }

hr { clear: both; height: 1px; width: 100%; margin: 0 0 20px 0; border: none; background-color: #3d454c; }

.small  { display: block; font-size: 0.65rem; line-height: 1.25; color: #333; font-style: italic; padding-top: 5px; } /* Bildunterschriften */



/* --- Menue-Button --- */
/* main_nav.js setzt .active am Button selbst, sobald das Overlay offen ist -
   derselbe Button zeigt dadurch beide Grafiken, ein eigener Schliessen-Button
   wird nicht mehr gebraucht. Der Button liegt im Template direkt im body, nicht
   in #header_top: dessen z-index wuerde einen Stapelkontext aufspannen, in dem
   der Button unter dem Menue-Overlay (z-index 1000) landet. Weil er damit am
   Viewport statt an der 1600px-Box haengt, rueckt left ihn auf deren linke
   Kante ein; ab 1600px abwaerts setzt die Media Query left auf 0. */
#main_nav_button { display: block; position: absolute; top: 46px; left: calc(50% - 800px); width: 186px; height: 54px; margin: 0; padding: 0; z-index: 1001; color: #333; border: none; background-color: #fff; background-image: url(menue.png); background-position: center left; background-repeat: no-repeat; }

#main_nav_button.active { background-color: transparent; background-image: url(menue-close.png); }

#main_nav_button:hover, #main_nav_button:focus { opacity: 0.5; }
#main_nav_button:focus-visible { outline: 2px solid blue; outline-offset: 3px; }



#main_nav_bg { display: none; position: fixed; top: 0; left: 0; width: 100%; height: auto; margin: 0; padding: 0; z-index: 1000; background-color: #00090b; background-image: url(kurvenlinie.png); background-position: center; background-repeat: no-repeat; background-size: contain; }

#main_nav_bg.active { display: block; height: 100%; overflow-y: auto; }

#main_nav { position: relative; top: 0; left: 0; width: 1600px; height: auto; min-height: 800px; margin: 0 auto; padding: 150px 0 0 0; z-index: 99; text-align: left; }

/* erste Ebene */
#main_nav ul { list-style: none; display: block; position: relative; top: 0; left: 0; margin: 0; padding: 0 0 0 50px; }
#main_nav li { list-style-type: none; display: block; position: relative; top: 0; left: 0; margin: 0 0 20px 0; padding: 0; }
#main_nav li a { display: block; width: auto; height: auto; margin: 0; padding: 5px 10px;
    font-size: 1.5rem; line-height: 1.33; color: #fff; text-decoration: none; transition: all 200ms ease-in-out; }
#main_nav li a::after { content: ""; display: block; width: 60px; height: 1px; margin: 0 0 10px -15px; padding: 0; background-color: #c51112;  }
#main_nav li a:hover, #main_nav li a:focus { text-decoration: none; color: #c51112;  }
#main_nav li a.rex-current,
#main_nav li a.rex-active { text-decoration: none; color: #c51112; }

/* Das Overlay zeigt bewusst nur die erste Ebene. Bekommt eine Kategorie
   Unterpunkte, ist ihr Link hier nicht mehr klickbar (main_nav.js klappt dann
   das Untermenue auf) - in dem Fall diese Regel aufheben und Ebene 2 gestalten. */
#main_nav ul.rex-navi2,
#main_nav ul.rex-navi3 { display: none; }




#main_nav_sidebar,
#main_nav_sidebar_image,
#main_nav_sidebar_phone,
#main_nav_sidebar_oeffnungszeiten { display: block; position: absolute; top: 0; left: auto; right: 0; width: 100%; height: auto; margin: 0; padding: 0; z-index: 1; color: #fff; }

#main_nav_sidebar a { color: #fff; text-decoration: none; background-color: #00090b; transition: all 200ms ease-in-out; }
#main_nav_sidebar a:hover, #main_nav_sidebar a:focus { color: #fff; text-decoration: none; background-color: #c51112; }

#main_nav_sidebar { width: 634px; }

#main_nav_sidebar_image,
#main_nav_sidebar_phone,
#main_nav_sidebar_oeffnungszeiten { border: 1px solid #fff; }

#main_nav_sidebar_image { top: 60px; }
#main_nav_sidebar_phone { top: 500px; padding: 0; }
#main_nav_sidebar_oeffnungszeiten { top: 630px; }

#main_nav_sidebar_oeffnungszeiten,
#main_nav_sidebar_phone a { display: block; padding: 15px 20px 15px 80px; background-image: url("icon-oeffnungszeit-menue.png"); background-position: 420px center; background-repeat: no-repeat; }

#main_nav_sidebar_phone a { background-image: url("icon-anrufen-menue.png"); }




/* --- Ausrichtung der Seite und der <div>-Container (Reihenfolge von oben nach unten) --- */

#header_top_bg, #header_top, #header_bg, #header, #header_bottom, #content, #footer_bg, #footer
{ display: block; position: relative; top: 0; left: 0; width: 100%; height: auto; margin: 0; padding: 0; z-index: 1; }


#header_top,
#header,
#header_bottom,
#footer { max-width: 1600px; margin: 0 auto; }

#header_top_bg { position: relative; background-color: #fff; z-index: 999; }

#header_logo { display: block; width: 281px; margin: 0 auto; padding: 10px 0; z-index: 100; }
#header_logo a:hover, #header_logo a:focus { opacity: 0.8; }

#header_phone { display: block; position: absolute; top: 43px; left:  auto; right: 30px; width: 75px; height: 60px; margin: 0; padding: 0; z-index: 100; }

#header_bg { padding: 0; }



#header_title { display: block; padding: 10px 0; font-family: Rubik, 'PT Sans', Arial, sans-serif; color: #00090b; text-align: center;
    font-size: 2.5rem; line-height: 1.2; }




.oeffnungszeiten_tag { display: inline-block; width: 80px; white-space: nowrap; }
.oeffnungszeiten_uhrzeit { display: inline-block; white-space: nowrap; }


#header_bottom {
    clear: both;
    display: flex; padding: 10px 0; background-color: #00090b; border-bottom: 5px solid #c51112; color: #fff;
    flex-flow: row wrap;
    justify-content: flex-start;
}


.header_bottom_box { display: block; width: 27.78%; margin: 0 0 0 4.17%; padding: 15px 0; font-size: 1.6rem; line-height: 1.25; }

#header_bottom_box_3 { padding: 5px 0; }

#header_bottom_box_2 { border-right: 1px solid #fff; }
.header_bottom_box .oeffnungszeiten_title { text-transform: uppercase; }
.header_bottom_box .oeffnungszeiten_tag,
.header_bottom_box .oeffnungszeiten_uhrzeit { display: inline-block; white-space: nowrap; font-size: 1.2rem; line-height: 1.25; }
.header_bottom_box .oeffnungszeiten_tag { width: 80px; }


/* ------------------- */


#content { padding: 0; min-height: 400px; z-index: 10; }


/* -----------footer--------------------------- */
#footer_bg { clear: both; padding: 30px 0 10px 0; background-color: #00090b; }
#footer { padding: 0; margin: 0 auto; color: #FFF; font-size: 1.1rem; line-height: 1.5; }
#footer a { color: #fff; text-decoration: none; }
#footer a:hover, #footer a:focus { color: #c51112; text-decoration: none; }


.footer_box { display: block; float: left; width: 27.78%; margin: 0 0 20px 4.17%; padding: 0; }

.footer_headline { display: block; font-size: 1.2rem; line-height: 1.5; font-weight: 700; text-transform: uppercase; }
.footer_headline::after { content: ""; display: block; width: 75px; height: 1px; margin: 0 0 10px -15px; padding: 0; background-color: #c51112;  }

#footer_box_2 span { display: inline-block; width: 60px; }

#footer_bottom { padding: 10px 0; text-align: center; font-size: 1.1rem; line-height: 1.5; }
#footer_bottom a { display: inline-block; margin: 0 10px; color: #fff; text-decoration: none; }
#footer_bottom a:hover, #footer_bottom a:focus { color: #c51112; text-decoration: none; }

#footer_bottom #accessibility_toggle_box { display: inline-block; text-align: left; margin: 0 10px;  }




#start_overlay { display: flex; align-items: center; justify-content: center; position: fixed; top: 0; left: 0; width: 100%; min-width: 300px; height: 100vh; margin: 0; padding: 30px; z-index: 100000; background-color: rgba(0,0,0,0.75); }

#start_overlay_content { max-width: 768px; width: 100%; position: relative; padding: 60px 30px; background-color: #293649; color: #fff; border-top: 5px solid #c41013; border-bottom: 5px solid #c41013; text-align: center; background-image: url(pfeil_rot-schwarz.png); background-position: bottom right; background-repeat: no-repeat; font-size: 1.4rem; line-height: 1.5; }

#start_overlay_content a { color: #fff; text-decoration: none; border-bottom: 2px solid #c41013; }
#start_overlay_content a:hover, #start_overlay_content a:focus { color: #c41013; text-decoration: none; border-bottom: 2px solid transparent; }

#start_overlay_headline { font-size: 1.75rem; line-height: 1.25; margin: 0 0 40px 0; }
#start_overlay_headline span { display: inline-block; position: relative; }
#start_overlay_headline span::after { content: ''; display: block; width: 200px; height: 2px; margin: 5px 0 0 -20px; background-color: #c41013; }

#start_overlay_link { margin: 40px 0 0 0; }

#close_overlay { position: absolute; top: 5px; right: 10px; width: 30px; height: 30px; margin: 0; padding: 0; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; line-height: 1; transition: color 0.3s ease; }
#close_overlay:hover, #close_overlay:focus { color: #c41013; }

@media (max-width: 768px) {
    #start_overlay { align-items: flex-start; padding: 125px 20px 20px 20px; }
    #start_overlay_content { padding: 40px 20px 120px 20px; font-size: 1.1rem; background-image: url(pfeil_rot-schwarz-mobil.png); background-position: bottom center; }
    #start_overlay_headline { font-size: 1.3rem; margin: 0 0 25px 0; }
    #start_overlay_headline span::after { width: 120px; margin: 5px 0 0 0; }
    #start_overlay_link { margin: 25px 0 0 0; }
}
@media (max-width: 480px) {
    #start_overlay { overflow-y: auto; padding: 110px 20px 20px 20px; }
    #start_overlay_content { font-size: 1rem; max-height: none; }
    #start_overlay_headline { font-size: 1.25rem; }
    #start_overlay_content br.not_mobile { display: none; }
}
@media (max-height: 480px) and (orientation: landscape) {
    #start_overlay { padding: 20px; }
}

/* --------- Responsive ---------- */


@media all and (max-width:1600px) {

    html, body { font-size: 1.25vw; }

    h1, .like_h1 { font-size: 2.5vw; }
    h2, .like_h2 { font-size: 2.25vw; }
    h3, .like_h3 { font-size: 2vw; }

    #header_title { font-size: 3.13vw; }

    .header_bottom_box { font-size: 2vw; }
    .header_bottom_box .oeffnungszeiten_tag,
    .header_bottom_box .oeffnungszeiten_uhrzeit { font-size: 1.5vw; }
    .header_bottom_box .oeffnungszeiten_tag { width: 5vw; }

    #footer,
    #footer_bottom { font-size: 1.38vw; }
    .footer_headline { font-size: 1.5vw; }


    #main_nav,
    #header_top,
    #header,
    #header_bottom,
    #footer { width: 100%; min-width: 300px; overflow: hidden; }

    #main_nav_button { left: 0; }



}

@media all and (max-width:1200px) {
    html, body { font-size: 16px; }

    /* Die rem-Basis faellt hier von 20px auf 16px. Bildunterschriften wuerden
       damit unter 11px rutschen, deshalb zurueck auf ihre Ausgangsgroesse. */
    .small { font-size: 0.8125rem; }
}

@media all and (max-width:980px) {

    h1, .like_h1 { font-size: 1.875rem; }
    h2, .like_h2 { font-size: 1.625rem; }
    h3, .like_h3 { font-size: 1.3125rem; }

    #header_title { font-size: 1.3125rem; }

    .header_bottom_box { font-size: 0.9375rem; }

    #footer,
    #footer_bottom { font-size: 1rem; }
    .footer_headline { font-size: 1.3125rem; }


    #main_nav { min-height: 700px; }

    #main_nav_sidebar { width: 480px; }

    #main_nav_sidebar_image { top: 60px; }
    #main_nav_sidebar_phone { top: 390px; }
    #main_nav_sidebar_oeffnungszeiten { top: 500px; }

    #main_nav_sidebar_oeffnungszeiten,
    #main_nav_sidebar_phone a { display: block; padding: 15px 10px 15px 40px; background-position: 360px center; }

    #header_bottom { padding: 5px 0; }

}

@media all and (max-width:768px) {

    #main_nav_button { top: 45px; left: -20px; width: 85px; height: 30px; background-size: cover; }
    #header_logo { display: block; width: 240px; margin: 0 auto; padding: 10px; text-align: center; }

    #header_phone { display: none; }


    #main_nav { padding: 100px 0 0 0; }
    #main_nav ul { margin: 0 0 30px 0; padding: 0 0 0 20px; }
    #main_nav li a { font-size: 1.25rem; line-height: 1.5;  }


    #main_nav_sidebar,
    #main_nav_sidebar_image,
    #main_nav_sidebar_phone,
    #main_nav_sidebar_oeffnungszeiten { position: relative; top: 0; left: 0; right: auto;  }

    #main_nav_sidebar { width: 100%; }

    #main_nav_sidebar_image { display: none;}

    #main_nav_sidebar_oeffnungszeiten,
    #main_nav_sidebar_phone { width: auto; margin: 0 10px 30px 10px; }

    #main_nav_sidebar_oeffnungszeiten,
    #main_nav_sidebar_phone a { display: block; padding: 15px 10px 15px 60px; background-position: 10px center; }
    #main_nav_sidebar_phone a { background-size: 38px 26px; }
    #main_nav_sidebar_oeffnungszeiten { background-size: 30px 30px; }

    #main_nav_sidebar_oeffnungszeiten .oeffnungszeiten_tag { width: 65px; }



    .header_bottom_box { width: 50%; margin: 0; padding: 7px 20px 7px 5px; }
    #header_bottom_box_1 { border-right: 1px solid #fff; text-align: right; }
    #header_bottom_box_2 { border-right: none; padding: 7px 5px 7px 20px; }
    #header_bottom_box_3 { display: none; }



    .footer_box { float: none; width: 91.66%; padding: 20px 0 0 0; border-top: 1px solid #fff; }
    #footer_box_1 { padding: 0; border-top: none; }

    #footer_bottom { width: 100%; padding: 10px 4.17%; text-align: left; }
    #footer_bottom a { margin: 0 10px 0 0; }

}



@media all and (max-width:480px) {

    h1, .like_h1 { font-size: 1.75rem; }
    h2, .like_h2 { font-size: 1.5rem; }

    .text_bild .flLeft,
    .text_bild .flRight { float: none; width: auto; max-width: none; margin: 0 0 15px 0; }

    .zweispalter { background-image: none; }
    .zweispalter .flLeft { float: none; width: auto; margin: 0 0 15px 0; }
    .zweispalter .flRight { float: none; width: auto; margin: 0; }

    .outer_box { clear: both; float: none; width: auto; margin: 0 4.17% 20px 4.17%; }
    .box_width_full { width: 100%; margin: 0 0 20px 0; }

    .footer_box { width: auto; margin: 0 4.17% 20px 4.17%; }

}

@media all and (max-width:420px) {

    #header_logo { display: block; width: 100%; margin: 0; padding: 10px 40px 10px 100px; text-align: right; }
    #header_logo a { display: inline-block; width: auto; max-width: 200px; }

}


@media all and (max-width:360px) {

    #header_logo { padding: 10px 10px 10px 100px; }

}


/* skiplinks.css */
/* Skip-Link - ausserhalb des sichtbaren Bereichs */
.skiplinks { position: absolute; top: -300px; left: 0; width: 100%; min-width: 300px; display: flex; justify-content: center; z-index: 2000; transition: top 0.3s ease-in-out; }
.skiplinks a { margin: 0 0.5rem; padding: 0.5rem 1rem; text-decoration: none; color: #fff; background-color: #333; border-radius: 0 0 4px 4px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); }
.skiplinks a:hover, .skiplinks a:focus { background-color: blue; }
/* Wenn ein Skip-Link den Fokus bekommt, wird die Skip-Link-Leiste sichtbar */
.skiplinks:focus-within { top: 0; }

/* accessibility_toggle_box.css */
#accessibility_toggle_box { display: block; margin: 10px 0; text-align: right; }

.accessibility-toggle {
    display: inline-block;
    padding: 8px 12px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
}
.accessibility-toggle:hover { background: #e0e0e0; }

/* Icon fuer den Kontrast-Button */
.icon-contrast {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zM8 1v14A7 7 0 0 1 8 1z'/%3E%3C/svg%3E");
    background-size: contain;
    margin: 0;
    vertical-align: middle;
}
/* Schwarz/Weiss-Modus Styles */
.black-white-mode {
    filter: grayscale(100%) contrast(120%);
}
.black-white-mode * {
    color: #000 !important;
    background-color: #fff !important;
    border-color: #000 !important;
}
.black-white-mode svg.svg_icon { fill: #000 !important; }
/* Ausnahmen fuer wichtige UI-Elemente */
.black-white-mode a:focus,
.black-white-mode button:focus,
.black-white-mode input:focus {
    outline: 3px solid #000 !important;
}
.black-white-mode img,
.black-white-mode svg,
.black-white-mode video {
    filter: grayscale(100%) contrast(120%) !important;
}
.black-white-mode #content > div {
    border-bottom: 1px solid #ccc;
}
.black-white-mode #content > div:first-child {
    border-top: 1px solid #ccc;
}
/* Status des Buttons anzeigen */
.black-white-mode #black-white-toggle {
    background-color: #333 !important;
    color: white !important;
}

@media all and (max-width:768px) {
    #accessibility_toggle_box {
        margin: 20px 0 10px 0;
        text-align: center;
    }
}
@media all and (max-width:480px) {
    #accessibility_toggle_box {
        text-align: left;
    }
}


/* cookie_hinweis.css */
#cookie_hinweis { clear: both; display: block; width: 100%; height: auto; margin: 0; padding: 15px 10px; background-color: #333; font-size: 0.8rem; color: #fff; text-align: center; }
#cookie_hinweis a { color: #fff; text-decoration: underline; }
#cookie_hinweis a:hover,
#cookie_hinweis a:focus { color: #fff; text-decoration: none; }

/* 005_download.css */
.m005_download .download_item { display: block; position: relative; width: auto; margin: 0 0 1.0rem 0; padding: 0; border: 1px solid #e0e0e0; border-radius: 4px; transition: all 0.25s ease-in-out; }
.m005_download .download_link { text-decoration: none; display: block; padding: 12px; color: inherit; outline: none; background-color: #f9f9f9; border-radius: 3px; transition: all 0.25s ease-in-out; }
.m005_download .download_link:hover { text-decoration: none; }
.m005_download .download_item:hover { background-color: #e5effa; border-color: #3d87cf; box-shadow: 0 2px 6px rgba(61, 135, 207, 0.15); }
.m005_download .download_item:hover .download_title { color: #1a6cbf; }
.m005_download .download_item:hover .download_info { text-decoration: underline; }
.m005_download .download_item:active { background-color: #d8e7f7; box-shadow: inset 0 1px 3px rgba(0,0,0,0.05); transition-duration: 0.1s; }
.m005_download .download_link:focus, .m005_download .download_link:focus-visible { outline: none; }
.m005_download .download_item:focus-within .download_title { color: #1a6cbf; }
.m005_download .download_item:focus-within .download_info { text-decoration: underline; }
.m005_download .download_item:focus-within { border-color: #1a6cbf; box-shadow: 0 0 0 3px rgba(61, 135, 207, 0.5); background-color: #e5effa; }
.m005_download .download_item:focus-within::after { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; border-radius: 6px; box-shadow: 0 0 0 1px #1a6cbf; pointer-events: none; }
.m005_download .download_content { display: flex; align-items: center; }
.m005_download .download_icon { flex: 0 0 auto; margin-right: 15px; display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease; }
.m005_download .download_item:hover .download_icon { transform: scale(1.1); }
.m005_download .download_item:focus-within .download_icon { transform: scale(1.1); }
.m005_download .download_text { flex: 1; display: flex; flex-direction: column; }
.m005_download .download_title { font-size: 1rem; font-weight: bold; margin-bottom: 0.3rem; color: #333; transition: color 0.2s ease-in-out; }
.m005_download .download_info { font-size: 0.85rem; display: block; margin-bottom: 0.2rem; color: #555; }
.m005_download .download_description { color: #777; margin: 0; font-size: 0.7rem; display: block; }

@media (prefers-reduced-motion: reduce) {
.m005_download .download_item,
.m005_download .download_link,
.m005_download .download_title,
.m005_download .download_icon { transition: none; }
.m005_download .download_item:hover .download_icon,
.m005_download .download_item:focus-within .download_icon { transform: none; }
}

/* 021_bildergalerie_masonry.css */
.m021_bildergalerie_masonry .bildergalerie_masonry { column-count: 3; column-gap: 20px; }

.m021_bildergalerie_masonry .bildergalerie_masonry a { display: inline-block; width: 100%; margin: 0 0 20px 0; padding: 0; box-shadow: 0 0 2px 0 #333; }

@media screen and (max-width:768px){
.m021_bildergalerie_masonry .bildergalerie_masonry { column-count: 2; }
}
@media screen and (max-width:480px){
.m021_bildergalerie_masonry .bildergalerie_masonry { column-count: 1; column-gap: 0; }
}


/* extras_011_formular_yform_flex.css */
/* ==========================================================================
   ACHTUNG: CSS von extras_010_formular_yform und extras_011_formular_yform_flex IMMER exakt GLEICH halten !!!
   (Wichtig: Im Template daher nur eine der beiden CSS einbinden.)
   ========================================================================== */

.yform form { display: flex; flex-wrap: wrap; column-gap: 4%; margin: 0 0 20px 0; padding: 0; }
.yform form > * { flex-basis: 100%; }

/* .form-group ist ein Flex-Item, kollabiert sein margin-bottom deshalb nicht
   mit dem der Kinder - eigenes margin-bottom hier wuerde sich zum
   margin-bottom von .form-control (unten) addieren (40px statt 20px). */
.yform .form-group { margin-bottom: 0; }

/* Label-Styling für bessere Barrierefreiheit */
.yform label { display: block; margin-bottom: 6px; font-weight: 500; color: #333; }

/* Hervorhebung von Pflichtfeldern im Label */
.yform label .required { color: #a94442; margin-left: 3px; }

.yform .form-control { box-sizing: border-box; display: block; width: 100%; height: auto; margin: 0 0 20px 0; padding: 8px 10px; font-family: inherit; font-size: 0.8rem; color: #001f40; background-color: #fff; border: solid 1px #dfe6e7; border-radius: 5px; box-shadow: none; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.yform select.form-control { height: 36px; }
.yform .form-control:hover { border-color: #a8aeb5; }
.yform .form-control:focus, .yform .form-control:focus-visible { border-color: #37434f; outline: none; box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); }

.yform textarea.form-control { height: 284px; }

.yform .form-check-group { clear: both; margin: 0 0 20px 0; }
.yform .form-check-group .control-label { clear: both; display: block; margin: 0 0 10px 0; }

/* Generelle Formatierung für Checkboxen und Radiobuttons */
.yform .checkbox,
.yform .radio { clear: both; position: relative; margin-bottom: 10px; }

.yform .checkbox label,
.yform .radio label { position: relative; cursor: pointer; margin-left: 0; padding: 0 0 0 30px; }

.yform .checkbox label input,
.yform .radio label input { position: absolute; top: 0; left: 0; width: 20px; height: 20px; margin: 0; padding: 0; }

.yform .checkbox input:focus,
.yform .checkbox input:focus-visible,
.yform .radio input:focus,
.yform .radio input:focus-visible { outline: 2px solid #0078d7; outline-offset: 2px; }

.yform .radio i.form-helper,
.yform .checkbox i.form-helper { display: none; }


/* Hilfetext-Stil */
.yform .help-text { display: block; font-size: 0.85rem; color: #666; margin-top: -15px; margin-bottom: 15px; }

/* Verbesserter Button für Barrierefreiheit */
.yform .btn-primary { clear: both; display: block; flex-basis: auto; width: fit-content; min-width: 40px; height: auto; margin: 0 0 10px 0; padding: 10px; border: none; border-radius: 5px; text-align: center; font-weight: bold; background-color: #58698d; color: #FFF; cursor: pointer; transition: background-color 0.2s, transform 0.1s; }
.yform .btn-primary:hover { background-color: #001f40; color: #FFF; }
.yform .btn-primary:focus, .yform .btn-primary:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); background-color: #001f40; }
.yform .btn-primary:active { transform: translateY(1px); }

/* Besser sichtbare Pflichtfeld-Markierung */
.yform .pflichtfelder { font-size: 0.9rem; margin-top: 15px; margin-bottom: 20px; color: #555; }

/* Fehlerhinweisbox, überm Formular */
.yform div.alert { padding: 15px 20px 5px 20px; margin-bottom: 20px; border-radius: 4px; }
.yform div.alert span { margin-right: 15px; }
.yform div.alert-danger { border: 2px solid #a94442; background-color: #FBF6F6; color: #a94442; }
.yform .alert ul { list-style-type: none; margin: 0; padding: 0; }
.yform .alert li { list-style-type: none; margin: 0 0 10px 0; padding: 0; color: #a94442; }

/* Grundlegende Fehlermarkierung für alle Formularelemente */
.yform .has-error { margin-bottom: 20px; }
.yform .has-error .control-label { color: #a94442; font-weight: 500; }
.yform .has-error label { color: #a94442; }
.yform .has-error .form-control { border-color: #a94442; box-shadow: 0 0 0 2px rgba(169, 68, 66, 0.25); }

/* Fehlermarkierung für reguläre Eingabefelder */
.yform .has-error .form-control { border-color: #a94442; box-shadow: 0 0 0 1px #EAD0D0; background-color: #FBF6F6; }
/* Spezielle Fehlermarkierung für die Checkbox */
.yform .formcheckbox.has-error label { color: #a94442; }
.yform .formcheckbox.has-error .form-helper { border-color: #a94442; box-shadow: 0 0 0 1px #EAD0D0; }

/* Optionale visuelle Verstärkung für die Checkbox */
.yform .formcheckbox.has-error { padding: 10px; border-radius: 4px; background-color: #FBF6F6; }

/* Fokus-Zustand für fehlerhafte Checkboxen verstärken */
.yform .formcheckbox.has-error input[type="checkbox"]:focus + .form-helper,
.yform .formcheckbox.has-error input[type="checkbox"]:focus-visible + .form-helper { border-color: #a94442; box-shadow: 0 0 0 3px rgba(169, 68, 66, 0.3); }

/* Verbesserte Fokusdarstellung für Tastaturbedienung */
.yform a:focus, .yform a:focus-visible { outline: 2px solid #0078d7; outline-offset: 2px; }

/* High-contrast mode Unterstützung */
@media (forced-colors: active) {
.yform .form-control:focus { outline: 2px solid CanvasText; }
.yform .btn-primary { border: 1px solid CanvasText; }
}


/* Honeypot gegen SPAM */
.yform .honeypot_box div.form-group { display: block; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; opacity: 0.1; }
/* Wird sichtbar, wenn das Feld den Fokus bekommt oder .has-error hat*/
.yform .honeypot_box div.form-group:focus-within,
.yform .honeypot_box div.form-group.has-error { display: block; width: auto; height: auto; margin: 0 0 20px 0; padding: 15px 20px 5px 20px; overflow: visible; opacity: 1; background-color: #f8f8f8; border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 0 5px rgba(0,0,0,0.1); }
.yform .honeypot_box div.form-group.has-error { border-color: #a94442; }


/* Datenschutz Hinweis */
.yform .privacy_box { clear: both; position: relative; margin-bottom: 25px; padding: 5px 0; }
.yform .privacy_box a { color: #58698d; text-decoration: underline; font-weight: 500; }
.yform .privacy_box a:hover { color: #001f40; }
.yform .privacy_box a:focus, .yform .privacy_box a:focus-visible { outline: 2px solid #0078d7; outline-offset: 2px; }
/* Fehlerzustand für die Checkbox */
.yform .privacy_box.has-error label { color: #a94442; }
.yform .privacy_box.has-error .form-helper { border-color: #a94442; box-shadow: 0 0 0 1px rgba(169, 68, 66, 0.25); }
.yform .privacy_box.has-error { background-color: rgba(169, 68, 66, 0.05); padding: 10px; border-radius: 4px; }

/* hier ohne .yForm !!! */
.hinweis_email_erfolgreich_versendet { display: block; margin: 20px 0; padding: 20px; background-color: #5bb585; color: #fff; font-size: 1.5rem; text-align: center; }

/* ALTCHA-Widget (bw_altcha_captcha). Kommt als <altcha-widget> ins Formular. */
.yform altcha-widget { display: block; margin: 0 0 20px 0; }

/* Formular mit 2 Spalten: 48% + 4% column-gap (am form) + 48% = 100% */
.yform .form_left, .yform .form_right { flex-basis: 48%; min-width: 250px; margin: 0 0 20px 0; }
.yform .form_clear { flex-basis: 100%; }

@media all and (max-width:768px) {
.yform .form_left, .yform .form_right { flex-basis: 100%; }
}

/* Upload-Felder als Drop-Zone (Markup: yForm 5 value.upload.tpl.php). Natives
   <input type="file"> liegt unsichtbar über der ganzen Box - Klick und
   Drag-and-drop funktionieren dadurch ohne JS. styles_js.inc ergänzt nur
   Komfort (Dateiname, Dragover-Optik, Entfernen-Button); .has_file/.is_dragover
   kommen von dort. */
.yform .upload_felder { flex-basis: 100%; margin: 0 0 20px 0; }

/* Optionale Überschrift über den Upload-Boxen (im Formular-Code als html-Feld) */
.yform .upload_felder .upload_titel { display: block; margin: 0 0 10px 0; font-weight: 600; font-size: 1.1rem; color: #333; }

/* Box */
.yform .upload_felder .form-group { position: relative; display: block; margin: 0 0 15px 0; padding: 20px 56px 20px 64px; min-height: 72px; border: 2px dashed #b9c2cc; border-radius: 6px; background-color: #f7f9fb; transition: border-color 0.2s, background-color 0.2s; }
.yform .upload_felder .form-group:hover,
.yform .upload_felder .form-group.is_dragover { border-color: #37434f; background-color: #eef3f8; }
.yform .upload_felder .form-group:focus-within { outline: 2px solid #0078d7; outline-offset: 2px; }
.yform .upload_felder .form-group.is_dragover { border-style: solid; }

/* Upload-Icon (Pfeil nach oben), Farbe im Projekt-CSS über fill anpassen */
.yform .upload_felder .form-group::before { content: ""; position: absolute; top: 50%; left: 22px; width: 24px; height: 24px; transform: translateY(-50%); background-repeat: no-repeat; background-size: contain; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 19V6'/><path d='M6 12l6-6 6 6'/><path d='M5 21h14'/></svg>"); pointer-events: none; }

/* Label = sichtbarer Text der Box; Hinweis in Klammern über .upload_hint */
.yform .upload_felder .control-label { display: block; margin: 0; font-weight: 600; color: #333; cursor: pointer; }
.yform .upload_felder .upload_hint { display: block; margin: 4px 0 0 0; font-weight: 400; font-size: 0.85rem; color: #666; }

/* Natives Input unsichtbar über die ganze Box legen (klick- und drop-fähig) */
.yform .upload_felder .input-group { display: block; position: static; }
.yform .upload_felder .input-group input[type="file"] { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; z-index: 1; }

/* Ausgewählte Datei (wird vom JS gefüllt) */
.yform .upload_felder .upload_filename { display: none; margin: 6px 0 0 0; font-size: 0.85rem; color: #333; word-break: break-all; }
.yform .upload_felder .form-group.has_file .upload_filename { display: block; }

/* Entfernen-Button (×) aus dem yForm-Template: nur mit Datei sichtbar, über dem Input */
.yform .upload_felder .input-group-btn { display: none; position: absolute; top: 10px; right: 10px; z-index: 2; }
.yform .upload_felder .form-group.has_file .input-group-btn { display: block; }
.yform .upload_felder .input-group-btn .btn-default { width: 32px; height: 32px; margin: 0; padding: 0; border: 1px solid #b9c2cc; border-radius: 50%; background-color: #fff; color: #333; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.yform .upload_felder .input-group-btn .btn-default:hover { background-color: #a94442; border-color: #a94442; color: #fff; }
.yform .upload_felder .input-group-btn .btn-default:focus-visible { outline: 2px solid #0078d7; outline-offset: 2px; }

/* Hinweis-/Fehlertext unter dem Label (liegt unter dem transparenten Input, ist nur lesbar) */
.yform .upload_felder .help-block { position: relative; margin: 6px 0 0 0; font-size: 0.85rem; color: #666; }
.yform .upload_felder .help-block .text-warning { color: #a94442; }

/* Fehlerzustand */
.yform .upload_felder .form-group.has-error { border-color: #a94442; background-color: #FBF6F6; }
.yform .upload_felder .form-group.has-error .control-label { color: #a94442; }

/* Bereits hochgeladene Datei (nach fehlgeschlagener Validierung): yForm zeigt eine
   Checkbox "Häkchen setzen um die Datei zu entfernen" - normale Checkbox-Optik */
.yform .upload_felder .checkbox { margin: -5px 0 15px 0; }

@media (forced-colors: active) {
.yform .upload_felder .form-group { border-color: CanvasText; }
}

@media (prefers-reduced-motion: reduce) {
.yform .form-control,
.yform .btn-primary,
.yform .upload_felder .form-group { transition: none; }
}


/* header_001_einfaches_bild.css */
/* Default ("automatisch" + feste vh-Werte, NICHT "normal" s.u.): Text
   bestimmt per min-height die Hoehe (waechst bei Bedarf), Bild deckt per
   object-fit:cover ab. align-items/justify-content (Text-Position, Standard
   zentriert) in moduleYYYYMMDD.css frei ueberschreibbar. */
.header_image_simple { display: flex; align-items: center; justify-content: center; position: relative; width: 100%; min-height: 400px; margin: 0; padding: 0; z-index: 1; overflow: hidden; }
.header_image_simple img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.header_image_simple_text { position: relative; z-index: 1; display: block; width: auto; height: auto; margin: 0; padding: 20px; color: #fff; font-size: 3rem; text-align: center; }
/* TinyMCEs <p>-margin-bottom kollabiert wegen des paddings nicht nach aussen
   und verschiebt die zentrierte Box optisch nach oben - deshalb nur beim
   letzten Absatz kappen. */
.header_image_simple_text > *:last-child { margin-bottom: 0; }

/* Feste Hoehen ueberschreiben nur die Basis-min-height von oben - Bild/Text-Mechanik
   bleibt sonst wie im Default-Fall (Automatisch). */
.header_image_simple.height_25vh { min-height: 25vh; }
.header_image_simple.height_33vh { min-height: 33vh; }
.header_image_simple.height_50vh { min-height: 50vh; }
.header_image_simple.height_66vh { min-height: 66vh; }
.header_image_simple.height_75vh { min-height: 75vh; }
.header_image_simple.height_100vh { min-height: 100vh; }

/* "normal" (Bestandsverhalten vor der Automatisch/vh-Umstellung): Bild in
   Original-Proportion ohne Zuschnitt, Text liegt position:absolute drueber
   (kann bei langem Text ueberdecken - sonst "Automatisch" waehlen). */
.header_image_simple.normal { display: block; min-height: 0; overflow: visible; }
.header_image_simple.normal img { position: static; width: 100%; height: auto; object-fit: unset; inset: auto; }
.header_image_simple.normal .header_image_simple_text { position: absolute; top: 30px; left: 30px; width: auto; padding: 0; }

#arrow_slide_down_to_content { position: absolute; display: flex; align-items: center; justify-content: center; top: auto; bottom: 20px; left: 50%; width: 40px; height: 40px; margin: 0 0 0 -20px; padding: 0; z-index: 10; background-color: rgba(0, 0, 0, 0.1); border: none; animation: arrow_slide_down_to_content_jump 2s infinite; cursor: pointer; font-size: 24px; color: #fff; }
#arrow_slide_down_to_content span { transform: rotate(90deg) translateY(-1px); }
#arrow_slide_down_to_content:hover,
#arrow_slide_down_to_content:focus { background-color: rgba(0, 0, 0, 0.5); }
#arrow_slide_down_to_content:focus, #arrow_slide_down_to_content:focus-visible { outline: 2px solid #0078d7; outline-offset: 2px; }

@keyframes arrow_slide_down_to_content_jump {
25% { transform: translate(0, 0) scale(1); }
50% { transform: translate(0, -10px) scale(1.2); }
}

@media (prefers-reduced-motion: reduce) {
#arrow_slide_down_to_content { animation: none; }
}

/* header_003_bilderslider_swiper.css */
.header_image_slider_swiper_content { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 400px; overflow: hidden; }
.header_image_slider_swiper_content img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.header_image_slider_swiper_content:has(.header_image_slider_swiper_text)::after { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,0.33); }

/* Feste Hoehen ueberschreiben nur die Basis-min-height von oben. */
.header_image_slider_swiper.height_25vh .header_image_slider_swiper_content { min-height: 25vh; }
.header_image_slider_swiper.height_33vh .header_image_slider_swiper_content { min-height: 33vh; }
.header_image_slider_swiper.height_50vh .header_image_slider_swiper_content { min-height: 50vh; }
.header_image_slider_swiper.height_66vh .header_image_slider_swiper_content { min-height: 66vh; }
.header_image_slider_swiper.height_75vh .header_image_slider_swiper_content { min-height: 75vh; }
.header_image_slider_swiper.height_100vh .header_image_slider_swiper_content { min-height: 100vh; }

/* "normal" (Original): Bild in Original-Proportion, Hoehe je Folie ergibt sich aus dem jeweiligen Bild-Seitenverhaeltnis  */
.header_image_slider_swiper.normal .header_image_slider_swiper_content { display: block; min-height: 0; overflow: visible; }
.header_image_slider_swiper.normal .header_image_slider_swiper_content img { position: static; width: 100%; height: auto; object-fit: unset; }
.header_image_slider_swiper.normal .header_image_slider_swiper_text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 90%; margin: 0; }

.header_image_slider_swiper_text { position: relative; z-index: 2; display: block; width: auto; max-width: 90%; height: auto; margin: 0; padding: 15px 20px; text-align: center; white-space: normal; font-size: 3rem; color: #fff; background-color: transparent; }

.header_image_slider_swiper_text > *:last-child { margin-bottom: 0; }
.header_image_slider_swiper_text span { display: block; font-size: 2rem; color: #d0d0d0; }
.header_image_slider_swiper_richtext { display: block; white-space: normal; font-size: 1.2rem; margin-top: 10px; }

@media all and (max-width: 480px) {
.header_image_slider_swiper_text { padding: 15px; }
}



/* module20261018.css */
/* --- yForm --- */

/* Labels sind im Design ausgeblendet, die Felder arbeiten mit Platzhaltern */
.yform form.hide-label label { display: none; }
.form_left label,
.form_right label,
.form_full label { display: none; }
.form-check-group label { display: inline-block; }

.yform textarea.form-control { height: 210px; }

.yform .btn-primary { min-width: 140px; background-color: #c51112; }
.yform .btn-primary:hover,
.yform .btn-primary:focus,
.yform .btn-primary:focus-visible { background-color: #00090b; }

.yform .hinweis { font-size: 0.6rem; line-height: 1.65; }

/* Upload-Felder zweispaltig */
.yform .upload_felder { display: flex; flex-flow: row wrap; column-gap: 4%; }
.yform .upload_felder .hinweis { flex-basis: 100%; }

.yform .upload_felder .form-group { border: solid 1px #dfe6e7; }
.yform .upload_felder .form-group::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300090b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 19V6'/><path d='M6 12l6-6 6 6'/><path d='M5 21h14'/></svg>"); }

.form_line { display: block; width: 100%; height: 2px; margin: 10px 0 30px; padding: 0; background-color: #c51112; }

/* "Ihr Anliegen": Auswahl zweispaltig */
.checkbox_ihr_anliegen .form-check-group {
    display: flex; margin: 0 0 20px 0; padding: 0;
    flex-flow: row wrap;
    justify-content: flex-start;
}

.checkbox_ihr_anliegen .form-check-group .checkbox {
    display: block; width: 50%; margin: 0 0 10px 0; padding: 0 20px 0 0; font-size: 0.7rem; line-height: 1.45;
}

.checkbox_ihr_anliegen .form-check-group label.control-label {
    display: none; width: 100%; margin: 0; padding: 0;
}

/* "Kontaktaufnahme": Auswahl in einer Reihe */
.checkbox_kontaktaufnahme .form-check-group { display: block; margin: 0 0 20px 0; padding: 0; }

.checkbox_kontaktaufnahme .form-check-group .checkbox {
    display: inline-block; width: auto; margin: 0 0 10px 0; padding: 0 20px 0 0; font-size: 0.7rem; line-height: 1.45;
}

.checkbox_kontaktaufnahme .form-check-group label.control-label { display: none; }

/* Kontaktseite: Infospalte rechts neben dem Formular */
#seite_kontakt .outer_box.box_width_1_3 { float: right; margin: 0 4.17% 20px 0;}


/* Die rem-Basis faellt hier von 20px auf 16px, die Kleintexte wuerden unter
   11px rutschen - zurueck auf ihre Ausgangsgroesse. */
@media all and (max-width:1200px) {
    .yform .hinweis { font-size: 0.75rem; }

    .checkbox_ihr_anliegen .form-check-group .checkbox,
    .checkbox_kontaktaufnahme .form-check-group .checkbox { font-size: 0.875rem; }
}

@media all and (max-width:768px) {
    #seite_kontakt .outer_box.box_width_1_3,
    #seite_kontakt .outer_box { clear: both; float: none; width: auto; margin: 0 4.17% 20px 4.17%; }

    #seite_kontakt .outer_box.box_width_1_3 { margin: 0 4.17% 40px 4.17%; padding: 0 0 20px 0; border-bottom: 1px solid #999; }

}
@media all and (max-width:480px) {
    .checkbox_ihr_anliegen .form-check-group .checkbox { width: 100%; margin: 0 0 10px 0; padding: 0; }
}

/* =============================================================================
   Anpassungen an bestehenden Modulen
   ============================================================================= */

/* --- 001_headline_mit_text ------------------------------------------------ */
.headline { margin-bottom: 20px; }
.headline h1, .headline h2 {margin: 0; }

.headline h1 span.headline_line,
.headline h2 span.headline_line { display: block; width: 180px; height: 3px; margin: 0 0 10px -15px; padding: 0; background-color: #c51112;  }

.headline h1 span.headline_subline,
.headline h2 span.headline_subline { display: block; margin: 0 0 0 30px; line-height: 1.25; font-weight: 400; }

.headline h1 span.headline_subline { font-size: 1.5rem; }
.headline h2 span.headline_subline { font-size: 1.3rem; }
@media all and (max-width:1600px) {
    .headline h1 span.headline_subline { font-size: 1.88vw; }
    .headline h2 span.headline_subline { font-size: 1.63vw; }
}

@media all and (max-width:980px) {
    .headline h1 span.headline_subline { font-size: 1.25rem; }
    .headline h2 span.headline_subline { font-size: 1rem; }
}


/* --- 020_video_youtube ---------------------------------------------------- */
.video { position:relative; padding: 0 0 56.25% 0; margin: 0 0 20px 0; /* 56.25% wegen 16:9 Format */ height:0; overflow:hidden; border: 1px solid #fff; }
.video iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; border: none; }

/* --- 021_bildergalerie_masonry -------------------------------------------- */
.bildergalerie a { display: block; float: left; width: 26.98%; margin: 0 0 4.76% 4.76%; padding: 0; }

/* =============================================================================
   Eigene Module
   ============================================================================= */

/* --- Neuigkeiten ---------------------------------------------------------- */
.neuigkeiten_bg {
    clear: both;
    display: block; width: 91.67%; height: auto; margin: 0 auto 40px auto; padding: 0;
    background-color: #283649; color: #fff;
}

.neuigkeiten_headline { display: block; position: relative; top: 0; left: 0; width: 300px; margin: 0 auto; padding: 0 15px 5px 15px; z-index: 1; text-align: center; text-transform: uppercase; color: #253649; font-size: 1.8rem; line-height: 1.0; }

.neuigkeiten_headline::after {
    content:'';
    display: block; position: absolute; top: -1px; left:0; width: 100%; height: 100%; z-index:-1;
    background-color: #fff; transform:skew(-45deg);

}

.neuigkeiten_flex {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    margin: 0;
}

.neuigkeiten_box {
    display: block; width: 91.67%; margin: 0; padding: 20px 0; color: #fff;
}

.neuigkeiten_flex.anzahl_2 .neuigkeiten_box { width: 43.75%; }
.neuigkeiten_flex.anzahl_3 .neuigkeiten_box { width: 27.78%; }


@media all and (max-width:768px) {
    .neuigkeiten_flex.anzahl_2 .neuigkeiten_box,
    .neuigkeiten_flex.anzahl_3 .neuigkeiten_box { width: 91.67%; }
}
@media all and (max-width:1600px) {
    .neuigkeiten_headline { font-size: 2.25vw; }
}

@media all and (max-width:980px) {
    .neuigkeiten_headline { font-size: 1.5rem; width: 210px; }
}


/* --- Slidedown-Box -------------------------------------------------------- */
.slidedown_box_button { display: block; width: 40px; height: 40px; margin: 0 auto; padding: 0; text-indent: -99999px; overflow: hidden; background-color: transparent; background-image: url(icon_slidedown_box_button.png); background-position: center; background-repeat: no-repeat;
    transition: all 200ms ease-in-out; }
.slidedown_box_button:hover, .slidedown_box_button:focus { transform: scale(1.1); }
.slidedown_box.active .slidedown_box_button { transform: rotate(180deg); }

.slidedown_box_headline { font-size: 1.6rem; line-height: 1.2; margin: 0 0 10px 0; }

.slidedown_box_text { display: none; padding: 0; overflow: hidden; }
.slidedown_box_text_inner { display: block; padding: 10px 0 0 0; }

.slidedown_box.active .slidedown_box_text { display: block; }
@media all and (max-width:1600px) {
    .slidedown_box_headline { font-size: 2vw; }
}

@media all and (max-width:980px) {
    .slidedown_box_headline { font-size: 1.25rem; }
}


/* --- Slider (Swiper) ------------------------------------------------------
   Pfeile, Pagination und Play/Pause kommen aus swiper-navigation.css, das mit checkModuleUsageSwiper() geladen wird. */
.swiper-navigation {
    --swiper-pagination-bullet-width: 12px;
    --swiper-pagination-bullet-height: 12px;
    --swiper-pagination-bullet-border-radius: 0;
    --swiper-pagination-bullet-inactive-color: transparent;
    --swiper-pagination-bullet-inactive-opacity: 1;
    --swiper-pagination-color: #fff;
}

.swiper-navigation .swiper-pagination-bullet { box-sizing: border-box; border: 1px solid #fff; }

.slider_bg {
    clear: both;
    display: block; width: 91.67%; height: auto; margin: 0 auto 40px auto; padding: 0;
    color: #fff;
}

/* Ohne height:auto bekommen die Folien die Hoehe des Wrappers statt die des
   laengsten Textes. .swiper-wrapper ist bereits Flex (Swiper-eigenes CSS) und
   darf nicht umbrechen - alle Folien muessen in einer Reihe bleiben.
   Der dunkle Hintergrund sitzt auf den Folien statt auf .slider_bg, damit die
   Steuerleiste darunter auf dem hellen Seitenhintergrund steht. */
.slider_bg .swiper-slide { height: auto; background-color: #00090b; }

/* Steuerleiste unter den Folien statt darueber, in Seitenschwarz */
.slider_bg .swiper-navigation {
    position: static; padding: 10px 16px 0 16px;
    --nav-color: #00090b;
    --nav-bg: transparent;
    --nav-border: #00090b;
    --nav-bg-hover: rgba(0, 9, 11, .1);
    --nav-border-hover: #00090b;
    --swiper-pagination-color: #00090b;
}
.slider_bg .swiper-navigation .swiper-pagination-bullet { border-color: #00090b; }

.slider_box { display: block; position: relative; top: 0; left: 0; width: 100%; height: 100%; margin: 0; padding: 0; z-index: 1; overflow: hidden; color: #fff; }

.slider_image { display: block; position: absolute; top: 0; left: 0; width: 50%; height: 100%; margin: 0; padding: 0; z-index: 1; background-position: center; background-size: cover; }

.slider_image img { display: none; margin: 0; padding: 0; }

.slider_text { display: block; width: 50%; height: auto; margin: 0 0 0 50%; padding: 40px 30px 20px 30px; }

.slider_text h1, .slider_text h2, .slider_text h3, .slider_text p { color: #fff; }
.slider_text a { color: #00090b; }
.slider_text a:hover, .slider_text a:focus { color: #fff; }


.slider_box_link { display: block; width: 98px; height: 34px; margin: 0 auto; padding: 0; text-indent: -99999px; overflow: hidden; background-color: transparent; background-image: url(icon_slider_box_link.png); background-position: center; background-repeat: no-repeat;
    transition: all 200ms ease-in-out; }
.slider_box_link:hover, .slider_box_link:focus { transform: scale(1.1); }



@media all and (max-width:768px) {
    .slider_image { position: relative; width: 100%; height: auto; margin: 0; padding: 0;background-image: none; }
    .slider_image img { display: block; }

    .slider_text { width: 100%; margin: 0; padding: 30px 20px 10px 20px; }
}

/* --- Button Telefon ------------------------------------------------------- */
.button_telefon a { display: inline-block; min-width: 300px; color: #FFF; background-color: #00090b; text-decoration: none; transition: all 200ms ease-in-out; }
.button_telefon a span { display: block; width: 100%; padding: 5px 15px; }
.button_telefon a span.button_telefon_spruch { background-color: #c51112; }
.button_telefon a:hover, .button_telefon a:focus { color: #FFF; background-color: #00090b; text-decoration: none; transform: scale(1.05); }


/* --- 500 - Lebenslauf (Zeitstrahl) ---------------------------------------- */
.m500_lebenslauf_liste { list-style: none; position: relative; margin: 0; padding: 20px 0; }

/* Zeitstrahl */
.m500_lebenslauf_liste::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin: 0 0 0 -1px; background-color: #00090b; }

.m500_lebenslauf_item { list-style: none; position: relative; width: 50%; margin: 0 0 15px 0; padding: 0 40px 0 0; }
.m500_lebenslauf_item:nth-child(even) { margin: 0 0 15px 50%; padding: 0 0 0 40px; }

/* Punkt auf dem Zeitstrahl, auf Hoehe der Jahreszahl */
.m500_lebenslauf_item::after { content: ""; box-sizing: border-box; position: absolute; top: 18px; right: -9px; width: 18px; height: 18px; border: 2px solid #c51112; border-radius: 50%; background-color: #00090b; }
.m500_lebenslauf_item:nth-child(even)::after { right: auto; left: -9px; }

/* Jahreszahl als Fahne, schraege Kante aussen */
.m500_lebenslauf_jahr { display: block; width: fit-content; margin: 0 0 10px auto; padding: 5px 20px 5px 40px; background-color: #c51112; color: #fff; font-size: 1.8rem; line-height: 1.25; clip-path: polygon(0 0, 100% 0, 100% 100%, 24px 100%); }
.m500_lebenslauf_item:nth-child(even) .m500_lebenslauf_jahr { margin: 0 auto 10px 0; padding: 5px 40px 5px 20px; clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 0 100%); }

.m500_lebenslauf_box { display: block; margin: 0 50px 0 0; padding: 20px 25px 5px 25px; color: #fff; }
.m500_lebenslauf_item:nth-child(even) .m500_lebenslauf_box { margin: 0 0 0 50px; }
.m500_lebenslauf_box_schwarz { background-color: #00090b; }
.m500_lebenslauf_box_rot { background-color: #c51112; }

.m500_lebenslauf_box h3,
.m500_lebenslauf_box h4,
.m500_lebenslauf_box p,
.m500_lebenslauf_box li { color: #fff; }

.m500_lebenslauf_box a { color: #fff; text-decoration: underline; }
.m500_lebenslauf_box a:hover, .m500_lebenslauf_box a:focus { text-decoration: none; }
.m500_lebenslauf_box a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Hervorgehobene Worte in der Ueberschrift. Die Klasse muss im TinyMCE-Profil
   own_simple auswaehlbar sein, sonst kommt der Redakteur nicht daran. */
.m500_lebenslauf_box_schwarz .akzent { color: #c51112; }
.m500_lebenslauf_box_rot .akzent { color: #00090b; }

@media all and (max-width:768px) {
    .m500_lebenslauf_liste::before { left: 7px; }

    .m500_lebenslauf_item,
    .m500_lebenslauf_item:nth-child(even) { width: auto; margin: 0 0 40px 0; padding: 0 0 0 35px; }

    .m500_lebenslauf_item::after,
    .m500_lebenslauf_item:nth-child(even)::after { top: 10px; right: auto; left: -1px; }

    /* Einspaltig steht die Fahne immer links, die Schraege deshalb immer rechts */
    .m500_lebenslauf_jahr,
    .m500_lebenslauf_item:nth-child(even) .m500_lebenslauf_jahr { margin: 0 auto 10px 0; padding: 5px 40px 5px 20px; font-size: 1.25rem; clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 0 100%); }

    .m500_lebenslauf_box,
    .m500_lebenslauf_item:nth-child(even) .m500_lebenslauf_box { margin: 0; }
}


