/* 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%; }


/* main20261021.css */
/* main20261021.css — Forstner Destinations
   Abschnitte: 1) Typografie  2) Section  3) outer_box  4) Seitengerüst  5) Navigation
   6) Projektspezifisches (Seitentypen, Hintergrundbilder) */


:root {
    --color-main:         #333333;   /* Grundtext */
    --color-link:         #6b6a24;
    --color-link-hover:   #666666;
    --color-headline:     #666666;
    --color-subheadline:  #6b6a24;

    --color-bg:           #ffffff;
    --color-bg-alt:       #fafafa;
    --color-border:       #dddddd;
    --color-focus:        #0b57d0;   /* Fokusring, muss auf allen Flächen sichtbar sein */

    --color-accent:       #bbb93e;   /* Markengrün */
    --color-accent-dark:  #6b6a24;
    --color-dark:         #2f2d2e;
}


/* =============================================================================
   1) Typografie
   ============================================================================= */

html { background-color: var(--color-bg); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;                            /* einzige px-Angabe */
    line-height: 1.43;
    font-weight: 400;
    color: var(--color-main);
}

a { color: var(--color-link); text-decoration: none; }
a:hover { color: var(--color-link-hover); text-decoration: underline; }
a:hover img { opacity: 0.8; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

#content a { font-weight: 700; }

a.link_as_button { display: inline-block; margin: 0; padding: 5px 10px; text-decoration: none; background-color: var(--color-accent); color: #fff; }
a.link_as_button:hover { text-decoration: none; background-color: var(--color-accent-dark); color: #fff; }
/* Kontrast des generischen Fokusrings (var(--color-focus)) gegen diesen Button-
   Hintergrund (var(--color-link)) liegt nur bei ~1,6:1 (WCAG SC 1.4.11 verlangt
   3:1) - gleiches Muster wie beim Footer weiter unten, deshalb hier ebenfalls
   auf Weiss umgestellt. */
a.link_as_button:focus-visible { outline-color: #fff; }

h1, h2, h3, h4, h5, h6,
.like_h1, .like_h2, .like_h3, .like_h4, .like_h5, .like_h6
{ margin: 0 0 0.625rem 0; font-family: Verdana, Arial, sans-serif; font-weight: 700; line-height: 1.5; color: var(--color-headline); }

h1, .like_h1 { font-size: 2em; }
h2, .like_h2 { font-size: 2em; }
h3, .like_h3 { font-size: 1.8em; }
h4, .like_h4 { font-size: 1.6em; }
h5, .like_h5 { font-size: 1.4em; }
h6, .like_h6 { font-size: 1.2em; text-transform: uppercase; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: var(--color-headline); }
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { background-color: #eee; text-decoration: none; }

#content h1, #content h1 a { color: var(--color-headline); text-decoration: none; }
#content h1 a:hover { color: var(--color-accent); text-decoration: none; }

@media all and (max-width: 480px) {
    h1, .like_h1 { font-size: 1.8em; }
    h2, .like_h2 { font-size: 1.8em; }
    h3, .like_h3 { font-size: 1.6em; }
    h4, .like_h4 { font-size: 1.4em; }
    h5, .like_h5 { font-size: 1.2em; }
    h6, .like_h6 { font-size: 1.1em; }
}

.headline_overline { display: block; margin: 0 0 0.5rem 0; color: var(--color-subheadline);
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

.headline_subline { display: block; color: var(--color-subheadline); font-size: 0.6em; line-height: 1.4; }

p { margin: 0 0 20px 0; padding: 0; }
em { font-style: italic; }
strong { font-weight: 700; }

ul { margin: 0 0 1em 0; padding: 0; }
ul li { list-style-type: disc; margin: 0 0 10px 16px; padding: 0; }

/* Listenpunkt als Grafik im Inhaltsbereich */
#content ul li { list-style-type: none; margin: 0 0 10px 0; padding: 0 0 0 20px;
  background-image: url(listpoint.png); background-position: top left; background-repeat: no-repeat; }

table { margin: 0 0 1.25rem 0; padding: 0; }
td { padding: 0 0.5rem 0.375rem 0; vertical-align: top; }

hr, hr.trennlinie { clear: both; display: block; width: 93.88%; height: 2px; margin: 0 auto 20px auto; padding: 0; border: none; background-color: var(--color-accent); }

.small { display: block; margin: 0; padding-top: 5px; font-size: 0.8125rem; line-height: 1.5; font-style: italic; }

.text_color_white,
.text_color_white h1, .text_color_white h2, .text_color_white h3,
.text_color_white p,  .text_color_white li, .text_color_white a { color: #fff; }

/* Nur für Screenreader sichtbar (Button- und Linktexte ohne sichtbares Label) */
.visually_hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }


/* =============================================================================
   2) Section
   ============================================================================= */

.section_bg_none,
.section_bg_green,
.section_bg_gray,
.section_bg_darkgray
{ clear: both; display: block; position: relative; width: 100%; margin: 0; z-index: 1; }

.section_bg_none     { background-color: transparent; }
.section_bg_green    { background-color: var(--color-accent); color: #fff; }
.section_bg_gray     { background-color: var(--color-bg-alt); }
.section_bg_darkgray { background-color: var(--color-dark); color: #fff; }

.section_bg_green h1, .section_bg_green h2, .section_bg_green h3, .section_bg_green p, .section_bg_green li, .section_bg_green a,
.section_bg_darkgray h1, .section_bg_darkgray h2, .section_bg_darkgray h3, .section_bg_darkgray p, .section_bg_darkgray li, .section_bg_darkgray a { color: #fff; }

.section_bg_green a:hover,
.section_bg_darkgray a:hover { color: #fff; }
.section_bg_green a:focus-visible,
.section_bg_darkgray a:focus-visible { outline-color: #fff; }

/* display:flex direkt hier (nicht ueber eine separate .section_flex-Klasse aus
   default.css) - die laedt vor main<datum>.css und wuerde bei gleicher
   Spezifitaet von einem spaeter geladenen display:block ueberschrieben werden. */
.section_full,
.section_1200,
.section_980
{ display: flex; flex-flow: row wrap; position: relative; width: 100%; margin: 0 auto; padding: 0; z-index: 1; }

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

@media all and (max-width: 480px) {
    .section_full,
    .section_1200,
    .section_980
    { flex-direction: column; }
}

.section_bg_image { display: block; position: static; width: 100%; min-height: 100px; margin: 0; z-index: 1;
  background-color: var(--color-bg); background-position: center center; background-attachment: scroll;
  background-repeat: no-repeat; background-size: cover; }
.section_bg_image.parallax { background-attachment: fixed; min-height: 500px; }

.section_padding_normal { padding: 50px 0 10px 0; }
.section_padding_small  { padding: 25px 0 5px 0; }
.section_padding_big    { padding: 100px 0 40px 0; }
.section_padding_none   { padding: 0; }

.section_bg_image.section_padding_normal { padding: 100px 0 80px 0; }
.section_bg_image.section_padding_small  { padding: 50px 0 30px 0; }
.section_bg_image.section_padding_big    { padding: 150px 0 100px 0; }
.section_bg_image.section_padding_none   { padding: 0; }


/* =============================================================================
   3) outer_box — Seitenbreite 980px, Abstand 2.5%
   ============================================================================= */

.outer_box { display: block; width: 95%; margin: 0 0 20px 2.5%; padding: 0; }

.box_width_full { width: 100%; margin: 0 0 20px 0; }
.box_width_1_2  { width: 46.25%; }
.box_width_1_3  { width: 30%; }
.box_width_2_3  { width: 62.5%; }
.box_width_1_4  { width: 21.88%; }

.box_bg_green { background-color: var(--color-accent); color: #fff; padding: 10px 20px 1px 20px; }
.box_bg_green * { color: #fff; }
.box_bg_green a { color: #fff; text-decoration: none; }
.box_bg_green a:hover { color: #333; text-decoration: none; }
.box_bg_green a:focus-visible { outline-color: #fff; }
.box_bg_green p { margin: 0 0 10px 0; }

.no_margin_bottom { margin-bottom: 0 !important; }

.outer_box .image { margin: 0; }
.outer_box .image a { text-decoration: none; border-bottom: none; }
.outer_box .image a:hover { opacity: 0.8; }
.outer_box .image a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

/* 002_text_bild — text_img_left/right: Text fließt um das Bild. */
.text_bild .flLeft  { float: left;  display: block; width: auto; max-width: 63.89%; margin: 0 15px 0 0; overflow: hidden; }
.text_bild .flRight { float: right; display: block; width: auto; max-width: 63.89%; margin: 0 0 0 15px; overflow: hidden; }
.text_bild .image span.small { display: block; }
.text_bild .flLeft::after,
.text_bild .flRight::after { content: ''; display: table; clear: both; }

/* 002_text_bild — two_column_*: zwei getrennte Spalten, per Flex (kein Float,
   kein Clearfix nötig). Der Abstand zwischen den Spalten kommt aus gap - für
   mehr/weniger Abstand gap und beide width-Werte gemeinsam anpassen. */
.zweispalter { display: flex; flex-wrap: wrap; gap: 2.94%; }
.zweispalter .flLeft,
.zweispalter .flRight { display: block; width: 48.53%; margin: 0; overflow: hidden; }

/* Clearfix für .text_bild - bekommt im Modul-Markup kein eigenes .clearfix,
   ohne das hier hätte der Wrapper Höhe 0, da beide Kinder floaten. */
.text_bild::after { content: ''; display: table; clear: both; }

@media all and (max-width: 480px) {
    .outer_box { width: auto; margin: 0 10px 15px 10px; }
    .box_width_full { width: 100%; margin: 0 0 10px 0; }

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

    .zweispalter { flex-direction: column; gap: 20px; }
    .zweispalter .flLeft,
    .zweispalter .flRight { width: 100%; }
}


/* =============================================================================
   4) Seitengerüst
   ============================================================================= */

#header_top_bg, #header_top, #header_bg, #header, #main_nav_bg, #main_nav, #content_bg, #content, #footer_bg, #footer
{ display: block; position: relative; width: 100%; margin: 0; padding: 0; z-index: 1; }

/* Kopfzeile: weiß, Logo rechts, Navigation darunter mittig (980px). Bleibt auf Desktop oben stehen. */
#main_nav_bg { position: sticky; top: 0; z-index: 200; background-color: #fff; }
#main_nav_content { display: block; position: relative; width: 100%; margin: 0; padding: 0; }
#main_nav_content::after { content: ''; display: block; clear: both; }
#logo { display: block; float: right; width: 360px; margin: 0; padding: 5px 20px 5px 5px; background-color: #fff; z-index: 100; }
#logo img { display: block; width: 360px; max-width: 100%; height: auto; }

@media all and (min-width: 981px) {
    #main_nav_content #main_nav { width: 980px; margin: 0 auto; padding: 79px 0 0 0; z-index: 1000; }
    #main_nav_content #main_nav > ul { margin: 0 3.06%; }
}

body.page_inhaltsseite #main_nav_bg { border-bottom: 5px solid var(--color-accent); }
body.page_roadshow #main_nav_bg { position: relative; }
body.page_roadshow #logo { float: none; width: auto; margin: 0; padding: 15px 20px; text-align: right; }
body.page_roadshow #logo img { display: inline-block; }

@media all and (max-width: 980px) {
    #main_nav_bg { position: relative; }
    #logo { float: none; width: auto; padding: 0 0 0 90px; text-align: right; }
    #logo img { display: inline-block; }
}

#content { min-height: 60vh; overflow: hidden; scroll-margin-top: 100px; }
@media all and (max-width: 980px) { #content { scroll-margin-top: 80px; } }

/* Footer (Seitentyp startseite/inhaltsseite/roadshow): Kontaktblock + Linkzeile auf Grün */
#footer_bg { clear: both; padding: 10px 0 1px 0; background-color: var(--color-accent); color: #fff; z-index: 100; }
#footer a { color: #fff; text-decoration: none; }
#footer a:hover { color: #000; text-decoration: none; }
#footer a:focus-visible { outline-color: #fff; }

#page_bottom_kontakt,
#page_bottom_links { display: block; width: 980px; height: auto; margin: 0 auto 10px auto; padding: 0; }
#page_bottom_linie { display: block; width: 100%; height: 1px; background-color: #fff; margin: 0 0 10px 0; padding: 0; }

#page_bottom_kontakt_headline,
#page_bottom_kontakt_text,
#page_bottom_links_text { display: block; width: auto; margin: 0 3.06%; }
#page_bottom_kontakt_headline { font-size: 2em; line-height: 1.1; margin-bottom: 20px; }

@media all and (max-width: 980px) {
    #page_bottom_kontakt,
    #page_bottom_links { width: 100%; margin: 0 0 10px 0; }
}

/* Footer Seitentyp default: fester Balken unten mit Links und "+" */
body.page_default #footer_bg { position: fixed; top: auto; bottom: 0; left: 0; width: 100%; height: 90px; padding: 0; border: none; }
body.page_default #footer { position: static; }
#footer_links { display: block; position: absolute; bottom: 20px; left: 100px; width: 463px; height: auto; z-index: 3; color: #fff; font-size: 1em; line-height: 1.43; }
#footer_links a { font-weight: 400; }

#fixpic { display: block; position: absolute; bottom: 0; right: 0; width: 463px; height: 236px; z-index: 2; }
#fixpic img { display: block; width: 100%; height: auto; }

@media all and (max-width: 980px) {
    #fixpic { width: 230px; height: 118px; }
    #footer_links { bottom: 10px; }
}
@media all and (max-width: 768px) {
    body.page_default #footer_bg { position: relative; height: auto; text-align: center; }
    #fixpic { display: none; }
    #footer_links { position: relative; bottom: auto; left: 0; width: auto; padding: 10px 3.06%; }
}


/* =============================================================================
   5) Navigation — Inhalt aus main_nav_2_ebene.css (bw_modulhelper), Farben und
   Maße an die bisherige Navigation angepasst
   ============================================================================= */

:root {
	/* Menü-Button */
	--mh-nav-button-bar: #575756;
	--mh-nav-button-bar-active: var(--color-accent);
	--mh-nav-focus-outline: var(--color-focus);

	/* Marken-Akzent (Hover Ebene 1 Desktop, current mobil) */
	--mh-nav-accent-rgb: 255,255,255;
	--mh-nav-accent: #bbb93e;
	--mh-nav-on-accent: #fff;

	/* Ebene 1 Desktop + current/active-Zustand */
	--mh-nav-link-color: #000;
	--mh-nav-link-bg: transparent;
	--mh-nav-active-bg: #bbb93e;

	/* Dropdown Ebene 2 Desktop */
	--mh-nav-dropdown-hover-bg: #bbb93e;

	/* Mobil */
	--mh-nav-mobile-overlay-bg: #dddddd;
	--mh-nav-mobile-level2-bg: #f4f4f4;
	--mh-nav-mobile-level3-bg: #f4f4f4;
	--mh-nav-mobile-hover-bg: #AAA;
	--mh-nav-mobile-text: #575757;
	--mh-nav-mobile-border: #808080;
	--mh-nav-mobile-indent-marker: #999;
	--mh-nav-mobile-active-bg: #aba735;
}
/* --- Menue-Button --- */
#main_nav_button { display: none; position: fixed; top: 30px; right: 20px; width: 32px; height: auto; margin: 0 0 0 -16px; padding: 0; z-index: 1002; border: none; background-color: transparent; transition: all 200ms ease-in-out; cursor: pointer; }
#main_nav_button:before,
#main_nav_button:after { content: ''; display: block; height: 3px; background-color: var(--mh-nav-button-bar); transition: all 200ms ease-in-out; }
#main_nav_button:before { margin-bottom: 15px; box-shadow: 0 9px 0 var(--mh-nav-button-bar); }
/* Hover + Focus: nur skalieren, Farbe bleibt gleich */
#main_nav_button:hover,
#main_nav_button:focus-visible { transform: scale(1.1); }
/* Geoeffnet: X-Form + eigene Farbe */
#main_nav_button.active:before,
#main_nav_button.active:after { background-color: var(--mh-nav-button-bar-active); }
#main_nav_button.active:before { box-shadow: none; transform: translateY(9px) rotate(45deg); }
#main_nav_button.active:after  { transform: translateY(-9px) rotate(-45deg); }
/* Geoeffnet + Hover/Focus: nur skalieren */
#main_nav_button.active:hover,
#main_nav_button.active:focus-visible { transform: scale(1.1); }
/* Fokusring fuer Tastaturnavigation */
#main_nav_button:focus-visible { outline: 2px solid var(--mh-nav-focus-outline); outline-offset: 3px; }


/* =========================================================================
   Desktop Navigation
   ========================================================================= */
#main_nav { position: relative; top: 0; left: 0; width: 100%; height: auto; margin: 0; padding: 0; z-index: 99; }

/* Erste Ebene
   Reihenfolge: normal → current/active → hover gewinnt immer */
#main_nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; position: relative; top: 0; left: 0; margin: 0; padding: 0; }
#main_nav li { list-style-type: none; display: block; position: relative; top: 0; left: 0; margin: 0; padding: 0; }

#main_nav li a { display: block; width: auto; height: auto; margin: 0; padding: 5px 20px; font-size: 0.8125rem; line-height: 1.54; font-weight: 400; text-transform: uppercase; white-space: nowrap; text-decoration: none; color: var(--mh-nav-link-color); background-color: var(--mh-nav-link-bg); transition: all 0.125s ease-in; }
#main_nav li a.rex-current { color: var(--mh-nav-on-accent); background-color: var(--mh-nav-active-bg); }
#main_nav li a.rex-active  { color: var(--mh-nav-on-accent); background-color: var(--mh-nav-active-bg); }
#main_nav li a:hover,
#main_nav li a:focus-visible { text-decoration: none; color: var(--mh-nav-on-accent); background-color: var(--mh-nav-accent); transition: all 0.125s ease-out; }

#main_nav li:first-child { margin-left: 0; }

/* Zweite Ebene
   Oeffnen per Hover (Maus) und per aria-expanded (Tastatur/JS).
   :focus ohne aria-expanded entfernt – JS steuert das Oeffnen per Tastatur
   ausschliesslich ueber aria-expanded, damit kein ungewolltes Oeffnen
   beim blossen Durchtabben entsteht.
   Reihenfolge: normal → current/active → hover gewinnt immer */
#main_nav .rex-navi1 > li.has-children:hover > ul,
#main_nav .rex-navi1 > li.has-children > a:hover ~ ul,
#main_nav .rex-navi1 > li.has-children > a[aria-expanded="true"] ~ ul { display: flex; }

/* Ebene 2 einspaltig, weiß hinterlegt */
#main_nav ul.rex-navi2 { display: none; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; position: absolute; top: 30px; left: 0; width: auto; min-width: 100%; height: auto; margin: 0; padding: 0; text-align: left; z-index: 100; }
#main_nav ul.rex-navi2 li { display: block; width: 100%; height: auto; margin: 0; padding: 0; }
#main_nav ul.rex-navi2 li a { display: block; position: relative; top: 0; left: 0; width: auto; min-width: 150px; margin: 0; padding: 5px 20px; color: #2d2d2d; font-size: 0.8125rem; text-transform: none; background-color: rgba(var(--mh-nav-accent-rgb), 0.9); border-bottom: 1px solid #fff; white-space: nowrap; }
#main_nav ul.rex-navi2 li a.rex-current { color: var(--mh-nav-on-accent); background-color: var(--mh-nav-active-bg); }
#main_nav ul.rex-navi2 li a.rex-active  { color: var(--mh-nav-on-accent); background-color: var(--mh-nav-active-bg); }
#main_nav ul.rex-navi2 li a:hover,
#main_nav ul.rex-navi2 li a:focus-visible { color: var(--mh-nav-on-accent); background-color: var(--mh-nav-dropdown-hover-bg); text-decoration: none; }

body.page_inhaltsseite #main_nav ul.rex-navi2 { border-top: 5px solid var(--color-accent); }

/* Dritte Ebene Desktop – deaktiviert */
#main_nav ul.rex-navi3 { display: none; }

/* --- Vierte Ebene --- */
#main_nav ul.rex-navi4 { display: none !important; }


/* Pfeil-Indikator fuer Ebene 1 und 2 – gemeinsame Basis */
#main_nav .rex-navi1 > li > a.has-children-a,
#main_nav .rex-navi2 > li > a.has-children-a { padding-right: 24px; }

#main_nav .rex-navi1 > li > a.has-children-a::after,
#main_nav .rex-navi2 > li > a.has-children-a::after { content: ''; display: inline-block; position: absolute; top: 50%; right: 8px; width: 6px; height: 6px; transform: translateY(-70%) rotate(45deg); transition: transform 200ms ease; }

#main_nav .rex-navi1 > li > a.has-children-a::after { border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; }
#main_nav .rex-navi2 > li > a.has-children-a::after { border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-50%) rotate(-45deg); }

/* Pfeil dreht wenn Submenu offen (nur per aria-expanded, nicht rex-active) */
#main_nav .rex-navi1 > li > a.has-children-a[aria-expanded="true"]::after { transform: translateY(-30%) rotate(225deg); }
#main_nav .rex-navi2 > li > a.has-children-a[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }

/* Sonderfall: Pfeil von Ebene 2 zu 3 nicht anzeigen auf Desktop */
@media all and (min-width: 981px) {
	#main_nav .rex-navi2 > li > a.has-children-a::after { display: none; }
}


/* =========================================================================
   Mobile Navigation (max-width: 980px)
   ========================================================================= */
@media all and (max-width: 980px) {
	/* Menue-Button einblenden, links wie bisher (Logo steht rechts) */
	#main_nav_button { display: block; right: auto; left: 20px; margin: 0; }

	/* Navigation: im mobilen Modus als Fullscreen-Overlay */
	#main_nav { clear: both; display: none; position: fixed; top: 0; left: 0; width: 100%; height: auto; margin: 0; overflow: auto; overflow-x: hidden; background-color: var(--mh-nav-mobile-overlay-bg); }
	#main_nav_bg.active #main_nav { display: block; height: 100%; max-height: 100%; padding: 70px 0 20px 0; }

	#main_nav ul { display: block; }
	#main_nav li { display: block; float: none; height: auto; margin: 0; padding: 0; border-left: none; }

	/* Erste Ebene mobil (Reihenfolge: normal → current/active → hover gewinnt immer) */
	#main_nav li a { display: block; float: none; position: relative; top: 0; left: 0; width: auto; height: auto; margin: 0; padding: 10px; font-family: Arial, sans-serif; font-size: 1.125rem; line-height: 1; text-align: left; white-space: normal; color: var(--mh-nav-mobile-text); background-color: transparent; border-bottom: 1px solid var(--mh-nav-mobile-border); }
	#main_nav li a.rex-current { background-color: var(--mh-nav-mobile-active-bg); color: #000; }
	#main_nav li a.rex-active  { background-color: var(--mh-nav-mobile-active-bg); color: #000; }
	#main_nav li a:hover,
	#main_nav li a:focus-visible { text-decoration: none; background-color: var(--mh-nav-mobile-hover-bg); color: #000; }

	/* --- Zweite Ebene --- (Reihenfolge: normal → current/active → hover gewinnt immer) */
	#main_nav ul.rex-navi2 { display: none; position: relative; top: 0; left: 0; margin: 0; width: 100%; max-width: none; min-width: 200px; border-top: none; }
	body.page_inhaltsseite #main_nav ul.rex-navi2 { border-top: none; }

	/* Hover und Focus ohne aria-expanded=true: Submenu bleibt geschlossen */
	#main_nav .rex-navi1 li.has-children:hover > ul,
	#main_nav .rex-navi1 li.has-children > a:hover ~ ul,
	#main_nav .rex-navi1 li.has-children > a:focus-visible ~ ul { display: none; }

	/* Submenu anzeigen wenn JS aria-expanded=true oder rex-active gesetzt hat */
	#main_nav .rex-navi1 li.has-children.rex-active:hover > ul,
	#main_nav .rex-navi1 li.has-children:hover > a[aria-expanded="true"] ~ ul,
	#main_nav .rex-navi1 li.has-children > a[aria-expanded="true"] ~ ul { display: block; }

	/* Aktive Seite: Submenu beim Laden offen halten */
	#main_nav_bg.active #main_nav li.rex-current > ul,
	#main_nav_bg.active #main_nav li.rex-active > ul { display: block; }

	#main_nav ul.rex-navi2 li { float: none; width: 100%; }
	#main_nav ul.rex-navi2 li a { padding: 10px 10px 10px 20px; font-size: 0.9375rem; line-height: 1.2; border-top: none; border-bottom: 1px solid var(--mh-nav-mobile-border); color: #000; background-color: var(--mh-nav-mobile-level2-bg); }
	#main_nav ul.rex-navi2 li a.rex-current { background-color: var(--mh-nav-mobile-active-bg); color: #000; }
	#main_nav ul.rex-navi2 li a.rex-active  { background-color: var(--mh-nav-mobile-active-bg); color: #000; }
	#main_nav ul.rex-navi2 li a:hover,
	#main_nav ul.rex-navi2 li a:focus-visible { background-color: var(--mh-nav-mobile-hover-bg); color: #000; }
}


/* =============================================================================
   6) Projektspezifisches
   ============================================================================= */

/* --- Hintergrundbilder (Modul "Hintergrundbilder", ctype 2) --------------- */
#bg_images { position: fixed; top: 0; left: 0; width: 100%; height: 100%; margin: 0; padding: 0; z-index: 0; }
#bg_images .bg_images_item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; }
#bg_images .bg_images_item.active { opacity: 1; }
#bg_images .bg_images_item img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Bullets unten mittig, Pfeile links/rechts mittig - Grafiken wie bisher */
/* Bezugsrahmen für die Pfeile: erste Bildschirmhöhe oben auf der Seite, ohne Klicks abzufangen */
#bg_images_controls { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; margin: 0; padding: 0; pointer-events: none; }
#bg_images_controls button { margin: 0; padding: 0; border: none; cursor: pointer; background-color: transparent; pointer-events: auto; }
#bg_images_controls button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.bg_images_bullets { position: absolute; bottom: 98px; left: 0; width: 100%; height: 22px; margin: 0; padding: 0; z-index: 250; text-align: center; opacity: 0.8; pointer-events: none; }
#bg_images_controls .bg_images_bullet { display: inline-block; width: 22px; height: 22px; vertical-align: top; pointer-events: auto;
  background-image: url(bg_images_bullets.png); background-repeat: no-repeat; background-position: top center; }
#bg_images_controls .bg_images_bullet:hover { opacity: 0.7; }
#bg_images_controls .bg_images_bullet[aria-current="true"] { background-position: bottom center; }

#bg_images_controls .bg_images_prev,
#bg_images_controls .bg_images_next { position: absolute; top: 50%; left: 5px; width: 50px; height: 50px; margin: -25px 0 0 0; z-index: 250; overflow: hidden;
  background-image: url(bg_images_arrows.png); background-repeat: no-repeat; }
#bg_images_controls .bg_images_prev { background-position: top left; }
#bg_images_controls .bg_images_next { left: auto; right: 5px; background-position: top right; }
#bg_images_controls .bg_images_prev:hover { background-position: bottom left; }
#bg_images_controls .bg_images_next:hover { background-position: bottom right; }

/* Seitentyp default: Punkte und Pfeile bleiben beim Scrollen stehen */
body.page_default .bg_images_bullets,
body.page_default #bg_images_controls .bg_images_prev,
body.page_default #bg_images_controls .bg_images_next { position: fixed; }

@media all and (max-width: 768px) {
    #bg_images_controls { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    #bg_images .bg_images_item { transition: none; }
}


/* Cookie-Hinweis (vom Cookie-Addon eingefügt) vor die festen Hintergrundbilder holen */
#cookie_hinweis { position: relative; z-index: 300; }


/* --- Seitentyp Startseite / Roadshow: Textbox über den Hintergrundbildern -- */
body.page_startseite #header_bg,
body.page_roadshow #header_bg { position: relative; z-index: 1; }
body.page_startseite #header,
body.page_roadshow #header { min-height: calc(100vh - 114px); }

#home { position: absolute; top: 50%; left: 50%; width: 450px; height: auto; min-height: 60px; margin: -170px 0 0 -245px; padding: 20px;
  border: none; background-color: #fff; background-color: rgba(255, 255, 255, 0.75); border-radius: 0 15px 15px 15px; overflow: hidden; z-index: 2; }

/* grüner Balken unten im Bildkopf mit Pfeil zum Inhalt und "+" */
#header_footer { position: absolute; top: auto; bottom: 0; left: 0; width: 100%; height: 90px; z-index: 100; background-color: var(--color-accent); }
#footer_scroll { padding: 40px 0 0 0; text-align: center; }
#footer_scroll a.scroll { display: inline-block; width: 46px; margin: 0 auto; }

body.page_startseite #content_bg,
body.page_roadshow #content_bg { position: relative; z-index: 100; background-color: #fff; }

body.page_roadshow .outer_box .image { text-align: center; }

@media all and (max-width: 768px) {
    body.page_startseite #header_footer { display: none; }
}
@media all and (max-width: 480px) {
    body.page_startseite #header,
    body.page_roadshow #header { min-height: 0; padding: 40px 10px; }
    #home { position: relative; top: 0; left: 0; width: auto; margin: 0; padding: 20px 10px; }
}


/* --- Seitentyp Inhaltsseite: ohne Hintergrundbilder ---------------------- */
body.page_inhaltsseite #content_bg { position: relative; z-index: 100; min-height: calc(100vh - 119px); background-color: #fff; }
body.page_inhaltsseite #content { padding: 0 0 90px 0; }


/* --- Seitentyp default: Inhaltsbox über den Hintergrundbildern ------------ */
body.page_default #content_bg { position: relative; z-index: 10; width: 572px; margin: 80px 0 90px 79px; padding: 20px 35px 10px 35px;
  background-color: #fff; background-color: rgba(255, 255, 255, 0.75); color: #000; }
body.page_default #content { display: flow-root; min-height: 0; overflow: visible; }
body.page_default #content[hidden] { display: none; }
body.page_default .section_padding_normal,
body.page_default .section_padding_small,
body.page_default .section_padding_big { padding: 0; }
body.page_default .outer_box { width: 100%; margin: 0 0 20px 0; }
body.page_default hr { width: 100%; margin: 0 0 20px 0; }

#content_box_head { position: relative; padding: 0 48px 0 0; }
h1.entry-title { display: block; margin: 0 0 10px 0; }
h1.entry-title .partner { font-size: 12px; font-weight: 400; }

#content_toggle { position: absolute; top: 0; right: -25px; width: 38px; height: 38px; margin: 0; padding: 0; border: none; cursor: pointer;
  background-color: transparent; background-image: url(navigation_plus.png); background-position: center; background-repeat: no-repeat; }
#content_toggle[aria-expanded="false"] { background-image: url(navigation_minus.png); }
#content_toggle:hover { opacity: 0.5; }

@media all and (max-width: 980px) {
    body.page_default #content_bg { margin: 107px 0 90px 79px; }
}
@media all and (max-width: 768px) {
    body.page_default #content_bg { margin: 40px auto; padding: 20px 25px 10px 25px; }
}
@media all and (max-width: 640px) {
    body.page_default #content_bg { width: auto; margin: 40px 10px; }
}
@media all and (max-width: 480px) {
    body.page_default #content_bg { padding: 20px 10px 10px 10px; }
    #content_toggle { right: 0; }
}


/* 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; }

/* breadcrumb.css */
#breadcrumb_bg { clear: both; display: block; }
#breadcrumb { display: block; width: 100%; max-width: 1200px; padding: 10px 2.5%; margin: 0 auto; }
#breadcrumb ul, #breadcrumb li { list-style: none; list-style-type: none; background-image: none; }
#breadcrumb ul { display: block; margin: 0; padding: 0; }
#breadcrumb li { display: inline-block; margin: 0; padding: 0; color: #222; font-size: 0.8rem; }
#breadcrumb li::after { content: '>'; display: inline-block; margin: 0 5px 0 8px; padding: 0; }
#breadcrumb li:last-child::after { content: ''; display: none; }
#breadcrumb li a { display: inline-block; margin: 0; padding: 0; color: #444; text-decoration: none; }
#breadcrumb li a:hover,
#breadcrumb li a:focus {  color: #222; text-decoration: underline; }

/* 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;
    }
}


/* scroll_to_top_button.css */
:root {
	--mh-scroll-top-bg: #2a406e;
	--mh-scroll-top-bg-hover: #58698d;
	--mh-scroll-top-color: #fff;
}

#scroll_to_top { display: flex; align-items: center; justify-content: center; position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; padding: 0; border: none; border-radius: 50%; background-color: var(--mh-scroll-top-bg); color: var(--mh-scroll-top-color); cursor: pointer; z-index: 500; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 200ms ease-in-out, background-color 200ms ease-in-out; }

#scroll_to_top.visible { opacity: 1; visibility: visible; pointer-events: auto; }

#scroll_to_top:hover,
#scroll_to_top:focus-visible { background-color: var(--mh-scroll-top-bg-hover); }

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

#scroll_to_top .icon-arrow-up { display: block; width: 12px; height: 12px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; transform: rotate(-45deg) translate(-2px, 2px); }

@media (prefers-reduced-motion: reduce) {
	#scroll_to_top { transition: none; }
}

@media all and (max-width: 480px) {
	#scroll_to_top { right: 12px; bottom: 12px; width: 40px; height: 40px; }
}


/* 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; }

/* wow_effekte.css */
/* ------ wow Effekte ------ */
.wow {
    animation-delay: 0.5s;
    animation-duration:2s;
    animation-fill-mode:both;
}
.wow.hide { visibility: hidden; }
.wow.animate { visibility: visible; }

@keyframes fadeIn{0%{opacity:0}to{opacity:1}}
.wow.animate.effect_fadeIn{animation-name:fadeIn}

@keyframes fadeInDown{0%{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}
.wow.animate.effect_fadeInDown{animation-name:fadeInDown}

@keyframes rollInLeft{0%{opacity:0;transform:translate3d(-100%,0,0) rotate(-120deg)}to{opacity:1;transform:translateZ(0)}}
.wow.animate.effect_rollInLeft{animation-name:rollInLeft}

@keyframes rollInRight{0%{opacity:0;transform:translate3d(100%,0,0) rotate(-120deg)}to{opacity:1;transform:translateZ(0)}}
.wow.animate.effect_rollInRight{animation-name:rollInRight}

@keyframes zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}
.wow.animate.effect_zoomIn{animation-name:zoomIn}

@keyframes zoomInDown{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}
.wow.animate.effect_zoomInDown{animation-name:zoomInDown}

@keyframes zoomInLeft{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}
.wow.animate.effect_zoomInLeft{animation-name:zoomInLeft}

@keyframes zoomInRight{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}
.wow.animate.effect_zoomInRight{animation-name:zoomInRight}

@keyframes zoomInUp{0%{opacity:0;transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}
.wow.animate.effect_zoomInUp{animation-name:zoomInUp}

@keyframes slideInDown{0%{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translateZ(0)}}
.wow.animate.effect_slideInDown{animation-name:slideInDown}

@keyframes slideInLeft{0%{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translateZ(0)}}
.wow.animate.effect_slideInLeft{animation-name:slideInLeft}

@keyframes slideInRight{0%{transform:translate3d(100%,0,0);visibility:visible}to{transform:translateZ(0)}}
.wow.animate.effect_slideInRight{animation-name:slideInRight}

@keyframes slideInUp{0%{transform:translate3d(0,100%,0);visibility:visible}to{transform:translateZ(0)}}
.wow.animate.effect_slideInUp{animation-name:slideInUp}

/* Reduzierte Bewegung: Animation ueberspringen, Inhalt sofort und vollstaendig sichtbar */
@media (prefers-reduced-motion: reduce) {
    .wow { animation: none !important; }
    .wow.hide { visibility: visible; opacity: 1; }
}


/* 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; }
}

/* 014_logo_leiste.css */
.m014_logo_leiste { text-align: center; }
.m014_logo_leiste .logo_leiste_titel { margin: 0 0 30px 0; font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; }

.m014_logo_leiste .logo_leiste_logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px 64px; margin: 0 0 20px 0; }
.m014_logo_leiste .logo_leiste_item { margin: 0; }
.m014_logo_leiste .logo_leiste_item img { display: block; max-height: 44px; width: auto; }

/* Optional pro Projekt (dunkler Hintergrund, Referenz Kunstwerk):
.m014_logo_leiste .logo_leiste_item img { filter: grayscale(1) invert(0.85); opacity: 0.75; }
*/


/* extras_010_formular_yform.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; }
}


/* module20261021.css */
/* module20261021.css — Forstner Destinations
   Kaskade: default.css → main20261021.css → Modul-CSS AddOn → diese Datei.
   Reihenfolge: zuerst Anpassungen an Poolmodulen, danach die eigenen m5XX-Module. */


/* =============================================================================
   Fremd-Addon-Overrides
   ============================================================================= */

/* --- yForm ---------------------------------------------------------------- */
.yform .form-control { font-size: 1em; line-height: 1.43; padding: 5px 10px; }
.yform textarea.form-control { height: 136px; }
.yform .btn-primary { width: 140px; padding: 5px; background-color: var(--color-accent); color: #fff; }
.yform .btn-primary:hover { background-color: var(--color-accent-dark); color: #fff; }
.yform .btn-primary:focus,
.yform .btn-primary:focus-visible { background-color: var(--color-accent-dark); color: #fff; }
.yform .pflichtfelder { font-size: 0.8em; }


/* =============================================================================
   Individuelle Module (Bestand)
   ============================================================================= */

/* Die Wrapper der älteren Module sind keine outer_box und liegen direkt in der
   Flex-Section - ohne feste Breite würden sie auf Inhaltsbreite schrumpfen. */
.txt-img,
.news_box,
.newsevents { width: 100%; }

/* --- Partner-Kachel mit Text-Overlay ------------------------------------- */
.partner_box { display: block; width: 29.25%; margin: 0 0 3.06% 3.06%; padding: 0; }
.partner_box_inner { display: block; position: relative; width: 100%; margin: 0; padding: 0; border-radius: 0 15px 15px 15px; overflow: hidden; }
.partner_box_inner a { display: block; margin: 0; padding: 0; color: var(--color-main); text-decoration: none; }
.partner_box_inner a:hover { color: #000; text-decoration: none; opacity: 0.8; }
.partner_box_inner a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -3px; }
.partner_box_inner .partner_box_text { display: block; position: absolute; bottom: 0; left: 0; width: 100%; min-height: 4.5rem; margin: 0; padding: 0; background-color: var(--color-accent); }
.partner_box_inner .partner_box_title { display: block; padding: 0.3125rem 0.625rem 0.125rem 0.625rem; font-weight: 700; font-size: 0.875rem; line-height: 1.43; color: #333; }
.partner_box_inner .partner_box_subline { display: block; padding: 0 0.625rem 0.3125rem 0.625rem; font-size: 0.75rem; line-height: 1.67; color: #333; }

@media all and (max-width: 768px) {
    .partner_box { width: 45.41%; }
}
@media all and (max-width: 480px) {
    .partner_box { width: auto; margin: 0 10px 15px 10px; }
}


/* --- Roadshow-Partner ----------------------------------------------------- */
h1.roadshow_header_h1 { display: block; margin: 0 0 20px 0; text-align: center; font-size: 3em; letter-spacing: 5px; }

.roadshow_partner_flexbox { display: flex; flex-flow: row wrap; justify-content: flex-start; align-items: flex-start; }
.roadshow_partner_box { display: block; width: 21.17%; margin: 0 0 3.06% 3.06%; padding: 0; }
.roadshow_partner_text { display: block; padding: 0.625rem 0 0.0625rem 0; }
.roadshow_partner_box h3 { font-size: 1.2em; margin: 0 0 0.625rem 0; }
.roadshow_partner_box p { margin: 0 0 0.625rem 0; }
.roadshow_partner_box p.roadshow_partner_land { font-weight: 700; }

@media all and (max-width: 768px) {
    .roadshow_partner_box { width: 45.41%; }
}
@media all and (max-width: 480px) {
    h1.roadshow_header_h1 { font-size: 2em; letter-spacing: 3px; }
    .roadshow_partner_flexbox { display: block; }
    .roadshow_partner_box { width: auto; margin: 0 10px 15px 10px; }
}


/* --- News ----------------------------------------------------------------- */
.newsevents { display: block; padding: 0; margin: 0 0 1.25rem 0; border-bottom: 1px solid var(--color-accent); }

.news_box { display: block; padding: 0 0 1.25rem 0; margin: 0 0 1.875rem 0; border-bottom: 1px solid var(--color-accent); }
.news_box p { margin: 0 0 0.625rem 0; }
.news_head,
.news_image,
.news_download { display: block; margin: 0 0 0.625rem 0; }
.news_date { display: block; font-size: 0.875rem; color: var(--color-headline); }
.news_headline { display: block; font-size: 1rem; line-height: 1.5; color: var(--color-main); font-weight: 700; }

.news_text_right,
.news_text_left { display: block; width: 65%; margin: 0 0 0.625rem 0; }
.news_image_left,
.news_image_right { display: block; width: 33%; margin: 0 0 0.625rem 0; }
.news_text_right, .news_image_right { float: right; }
.news_text_left, .news_image_left { float: left; }
.news_clear { clear: both; }

@media all and (max-width: 480px) {
    .news_text_right, .news_text_left,
    .news_image_right, .news_image_left { float: none; width: 100%; }
}


/* --- Linkbalken ----------------------------------------------------------- */
.linkbalken a { display: block; padding: 5px 10px; margin: 0; background-color: var(--color-accent); color: #fff; text-decoration: none; }
.linkbalken a:hover { background-color: var(--color-headline); color: #fff; text-decoration: none; }
.linkbalken a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }


/* --- Modul 24: Text und Partnerlogo (weißer Balken über die volle Boxbreite) */
.bg_weiss_breit { display: flow-root; width: calc(100% + 70px); margin: 0 -35px; padding: 10px 0 1px 0; background-color: #fff; }
.bg_weiss_breit_inner { display: flex; flex-flow: row wrap; justify-content: space-between; margin: 0; padding: 0 35px; }
.bg_weiss_breit .box1 { width: 68%; padding: 0; }
.bg_weiss_breit .box2 { width: 30%; padding: 10px 0 0 0; text-align: right; }

@media all and (max-width: 768px) {
    .bg_weiss_breit { width: calc(100% + 50px); margin: 0 -25px; }
    .bg_weiss_breit_inner { padding: 0 25px; }
}
@media all and (max-width: 640px) {
    .bg_weiss_breit { width: 100%; margin: 0; }
    .bg_weiss_breit_inner { padding: 0 15px; }
}
@media all and (max-width: 480px) {
    .bg_weiss_breit_inner { display: block; }
    .bg_weiss_breit .box1,
    .bg_weiss_breit .box2 { width: 100%; text-align: left; padding: 10px 0; }
}


/* --- Modul 35: News "weiter lesen" (Slidedown) ---------------------------- */
.bwd_slidedown_box { clear: both; display: block; margin: 0 0 10px 0; padding: 0; }
.bwd_slidedown_head { display: block; width: auto; margin: 0; padding: 5px 5px 5px 40px; background-color: transparent; background-image: url(slidedown_arrow_down.png); background-position: center left; background-repeat: no-repeat; }
.bwd_slidedown_head:hover { background-color: var(--color-accent); color: #fff; cursor: pointer; }
.bwd_slidedown_head:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.bwd_slidedown_head.active { display: block; background-image: url(slidedown_arrow_up.png); }
.bwd_slidedown_text { display: block; padding: 10px 0 1px 0; }
.bwd_slidedown_text[hidden] { display: none; }
.bwd_slidedown_head * { margin: 0; }


/* --- Modul 46: Video (MP4) ------------------------------------------------ */
.video_mp4 { display: block; width: 100%; max-width: 100%; height: auto; background-color: #000; }



/* --- Wabenbild ------------------------------------------------------------ */
.wabenbild { display: block; width: 100%; margin: 0 0 1.25rem 0; padding: 0; }


/* =============================================================================
   Neue Module (500er)
   ============================================================================= */


