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


/* main20261113.css */
/* main20261001.css — Brandes Webdesign
   1) Typografie  2) Section  3) outer_box  4) Seitengerüst  5) Navigation
   6) Projektspezifisches */


:root {
    --color-main:          #151a24;
    --color-text:          #3d4655;
    --color-link:          #0b3a9c;
    --color-link-hover:    #2154bd;
    --color-button-hover:  #082c78;
    --color-headline:      #0b2a6e;
    --color-subheadline:   #2154bd;

    --color-bg:            #fbfcfd;
    --color-bg-white:      #ffffff;
    --color-bg-alt:        #f4f8fc;
    --color-bg-panel:      #cfe4f5;
    --color-text-panel:    #1f2d45;
    --color-border:        #e6ebf2;
    --color-line:          #dfe6ef;
    --color-line-card:     #d9e4f1;
    --color-input-border:  #c9d6ea;
    --color-focus:         #0b57d0;

    --color-nav-bg:        #eaf3fb;
    --color-nav-border:    #b3d9f2;

    --color-bg-light-blue:  #eaf3fb;
    --color-bg-light-gray:  #f0f4f8;
    --color-bg-light-white: #ffffff;
    --color-bg-light-red:   #f9dcdc;

    --color-dark:          #0b2a6e;
    --color-dark-text:     #d3e0f5;
    --color-dark-accent:   #9cc0f7;
    --color-dark-line:     rgba(255, 255, 255, 0.18);
    --color-footer:        #08214f;
    --color-footer-text:   #b9c8e2;

    --font-sans: 'IBM Plex Sans', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IBM Plex Sans';
    src: url('fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IBM Plex Sans';
    src: url('fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IBM Plex Mono';
    src: url('fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


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

html { background-color: var(--color-bg); }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: var(--color-main);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--color-link); text-decoration: none; }
a:hover { color: var(--color-link-hover); }
/* MH:FIX BFSG: Fokusring nicht entfernen */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
/* MH:/FIX */

/* MH:FIX Link als Button */
a.link_as_button { display: inline-block; margin: 0; padding: 0.5rem 1.25rem; border-radius: 4px;
  background-color: var(--color-link); color: #fff; text-decoration: none; }
a.link_as_button:hover { background-color: var(--color-link-hover); 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; }
/* MH:/FIX */

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-weight: 600; line-height: 1.25; color: var(--color-headline); }

h1, .like_h1 { font-size: 3rem; line-height: 1.05; letter-spacing: -0.02em; }
h2, .like_h2 { font-size: 2rem; line-height: 1.15; letter-spacing: -0.015em; }
h3, .like_h3 { font-size: 1.25rem; line-height: 1.3; }
h4, .like_h4 { font-size: 1.125rem; }
h5, .like_h5 { font-size: 1rem; }
h6, .like_h6 { font-size: 0.875rem; }

@media all and (max-width: 980px) {
    h1, .like_h1 { font-size: 2.5rem; }
    h2, .like_h2 { font-size: 1.75rem; }
}
@media all and (max-width: 480px) {
    h1, .like_h1 { font-size: 2.15rem; }
    h2, .like_h2 { font-size: 1.5rem; }
}

/* MH:FIX Overline: eigenständiges Element vor der Überschrift (p.headline_overline
   in 001_headline/001_headline_mit_text/002_text_bild), nie Teil des
   Heading-Tags. */
.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; }
/* MH:/FIX */

/* MH:FIX Subline: das AddOn schreibt sie als <span class="headline_subline"> in
   den Überschriften-Tag (h1-h6/.like_h1-.like_h6, nicht nur h1-h3). */
.headline_subline { display: block; color: var(--color-subheadline); font-size: 0.6em; line-height: 1.4; }
/* MH:/FIX */

p { margin: 0 0 1.25rem 0; padding: 0; color: var(--color-text); }
em { font-style: italic; }
strong { font-weight: 600; }

ul { margin: 0 0 0.9375rem 0; padding: 0; }
ul li { list-style-type: disc; list-style-position: inside; margin: 0 0 0.9375rem 0; padding: 0; }
ul ul { margin: 0.9375rem 0 0 1.5625rem; }

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

/* MH:FIX 004_trennlinie */
hr, hr.trennlinie { width: 100%; height: 1px; margin: 0 0 1.25rem 0; border: none; background-color: var(--color-border); }
/* MH:/FIX */

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

/* MH:FIX Textfarbe auf dunklen Flächen */
.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; }
/* MH:/FIX */


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

.section_bg_none,
.section_bg_white,
.section_bg_light_blue,
.section_bg_light_gray,
.section_bg_panel
{ clear: both; display: block; position: relative; width: 100%; margin: 0; z-index: 1; }

