/* 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,
.outer_box_inner: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-Section. Ersetzt clearfix, sobald eine Flex-Einstellung gesetzt ist. */
.section_flex { display: flex; flex-flow: row wrap; }
.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; }
.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; }

/* Pflicht: unter dem Mobil-Breakpoint faellt .section_flex auf display:block
   zurueck, die outer_box werden wieder Floats. Ohne diesen Clearfix hat die
   Section Hoehe 0 und der Hintergrund verschwindet. */
@media all and (max-width: 480px) {
    .section_flex { display: block; }
    .section_flex::after { content: ''; display: table; clear: both; }
}


/* main20260825.css */
/* roboto-300 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 300;
	src: url('fonts/roboto-v51-latin-300.woff2') format('woff2');
}
/* roboto-regular - latin */
@font-face { font-display: swap; font-family: 'Roboto'; font-style: normal; font-weight: 400; src: url('fonts/roboto-v51-latin-regular.woff2') format('woff2'); }
/* roboto-700 - latin */
@font-face { font-display: swap; font-family: 'Roboto'; font-style: normal; font-weight: 700; src: url('fonts/roboto-v51-latin-700.woff2') format('woff2'); }

/* oswald-regular - latin */
@font-face {font-display: swap; font-family: 'Oswald'; font-style: normal; font-weight: 400; src: url('fonts/oswald-v57-latin-regular.woff2') format('woff2'); }


/* --- Schriften + Generelle CSS-Anpassungen fuer diese Webseite --- */
html, body {
	font-family: 'Roboto', sans-serif;
	font-size: 18px; line-height: 1.5;
	font-weight: 400;
	color: #747474;
	min-width: 300px;
}

html { background-color: #fff; scroll-padding-top: 90px; font-size: 18px; line-height: 1.5;}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { cursor: pointer; background: #c4c2c3; }
::selection { background-color: #021c47; color: #fff; }
::-moz-selection { background-color: #021c47; color: #fff; }

h1, .like_h1 {font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 8vmin;  letter-spacing: 0.32em; text-transform: uppercase; color: #3d3d3d;}
h2, .like_h2 { font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 2.1875em; letter-spacing: 0.32em; text-transform: uppercase; color: #3d3d3d; }
h3, .like_h3 {font-weight: 700; font-size: 1.875em;  color: #3d3d3d;}
h4, .like_h4 {font-weight: 700; font-size: 1.125em;  color: #3d3d3d; letter-spacing: 0.2em; text-transform: uppercase;}

h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a, h4 a, .h4 a { color: inherit; }
h1 a:hover, .h1 a:hover, h2 a:hover, .h2 a:hover, h3 a:hover, .h3 a:hover, h4 a:hover, .h4 a:hover,
h1 a:focus,
.h1 a:focus,
h2 a:focus,
.h2 a:focus,
h3 a:focus,
.h3 a:focus,
h4 a:focus,
.h4 a:focus { text-decoration: none; }

p { margin-bottom: 1.6rem; }
b, strong { font-weight: 700; }
ul { list-style: none; padding-left: 0; }

a { text-decoration: none; color: #021c47; }
a:hover { text-decoration: none; color: #333; }
a:active, a:focus { outline: 0; }
a:hover img,
a:focus img { opacity: 0.8; }

a:focus-visible { outline: 2px solid #021c47; outline-offset: 3px; }

.link_as_button { display: inline-block; padding: 12px 30px; background-color: #021c47; color: #fff; text-decoration: none; }
.link_as_button:hover,
.link_as_button:focus { background-color: #fff; color: #021c47; text-decoration: none; }


/* ----------------------------------------------------------------------------------
   CSS-Einstellungen fuer das Addon Modulhelper (bzw. bw_modulhelper)
---------------------------------------------------------------------------------- */ 
.section_bg_none,
.section_bg_gray,
.section_bg_white,
.section_bg_black,
.section_bg_black_no_padding { clear: both; display: block; width: 100%; height: auto; margin: 0; padding: 50px 0 30px 0; background-color: #FFF; }

.section_bg_none { background-color: transparent; }
.section_bg_gray { background-color: #fafafa; }
.section_bg_white { background-color: #FFF; }
.section_bg_black,
.section_bg_black_no_padding { background-color: #000; color: #FFF; }
.section_bg_black_no_padding { padding: 0; }

.section_bg_black *,
.section_bg_black_no_padding * { color: #FFF; }

.section_bg_none hr { clear: both; display: block; width: 94.74%; border-top: 1px solid #021c47; margin: 20px auto 50px auto; }

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

.section_full { width: 1900px; }
.section_1600 { width: 1600px; }
.section_1200 { width: 1200px; }

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



.section_bg_image,
.section_bg_paroller { display: block; position: static; width: 100%; margin: 0; padding: 30px 0 10px 0; z-index: 1; 
background-color: #fff; background-position: center center; background-attachment: scroll; background-repeat: no-repeat; background-size: cover; }

.section_bg_image { min-height: 500px; }

.section_bg_paroller .section_full, 
.section_bg_paroller .section_1100 { min-height: 300px; }
.section_bg_paroller .parallax_height_100 { min-height: 100px; }


/* ------------ Outer Box ------------ */
/* Ausgangswerte: (Seitenbreite: 1900px | Abstand: 50px) */
.outer_box { clear: both; display: block; float: left; width: 94.74%; margin: 0 0 30px 2.63%; padding: 0; }

.box_width_full { width: 100%; margin: 0 0 30px 0; }
.box_width_1_2 { clear: none; width: 46.05%; }
.box_width_1_3 { clear: none; width: 29.82%; }
.box_width_2_3 { clear: none; width: 62.27%; }
.box_width_1_4 { clear: none; width: 21.71%; }
.box_width_3_4 { clear: none; width: 70.39%; }


.box_bg_gray_light { background-color: #f0f0f0; }
.box_bg_white { background-color: #FFF; }
.box_bg_white_trans { background-color: rgba(255, 255, 255, 0.85); }

.box_bg_gray_light .outer_box_inner,
.box_bg_white .outer_box_inner,
.box_bg_white_trans .outer_box_inner { padding: 20px 20px 1px 20px; }

.box_image_left_no_margin { float: left; margin: 0; padding: 0; }

/* ----------------------------------------------------------------------------------
 Clearfix, um das Floating innerhalb der Container aufzuheben fuer Firefox, IE8, Opera, Safari, etc.
---------------------------------------------------------------------------------- */ 
.outer_box_inner:after {content: "."; display: block; height: 0; font-size: 0;  clear: both; visibility: hidden;}
* + html .outer_box_inner { display: inline-block; } /* fuer IE7 */
* html .outer_box_inner { height: 1%; } /* fuer IE6 */


.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; }

/* ------------ Moduleinstellungen ------------ */
.text_bild .flLeft,
.text_bild .flRight { float: left; display: block; width: auto; max-width: 46.05%; margin: 0 25px 10px 0; overflow: hidden; }
.text_bild .flRight { float: right; margin: 0 0 10px 25px; }

.outer_box .text_bild .flLeft .image,
.text_bild .flRight .image { margin: 0; }

.text_bild .image span.small { display: block; }
.zweispalter .flLeft { float: left; display: block; width: 46.05%; margin: 0; overflow: hidden; }
.zweispalter .flRight { float: right; display: block; width: 46.05%; margin: 0; overflow: hidden; }



/* ------------ Uberschriften  ------------ */
.outer_box h1, .outer_box h2, .outer_box h3, .outer_box h4, .outer_box h5, .outer_box h6,
.like_h1, .like_h2, .like_h3, .like_h4, .like_h5, .like_h6 {font-weight: 400; font-style: normal; font-size: 0.7778rem; line-height: 1.25;  margin: 0 0 10px 0; color: #000;}
.outer_box h1, .like_h1 {font-size: 1.5556rem;  margin: 0 0 20px 0;} 
.outer_box h2, .like_h2 {font-size: 1.2222rem;} 
.outer_box h3, .like_h3 {font-size: 1rem;} 
.outer_box h4, .like_h4 {font-size: 0.7778rem;} 
.outer_box h5, .like_h5 { font-size: 0.7778rem; } 
.outer_box h6, .like_h6 { font-size: 0.6667rem; } 


.outer_box h1 span,
.outer_box h2 span { color: #9d9d9c; }


.outer_box h1 { display: inline-block; width: auto; height: auto; padding: 0 30px 0 0; background-image: url(andreasheideck_gatter.png); background-repeat: no-repeat; background-position: top right; }



/* --- Menue-Button --- */
#main_nav_button { display: none; position: fixed; top: 20px; 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: #021c47; transition: all 200ms ease-in-out; }
#main_nav_button:before { margin-bottom: 15px; box-shadow: 0 9px 0 #021c47; }
#main_nav_button:hover,
#main_nav_button:focus-visible,
#main_nav_button:focus { transform: scale(1.1); }
#main_nav_button.active:before { box-shadow: none; transform: translateY(9px) rotate(45deg); }
#main_nav_button.active:after  { transform: translateY(-9px) rotate(-45deg); }
#main_nav_button.active:hover,
#main_nav_button.active:focus-visible,
#main_nav_button.active:focus { transform: scale(1.1); }

#main_nav_button:focus-visible { outline: 2px solid #021c47; outline-offset: 3px; }
#main_nav_button.active:focus-visible { outline: 2px solid #021c47; outline-offset: 3px; }


/* =========================================================================
   Desktop Navigation
   ========================================================================= */

#main_nav_bg { position: fixed; top: 0; left: 0; width: 100%; height: auto; padding: 0; margin: 0; z-index: 100; }

#main_nav_content,
#main_nav { position: relative; top: 0; left: 0; width: 100%; height: auto; margin: 0; padding: 50px 0 0 0; z-index: 99; text-align: right; }

#main_nav_content { max-width: 1600px; margin: 0 auto; padding: 0;}

#logo { position: absolute; top: 0; left: 20px; width: 240px; height: auto; margin: 0; padding: 0; z-index: 4; background-color: transparent; text-align: center; transition: all 0.3s; }
#logo a { display: block; }

.no_header_image { clear: both; display: block; width: 100%; height: 210px; margin: 0; padding: 0; background-color: transparent; }


/* Erste Ebene
   Reihenfolge: normal → current/active → hover gewinnt immer */
#main_nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-end; 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 20px 0 0; padding: 0; }

#main_nav li a { display: block; width: auto; height: auto; margin: 0; padding: 5px 15px; font-family: 'Oswald', sans-serif; font-weight: 300; font-size: 0.9em; letter-spacing: 0.32em; text-transform: uppercase; text-decoration: none; color: #021c47; background-color: rgba(255,255,255,.2); transition: all 0.125s ease-in; }
#main_nav li a.rex-current,
#main_nav li a.rex-active  { color: #fff; background-color: #021c47; }
#main_nav li a:hover,
#main_nav li a:focus-visible,
#main_nav li a:focus { text-decoration: none; color: #fff; background-color: #021c47; transition: all 0.125s ease-out; }
#main_nav li a:focus-visible { outline: 2px solid blue; outline-offset: 3px; }

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

#main_nav ul.rex-navi2 { display: none; }


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

/* Ebene 1: weiss (blauer Hintergrund) */
#main_nav .rex-navi1 > li > a.has-children-a::after { border-right: 2px solid #fff; border-bottom: 2px solid #fff; }
/* Ebene 2: schwarz (heller Hintergrund falls reaktiviert), Pfeil zeigt nach rechts (hat Ebene 3) */
#main_nav .rex-navi2 > li > a.has-children-a::after { border-right: 2px solid #000; border-bottom: 2px solid #000; 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 1 zu 3 und 2 zu 3 nicht anzeigen auf Desktop */
@media all and (min-width: 981px) {
	#main_nav .rex-navi1 > li > a.has-children-a::after { display: none; }
	#main_nav .rex-navi2 > li > a.has-children-a::after { display: none; }
}


body.sticky #main_nav_bg { background-color: rgba(255,255,255,.95); box-shadow: 0 0 35px rgba(0,0,0,.1); }
body.sticky #main_nav { padding: 20px 0; }

body.sticky #logo a { display: block; width: 240px; height: 70px; background-image: url(andreasheideck_sticky.png); background-repeat: no-repeat; background-position: center; background-size: contain }
body.sticky #logo a img { display: none; }

@media all and (min-width: 981px) {
	#page_1 #main_nav li a,
	#page_3 #main_nav li a { color: #fff; background-color: rgba(2,28,71,.2); }
	#page_1 #main_nav li a:hover,
	#page_1 #main_nav li a:focus-visible,
	#page_3 #main_nav li a:hover,
	#page_3 #main_nav li a:focus-visible,
	#page_1 #main_nav li a:focus,
	#page_3 #main_nav li a:focus { color: #021c47; background-color: #fff; }
	
	#page_1 #main_nav li a:focus-visible,
	#page_3 #main_nav li a:focus-visible { outline: 2px solid blue; outline-offset: 3px;}	

	#page_1.sticky #main_nav li a,
	#page_3.sticky #main_nav li a { color: #021c47; background-color: #fff; }
	#page_1.sticky #main_nav li a.rex-current,
	#page_1.sticky #main_nav li a.rex-active,
	#page_3.sticky #main_nav li a.rex-current,
	#page_3.sticky #main_nav li a.rex-active { color: #fff; background-color: #021c47; }
	#page_1.sticky #main_nav li a:hover,
	#page_1.sticky #main_nav li a:focus-visible,
	#page_3.sticky #main_nav li a:hover,
	#page_3.sticky #main_nav li a:focus-visible,
	#page_1.sticky #main_nav li a:focus,
	#page_3.sticky #main_nav li a:focus { color: #021c47; background-color: #fff; }
	
	#page_1.sticky #main_nav li a:focus-visible,
	#page_3.sticky #main_nav li a:focus-visible { outline: 2px solid blue; outline-offset: 3px; }	
}


/* =========================================================================
   Mobile Navigation (max-width: 980px)
   ========================================================================= */
@media all and (max-width: 980px) {
	/* Menue-Button einblenden */
	#main_nav_button { display: block; }

	/* 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: #fff; }
	#main_nav_bg.active #main_nav { display: block; height: 100%; max-height: 100%; padding: 64px 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).
	   Panel-Hintergrund weiss wie im alten .navbar-collapse (vorher #f4f4f4). */
	#main_nav li a {display: block; width: auto; height: auto; margin: 0; padding: 10px; font-weight: 300; font-size: 1.125em; letter-spacing: 0.1em;  text-align: left; text-transform: uppercase; color: #021c47; background-color: #fff; border-bottom: 1px solid #ececec;}
	#main_nav li a.rex-current,
	#main_nav li a.rex-active  { background-color: #021c47; color: #fff; }
	#main_nav li a:hover,
	#main_nav li a:focus-visible,
	#main_nav li a:focus { text-decoration: none; background-color: #021c47; color: #fff; } 
	#main_nav li a:focus-visible { outline: 2px solid blue; outline-offset: -2px; }
	
	#main_nav .rex-navi1 > li > a.has-children-a::after { border-right: 2px solid #021c47; border-bottom: 2px solid #021c47; }

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

	/* 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,
	#main_nav .rex-navi1 li.has-children > a:focus-visible ~ ul,
/* Hover und Focus ohne aria-expanded=true: Submenu bleibt geschlossen */
	#main_nav .rex-navi1 li.has-children:focus > ul,
	#main_nav .rex-navi1 li.has-children > a:focus ~ ul { display: none; outline: 2px solid blue; outline-offset: -2px; }

	/* 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,
/* Submenu anzeigen wenn JS aria-expanded=true oder rex-active gesetzt hat */
	#main_nav .rex-navi1 li.has-children.rex-active:focus > ul,
#main_nav .rex-navi1 li.has-children:focus > 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.9em; border-top: none; border-bottom: 1px solid #ececec; color: #000; background-color: #e4e4e4; }
	#main_nav ul.rex-navi2 li a.rex-current { background-color: #e4e4e4; color: #021c47; }
	#main_nav ul.rex-navi2 li a.rex-active  { background-color: #021c47; color: #fff; }
	#main_nav ul.rex-navi2 li a:hover,
	#main_nav ul.rex-navi2 li a:focus-visible,
	#main_nav ul.rex-navi2 li a:focus { background-color: #e4e4e4; color: #021c47; }
	
	#main_nav ul.rex-navi2 li a:focus-visible { outline: 2px solid blue; outline-offset: -2px; }

	/* --- Dritte Ebene ---
       Mobil: kein Flyout, stattdessen eingerueckt unterhalb des Eltern-Links
       Reihenfolge: normal → current/active → hover gewinnt immer */
	#main_nav ul.rex-navi3 { display: none; }

	/* Einrueckung per Pseudoelement */
	#main_nav ul.rex-navi2 li a:before { content: '-';  display: inline-block; margin-right: 5px; color: #999; }




	#logo { top: 15px; left: 15px; width: 150px; }

	.no_header_image { height: 130px; }


	body.sticky #main_nav_bg { min-height: 64px; background-color: rgba(255,255,255,.95); box-shadow: 0 0 35px rgba(0,0,0,.1); }

	body.sticky #logo { top: 10px; }
	body.sticky #logo a { display: block; width: 150px; height: 44px; background-image: url(andreasheideck_sticky.png); background-repeat: no-repeat; background-position: center; background-size: contain }
	body.sticky #logo a img { display: none; }



		#page_1 #main_nav_button:before,
		#page_1 #main_nav_button:after,
		#page_3 #main_nav_button:before,
		#page_3 #main_nav_button:after { background-color: #fff; }
		#page_1 #main_nav_button:before,
		#page_3 #main_nav_button:before { box-shadow: 0 9px 0 #fff; }
		#page_1 #main_nav_button:focus-visible,
		#page_3 #main_nav_button:focus-visible { outline-color: #fff; }

		#page_1.sticky #main_nav_button:before,
		#page_1.sticky #main_nav_button:after,
		#page_3.sticky #main_nav_button:before,
		#page_3.sticky #main_nav_button:after { background-color: #021c47; }
		#page_1.sticky #main_nav_button:before,
		#page_3.sticky #main_nav_button:before { box-shadow: 0 9px 0 #021c47; }
		#page_1.sticky #main_nav_button:focus-visible,
		#page_3.sticky #main_nav_button:focus-visible { outline-color: #021c47; }


		#page_1 #main_nav_button.active:before,
		#page_1 #main_nav_button.active:after,
		#page_3 #main_nav_button.active:before,
		#page_3 #main_nav_button.active:after { background-color: #021c47; }
		#page_1 #main_nav_button.active:before,
		#page_3 #main_nav_button.active:before { box-shadow: none; }
		#page_1 #main_nav_button.active:focus-visible,
		#page_3 #main_nav_button.active:focus-visible { outline-color: #021c47; }


}


#footer_bg { clear: both; padding: 30px 0; background-color: #021c47;  }
#footer {clear: both; max-width: 1600px; margin: 0 auto; padding: 0; color: #c4c2c3; font-size: 0.8889rem;}

#footer_bg { padding: 30px 0 10px 0; }

.footer_box {float: left; display: block; width: 21.71%; height: auto; margin: 0 0 20px 2.63%; padding: 0; font-size: 0.8333rem;}


.footer_box_headline {display: block; margin: 0 0 10px 0; font-size: 1rem;  font-weight: 700;}

#footer .footer_box img { display: inline-block; margin: 0 0 30px 0; }

#footer .footer_box a {display: inline-block; margin: 0 0 8px 0; font-size: 0.8333rem;  color: #c4c2c3; text-decoration: none;}
#footer .footer_box a:hover,
#footer .footer_box a:focus { color: #fff; text-decoration: none; }

#footer .footer_box a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }



@media all and (max-width:980px) {
.footer_box { width: 46.05%; }
#footer_box_3 { clear: both; }	
#footer_box_3, #footer_box_4 { border-top: 1px solid #c4c2c3; padding-top: 20px; }	
	
}

@media all and (max-width:640px) {
.footer_box { float: none; width: auto !important; min-height: 0; margin: 2.63% 20px 2.63%; }

#footer_box_3 br,
#footer_box_4 br { display: none; }
#footer #footer_box_3 a,
#footer #footer_box_4 a { display: inline-block; margin: 0 5px 10px 5px; }

}


@media all and (max-width:480px) {
.footer_box {  margin: 0 15px 20px 15px; }

.outer_box { clear: both; float: none; width: auto; margin: 0 10px 20px 10px; }

.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; }

h1, .like_h1 {font-size: 1.3333rem;}
h2, .like_h2 {font-size: 1.1667rem;}
h3, .like_h3 {font-size: 1rem;}

}


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


/* andresmedia_link.css */
#andresmedia { clear: both; display: block; position: relative; top: 0; left: 0; width: 100%; height: auto; margin: 0; padding: 10px; z-index: 1; background-color: #444; font-size: 0.8rem; color: #fff; text-align: center; }
#andresmedia a { color: #fff; text-decoration: none; }
#andresmedia a:hover,
#andresmedia a:focus { color: #fff; text-decoration: underline; }

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


/* 000_section.css */
/* Grundlegende Flex-Container-Klasse */
.section_flex { display: flex; flex-wrap: wrap; flex-direction: row; justify-content: flex-start; align-items: flex-start; }

/* Horizontale Ausrichtung */
.justify_content_start { justify-content: flex-start; }
.justify_content_end { justify-content: flex-end; }
.justify_content_center { justify-content: center; }
.justify_content_between { justify-content: space-between; }
.justify_content_around { justify-content: space-around; }
.justify_content_evenly { justify-content: space-evenly; }

/* Vertikale Ausrichtung */
.align_items_start { align-items: flex-start; }
.align_items_end { align-items: flex-end; }
.align_items_center { align-items: center; }
.align_items_baseline { align-items: baseline; }
.align_items_stretch { align-items: stretch; }

/* 005_download.css */
/* Redaxo Download Modul */
.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; }
.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; }
.download_link:hover { text-decoration: none; }
.download_item:hover { background-color: #e5effa; border-color: #3d87cf; box-shadow: 0 2px 6px rgba(61, 135, 207, 0.15); }
.download_item:hover .download_title { color: #1a6cbf; }
.download_item:hover .download_info { text-decoration: underline; }
.download_item:active { background-color: #d8e7f7; box-shadow: inset 0 1px 3px rgba(0,0,0,0.05); transition-duration: 0.1s; }
.download_link:focus, .download_link:focus-visible { outline: none; }
.download_item:focus .download_info { text-decoration: underline; }
.download_item:focus-within { border-color: #1a6cbf; box-shadow: 0 0 0 3px rgba(61, 135, 207, 0.5); background-color: #e5effa; }
.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; }
.download_content { display: flex; align-items: center; }
.download_icon { flex: 0 0 auto; margin-right: 15px; display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease; }
.download_item:hover .download_icon { transform: scale(1.1); }
.download_text { flex: 1; display: flex; flex-direction: column; }
.download_title { font-size: 1rem; font-weight: bold; margin-bottom: 0.3rem; color: #333; transition: color 0.2s ease-in-out; }
.download_info { font-size: 0.85rem; display: block; margin-bottom: 0.2rem; color: #555; }
.download_description { color: #777; margin: 0; font-size: 0.7rem; display: block; }

/* 021_bildergalerie_masonry.css */
.bildergalerie_masonry { clear: both; display: block; width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 2.78%; column-count: 3; column-gap: 20px; }

.bildergalerie_masonry a {
float: none; 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){
.bildergalerie_masonry { column-count: 2; }
}
@media screen and (max-width:480px){
.bildergalerie_masonry { column-count: 1; column-gap: 0; }
}

/* extras_010_formular_yform.css */
/* --- yForm --- */
.yform form { display: block; margin: 0 0 20px 0; padding: 0; }

/* Gruppe mit Label + Eingabefeld */
.yform .form-group { margin-bottom: 20px; }

/* Label-Styling fuwr 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; }
/*
.yform .checkbox,
.yform .radio { clear: both; padding-left: 0; margin: 0 0 10px 0; }
.yform .checkbox label,
.yform .radio label { display: block; position: relative; top: 0; left: 0; padding-left: 30px; }
.yform .checkbox label input,
.yform .radio label input { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; }
.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; }
*/

/* Generelle Formatierung fuer 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.85em; color: #666; margin-top: -15px; margin-bottom: 15px; }

/* Verbesserter Button für Barrierefreiheit */
.yform .btn-primary { clear: both; display: block; width: auto; 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.9em; 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; }

/* Formular mit 2 Spalten */
.yform .form_left, .yform .form_right { float: left; width: 48%; min-width: 250px; margin: 0 0 20px 0; }
.yform .form_right { float: right; }
.yform .form_clear { width: 100%; clear: both; }

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


/* header_001_einfaches_bild.css */
/* Default (gilt fuer "automatisch" + alle festen vh-Werte, NICHT fuer "normal", siehe
   unten): Text (als normales Flow-Kind, .header_image_simple_text) bestimmt ueber
   min-height die tatsaechliche Hoehe, waechst bei Bedarf ueber die Basis-Hoehe hinaus.
   Bild deckt per object-fit:cover die jeweils entstehende Hoehe ab (wird dafuer ggf.
   beschnitten). align-items/justify-content steuern die Text-Position im Wrapper
   (Standard: zentriert) - in der projektspezifischen moduleYYYYMMDD.css frei
   ueberschreibbar, z.B. auf flex-start/flex-end fuer "oben links"/"unten mittig" usw. */
.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; }
/* TinyMCE umschliesst Text immer mit <p> - dessen margin-bottom kollabiert wegen des
   paddings oben NICHT nach aussen, sondern bleibt als unsichtbarer Leerraum stehen und
   verschiebt die per align-items:center zentrierte Box optisch nach oben. Nur den
   letzten Absatz kappen (nicht margin-top, der Editor braucht nur den unteren Rand
   gekappt). */
.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" (Original): Bestandsverhalten fuer bereits gespeicherte Seiten (dieser Wert
   existierte schon vor der Automatisch/vh-Umstellung) - Bild in Original-Proportion,
   Hoehe ergibt sich rein aus dem Bild-Seitenverhaeltnis, kein Zuschnitt, Text liegt
   dafuer wieder position:absolute drueber (bekannte Einschraenkung: kann bei langem
   Text ueberdecken/abgeschnitten wirken - wer das nicht will, "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); }

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

/* module20260825.css */
/* --- extras_010_formular_yform ---- */
.yform .altcha { margin-bottom: 20px; }

.yform .btn-primary { display: inline-block; width: auto; padding: 12px 30px; background-color: #021c47; color: #fff; text-decoration: none; border: 2px solid #021c47; }
.yform .btn-primary:hover,
.yform .btn-primaryn:focus { background-color: #fff; color: #021c47; text-decoration: none; }


.bildergalerie_masonry { column-count: 4; }

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

/* Bildergalerie Masonry (glightbox) - Zoom-Effekt beim Hover/Fokus */

.bildergalerie_masonry a.glightbox {
    display: block;
    position: relative;
    overflow: hidden;
    outline: none; /* Default-Outline aus, Ersatz unten per :focus-visible */
}

.bildergalerie_masonry a.glightbox img {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1);
    transition: transform 400ms ease-in-out;
}

.bildergalerie_masonry a.glightbox:hover img,
.bildergalerie_masonry a.glightbox:focus-visible img {
    transform: scale(1.1);
}

/* Sichtbarer Fokus nur bei Tastatur-Navigation, nicht bei Maus-Hover/-Klick -
   analog zur Referenzen-Galerie. Negativer Offset, damit overflow:hidden
   auf dem Link den Rahmen nicht abschneidet. */
.bildergalerie_masonry a.glightbox:focus-visible {
    outline: 2px solid #FFF;
    outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
    .bildergalerie_masonry a.glightbox img {
        transition: none;
    }
}




/* ------------ Module  ------------ */

#article_nav { clear: both; display: block; width: auto; margin: 40px 2.78% 20px 2.78%; }
#article_nav_back { float: left; width: 160px; }
#article_nav_next { float: right; width: 160px; text-align: right; }
#article_nav_home { width: auto; margin: 0 160px; text-align: center; }

#article_nav_back a.btn,
#article_nav_next a.btn,
#article_nav_home a.btn {
    display: inline-block;
    box-sizing: border-box;
    background-color: #021c47;
    color: #fff;
    border: 2px solid #021c47;
    padding: 5px 20px;
}
#article_nav_back a.btn:hover,
#article_nav_next a.btn:hover,
#article_nav_home a.btn:hover,
#article_nav_back a.btn:focus,
#article_nav_next a.btn:focus,
#article_nav_home a.btn:focus {
    background-color: #fff;
    color: #021c47; }

#article_nav_back a.btn:focus-visible,
#article_nav_next a.btn:focus-visible,
#article_nav_home a.btn:focus-visible {
    outline: 2px solid blue; outline-offset: 3px; }

@media all and (max-width:480px) {
    #article_nav_home {
        margin: 0 50px;
    }

    #article_nav_back,
    #article_nav_next {
        width: 44px; }
    #article_nav_back a.btn,
    #article_nav_next a.btn {
        display: inline-block;
        box-sizing: border-box;
        width: 44px;
        height: 44px;
        padding: 0;
        overflow: hidden;
        text-indent: -9999px;
        white-space: nowrap;
        background-color: #021c47;
        border: 2px solid #021c47;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 28px auto; /* Seitenverhaeltnis 40:32 der PNGs bleibt erhalten */
    }
    #article_nav_back a.btn { background-image: url(icon-prev.png); }
    #article_nav_next a.btn { background-image: url(icon-next.png); text-align: left; }

    /* Weisse Icons wuerden auf weissem Hover-Hintergrund verschwinden -> hier bewusst
       kein Farbtausch, nur ein Fokus-Ring fuer Tastaturbedienung */
    #article_nav_back a.btn:hover,
    #article_nav_back a.btn:focus,
    #article_nav_next a.btn:hover,
    #article_nav_next a.btn:focus {
        background-color: #021c47;
        color: #fff; }
    #article_nav_back a.btn:focus-visible,
    #article_nav_next a.btn:focus-visible {
        outline: 2px solid #021c47;
        outline-offset: 3px;
    }

    #article_nav_home a.btn { padding: 7px 18px; }
}




#portfolio_gallery_head { position: relative; width: 97.52%; margin: 0 0 1.24% 1.24%; padding: 0; }
#portfolio_gallery_head section { position: absolute; top: 0; right: 0; width: 360px; margin: 0; padding: 0; text-align: right; z-index: 999; }

#portfolio_gallery { position: relative; display: block; float: left; width: 98.76%; margin: 0 0 1.24% 1.24%; padding: 0; }
.portfolio_modul { display: block; clear: both; position: relative; top: 0; left: 0; width: 97.52%; height: auto; margin: 0 0 1.24% 1.24%; }
.portfolio_image, .portfolio_gallery { display: block; width: 62.00%; max-width: 570px; height: auto; margin: 0; border: 6px solid #ede6e4; overflow: hidden; }
.portfolio_text { position: absolute; bottom: 0; right: 0; width: 33.00%; height: auto; max-width: 380px; margin: 0; }
.portfolio_text h3 { margin: 0; }



.bildergalerie { clear: both; }
.bildergalerie a { display: block; float: left; width: 21.71%; margin: 0 0 2.63% 2.63%; padding: 0;
    -moz-box-shadow: 0 0 6px 0 #FFF; -webkit-box-shadow: 0 0 6px 0 #FFF; box-shadow: 0 0 6px 0 #FFF; }
.bildergalerie a:hover,
.bildergalerie a:focus { opacity: 0.6; }


/*
#referenzen_gallery { clear: both; }
#referenzen_gallery .referenz { float: left; display: block; position: relative; top: 0; left: 0; width: 29.82%; height: auto; margin: 0 0 2.63% 2.63%; padding: 0; overflow: hidden;
    -moz-box-shadow: 0 0 6px 0 #FFF; -webkit-box-shadow: 0 0 6px 0 #FFF; box-shadow: 0 0 6px 0 #FFF; }
.referenz a:hover img,
.referenz a:focus img { opacity: 1.0; }
.referenz a .referenz_text { position: absolute; bottom: -100%; left: 0; width: 100%; height: auto; min-height: 20px; margin: 0; padding: 6px 10px; z-index: 10; background-color: #1c5695; background-color: rgba(28,86,149,0.8); color: #FFF;
    transition: all 400ms ease-in-out;
}
.referenz a:hover .referenz_text,
.referenz a:focus .referenz_text { bottom: 0; }
*/
#referenzen_gallery { clear: both; }

#referenzen_gallery .referenz {
    float: left;
    display: block;
    position: relative;
    top: 0;
    left: 0;
    width: 29.82%;
    height: auto;
    margin: 0 0 2.63% 2.63%;
    padding: 0;
    overflow: hidden;
    -moz-box-shadow: 0 0 6px 0 #FFF;
    -webkit-box-shadow: 0 0 6px 0 #FFF;
    box-shadow: 0 0 6px 0 #FFF;
}

.referenz a {
    display: block;
    position: relative;
    outline: none; /* Default-Outline des Browsers aus, Ersatz unten gezielt per :focus-visible */
}

.referenz a img {
    transform: scale(1);
    transition: transform 400ms ease-in-out, opacity 400ms ease-in-out;
}

.referenz a:hover img,
.referenz a:focus-visible img {
    opacity: 1.0;
    transform: scale(1.1); /* leichter Zoom, durch overflow:hidden auf .referenz sauber abgeschnitten */
}

.referenz a .referenz_text {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 20px;
    margin: 0;
    padding: 6px 10px;
    z-index: 10;
    background-color: #1c5695;
    background-color: rgba(28,86,149,0.8);
    background-color: rgba(2, 28, 71, 0.75);
    color: #FFF;
    transition: bottom 400ms ease-in-out;
}

.referenz a:hover .referenz_text,
.referenz a:focus-visible .referenz_text {
    bottom: 0;
}

/* Sichtbarer Fokus nur bei Tastatur-Navigation (nicht bei Maus-Klick/-Hover), umschliesst
   die ganze Kachel. Wegen overflow:hidden auf .referenz muss der Outline-Offset negativ sein,
   sonst wird der Rahmen vom Container abgeschnitten. */
.referenz a:focus-visible {
    outline: 2px solid #FFF;
    outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
    .referenz a img,
    .referenz a .referenz_text {
        transition: none;
    }
}
@media all and (max-width:640px) {
    #referenzen_gallery .referenz { width: 46.05%; }
}

@media all and (max-width:480px) {
    #referenzen_gallery .referenz { float: none; width: auto; margin: 0 10px 20px 10px; }
}



/* neue Module */
.main_slider { position: relative; overflow: hidden; min-height: 420px; }
.main_slider_box { position: relative; min-height: 420px; }
.main_slider_img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.main_slider_box:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #171717; opacity: 0.6; z-index: 1; }
.main_slider_content { position: relative; z-index: 2; max-width: 700px; margin: 0 0 0 auto; padding: 33.7vmin 5vw 11.7vmin; text-align: right; color: #fff; }
.main_slider_title { font-family: 'Oswald', sans-serif; font-weight: 400; font-size: 2.7778rem; letter-spacing: 0.32em; text-transform: uppercase; color: #fff; margin: 0 0 0.3em; }
.main_slider_text {font-size: 1rem;  margin: 0 0 1.2em;}
.main_slider_text p:last-child { margin-bottom: 0; }

.main_slider .tns-controls [aria-controls] { background-color: #021c47; }
.main_slider .tns-controls [aria-controls]:hover,
.main_slider .tns-controls [aria-controls]:focus { color: #021c47; background-color: #fff; }
.main_slider .tns-nav > [aria-controls] { background-color: rgba(255,255,255,0.4); }
.main_slider .tns-nav > .tns-nav-active { background-color: #fff; border-color: #fff; }




.slotzoom-hero-slider { width: 100%; position: relative; }
.slotzoom-hero-slider .swiper-slide {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-color: #222; /* Fallback, falls kein Bild gesetzt ist */
    position: relative;
    overflow: hidden;
}
/* diagonales Verlaufs-Overlay fuer Lesbarkeit, links hell -> rechts dunkler */
.slotzoom-hero-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.15) 0%, rgba(0,0,0,.3) 40%, rgba(0,0,0,.55) 100%);
    pointer-events: none;
}
.slotzoom-hero-slider__content {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    color: #fff;
    max-width: min(75%, 800px);
    text-align: right;
}
.slotzoom-hero-slider__title {color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: clamp(.08em, 1.5vw, .3em);
    margin: 0 0 10px;
    overflow: hidden;}
.slotzoom-hero-slider__subtitle {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    margin: 1rem 0 0;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s .8s, transform .6s .8s; /* startet erst, nachdem die Buchstaben-Animation weitgehend durch ist */
}
.slotzoom-hero-slider .swiper-slide-active .slotzoom-hero-slider__subtitle {
    opacity: .9;
    transform: translateY(0);
}

/* Verhindert Umbruch mitten im Wort (siehe heroSplitChars) */
.slotzoom-hero-slider__word {
    display: inline-block;
    white-space: nowrap;
}
/* Buchstaben-Einblend-Animation (ein Zeichen nach dem anderen) */
.slotzoom-hero-slider__char {
    display: inline-block;
    opacity: 0;
    transform: translateX(80%) rotateZ(70deg);
    animation-name: heroCharReveal;
    animation-duration: .7s;
    animation-timing-function: cubic-bezier(.22, 1, .36, 1);
    animation-fill-mode: forwards;
    animation-delay: calc(var(--i) * 50ms + 200ms);
}
@keyframes heroCharReveal {
    0%   { opacity: 0; transform: translateX(80%) rotateZ(70deg); }
    100% { opacity: 1; transform: translateX(0) rotateZ(0deg); }
}
/* Screenreader-Text: liest den vollen Titel als ein Wort statt Buchstabe fuer Buchstabe */
.slotzoom-hero-slider__sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Slotzoom-Uebergang: das alte Bild wird beim Slide-Wechsel in Streifen zerlegt,
   die einzeln hochskaliert werden und dabei ausblenden (wie beim Vergleichsslider) */
.slotzoom-hero-slider__slot-container { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.slotzoom-hero-slider__slot-wrapper { position: absolute; left: 0; width: 100%; overflow: hidden; }
.slotzoom-hero-slider__slot-inner {
    position: absolute;
    left: 0;
    width: 100%;
    will-change: transform, opacity;
    transition: transform .65s cubic-bezier(.4,0,.2,1), opacity .65s cubic-bezier(.4,0,.2,1);
}
.slotzoom-hero-slider__slot-inner.is-animating {
    transform: scaleY(1.6) scaleX(1.08);
    opacity: 0;
}

/* ---- Steuerleiste (.swiper-navigation, s.o.): nur noch die Abweichungen fuer dieses Modul ---- */
.slotzoom-hero-slider {
    --nav-offset-bottom: 24px;
    --nav-color: rgba(255, 255, 255, .85);
    --swiper-pagination-color: #fff;
    --swiper-pagination-bullet-inactive-color: #fff;
    --swiper-pagination-bullet-inactive-opacity: .45;
    --swiper-pagination-bullet-size: 9px;
    --swiper-pagination-bullet-horizontal-gap: 5px;
}
/* Play/Pause-Icon-Umschaltung (SVG ein-/ausblenden je nach aria-pressed) -- reine
   Verhaltens-/Icon-Logik, unabhaengig von der generischen .swiper-navigation-Positionierung
   oben, deshalb bleibt das hier modulspezifisch stehen. */
.slotzoom-hero-slider__playpause .slotzoom-hero-slider__icon-play,
.slotzoom-hero-slider__playpause[aria-pressed="true"] .slotzoom-hero-slider__icon-pause {
    display: none;
}
.slotzoom-hero-slider__playpause[aria-pressed="true"] .slotzoom-hero-slider__icon-play {
    display: inline-block;
}

@media all and (max-width: 640px) {
    .slotzoom-hero-slider__content { right: 24px; left: 24px; text-align: left; max-width: 100%; }
    .slotzoom-hero-slider .swiper-navigation .swiper-button-prev,
    .slotzoom-hero-slider .swiper-navigation .swiper-button-next { width: 34px; height: 34px; padding: 8px; }

    .slotzoom-hero-slider__word {
        display: inline; white-space: normal;
        hyphens: auto; overflow-wrap: break-word;
    }
}

/* Bewegungsreduzierung respektieren (WCAG 2.3.3): Buchstaben- und Slot-Animation abschalten */
@media (prefers-reduced-motion: reduce) {
    .slotzoom-hero-slider__char { animation: none !important; opacity: 1 !important; transform: none !important; }
    .slotzoom-hero-slider__subtitle { transition: opacity .15s, transform 0s !important; }
    .slotzoom-hero-slider__slot-inner { transition: none !important; }
}


/* --- Bilder-Galerie / Referenzen-Karussell (Ausgabe-Modul "502 - Bilder-Galerie + Text + Link"). */
.projects-carousel {
    clear: both;
    position: relative;
    overflow: hidden;

    --nav-bg: rgba(2, 28, 71, .85);
    --nav-bg-hover: rgba(2, 28, 71, 1);
    --nav-border: rgba(255, 255, 255, .3);
    --nav-border-hover: rgba(255, 255, 255, .5);
    --nav-color: #fff;
}

.projects-carousel .swiper-navigation {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 16px;
}

.projects-carousel .swiper-wrapper {
    /* Swiper setzt das per JS ohnehin, hier nur als Fallback, falls JS (noch) nicht geladen ist */
    display: flex;
}

.project-slide {
    height: auto;
}

.project {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}
.project figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    background-color: #eee; /* Platzhalter-Hintergrund, falls das Bild noch laedt */
}
.project img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Dunkler Schleier im Ruhezustand -- im Original .project-light figure:after mit opacity 0.4 */
.project figure::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #111;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.project figcaption {
    position: absolute;
    inset: 0;
    z-index: 1;
    margin: 0;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: transparent;
    transition: background-color 0.3s ease, padding-top 0.3s ease;
}

.project:hover figcaption,
.project:focus-visible figcaption,
.project:focus figcaption {
    background-color: rgba(2, 28, 71, 0.75);
    padding-top: 36px; }
.project-title {
    position: relative;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    /* Bleibt bei Hover/Fokus stehen (siehe unten) -- deshalb keine eigene Transition mehr noetig */
}

/* Ersetzt die alte Lupe (.project-zoom): erscheint jetzt direkt UNTER dem Titel (nicht mehr
   zentriert ueber dem ganzen Bild), Titel bleibt dabei sichtbar stehen. */
.project-hover-text {margin: 8px 0 0;
    max-width: 100%;
    color: #fff;
    font-size: 0.9rem;
    
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;}

/* Hover/Fokus: Schleier weg, Bild zoomt leicht, Text blendet unter dem (stehenbleibenden)
   Titel ein. */
.project:hover figure::after,
.project:focus-visible figure::after,
.project:focus figure::after {
    opacity: 0; outline: 2px solid blue; outline-offset: 3px; }
.project:hover img,
.project:focus-visible img,
.project:focus img {
    /* Original zoomt 1.4 -- hier bewusst gedaempft auf 1.08: die Kacheln sind im Karussell viel
       kleiner als im alten Vollbreite-Layout, 1.4 haette hier unruhig/zu stark gewirkt. */
    transform: scale(1.08); outline: 2px solid blue; outline-offset: 3px;}
.project:hover .project-hover-text,
.project:focus-visible .project-hover-text,
.project:focus .project-hover-text {
    opacity: 1;
    transform: translateY(0); }
.project:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
    .project img,
    .project figure::after,
    .project-title,
    .project-hover-text {
        transition: none;
    }
}