.section_bg_none  { background-color: transparent; }
.section_bg_white { background-color: var(--color-bg-light-white); border-top: 1px solid #e6ebf2; border-bottom: 1px solid #e6ebf2; }
.section_bg_light_blue { background-color: var(--color-bg-light-blue); }
.section_bg_light_gray { background-color: var(--color-bg-light-gray); }
.section_bg_panel { background-color: transparent; }

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

/* Panel: Fläche mit runden Ecken innerhalb der Inhaltsbreite statt über die volle Breite */
.section_bg_panel > .section_1200 { width: calc(100% - 4rem); padding: 64px 40px 44px 40px; border-radius: 28px; background-color: var(--color-bg-panel); }

@media all and (max-width: 768px) {
    .section_bg_panel > .section_1200 { width: calc(100% - 2rem); padding: 40px 16px 20px 16px; border-radius: 20px; }
}

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

/* MH:FIX Section mit Hintergrundbild */
.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; }
/* MH:/FIX */

/* MH:FIX Section-Padding, feste Auswahl im Backend (BwModulhelperSection.php,
   kein rex_config-Eintrag noetig). section_padding_normal entspricht exakt den
   frueher fest einprogrammierten Werten, keine optische Aenderung fuer
   Bestandsseiten. Bei section_bg_image groesser, damit ein Hintergrundbild
   genug Luft hat. */
.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; }
/* MH:/FIX */


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

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

.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.875%; }
.box_width_1_5  { width: 17%; }

@media all and (max-width: 980px) {
    .box_width_1_4 { width: 46.25%; }
    .box_width_1_5 { width: 30%; }
}
@media all and (max-width: 768px) {
    .box_width_1_2,
    .box_width_2_3 { width: 95%; }
    .box_width_1_3,
    .box_width_1_5 { width: 46.25%; }
}


.box_bg_light_blue,
.box_bg_light_gray,
.box_bg_light_red,
.box_bg_light_white { padding: 30px 20px 10px 20px; }

.box_bg_light_blue { background-color: var(--color-bg-light-blue); border: 1px solid #b3d9f2; }
.box_bg_light_gray { background-color: var(--color-bg-light-gray); border: 1px solid #e6ebf2; }
.box_bg_light_red { background-color: var(--color-bg-light-red); border: 1px solid #d98c8c; }
.box_bg_light_white{ background-color: var(--color-bg-light-white); border: 1px solid #e6ebf2; }

.box_karte_hell   { padding: 40px 40px 20px 40px; border-radius: 20px; background-color: var(--color-bg-alt); }
.box_karte_dunkel { padding: 40px 40px 20px 40px; border-radius: 20px; background-color: var(--color-dark); color: #fff; }
.box_karte_dunkel h2, .box_karte_dunkel h3, .box_karte_dunkel h4 { color: #fff; }
.box_karte_dunkel p { color: var(--color-dark-text); }
.box_karte_dunkel a { color: #fff; }
.box_karte_dunkel a:hover { color: var(--color-dark-accent); }
.box_karte_dunkel a:focus-visible { outline-color: #fff; }

@media all and (max-width: 480px) {
    .box_karte_hell,
    .box_karte_dunkel { padding: 28px 24px 8px 24px; }
}



/* MH:FIX Bilder in der outer_box */
.outer_box .image { margin: 0 0 25px 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; }
/* MH:/FIX */

/* MH:FIX 002_text_bild — text_img_left/right: Text fließt um das Bild.
   max-width (30%) und margin (15px) zusammen ergeben den Abstand zwischen
   Bild und Text - fuer mehr/weniger Abstand beide Werte gemeinsam anpassen,
   nicht nur den margin-Wert. */
.text_bild .flLeft  { float: left;  display: block; width: auto; max-width: 30%; margin: 0 15px 0 0; overflow: hidden; }
.text_bild .flRight { float: right; display: block; width: auto; max-width: 30%; margin: 0 0 0 15px; overflow: hidden; }
.text_bild .image span.small { display: block; }

/* 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: 7.5%; }
.zweispalter .flLeft,
.zweispalter .flRight { display: block; width: 46.25%; 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; }
/* MH:/FIX */

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

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

    .zweispalter { flex-direction: column; gap: 15px; }
    .zweispalter .flLeft,
    .zweispalter .flRight { width: auto; }
}


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

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

#main_nav_bg { position: sticky; top: 0; z-index: 10; background-color: var(--color-nav-bg); border-bottom: 2px solid var(--color-nav-border); }
#main_nav_content { display: flex; flex-flow: row wrap; align-items: center; justify-content: space-between; gap: 1.5rem; position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 14px 32px; }
#logo { display: block; flex-shrink: 0; margin: 0; padding: 0; }
#logo img { display: block; width: auto; height: 44px; }
#logo:hover img { opacity: 0.75; }

@media all and (max-width: 980px) {
    #main_nav_content { padding: 14px 16px; }
}

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

#kontakt_band_bg { position: relative; z-index: 1; background-color: var(--color-dark); }
#kontakt_band { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; width: 100%; max-width: 1200px; margin: 0 auto; padding: 88px 32px; }
#kontakt_band h2 { margin: 0 0 1.125rem 0; font-size: 3rem; line-height: 1.1; color: #fff; }
#kontakt_band .kontakt_band_text p { margin: 0; font-size: 1.125rem; color: var(--color-dark-text); }
#kontakt_band .kontakt_band_links { margin: 0; }
#kontakt_band .kontakt_band_links a { display: block; margin: 0 0 0.625rem 0; font-size: 1.25rem; color: #fff; }
#kontakt_band .kontakt_band_links a:hover { color: var(--color-dark-accent); }
#kontakt_band a:focus-visible { outline-color: #fff; }

@media all and (max-width: 768px) {
    #kontakt_band { grid-template-columns: 1fr; gap: 28px; padding: 56px 16px; }
    #kontakt_band h2 { font-size: 2.25rem; }
}

#footer_bg { clear: both; padding: 28px 0; background-color: var(--color-footer); }
#footer { display: flex; flex-flow: row wrap; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px;
  color: var(--color-footer-text); font-size: 0.875rem; line-height: 1.6; }
#footer p { margin: 0; color: var(--color-footer-text); }
#footer .footer_links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
#footer a { color: var(--color-footer-text); text-decoration: none; }
#footer a:hover { color: #fff; text-decoration: underline; }
/* Footer ist dunkel, --color-focus hätte zu wenig Kontrast (WCAG 1.4.11) */
#footer a:focus-visible { outline-color: #fff; }

@media all and (max-width: 768px) { #footer { padding: 0 16px; } }


/* =============================================================================
   5) Navigation — Basis main_nav_1_ebene.css
   ============================================================================= */

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

	/* Marken-Akzent (Hover Ebene 1 Desktop, current mobil) */
	--mh-nav-accent-rgb: 11,58,156;
	--mh-nav-accent: var(--color-link);
	--mh-nav-on-accent: #fff;

	/* Ebene 1 Desktop + current/active-Zustand */
	--mh-nav-link-color: var(--color-main);
	--mh-nav-link-bg: transparent;
	--mh-nav-active-bg: transparent;

	/* Desktop: Hover, aktueller Punkt, Kontakt-Button */
	--mh-nav-link-hover: var(--color-link-hover);
	--mh-nav-current: var(--color-headline);
	--mh-nav-button-hover-bg: var(--color-button-hover);

	/* Mobil */
	--mh-nav-mobile-overlay-bg: var(--color-nav-bg);
	--mh-nav-mobile-level2-bg: #dcecf8;
	--mh-nav-mobile-level3-bg: var(--color-bg-panel);
	--mh-nav-mobile-hover-bg: var(--color-bg-panel);
	--mh-nav-mobile-text: var(--color-main);
	--mh-nav-mobile-border: var(--color-nav-border);
	--mh-nav-mobile-indent-marker: var(--color-link-hover);
	--mh-nav-mobile-active-bg: var(--color-bg-panel);
}
/* --- Menue-Button --- */
#main_nav_button { display: none; position: fixed; top: 10px; 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: auto; 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-end; align-items: center; 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: 6px 14px; font-size: 0.9375rem; font-weight: 500; 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-current); background-color: var(--mh-nav-active-bg); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
#main_nav li a.rex-active  { color: var(--mh-nav-current); background-color: var(--mh-nav-active-bg); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
#main_nav li a:hover,
#main_nav li a:focus-visible { color: var(--mh-nav-link-hover); background-color: var(--mh-nav-link-bg); transition: all 0.125s ease-out; }

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

#main_nav ul.rex-navi2 { display: none; }
/* 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; }

/* Ebene 1: weiss (schwarzer Hintergrund) */
#main_nav .rex-navi1 > li > a.has-children-a::after { border-right: 2px solid var(--mh-nav-link-color); border-bottom: 2px solid var(--mh-nav-link-color); }
/* Ebene 2: schwarz (gelber Hintergrund), Pfeil zeigt nach rechts (hat Ebene 3) */
#main_nav .rex-navi2 > li > a.has-children-a::after { border-right: 2px solid var(--mh-nav-on-accent); border-bottom: 2px solid var(--mh-nav-on-accent); 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; }

	/* Kontakt (Artikel 5) als Button */
	#main_nav li.rex-article-5 { margin-left: 14px; }
	#main_nav li.rex-article-5 > a { padding: 10px 18px; border-radius: 999px; color: var(--mh-nav-on-accent); background-color: var(--mh-nav-accent); }
	#main_nav li.rex-article-5 > a:hover { color: var(--mh-nav-on-accent); background-color: var(--mh-nav-button-hover-bg); }
	#main_nav li.rex-article-5 > a.rex-current { color: var(--mh-nav-on-accent); text-decoration-color: var(--mh-nav-on-accent); }
}

/* =========================================================================
   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: 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-size: 1.125rem; line-height: 1.25; text-align: left; color: var(--mh-nav-mobile-text); background-color: var(--mh-nav-mobile-overlay-bg); border-bottom: 1px solid var(--mh-nav-mobile-border); }
	#main_nav li a.rex-current { background-color: var(--mh-nav-mobile-active-bg); color: var(--mh-nav-current); font-weight: 600; text-decoration: none; }
	#main_nav li a.rex-active  { background-color: var(--mh-nav-mobile-active-bg); color: var(--mh-nav-current); font-weight: 600; text-decoration: none; }
	#main_nav li a:hover,
	#main_nav li a:focus-visible { text-decoration: none; background-color: var(--mh-nav-mobile-hover-bg); color: var(--mh-nav-mobile-text); }
	#main_nav li a { padding: 14px 16px; }

	/* --- 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 { 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.9rem; border-top: none; border-bottom: 1px solid var(--mh-nav-mobile-border); color: var(--mh-nav-mobile-text); background-color: var(--mh-nav-mobile-level2-bg); }
	#main_nav ul.rex-navi2 li a.rex-current { background-color: var(--mh-nav-accent); color: var(--mh-nav-on-accent); }
	#main_nav ul.rex-navi2 li a.rex-active  { background-color: var(--mh-nav-mobile-active-bg); color: var(--mh-nav-on-accent); }
	#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: var(--mh-nav-mobile-text); }

	/* --- 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; position: relative; top: 0; left: 0; width: 100%; min-width: 0; margin: 0; }

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

	#main_nav ul.rex-navi3 li a { padding: 10px 10px 10px 30px; font-size: 0.8rem; color: var(--mh-nav-mobile-text); background-color: var(--mh-nav-mobile-level3-bg); }
	#main_nav ul.rex-navi3 li a.rex-current { background-color: var(--mh-nav-accent); color: var(--mh-nav-on-accent); }
	#main_nav ul.rex-navi3 li a.rex-active  { background-color: var(--mh-nav-mobile-active-bg); color: var(--mh-nav-on-accent); }
	#main_nav ul.rex-navi3 li a:hover,
	#main_nav ul.rex-navi3 li a:focus-visible { background-color: var(--mh-nav-mobile-hover-bg); color: var(--mh-nav-mobile-text); }

	/* Einrueckung per Pseudoelement */
	#main_nav ul.rex-navi2 li a:before { content: '-';  display: inline-block; margin-right: 5px; color: var(--mh-nav-mobile-indent-marker); }
	#main_nav ul.rex-navi3 li a:before { content: '--'; display: inline-block; margin-right: 5px; color: var(--mh-nav-mobile-indent-marker); }
}


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

.headline_overline { margin: 0 0 0.25rem 0; font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.06em; }

a.link_as_button { padding: 0.9375rem 1.625rem; border-radius: 999px; font-weight: 500; }
a.link_as_button:hover { background-color: var(--color-button-hover); }

@media all and (max-width: 980px) {
    #main_nav_button { top: 26px; right: 16px; }
}


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

/* 012_cta_banner.css */
.m012_cta_banner { padding: 30px 20px; text-align: center; }

/* cta_variante_3/4/5 bewusst ohne Vorgabe-Styling - frei fuers Projekt. */
.m012_cta_banner.cta_variante_1, .m012_cta_banner.cta_variante_1 h2, .m012_cta_banner.cta_variante_1 h3, .m012_cta_banner.cta_variante_1 p { color: #fff; }
.m012_cta_banner.cta_variante_2, .m012_cta_banner.cta_variante_2 h2, .m012_cta_banner.cta_variante_2 h3, .m012_cta_banner.cta_variante_2 p { color: #000; }

/* Abstand zum Button kommt aus der Bottom-Margin der Headline/des Texts
   (main.css: h1-h6 und p tragen bereits margin-bottom) - hier keine
   zusaetzliche Top-Margin auf den Button-Wrapper setzen. */
.m012_cta_banner .cta_button_wrap { margin: 0; }
.m012_cta_banner .cta_button { display: inline-block; padding: 12px 30px; background-color: #333; color: #fff; font-weight: bold; text-decoration: none; }
.m012_cta_banner .cta_button:hover, .m012_cta_banner .cta_button:focus { background-color: #000; color: #fff; text-decoration: none; }
.m012_cta_banner.cta_variante_1 .cta_button { background-color: #fff; color: #000; }
.m012_cta_banner.cta_variante_1 .cta_button:hover, .m012_cta_banner.cta_variante_1 .cta_button:focus { background-color: #e5e5e5; color: #000; }


/* 030_faq_accordion.css */
.m030_faq_accordion .faq_accordions { margin: 0 0 20px 0; }

.m030_faq_accordion .faq_accordions .faq_accordion { border: 1px solid #ddd; margin-bottom: 10px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.m030_faq_accordion .faq_accordions .faq_question { margin: 0; }

.m030_faq_accordion .faq_accordions .faq_toggle { width: 100%; background: #f8f9fa; border: none; padding: 10px 20px; text-align: left; font-size: 1.125rem; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background-color 0.3s ease; color: #333; }
.m030_faq_accordion .faq_accordions .faq_toggle:hover { background: #dee2e6; }
.m030_faq_accordion .faq_accordions .faq_toggle:focus-visible { outline: 2px solid blue; outline-offset: -3px; background: #dee2e6; }

.m030_faq_accordion .faq_accordions .faq_accordion.open .faq_toggle { background: #333; color: #fff; }
.m030_faq_accordion .faq_accordions .faq_accordion.open .faq_toggle:hover { background: #222; color: #fff; }

.m030_faq_accordion .faq_accordions .faq_icon { font-size: 1.5rem; font-weight: bold; flex-shrink: 0; margin-left: 15px; }
.m030_faq_accordion .faq_accordions .faq_answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fff; }
/* max-height muss ein fester Wert sein, damit der Übergang animiert - großzügig
   gewählt, weil die Antwort TinyMCE-HTML mit Absätzen und Listen sein kann */
.m030_faq_accordion .faq_accordions .faq_accordion.open .faq_answer { max-height: 3000px; transition: max-height 0.5s ease-in; }
.m030_faq_accordion .faq_accordions .faq_answer_content { padding: 10px 20px; border-top: 1px solid #eee; line-height: 1.6; color: #555; }

.m030_faq_accordion .faq_accordions .faq_answer_content > :first-child { margin-top: 0; }
.m030_faq_accordion .faq_accordions .faq_answer_content > :last-child { margin-bottom: 0; }
.m030_faq_accordion .faq_accordions .faq_answer_content p { margin: 0 0 10px 0; }
.m030_faq_accordion .faq_accordions .faq_answer_content ul, .m030_faq_accordion .faq_accordions .faq_answer_content ol { margin: 0 0 10px 0; padding-left: 20px; }
.m030_faq_accordion .faq_accordions .faq_answer_content li { margin-bottom: 5px; }

/* Responsive Design */
@media (max-width: 768px) {
.m030_faq_accordion .faq_accordions .faq_toggle { padding: 8px 15px; font-size: 1rem; }
.m030_faq_accordion .faq_accordions .faq_answer_content { padding: 8px 15px; }
.m030_faq_accordion .faq_accordions .faq_icon { font-size: 1.25rem; margin-left: 10px; }
}

/* Hochkontrast-Modus Support */
@media (prefers-contrast: more) {
.m030_faq_accordion .faq_accordions .faq_accordion { border: 2px solid #000; }
.m030_faq_accordion .faq_accordions .faq_toggle { border-bottom: 2px solid #000; }
}

/* Bewegung / Animationen reduzieren bzw. abschalten */
@media (prefers-reduced-motion: reduce) {
.m030_faq_accordion .faq_accordions .faq_toggle, .m030_faq_accordion .faq_accordions .faq_answer { transition: none; }
}


/* 040_html_tabellen.css */
.m040_html_tabellen .table-scroll { display: block; width: 100%; overflow-x: auto; margin: 0 0 1.25rem 0; }
.m040_html_tabellen .table-scroll table { width: 100%; min-width: 480px; border-collapse: collapse; }


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


/* extras_021_artikel_kategorie_vor_zurueck.css */
.extras_021_artikel_kategorie_vor_zurueck { display: grid; grid-template-columns: 20% 1fr 20%; grid-template-areas: "back home next"; align-items: center; }
.extras_021_artikel_kategorie_vor_zurueck a { display: inline-block; padding: 5px 10px; text-decoration: none; color: #FFF; background-color: #000; white-space: nowrap; font-size: 0.8rem; }
.extras_021_artikel_kategorie_vor_zurueck a:hover { text-decoration: none; color: #FFF; background-color: #999; }
.extras_021_artikel_kategorie_vor_zurueck a:focus, .extras_021_artikel_kategorie_vor_zurueck a:focus-visible { outline: 2px solid #0078d7; outline-offset: 2px; }
.extras_021_artikel_kategorie_vor_zurueck .article_nav_back { grid-area: back; }
.extras_021_artikel_kategorie_vor_zurueck .article_nav_next { grid-area: next; text-align: right; }
.extras_021_artikel_kategorie_vor_zurueck .article_nav_home { grid-area: home; text-align: center; }


/* module20261113.css */
/* module20261001.css — Brandes Webdesign
   Kaskade: default.css → main20261001.css → Modul-CSS AddOn → diese Datei.
   Zuerst Anpassungen an Poolmodulen, danach die eigenen m5XX-Module. */


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

/* --- yForm (extras_011_formular_yform_flex) ------------------------------- */

.yform label { margin-bottom: 8px; font-size: 0.9375rem; font-weight: 500; color: var(--color-main); }
.yform .form-control { margin: 0 0 18px 0; padding: 8px 16px; font-size: 1rem; color: var(--color-main); background-color: #fff; border: 1px solid var(--color-input-border); border-radius: 10px; }
.yform .form-control:hover { border-color: var(--color-link-hover); }
.yform .form-control:focus,
.yform .form-control:focus-visible { border-color: var(--color-link); box-shadow: none; outline: 2px solid var(--color-focus); outline-offset: 1px; }
.yform textarea.form-control { height: 13.5rem; resize: vertical; }

.yform .privacy_box label { font-size: 0.875rem; font-weight: 400; line-height: 1.5; color: var(--color-text); }
.yform .privacy_box a { color: var(--color-link); }
.yform .privacy_box a:hover { color: var(--color-link-hover); }
.yform .privacy_box a:focus,
.yform .privacy_box a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.yform .pflichtfelder { font-size: 0.875rem; color: var(--color-text); }

.yform .btn-primary { padding: 15px 28px; border-radius: 999px; font-size: 1rem; font-weight: 500; background-color: var(--color-link); color: #fff; }
.yform .btn-primary:hover { background-color: var(--color-button-hover); color: #fff; }
.yform .btn-primary:focus,
.yform .btn-primary:focus-visible { box-shadow: none; outline: 2px solid var(--color-focus); outline-offset: 3px; background-color: var(--color-button-hover); }


/* =============================================================================
   Poolmodule
   ============================================================================= */

/* --- 001_headline_mit_text -------------------------------------------------- */
/*
.outer_box.m001_headline_mit_text { margin-bottom: 2.25rem; }
.m001_headline_mit_text h1,
.m001_headline_mit_text h2 { text-wrap: balance; }
.m001_headline_mit_text > :last-child { margin-bottom: 0; }
*/

/* --- 002_text_bild ---------------------------------------------------------- */
/*
.m002_text_bild .text_left > h2 { margin-bottom: 2.25rem; text-wrap: balance; }
.m002_text_bild .text > :last-child { margin-bottom: 0; }
.m002_text_bild .image { margin: 0; }
.m002_text_bild .image img { display: block; width: 100%; height: auto; }
*/
.m002_text_bild .zweispalter { gap: 3.5%; }
.m002_text_bild .zweispalter .flLeft,
.m002_text_bild .zweispalter .flRight { width: 48.25%; }
.m002_text_bild .zweispalter p { max-width: 40em; }

@media all and (max-width: 768px) {
    .m002_text_bild .zweispalter { flex-direction: column; gap: 1.25rem; }
    .m002_text_bild .zweispalter .flLeft,
    .m002_text_bild .zweispalter .flRight { width: auto; }
}


.m030_faq_accordion > h2 { margin-bottom: 1.5rem; }

.m030_faq_accordion .faq_accordions { margin: 0; border-top: 1px solid var(--color-line); }
.m030_faq_accordion .faq_accordions .faq_accordion { margin: 0; border: 0; border-bottom: 1px solid var(--color-line); box-shadow: none; }
.m030_faq_accordion .faq_accordions .faq_toggle { gap: 16px; padding: 16px 0; font-family: inherit; font-size: 1.125rem; font-weight: 500; line-height: 1.4; color: var(--color-main); background: transparent; }
.m030_faq_accordion .faq_accordions .faq_toggle:hover { color: var(--color-link); background: transparent; }
.m030_faq_accordion .faq_accordions .faq_toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; background: transparent; }
.m030_faq_accordion .faq_accordions .faq_accordion.open .faq_toggle { color: var(--color-main); background: transparent; }
.m030_faq_accordion .faq_accordions .faq_accordion.open .faq_toggle:hover { color: var(--color-link); background: transparent; }
.m030_faq_accordion .faq_accordions .faq_icon { margin-left: 16px; font-size: 1.375rem; font-weight: 400; line-height: 1; color: var(--color-link); }
.m030_faq_accordion .faq_accordions .faq_answer { background: transparent; }
.m030_faq_accordion .faq_accordions .faq_answer_content { /* max-width: 40em; */ padding: 0 0 16px 0; border-top: 0; font-size: 1rem; line-height: 1.65; color: var(--color-text); }



.extras_003_sitemap .sitemap-container ul { margin: 0 0 0.5rem 1.25rem; }
.extras_003_sitemap .sitemap-container .sitemap-category > a { font-weight: 600; }
.extras_003_sitemap .sitemap-container a.active { color: var(--color-headline); font-weight: 600; }



.m040_html_tabellen .table-scroll table {
  border: 1px solid var(--color-line-card);
}

.m040_html_tabellen .table-scroll th,
.m040_html_tabellen .table-scroll td {
  padding: .75em 1em;
  vertical-align: top;
}

.m040_html_tabellen .table-scroll th {
  text-align: left;
}

.m040_html_tabellen .table-scroll thead th {
  background-color: var(--color-dark);
  color: var(--color-bg-white);
}

.m040_html_tabellen .table-scroll tbody tr td {
  background-color: var(--color-bg-white);
}
.m040_html_tabellen .table-scroll tbody tr:nth-child(even) td {
  background-color: var(--color-bg-alt);
}



/* Override extras_021_artikel_kategorie_vor_zurueck – Links im Stil von a.link_as_button */
.extras_021_artikel_kategorie_vor_zurueck { grid-template-columns: auto 1fr auto; gap: 1rem; margin-top: 100px; }
.extras_021_artikel_kategorie_vor_zurueck a { padding: 0.9375rem 1.625rem; border-radius: 999px; font-weight: 500; font-size: inherit; background-color: var(--color-link);
  color: #fff; }
.extras_021_artikel_kategorie_vor_zurueck a:hover { background-color: var(--color-button-hover); }


/* 020 Artikel-Kategorie-Teaser */
.extras_020_artikel_kategorie_teaser {
    --teaser-gap: 1.5rem;
    --teaser-radius: 6px;
    --teaser-border: rgba(0, 0, 0, 0.12);
    --teaser-accent: currentColor;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: var(--teaser-gap);
}

.extras_020_artikel_kategorie_teaser .teaser_category_box {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid var(--teaser-border);
    border-radius: var(--teaser-radius);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.extras_020_artikel_kategorie_teaser .teaser_category_box:hover,
.extras_020_artikel_kategorie_teaser .teaser_category_box:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--teaser-accent);
}

.extras_020_artikel_kategorie_teaser .teaser_category_box:focus-visible {
    outline: 2px solid var(--teaser-accent);
    outline-offset: 3px;
}

.extras_020_artikel_kategorie_teaser .teaser_category_box h3 {
    margin: 0 0 0.75rem;
}

.extras_020_artikel_kategorie_teaser .teaser_category_box p {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 0;
}

.extras_020_artikel_kategorie_teaser .teaser_category_box p br {
    display: none;
}

.extras_020_artikel_kategorie_teaser .teaser_category_erstellt {
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.75em;
    opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
    .extras_020_artikel_kategorie_teaser .teaser_category_box {
        transition: none;
    }
    .extras_020_artikel_kategorie_teaser .teaser_category_box:hover,
    .extras_020_artikel_kategorie_teaser .teaser_category_box:focus-visible {
        transform: none;
    }
}


/* =============================================================================
   500er-Module
   ============================================================================= */

/* --- 500 - Intro mit Buttons und Bild ----------------------------------------
   .outer_box.m500_intro.m500_intro_h1|_h2(.m500_intro_mit_bild)
     > .m500_intro_text > .m500_intro_logo, p.headline_overline, h1|h2 (> span.headline_subline),
       .m500_intro_lead, p.m500_intro_buttons > a.m500_intro_button.button_*
     > .m500_intro_bild                                                         */

/* Panel: Fläche mit runden Ecken innerhalb der Inhaltsbreite statt über die volle Breite */
.m500_intro { padding: 40px 30px 20px 30px; border-radius: 20px; background-color: var(--color-bg-panel); }
@media all and (max-width: 768px) {
    .m500_intro { padding: 30px 16px 10px 16px; border-radius: 15px; }
}

.outer_box.m500_intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.outer_box.m500_intro_mit_bild { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }


.m500_intro_h1 .headline_overline { margin: 0 0 0.375rem 0; font-family: var(--font-sans); font-size: 1.625rem; font-weight: 500; line-height: 1.3; letter-spacing: 0; text-transform: none; color: var(--color-subheadline); }
.m500_intro_h1 h1 { margin-bottom: 1.75rem; text-wrap: balance; }
.m500_intro_h1 .headline_subline { padding-top: 0.375rem; font-size: 1.625rem; font-weight: 500; line-height: 1.3; letter-spacing: 0; color: var(--color-text); }
.m500_intro_h1 .m500_intro_lead p { font-size: 1.1875rem; line-height: 1.65; }

.m500_intro_h2 h2 { margin-bottom: 1.25rem; font-size: 2.375rem; line-height: 1.2; letter-spacing: 0; }
.m500_intro_h2 .m500_intro_lead p { font-size: 1.0625rem; color: var(--color-text-panel); }

.m500_intro_lead { margin-bottom: 1.75rem; }


.m500_intro_logo { margin-bottom: 1.25rem; }
.m500_intro_logo img { display: block; width: auto; height: 40px; }

.m500_intro_bild { justify-self: center; width: 100%; }
.m500_intro_bild img { display: block; width: 100%; height: auto; }
.m500_intro_h1 .m500_intro_bild { max-width: 500px; }
.m500_intro_h2 .m500_intro_bild img { border-radius: 12px; }

.m500_intro_buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.m500_intro_button { display: inline-block; padding: 0.9375rem 1.625rem; border: 1px solid transparent; border-radius: 999px; font-size: 1rem; font-weight: 500; line-height: 1.5; text-decoration: none; }
.m500_intro_button.button_primary { background-color: var(--color-link); color: #fff; }
.m500_intro_button.button_primary:hover { background-color: var(--color-button-hover); color: #fff; }
.m500_intro_button.button_outline { border-color: var(--color-input-border); color: var(--color-link); }
.m500_intro_button.button_outline:hover { border-color: var(--color-link); color: var(--color-link); }
.m500_intro_button.button_textlink { padding: 0; border: 0; border-radius: 0; font-weight: 600; color: var(--color-link); }
.m500_intro_button.button_textlink:hover { color: var(--color-link-hover); }
.m500_intro_button.button_textlink::after { content: "\00a0\2192" / ""; }
.m500_intro_button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

@media all and (max-width: 768px) {
    .outer_box.m500_intro_mit_bild { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media all and (max-width: 480px) {
    .m500_intro_h1 .headline_overline,
    .m500_intro_h1 .headline_subline { font-size: 1.25rem; }
    .m500_intro_h2 h2 { font-size: 1.75rem; }
}


/* --- 501 - Karte mit Label und Liste -----------------------------------------
   .outer_box.m501_karte_liste(.box_karte_hell|.box_karte_dunkel)
     > p.m501_karte_liste_label, h2-h4, .m501_karte_liste_text,
       ul.m501_karte_liste_punkte > li, p.m501_karte_liste_link_wrap > a        */

.outer_box.m501_karte_liste { display: flex; flex-direction: column; }
.m501_karte_liste_label { margin: 0 0 1.25rem 0; font-size: 0.875rem; font-weight: 600; color: var(--color-subheadline); }
.m501_karte_liste h2,
.m501_karte_liste h3,
.m501_karte_liste h4 { margin-bottom: 1.25rem; font-size: 1.625rem; line-height: 1.25; }
.m501_karte_liste_text { margin-bottom: 1.25rem; }



.m501_karte_liste .m501_karte_liste_punkte { margin: 0 0 1.25rem 0; padding: 0; list-style: none; border-top: 1px solid var(--color-line-card); }
.m501_karte_liste .m501_karte_liste_punkte li { margin: 0; padding: 12px 0; list-style: none; border-bottom: 1px solid var(--color-line-card); font-size: 1rem; line-height: 1.5; color: var(--color-main); }

.m501_karte_liste_link_wrap { margin: 0 0 1.25rem 0; }
.m501_karte_liste_link { font-weight: 600; }
.m501_karte_liste_link::after { content: "\00a0\2192" / ""; }

.m501_karte_liste.box_karte_dunkel .m501_karte_liste_label { color: var(--color-dark-accent); }
.m501_karte_liste.box_karte_dunkel .m501_karte_liste_punkte { border-top-color: var(--color-dark-line); }
.m501_karte_liste.box_karte_dunkel .m501_karte_liste_punkte li { border-bottom-color: var(--color-dark-line); color: #fff; }


/* --- 502 - Ablauf-Schritt mit Nummer -----------------------------------------
   .outer_box.m502_ablauf_schritt(.m502_ablauf_schritt_hell)
     > p.m502_ablauf_schritt_nummer, h2-h4, p                                   */

.m502_ablauf_schritt .m502_ablauf_schritt_nummer { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 0 0.75rem 0; border-radius: 50%; font-size: 1rem; font-weight: 600; line-height: 1; color: #fff; background-color: var(--color-link); }
.m502_ablauf_schritt_hell .m502_ablauf_schritt_nummer { color: var(--color-link); background-color: var(--color-bg-panel); }
.m502_ablauf_schritt h2,
.m502_ablauf_schritt h3,
.m502_ablauf_schritt h4 { margin-bottom: 0.75rem; font-size: 1.125rem; color: var(--color-main); }
.m502_ablauf_schritt p:not(.m502_ablauf_schritt_nummer) { margin: 0; font-size: 0.9375rem; line-height: 1.6; }


/* --- 503 - Lebenslauf --------------------------------------------------------
   .outer_box.m503_lebenslauf > ul.m503_lebenslauf_liste > li.m503_lebenslauf_eintrag
     > span.m503_lebenslauf_zeitraum, span.m503_lebenslauf_inhalt
       > span.m503_lebenslauf_titel, span.m503_lebenslauf_beschreibung          */

.m503_lebenslauf .m503_lebenslauf_liste { max-width: 55rem; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--color-line); }
.m503_lebenslauf .m503_lebenslauf_eintrag { display: grid; grid-template-columns: minmax(0, 140px) minmax(0, 1fr); gap: 24px; margin: 0; padding: 18px 0; list-style: none; border-bottom: 1px solid var(--color-line); }
.m503_lebenslauf_zeitraum { padding-top: 3px; font-family: var(--font-mono); font-size: 0.875rem; color: var(--color-subheadline); }
.m503_lebenslauf_inhalt { display: flex; flex-direction: column; gap: 4px; }
.m503_lebenslauf_titel { font-size: 1.125rem; font-weight: 600; line-height: 1.4; color: var(--color-main); }
.m503_lebenslauf_beschreibung { font-size: 0.9375rem; line-height: 1.5; color: var(--color-text); }

@media all and (max-width: 480px) {
    .m503_lebenslauf .m503_lebenslauf_eintrag { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}




