/* 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 { height: 100%; }
body {
    height: auto; /* nicht fix auf Viewport-Hoehe, sonst ragt der Inhalt aus dem body (position: sticky, Hintergruende) */
    min-height: 100%;
}
html, body {
    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%; }


/* main20261118.css */
/* main20261118.css — gruvie.de, Projekt-CSS (Basis aus vorlage_main.css).
   Marker/Konventionen/Regeln: claude_vorgaben/konventionen.md.
   MH:FIX-Blöcke zeichengleich lassen.
   Feste Abschnitts-Reihenfolge, bei Ergänzungen beibehalten oder so anpassen (wenn abweichend bei Updates):
   1) Typografie  2) Section  3) outer_box  4) Seitengerüst  5) Navigation
   6) Projektspezifisches */


/* --- MH:TODO Projektfarben ------------------------------------------------ */
:root {
    --color-main:         #6d6d6d;   /* Grundtext */
    --color-link:         #e37520;
    --color-link-hover:   #ff7f1c;
    --color-headline:     #ff7f1c;   /* h1, h2 */
    --color-subheadline:  #303436;   /* h3-h6 */
    --color-text-dark:    #444444;   /* span in h1/h2, Accordion, Menue Ebene 2 */

    --color-primary:      #ff7f1c;   /* Orange */
    --color-primary-light:#fe9e2c;
    --color-primary-lighter:#fea63e;
    --color-primary-border:#eb6f10;

    --color-bg:           #ffffff;
    --color-bg-alt:       #ededed;   /* zweite Flächenfarbe, max. 1–2 pro Projekt */
    --color-bg-page:      #fdfdfd;   /* Seitenhintergrund mit Muster */
    --color-bg-warm:      #fdfcfa;   /* Verlauf .color5 */
    --color-bg-input:     #f8f8f8;
    --color-dark:         #2e2e2e;   /* Kopfzeile, Footer */
    --color-darker:       #1c1c1c;   /* Copyright-Leiste */
    --color-icon-bg:      #444433;   /* Social-Icons */
    --color-light-text:   #ededed;   /* Text auf dunklen Flächen */
    --color-muted:        #adadad;   /* Brotkrumen, Filter */
    --color-border:       #dddddd;
    --color-focus:        #0b57d0;   /* Fokusring, muss auf allen Flächen sichtbar sein */
}

/* MH:OPTIONAL Schriften self-hosted. Dateien nach layout/fonts/ (Lizenz: OFL-*.txt dort) */
@font-face {
    font-family: 'PT Sans';
    src: url('fonts/pt-sans-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'PT Sans';
    src: url('fonts/pt-sans-latin-400-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'PT Sans';
    src: url('fonts/pt-sans-latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'PT Sans Narrow';
    src: url('fonts/pt-sans-narrow-v8-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'PT Sans Narrow';
    src: url('fonts/pt-sans-narrow-v8-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* MH:/OPTIONAL */


/* =============================================================================
   1) Typografie — MH:TODO Schrift, Größen, Zeilenhöhen
   ============================================================================= */

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

body {
    font-family: 'PT Sans', Tahoma, Verdana, sans-serif;
    font-size: 16px;                            /* einzige px-Angabe */
    line-height: 1.35;                          /* Wert der Altseite */
    font-weight: 400;
    color: var(--color-main);
    background: var(--color-bg-page) url('images/background1.png');
}

a { color: var(--color-link); text-decoration: none; }
a:hover { color: var(--color-link-hover); text-decoration: underline; }
/* 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:INFO Im TinyMCE-Fließtext kann ein Link direkt als Button formatiert werden -
   Editor-seitig über link_class_list in pages/tiny_editor.php (Profil "own_full"),
   aktuell nur die eine Klasse "link_as_button". Beliebig viele weitere Varianten
   möglich (z. B. link_as_button_black, link_as_button_white, o.ä.), weil die
   Klassennamen dort frei vergeben werden - jede neue Variante braucht dann
   zusätzlich einen Eintrag in link_class_list UND eine eigene CSS-Regel hier,
   nach demselben Muster wie unten. */

/* 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-family: 'PT Sans Narrow', Tahoma, Verdana, sans-serif; font-weight: 500; line-height: 1.25; color: var(--color-subheadline); }

h1, .like_h1,
h2, .like_h2 { font-weight: 700; text-transform: uppercase; letter-spacing: 0.0625rem; color: var(--color-headline); }
h1 span, h2 span { color: var(--color-text-dark); }

h1, .like_h1 { margin: 0 0 0.75rem 0; font-size: 1.65rem; line-height: 1.2; }
h2, .like_h2 { margin: 0 0 0.75rem 0; font-size: 1.3rem; line-height: 1.35; }
h3, .like_h3 { margin: 0 0 0.5rem 0; font-family: 'PT Sans', Tahoma, Verdana, sans-serif; font-size: 1.25rem; font-weight: 400; line-height: 1.3; word-spacing: 0.0625rem; }
h4, .like_h4 { margin: 0 0 0.45rem 0; font-size: 1.2rem; }
h5, .like_h5 { margin: 0 0 0.5rem 0; font-size: 1.15rem; }
h6, .like_h6 { margin: 0 0 0.4rem 0; font-size: 1rem; }

@media all and (max-width: 768px) {
    h1, .like_h1 { margin: 0 0 0.5rem 0; font-size: 1.7rem; }
    h2, .like_h2 { margin: 0 0 0.5rem 0; font-size: 1.5rem; }
    h3, .like_h3 { font-size: 1.1rem; }
}

/* MH:INFO Overline/Subline muessen im Design nicht optisch hervorgehoben
   werden - aber irgendeine schluessige Formatierung sollte vorhanden sein,
   nicht komplett weglassen. Beides sind optionale Eingabefelder in mehreren
   Modulen (001_headline, 001_headline_mit_text, 002_text_bild), ein
   Redakteur kann sie jederzeit befuellen, auch wenn das Design sie nicht
   vorgesehen hat - unformatiert faellt das dann unschoen auf. */

/* 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.4rem 0; padding: 0; }
em { font-style: italic; }
strong { font-weight: 700; }

/* Listen ohne Aufzaehlungszeichen wie in der Altseite; Ausnahmen in Abschnitt 6 */
ul { margin: 0 0 1.4rem 0; padding: 0; line-height: 1.4; }
ul li { list-style-type: none; margin: 0 0 1.5rem 0; padding: 0; }
ul ul { margin: 0.9375rem 0 0 1.5625rem; }
ol { margin: 0 0 1.4rem 0; padding: 0 0 0 2.5rem; font-size: 1.2rem; line-height: 1.1; }
ol li { list-style-type: decimal; margin: 0 0 1.5rem 0; }

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

blockquote { margin: 0 0 1.4rem 0; font-size: 2rem; letter-spacing: -0.02em; color: #bbbbbb; }

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

/* 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 — MH:FIX Struktur, MH:TODO Farben und Breiten
   ============================================================================= */

/* MH:TODO Nur die Hintergründe eintragen, die das Projekt braucht.
   Jede Klasse hier muss zusätzlich in rex_config
   bw_modul_helper.section_bg_color eingetragen werden, sonst ist sie im
   Backend nicht wählbar. */
.section_bg_none,
.section_bg_white,
.section_bg_white_border,
.section_bg_alt
{ 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); }
.section_bg_alt   { background-color: var(--color-bg-alt); }
.section_bg_white_border { background-color: transparent; }
.section_bg_white_border > div { background-color: var(--color-bg); border-top: 1px solid var(--color-bg-alt); border-bottom: 1px solid var(--color-bg-alt); border-radius: 14px; padding: 3rem 15px 1.75rem 15px; margin-bottom: 40px; }
@media all and (max-width: 768px) { .section_bg_white_border > div { padding: 1.25rem 15px 0.5rem 15px; } }

/* Standard-Wrapper aus dem Template: die Altinhalte (Floats der Altseite)
   sitzen direkt als Flex-Items darin; wie bei Floats nicht auf gleiche Hoehe
   strecken. Greift nur auf den Wrapper, den das Template selbst oeffnet. */
#content > .section_bg_none > .section_980 { align-items: flex-start; }

/* MH:TODO Nur die Breiten eintragen, die das Projekt braucht.
   section_full wird fast immer gebraucht. Jede Klasse zusätzlich in
   bw_modul_helper.section_width eintragen.
   display:flex direkt hier (nicht ueber eine separate .section_flex-Klasse aus
   default.css) - die laedt vor main<datum>.css und wuerde bei gleicher
   Spezifitaet von einem spaeter geladenen display:block ueberschrieben werden. */
.section_full,
.section_1600,
.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_1600 { max-width: 1600px; margin: 0 auto; }
.section_1200 { max-width: 1200px; margin: 0 auto; }
.section_980 { max-width: 980px; margin: 0 auto; }

/* Mobil: outer_box floatet nicht mehr (kein Clearfix noetig), Section bleibt
   Flex, faellt aber auf eine Spalte zurueck statt nebeneinander.
   Breakpoint 768px, damit er mit dem Altraster (.columns, siehe 6a) uebereinstimmt. */
@media all and (max-width: 768px) {
    .section_full,
    .section_1600,
    .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 */

/* MH:INFO .justify_content_* und .align_items_* sind projektunabhängig, deshalb
   ins AddOn verschoben: siehe assets/css/template/default.css. Kommt
   automatisch mit addCssTemplate('default.css'). display:flex selbst steht
   NICHT dort, sondern direkt auf den .section_full/.section_1200/...-Klassen
   oben (Kaskade-Grund siehe Kommentar dort). */


/* =============================================================================
   3) outer_box — MH:FIX Struktur, MH:TODO welche Breiten und Box-Optiken
   Ausgangswerte: Seitenbreite 1200px, Abstand 40px
   ============================================================================= */

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

/* MH:TODO Nur die Breiten eintragen, die das Projekt braucht, zusätzlich in
   bw_modul_helper.box_width. Praxis-Minimum: 1_2, 1_3, 2_3.
   Weitere Werte sind erlaubt, z. B. box_width_1_5 { width: 17%; }
   Die %-Werte sind auf den 2.5%-Abstand aus .outer_box (margin-left) hin
   berechnet. Soll der Abstand zwischen den Boxen groesser oder kleiner
   werden, reicht es nicht, nur den margin-Wert zu aendern - dann muessen
   alle Breiten hier passend neu berechnet werden. Die Boxen sitzen als
   Flex-Items im Flex-Elternteil nebeneinander, kein Float nötig. */
.box_width_full { width: 100%; margin: 0 0 20px 0; }
.box_width_1_2  { width: 46.25%; }
.box_width_1_3  { width: 30%; }
.box_width_2_3  { width: 62.5%; }
.box_width_1_4  { width: 21.88%; }
.box_width_3_4  { width: 70.64%; }

/* MH:TODO Box-Optiken (box_class). Dank box-sizing: border-box (default.css)
   direkt auf .outer_box möglich, kein eigenes .outer_box_inner mehr nötig -
   jede box_class-Regel bringt ihr Padding selbst mit. Zusätzlich in
   bw_modul_helper.box_class eintragen. */
.box_bg_white        { background-color: var(--color-bg); padding: 20px 20px 1px 20px; }
.box_bg_white_rahmen { background-color: var(--color-bg); border: 1px solid var(--color-border); padding: 20px 20px 1px 20px; }

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

/* MH:TODO Mobil (768px, projektweit an .columns/Altraster angeglichen):
   outer_box/text_bild/zweispalter auf einspaltig zurueckfallen lassen.
   Breakpoint, seitlicher Rand (10px) und Abstand zwischen gestapelten
   Elementen (15px) sind hier ebenso frei anpassbar wie die Prozentwerte
   oben. */
@media all and (max-width: 768px) {
    .outer_box { width: auto; margin: 0 10px 20px 10px; }
    .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 — MH:TODO Höhen, Farben, Abstände
   Reihenfolge der Kopfblöcke ist projektweise wählbar, IDs sind fix.
   ============================================================================= */

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

/* MH:OPTIONAL Infoleiste über dem Menü */
#header_top_bg { background-color: var(--color-bg-alt); }
#header_top { display: flex; flex-flow: row wrap; gap: 1.25rem; justify-content: flex-end;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0.375rem 2.5%;
  font-size: 0.875rem; line-height: 1.5; }

/* MH:FIX Pflicht: unter dem Nav-Breakpoint liegt #main_nav_button fixiert oben
   rechts. Ohne diesen padding-right liegt er auf den Links der Infoleiste. */
@media all and (max-width: 980px) {
    #header_top { justify-content: flex-start; padding-right: 70px; }
}
/* MH:/FIX */
/* MH:/OPTIONAL */

/* MH:INFO main_nav_bg/main_nav_content = sichtbare Kopfzeile mit Logo/Nav/Kontakt. */
/* Kopfzeile wie Altseite: dunkel, oranger Rand oben, beim Scrollen fixiert */
#main_nav_bg { position: sticky; top: 0; z-index: 999; background-color: var(--color-dark); border-top: 0.25rem solid var(--color-primary); }
#main_nav_content { display: flex; flex-flow: row wrap; align-items: center; gap: 1.25rem; position: relative; width: 100%; max-width: 980px; margin: 0 auto; padding: 1.5rem 15px 1rem 15px; }
#logo { display: block; flex: 0 0 auto; width: 230px; height: auto; margin: 0; padding: 0; line-height: 0; background-color: var(--color-primary); }
#logo a { display: block; border-bottom: none; }
#logo:hover img { opacity: 0.75; }
#logo:focus-visible { outline-color: #fff; }

#social_header { display: flex; gap: 0.3rem; margin: 0 0 0 auto; padding: 0; }
#social_header li { list-style-type: none; margin: 0; }
.social_icon { display: block; width: 27px; height: 27px; overflow: hidden; border-radius: 3px;
  background: var(--color-icon-bg) url('images/social_icons.png') no-repeat; transition: background-color 0.3s; }
.social_icon span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.social_facebook { background-position: -27px 0; }
.social_youtube  { background-position: -108px 0; }
.social_linkedin { background-position: -135px 0; }
.social_google   { background-position: -189px 0; }
.social_icon:hover { background-color: var(--color-primary); }
.social_icon:focus-visible { background-color: var(--color-primary); outline-color: #fff; }

@media all and (max-width: 980px) {
    #main_nav_content { padding: 0.75rem 70px 0.75rem 15px; }
    #logo { width: 180px; }
}
@media all and (max-width: 480px) {
    #social_header { display: none; }
}

/* MH:INFO header_bg/header = ctype-2-Seitenkopf fuer Innenseiten (Bildkopf),
   NICHT die Nav-Leiste oben - beide Namen sind sich zum Verwechseln aehnlich. */
/* MH:OPTIONAL Seitenkopf, ctype 2 */
#header_bg { }
#header { }
/* MH:/OPTIONAL */

#content { min-height: 60vh; overflow: hidden; scroll-margin-top: 100px; }
#content_bg { padding: 0 0 3rem 0; background: var(--color-bg-page) url('images/background1.png'); }
#content_bg .section_padding_normal { padding: 1.5rem 0 0 0; }
@media all and (max-width: 980px) { #content { scroll-margin-top: 80px; } }

/* Footer wie Altseite: dunkle Flaeche mit hellem Rand oben, Copyright-Leiste darunter */
#footer_bg { clear: both; margin: 0 0 0 0; padding: 4.5rem 0 0 0; background-color: var(--color-dark); border-top: 0.5rem solid var(--color-bg-alt); }
#footer { display: flex; flex-flow: row wrap; justify-content: space-between; gap: 1.25rem;
  width: 100%; max-width: 980px; margin: 0 auto; padding: 0 15px;
  color: var(--color-light-text); font-size: 0.9rem; line-height: 1.88; }
.footer_box { display: block; width: 30%; margin: 0 0 1.25rem 0; padding: 0; }
.footer_box address { margin: 0 0 1rem 0; font-style: normal; }
.footer_box blockquote { margin: 0 0 0.5rem 0; font-size: 1em; letter-spacing: normal; color: var(--color-light-text); }
.footer_box blockquote p { margin: 0; }
.footer_cite { font-style: italic; }
#footer a { color: var(--color-primary-lighter); text-decoration: none; }
#footer a:hover { text-decoration: underline; }
#footer .like_h3 { margin: 0 0 1.1rem 0; padding: 0 0 0 22px; font-family: 'PT Sans Narrow', Tahoma, Verdana, sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: 0.0625rem; color: #e8e8e8;
  background: url('images/footer-icons.png') no-repeat 0 -23px; }
#footer .footer_box:last-of-type .like_h3 { background-position: 0 6px; }
#footer_rights { width: 100%; margin: 0; padding: 2.1rem 0 1.9rem 0; font-size: 0.75rem; line-height: 1.5; color: #cccccc;
  box-shadow: 0 0 0 100vmax var(--color-darker); clip-path: inset(0 -100vmax); background-color: var(--color-darker); }
#footer_rights p { margin: 0; }
/* MH:INFO In diesem Ausgangs-CSS ist der Footer dunkel (var(--color-link)),
   deshalb hier ein heller Fokusring statt --color-focus (sonst zu wenig
   Kontrast, WCAG 1.4.11). Wird #footer_bg weiter oben (MH:TODO) auf eine
   helle Farbe umgestellt, muss outline-color hier mit angepasst werden -
   sonst ist der Ring auf hellem Hintergrund ggf. nicht mehr sichtbar. */
#footer a:focus-visible { outline-color: #fff; }

@media all and (max-width: 768px) { #footer_bg { padding: 1.5rem 0 0 0; } .footer_box { width: 46%; } }
@media all and (max-width: 480px) { #footer { display: block; } .footer_box { width: 100%; } }


/* =============================================================================
   5) Navigation
   -----------------------------------------------------------------------------
   MH:TODO Inhalt der passenden AddOn-Datei hier einfügen:
   assets/css/template/main_nav/main_nav_1_ebene.css   (nur Hauptmenü)
   assets/css/template/main_nav/main_nav_2_ebene.css   (mit Dropdown)
   assets/css/template/main_nav/main_nav_3_ebene.css   (mit Flyout)

   Was FIX ist, was nur als Mechanismus erhalten bleiben muss und was frei
   gestaltbar ist (inkl. Breakpoint-Hinweis): siehe claude_vorgaben/vorlage_navigation.php,
   Abschnitt "CSS" — nicht hier nochmal erklären.
   ============================================================================= */
/*
im Template vor die main_nav.jss

// 2b) Desktop: nur Ebene 3 deaktivieren (Ebene 2 bleibt nutzbar)
// echo '<script> var main_nav_deactivate_level_3_for_desktop = true; </script>'.PHP_EOL;
*/
:root {
	/* Menü-Button */
	--mh-nav-button-bar: var(--color-light-text);
	--mh-nav-button-bar-active: var(--mh-nav-accent);
	--mh-nav-focus-outline: #fff;

	/* Marken-Akzent (Hover Ebene 1 Desktop, current mobil) */
	--mh-nav-accent-rgb: 255,127,28;
	--mh-nav-accent: var(--color-primary);
	--mh-nav-on-accent: #000;

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

	/* Dropdown Ebene 2 Desktop */
	--mh-nav-dropdown-hover-bg: rgba(0,0,0,0.8);

	/* Mobil: dunkles Overlay wie die Kopfzeile, helle Schrift (Kontrast je Ebene >= 6:1) */
	--mh-nav-mobile-overlay-bg: var(--color-dark);
	--mh-nav-mobile-level2-bg: #3a3a3a;
	--mh-nav-mobile-level3-bg: #464646;
	--mh-nav-mobile-hover-bg: #555555;
	--mh-nav-mobile-text: var(--color-light-text);
	--mh-nav-mobile-border: #555555;
	--mh-nav-mobile-indent-marker: #fff;
	--mh-nav-mobile-active-bg: var(--color-darker);   /* rex-active = Elternpunkt, dezent; voll orange nur rex-current */
	--mh-nav-mobile-active-text: var(--color-primary); /* ~6,7:1 auf --color-darker */
}
/* --- Menue-Button --- */
#main_nav_button { display: none; position: fixed; top: 26px; 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; flex: 1 1 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-start; align-items: flex-start; position: relative; top: 0; left: 0; margin: 0; padding: 0; }
#main_nav li { list-style-type: none; display: block; position: relative; top: 0; left: 0; margin: 0; padding: 0; }

#main_nav li a { display: block; width: auto; height: auto; margin: 0; padding: 5px 15px; font-size: 0.9rem; 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-link-color); background-color: var(--mh-nav-active-bg); }
#main_nav li a.rex-active  { color: var(--mh-nav-link-color); background-color: var(--mh-nav-active-bg); }
#main_nav li a:hover,
#main_nav li a:focus-visible { text-decoration: none; color: var(--mh-nav-on-accent); background-color: var(--mh-nav-accent); transition: all 0.125s ease-out; }

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

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

#main_nav ul.rex-navi2 { display: none; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; position: absolute; top: 30px; left: 0; width: auto; max-width: 480px; min-width: 320px; height: auto; margin: 0; padding: 0; text-align: left; z-index: 100; background-color: rgba(var(--mh-nav-accent-rgb), 0.9); }
#main_nav ul.rex-navi2 li { display: block; width: 50%; height: auto; margin: 0; padding: 0; }
#main_nav ul.rex-navi2 li a { display: block; position: relative; top: 0; left: 0; width: auto; margin: 0; padding: 5px 10px; color: var(--mh-nav-on-accent); font-size: 0.9rem; text-transform: none; background-color: rgba(var(--mh-nav-accent-rgb), 0.8); white-space: nowrap; }
#main_nav ul.rex-navi2 li a.rex-current { color: var(--mh-nav-link-color); background-color: var(--mh-nav-active-bg); }
#main_nav ul.rex-navi2 li a.rex-active  { color: var(--mh-nav-link-color); background-color: var(--mh-nav-active-bg); }
#main_nav ul.rex-navi2 li a:hover,
#main_nav ul.rex-navi2 li a:focus-visible { color: var(--mh-nav-link-color); background-color: var(--mh-nav-dropdown-hover-bg); text-decoration: none; }

/* Dritte Ebene Desktop – deaktiviert */
#main_nav ul.rex-navi3 { display: none; }
/* Dritte Ebene Desktop
   Flyout nach rechts. Oeffnet per Hover und per aria-expanded (Tastatur/JS).
   Reihenfolge: normal → current/active → hover gewinnt immer
#main_nav ul.rex-navi3 { display: none; position: absolute; top: 0; left: 100%; width: auto; min-width: 200px; margin: 0; padding: 0; z-index: 101; background-color: rgba(var(--mh-nav-accent-rgb), 0.95); }

#main_nav .rex-navi2 > li.has-children:hover > ul.rex-navi3,
#main_nav .rex-navi2 > li.has-children > a:hover ~ ul.rex-navi3,
#main_nav .rex-navi2 > li.has-children > a[aria-expanded="true"] ~ ul.rex-navi3 { display: block; }

#main_nav ul.rex-navi3 li { display: block; width: 100%; }
#main_nav ul.rex-navi3 li a { padding: 5px 10px; color: var(--mh-nav-on-accent); background-color: rgba(var(--mh-nav-accent-rgb), 0.8); white-space: nowrap; }
#main_nav ul.rex-navi3 li a.rex-current { color: var(--mh-nav-link-color); background-color: var(--mh-nav-active-bg); }
#main_nav ul.rex-navi3 li a.rex-active  { color: var(--mh-nav-link-color); background-color: var(--mh-nav-active-bg); }
#main_nav ul.rex-navi3 li a:hover,
#main_nav ul.rex-navi3 li a:focus-visible { color: var(--mh-nav-link-color); background-color: var(--mh-nav-dropdown-hover-bg); }
 */

/* --- 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 2 zu 3 nicht anzeigen auf Desktop */
@media all and (min-width: 981px) {
	#main_nav .rex-navi2 > li > a.has-children-a::after { display: none; }
}


/* =========================================================================
   Mobile Navigation (max-width: 980px)
   ========================================================================= */
@media all and (max-width: 980px) {
	/* Menue-Button einblenden */
	#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-accent); color: var(--mh-nav-on-accent); }
	#main_nav li a.rex-active  { background-color: var(--mh-nav-mobile-active-bg); color: var(--mh-nav-mobile-active-text); }
	#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); }

	/* --- 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-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-mobile-active-text); }
	#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-mobile-active-text); }
	#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: none; }
	#main_nav ul.rex-navi3 li a:before { content: '-'; display: inline-block; margin-right: 5px; color: var(--mh-nav-mobile-indent-marker); }

	/* Der aktuelle Punkt traegt meist rex-current UND rex-active - rex-current muss gewinnen */
	#main_nav li a.rex-current,
	#main_nav ul.rex-navi2 li a.rex-current,
	#main_nav ul.rex-navi3 li a.rex-current { background-color: var(--mh-nav-accent); color: var(--mh-nav-on-accent); }

	/* Pfeil an Ebene-2-Punkten mit Unterpunkten: weiss statt --mh-nav-on-accent (schwarz) */
	#main_nav .rex-navi2 > li > a.has-children-a::after { border-right-color: #fff; border-bottom-color: #fff; }
}


/* =========================================================================
   Link plus Aufklapp-Button (main_nav_submenu_button.js statt main_nav.js)
   #main_nav_bg bekommt im Template die Klasse main_nav_submenu_button. Der Button steht im rechten
   Innenabstand des Links, der Pfeil gehoert dem Button statt dem Link.
   ========================================================================= */
#main_nav_bg.main_nav_submenu_button #main_nav a.has-children-a::after { display: none; }
#main_nav_bg.main_nav_submenu_button #main_nav li.has-children { display: flex; flex-wrap: wrap; }
#main_nav_bg.main_nav_submenu_button #main_nav li.has-children > a { flex: 1 1 auto; }
#main_nav_bg.main_nav_submenu_button #main_nav li.has-children > ul { flex: 0 0 100%; }
#main_nav_bg.main_nav_submenu_button #main_nav button.main_nav_toggle { position: relative; flex: 0 0 24px; align-self: stretch; width: 24px; margin: 0 0 0 -24px; padding: 0; border: none; background: transparent; cursor: pointer; }
#main_nav_bg.main_nav_submenu_button #main_nav button.main_nav_toggle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; border-right: 2px solid var(--mh-nav-link-color); border-bottom: 2px solid var(--mh-nav-link-color); transform: translate(-50%, -70%) rotate(45deg); transition: transform 200ms ease; }
#main_nav_bg.main_nav_submenu_button #main_nav button.main_nav_toggle[aria-expanded="true"]::after { transform: translate(-50%, -30%) rotate(225deg); }
#main_nav_bg.main_nav_submenu_button #main_nav button.main_nav_toggle:focus-visible { outline: 2px solid var(--mh-nav-focus-outline); outline-offset: -2px; }

@media all and (min-width: 981px) {
	#main_nav_bg.main_nav_submenu_button #main_nav li.has-children > button[aria-expanded="true"] ~ ul.rex-navi2 { display: flex; }

	#main_nav_bg.main_nav_no_level2 #main_nav .rex-navi1 > li > button.main_nav_toggle,
	#main_nav_bg.main_nav_no_level3 #main_nav .rex-navi2 > li > button.main_nav_toggle { display: none; }
}

@media all and (max-width: 980px) {
	#main_nav_bg.main_nav_submenu_button #main_nav li.has-children > a.has-children-a { padding-right: 44px; }
	#main_nav_bg.main_nav_submenu_button #main_nav button.main_nav_toggle { flex-basis: 44px; width: 44px; margin-left: -44px; }
	#main_nav_bg.main_nav_submenu_button #main_nav button.main_nav_toggle::after { border-color: var(--mh-nav-mobile-text); }
}


/* =========================================================================
   Hilfsseite: bisheriges Menue mit Hilfsseite "Uebersicht" als erstem Unterpunkt (zum Aktivieren Kommentar entfernen)
   Der erste Eintrag jedes Untermenues ist eine Seite, die auf den Hauptpunkt weiterleitet. Auf
   Desktop ist er nur sichtbar, solange er per Tastatur den Fokus hat, mobil und im vertikalen
   Menue immer. Gilt fuer alle Untermenues der Webseite: entweder haben alle eine Uebersicht oder keins.
   ========================================================================= */
/*
@media all and (min-width: 981px) {
	#main_nav_bg:not(.main_nav_vertical) #main_nav ul.rex-navi2 > li:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	#main_nav_bg:not(.main_nav_vertical) #main_nav ul.rex-navi2 > li:first-child:focus-within { position: static; width: 50%; height: auto; overflow: visible; clip-path: none; }
}
*/


/* Projekt: Optik der Altseite (Grossbuchstaben, kleine Schrift, Dropdown dunkelgrau) */
@media all and (min-width: 981px) {
	#main_nav li a { display: flex; align-items: center; min-height: 27px; padding: 0 10px; line-height: 1.2; border-radius: 3px; font-size: 0.92rem; letter-spacing: 0.05em; text-transform: uppercase; }
	#main_nav li a:hover,
	#main_nav li a:focus-visible { color: #fff; }
	#main_nav li a.rex-current,
	#main_nav li a.rex-active { text-decoration: underline; text-underline-offset: 4px; }
	#main_nav ul.rex-navi2 { top: 27px; min-width: 200px; max-width: 260px; background-color: var(--color-text-dark); }
	#main_nav ul.rex-navi2 li { width: 100%; }
	#main_nav ul.rex-navi2 li a { display: block; min-height: 0; line-height: 1.4; padding: 6px 10px; border-radius: 0; text-transform: none; letter-spacing: normal; color: #999999; background-color: var(--color-text-dark); }
	#main_nav ul.rex-navi2 li a:hover,
	#main_nav ul.rex-navi2 li a:focus-visible { color: #fff; background-color: var(--color-dark); }
}


/* =============================================================================
   6) Projektspezifisches
   MH:TODO Ab hier eigene Klassen des Designs. Jede Klasse, die im Backend
   wählbar sein soll, zusätzlich in rex_config eintragen.
   ============================================================================= */
/* -----------------------------------------------------------------------------
   6a) Altinhalte: Raster der Altseite (Skeleton 960)
   Die Inhalte (HTML-Slices, Altmodule) bleiben unveraendert und tragen weiter
   die Klassen container / columns / sixteen ... Prozentbreiten statt fester
   Pixel, Spaltenabstand als Innenabstand. Die Spalten floaten wie in der
   Altseite, weil viele davon nicht in .container, sondern in Block-Elementen
   der HTML-Slices stehen (#content.BlogPage, .slice ...). In .container und
   im Template-Wrapper (beide Flex) wird float ignoriert.
   ----------------------------------------------------------------------------- */
.container { display: flex; flex-flow: row wrap; align-items: flex-start; position: relative; width: 100%; max-width: 980px; margin: 0 auto; padding: 0; }
.container .container { max-width: none; }

.columns { display: block; float: left; box-sizing: border-box; padding: 0 15px; }
.sixteen.columns { width: 100%; }
.twelve.columns { width: 75%; }
.ten.columns { width: 62.5%; }
.eight.columns { width: 50%; }
.six.columns { width: 37.5%; }
.four.columns { width: 25%; }
.two-thirds.columns { width: 66.666%; }
.one-third.columns { width: 33.333%; }
.three_fifth.columns { width: 60%; }
.one_fifth.columns { width: 20%; }
.two_fifth.columns { width: 40%; } /* MH:FIX Bug: Dropdown-Option in Modul 48/72, fehlte bisher komplett im Raster */
.one_third { float: left; width: 33.333%; box-sizing: border-box; padding: 0 2% 0 0; }

/* MH:FIX Marker-Klasse align_outer_box: columns-Spalte (Modul 48/72) liegt in
   derselben Flex-Zeile wie eine outer_box. Stellt die Luecken-Mechanik von
   padding (hier oben) auf margin (outer_box, Abschnitt 3) um, Breite
   entsprechend neu berechnet (k * (97.5/n - 2.5) + (k-1) * 2.5, n = Raster
   der jeweiligen Fraktion). Nur wirksam bei bewusster Auswahl im
   Boxbreite-Dropdown, alle anderen .columns-Verwendungen bleiben
   unveraendert. Mischungen ohne Entsprechung (z. B. mit sich selbst
   unpassenden Bruchteilen) sind Sache der Redaktion, nicht hier geloest. */
.columns.align_outer_box { float: none; box-sizing: border-box; padding: 0; margin: 0 0 20px 2.5%; }
.columns.align_outer_box.sixteen     { width: 100%;   margin: 0 0 20px 0; } /* 16/16 = 1/1, kein Lueckenabzug noetig */
.columns.align_outer_box.twelve      { width: 70.64%; } /* 12/16 = 3/4 */
.columns.align_outer_box.ten         { width: 58.44%; } /* 10/16 = 5/8 */
.columns.align_outer_box.eight       { width: 46.25%; } /* 8/16 = 1/2 */
.columns.align_outer_box.six         { width: 34.06%; } /* 6/16 = 3/8 */
.columns.align_outer_box.four        { width: 21.88%; } /* 4/16 = 1/4 */
.columns.align_outer_box.two-thirds  { width: 62.5%;  } /* 2/3 */
.columns.align_outer_box.one-third   { width: 30%;    } /* 1/3 */
.columns.align_outer_box.three_fifth { width: 56%;    } /* 3/5 */
.columns.align_outer_box.two_fifth   { width: 36.5%;  } /* 2/5 */
.columns.align_outer_box.one_fifth   { width: 17%;    } /* 1/5 */

@media all and (max-width: 768px) {
    .columns.align_outer_box { float: none; width: auto; margin: 0 10px 20px 10px; padding: 0; }
}
/* MH:/FIX */

/* Zeilenumbruch im Raster: clear fuer Floats, volle Breite fuer Flex */
.clear, .flClear, .form_clear { display: block; clear: both; flex: 0 0 100%; width: 100%; height: 0; overflow: hidden; }
.clearfix::after { content: ''; display: table; clear: both; }
hr { clear: both; flex: 0 0 100%; }

/* Block-Elemente der HTML-Slices umschliessen die floatenden Spalten */
#content #content, .slice { display: flow-root; }

.textCenter { text-align: center; }
.hide, .hiddenInfo { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

/* Abschnitte der Altseite (.slice, Farbflaechen) */
.slice { width: 100%; padding: 3rem 0 1.75rem 0; border-radius: 14px; }
.color4 { background-color: var(--color-bg); border-top: 1px solid var(--color-bg-alt); border-bottom: 1px solid var(--color-bg-alt); }
.color5 { background: linear-gradient(to bottom, #ffffff 0%, var(--color-bg-warm) 84%); border-top: 1px solid var(--color-bg-alt); border-bottom: 1px solid var(--color-bg-alt); border-radius: 0 0 14px 14px; }
.home { padding-bottom: 0; }
.home h2 { display: block; margin: 0 0 1.4rem 0; line-height: 1.35; }
.bloc { overflow: hidden; }
.bloc article h3 { margin: 0 0 0.8rem 0; }
.shadowDivider { height: 1.5rem; margin: 0 0 1rem 0; text-align: center; opacity: 0.5; background: url('images/bloc-shadow.png') no-repeat top center; }
#content section#content, #content #content { width: 100%; }
.pricingPage { width: 100%; padding-bottom: 3rem; }

@media all and (max-width: 768px) {
    .columns,
    .sixteen.columns, .twelve.columns, .ten.columns, .eight.columns, .six.columns, .four.columns,
    .two-thirds.columns, .one-third.columns, .three_fifth.columns, .one_fifth.columns,
    .one_third { float: none; width: 100%; padding: 0 10px; }
    .slice { padding: 1.25rem 0 0.5rem 0; }
}

/* -----------------------------------------------------------------------------
   6b) Altinhalte: Typografie und Elemente
   ----------------------------------------------------------------------------- */
/* eigenes Element der Altseite fuer Zitate */
contentquote { display: block; position: relative; margin: 0 0 1.4rem 0; padding: 1.25rem 0.75rem 1.875rem 3.875rem; text-align: center; font-size: 1.3125rem; line-height: 1.3; font-weight: 300; color: #b1b1b1; }
contentquote::before { content: '\201C'; position: absolute; top: 0; left: 0; width: 3.75rem; height: 3.75rem; font-size: 7.5rem; line-height: 1; }
virttitle { display: block; margin: 0 0 0.45rem 0; font-size: 1.2rem; line-height: 1.25; font-weight: 500; }

.eight.columns ul li { position: relative; left: 10px; margin: 0 0 7px 0; padding: 1px 0; font-size: 1.1rem; }
.one-third.columns ul li { position: relative; left: 20px; margin: 0 0 1px 0; padding: 1px 0; font-size: 1.1rem; font-weight: 700; list-style-type: disc; }
.eight.columns ol li { position: relative; left: 5px; font-size: 0.85rem; }
.one-third.columns ol li { position: relative; left: 20px; font-size: 1.1rem; font-style: italic; font-weight: 700; }

/* Haekchen-Listen */
.bullet { padding: 0 0 0 0.6rem; font-family: 'PT Sans Narrow', Tahoma, Verdana, sans-serif; font-size: 1.5rem; font-weight: 500; line-height: 1.3; color: #2d2e2f; }
.bullet li { margin: 0 0 1rem 0; }
.bullet li::before,
.blog li::before { content: url('images/check.webp'); display: inline-block; vertical-align: middle; margin-right: 0.25em; }
.blog { padding: 0 0 0 0.1rem; font-family: 'PT Sans Narrow', Tahoma, Verdana, sans-serif; font-size: 1.15rem; font-weight: 300; line-height: 1.3; color: #2d2e2f; }
.blog li { margin: 0 0 0.15rem 0; }
.blog li::before { margin-right: 0.5em; }
.blogo { padding: 0 0 0 0.1rem; font-family: 'PT Sans Narrow', Tahoma, Verdana, sans-serif; font-size: 1.1rem; font-weight: 300; line-height: 1.3; color: #2d2e2f; }
.blogo li { margin: 0 0 0.5rem 0; }
.blog article { margin: 0 0 1.5rem 0; }
.blog article h2 { margin: 0 0 0.5rem 0; font-size: 1.25rem; text-align: left; letter-spacing: normal; color: #777777; }

#tphone { display: block; font-size: 2rem; font-weight: 700; }
.kalkulation-headline { font-size: 2rem; font-weight: 700; text-transform: uppercase; }
.smallHeading { font-size: 1rem; }

/* Brotkrumen der Altseite */
#navTrail { display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 1.5rem 0; padding: 2rem 15px 0 15px; color: var(--color-muted); }
#navTrail a { color: var(--color-muted); }
#navTrail span { margin: 0 3px; }
#navTrail .current { margin: 0; color: var(--color-primary); }
#navTrail a:hover,
#navTrail a:focus-visible { color: var(--color-primary); }
.icon { display: inline-block; width: 14px; height: 18px; vertical-align: text-bottom; background-repeat: no-repeat; }
.iconHome { background-image: url('images/home-icon.png'); background-position: center center; }

aside#sidebar { padding-top: 0; }
#widgetArea { margin: 0 0 1.5rem 0; padding: 1.5rem 20px 0 0; }

/* Buttons der Altseite */
.btn, a.btn, input[type="submit"], input[type="reset"], input[type="button"] {
  display: inline-block; margin: 0 0 1.25rem 0; padding: 6px 10px; border: 1px solid var(--color-primary-border); border-radius: 3px;
  font-size: 0.75rem; font-weight: 400; text-decoration: none; color: #fff; cursor: pointer;
  background: linear-gradient(to bottom, var(--color-primary-light) 5%, var(--color-primary) 100%); box-shadow: inset 0 1px 0 0 var(--color-primary-lighter); }
.btn:hover, a.btn:hover, input[type="submit"]:hover,
.btn:focus-visible, a.btn:focus-visible, input[type="submit"]:focus-visible { color: var(--color-link); text-decoration: none; background: #fff; border-color: #cccccc; box-shadow: none; }
.btnSmall { padding: 1px 8px; font-size: 0.95rem; }
.btnMedium { padding: 8px 10px; font-size: 0.875rem; }
a.moreLink { display: block; }
.su-button { display: inline-block; text-align: center; text-decoration: none; transition: all 0.2s; }

/* Icon-Spalten */
.bigIconsColumnsWrapper { text-align: center; }
.bigIconsColumnsWrapper h2 { font-size: 1.25rem; }
.iconWrapper { position: relative; width: 107px; height: 107px; margin: 0 auto 0.4rem auto; background: url('images/bulle.png') no-repeat center; }
.iconBig { width: 107px; height: 107px; margin: 0 auto; background-image: url('images/wpzoom-developer.png'); background-repeat: no-repeat; }
.iconBigblackMusik { background-position: 0 -652px; }
.iconBigblackPlan { background-position: 4px -1304px; }
.iconBigblackPreproduction { background-position: -108px -1625px; }
.iconBigblackKunde { background-position: -648px -1196px; }
.iconBigblackAuge { background-position: -540px -432px; }
.iconBigblackEditing { background-position: -216px -1836px; }

/* Bildrahmen und Hover-Maske (Referenzen, Karussell) */
.imgWrapper { display: block; overflow: hidden; margin: 0 0 1.5rem 0; padding: 9px; line-height: 0; background-color: #fff; border: 1px solid #eeeeee; border-radius: 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); }
.newsImgWrapper { display: block; margin: 0 0 1rem 0; }
.view { display: block; position: relative; overflow: hidden; text-align: center; }
.view .imgWrapper img { transition: transform 0.7s ease; }
.view:hover .imgWrapper img,
.view:focus-visible .imgWrapper img { transform: scale(1.5); }
/* MH:FIX Nachbau Altseite (custom.js): Mask faded ein, der Text-Span faehrt
   dabei aus einer versteckten Position unterhalb in die Mitte hoch (jQuery
   marginTop: 200% -> Boxmitte). Hier als reine CSS-Transition statt JS. */
.mask { display: flex; align-items: center; justify-content: center; overflow: hidden; position: absolute; inset: 0; opacity: 0; background-color: rgba(255, 255, 255, 0.6); transition: opacity 0.3s; }
.view:hover .mask,
.view:focus-visible .mask { opacity: 1; }
.mask span { transform: translateY(150%); transition: transform 0.3s ease-out; }
.view:hover .mask span,
.view:focus-visible .mask span { transform: translateY(-10px); } /* ein Stueck ueber die Boxmitte hinaus */
/* MH:/FIX */
/* MH:FIX Bug: .mask ist selbst ein <span> in .view, daher traf ".view span"
   bisher auch .mask selbst (hoehere Spezifitaet als ".mask") und ueberschrieb
   dessen display:flex/Hintergrund. :not(.mask) grenzt auf den Text-Badge ein. */
.view span:not(.mask), .mask span { display: inline-block; padding: 6px 10px; border-radius: 3px; font-size: 0.75rem; text-transform: uppercase; color: var(--color-text-dark); background: #fff; box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); }
/* MH:/FIX */
@media (prefers-reduced-motion: reduce) {
    .view .imgWrapper img, .mask, .mask span { transition: none; }
}

/* Accordion der Altseite (FAQ-Bloecke im Blog), Bedienung per main.js */
.accordion { margin: 0 0 1.4rem 0; border-bottom: 1px dotted #aaaaaa; }
.accordion h2 { display: block; margin: 0; padding: 1.25rem 1rem 1rem 20px; border-bottom: 1px solid #f7f5f5; font-size: 1.2rem; text-align: left; color: var(--color-text-dark); cursor: pointer;
  background: #fff url('images/accordeon-icon.png') no-repeat 0 21px; }
.accordion h2.current { color: var(--color-primary); border-bottom-color: var(--color-primary); background-position: 0 -38px; }
.accordion h2:hover { color: var(--color-primary); }
.accordion h2:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.accordion > div { padding: 1.5rem 1rem; border-bottom: 1px solid #f7f5f5; }
.accordion > div[hidden] { display: none; }
@media all and (max-width: 768px) {
    .accordion h2 { background-position: 0 31px; }
    .accordion h2.current { background-position: 0 -28px; }
}

/* Preistabellen */
table.pricingBloc { width: 100%; margin: 0 0 1.4rem 0; border: 1px solid #cccccc; }
table.pricingBloc td, table.pricingBloc th { padding: 1rem; text-align: center; }
table.pricingBloc th { font-size: 1.25rem; font-weight: 700; line-height: 1; text-transform: uppercase; background: #fff; }
table.pricingBloc h2 { margin: 0; font-size: 3rem; text-transform: none; color: #fbfbfb; }
table.pricingBloc h2 span { display: block; margin: 0; font-family: 'PT Sans', Tahoma, Verdana, sans-serif; font-size: 0.4em; font-weight: 400; }
table.pricingBloc td.cost { background: #c9c9c9; }
table.pricingBloc .line1 { background-color: #f9f9f9; }
table.pricingBloc .line2 { background-color: #fff; }
.sign { background-color: var(--color-bg-alt); }
.sign .btn { width: 80%; margin: 0; font-size: 1.5rem; font-weight: 700; text-transform: uppercase; }
table.pricingBlocFocus { position: relative; z-index: 1; box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); }
table.pricingBlocFocus th { color: #fff; background: var(--color-primary-light); }
table.pricingBlocFocus td.cost { background: var(--color-primary); }
table.pricingBlocFocus h2, table.pricingBlocFocus h2 span { color: #fff; }
table.pricingBlocFocus .sign { background-color: var(--color-primary); }
.pricingPage h5 { margin: 0; font-size: 1.7rem; line-height: 1.2; text-align: left; color: #fff; }
.pricingPage h6 { margin: 0; font-size: 1.35rem; line-height: 1.35; text-align: left; color: var(--color-primary); }

/* Filmraster mit Filter (Altmodule 45/46/47/49/60/61) */
.portfolio { width: 100%; }
nav#filter { margin: 0 0 0.8rem 0; }
nav#filter ul { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 0 10px; margin: 0; }
nav#filter li { margin: 0; }
nav#filter li.filterTitle { color: var(--color-primary); }
nav#filter li.filterTitle h3 { margin: 0; font-size: 1rem; color: inherit; }
nav#filter a { color: var(--color-muted); }
nav#filter a:hover, nav#filter a:focus-visible, nav#filter a.current { color: var(--color-primary); text-decoration: none; }
#fourColumns h3 { margin: 0 0 0.5rem 0; font-weight: 400; }
#fourColumns article { margin: 0 0 1.5rem 0; }
.isotopeItem[hidden] { display: none; }
@media all and (max-width: 768px) {
    nav#filter ul { justify-content: flex-start; }
}

/* Video-Einbettungen */
.responsive-video { position: relative; height: 0; overflow: hidden; margin: 0 0 1.4rem 0; padding: 0 0 56.25% 0; }
.responsive-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.responsive-video2 { position: relative; height: 0; overflow: hidden; margin: 0 0 1.4rem 0; padding: 0 0 100% 0; }
.responsive-video2 iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Videosuite-Player (iv-player) in HTML-Slices: das Script setzt den iframe
   nachtraeglich ein; default.css (height: auto fuer iframe) wuerde ihn sonst
   auf 150px Hoehe zusammenstauchen */
.iv-player_embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; border: 0; }

/* Video-Banner der Startseite: siehe module20261117.css (#home_background_video) */

/* Formulare (Altmodul 52 und eingebettete Formulare) */
input[type="text"], input[type="password"], input[type="email"], textarea, select {
  display: block; max-width: 100%; margin: 0 0 1.4rem 0; padding: 0.75rem; border: 1px solid #cccccc; border-radius: 2px; background: #fff; font: inherit; }
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, textarea:focus { border-color: #aaaaaa; color: var(--color-text-dark); box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); }
textarea { height: 13.4rem; }
select { padding: 0; }
label, legend { display: block; }
input[type="checkbox"] { display: inline; }
@media all and (max-width: 768px) {
    input[type="text"], input[type="password"], input[type="email"], textarea, select { width: 90%; }
}

/* Karussells der Altseite, per main.js auf Swiper umgestellt */
.legacy_carousel { position: relative; width: 100%; padding: 0 40px; }
.legacy_carousel ul { margin: 0; }
.legacy_carousel li { margin: 0 0 1rem 0; }


/* MH:INFO Modul-Feinanpassungen (Farben, Abstände pro Modul, m500_-Module) gehören
   NICHT hierher, sondern in eine eigene Datei layout/module<JJJJMMTT>.css,
   eingebunden per addCssOwn() NACH den Modul-CSS-Dateien des AddOns. */


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


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


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


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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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


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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


/* module20261117.css */
/* module20261109.css — gruvie.de, Feinanpassung der Module (Basis: vorlage_module.css).
   Einbinden per addCssOwn() NACH den Modul-CSS des AddOns.
   Kaskade: default.css → main<datum>.css → Modul-CSS AddOn → diese Datei.
   Marker/Konventionen/Regeln: claude_vorgaben/konventionen.md.
   Reihenfolge: zuerst Anpassungen an Poolmodulen, danach die Projektmodule.
   Die Projektmodule sind die umgebauten Altmodule der Altseite (Klassenpraefix
   m + alte Modul-ID); ihr Raster (columns, sixteen ...) steht in main<datum>.css. */


/* --- Skiplinks im Orange der Seite (überschreibt skiplinks.css aus bw_modulhelper) --- */
.skiplinks a { background-color: var(--color-link); color: #fff; }
.skiplinks a:hover,
.skiplinks a:focus { background-color: var(--color-link-hover); color: #fff; }


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

/* --- yForm (Modul 69 „yForm per PHP-Code“) --------------------------------- */
.yform .btn-primary { color: #fff; background: var(--color-primary); border: 1px solid var(--color-primary-border); }
.yform .btn-primary:hover { color: #fff; background: var(--color-dark); }
.yform .btn-primary:focus,
.yform .btn-primary:focus-visible { box-shadow: 0 0 0 3px var(--color-focus); color: #fff; background: var(--color-dark); }

/* --- Swiper: Pfeile der Altseiten-Karussells (main.js, .legacy_carousel) --- */
.legacy_carousel .swiper-button-prev,
.legacy_carousel .swiper-button-next { --swiper-navigation-color: var(--color-primary); padding: 0; background: none; border: 0; }
.legacy_carousel .swiper-button-prev:hover,
.legacy_carousel .swiper-button-next:hover { --swiper-navigation-color: var(--color-primary-border); }
.legacy_carousel .swiper-button-prev:focus-visible,
.legacy_carousel .swiper-button-next:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* --- Scroll-to-top (Template-CSS scroll_to_top_button.css) ----------------- */
:root { --mh-scroll-top-bg: var(--color-primary); --mh-scroll-top-bg-hover: var(--color-dark); }

/* --- Kontrast-Umschalter im Footer (Template-CSS accessibility_toggle_box.css) --- */
#accessibility_toggle_box { text-align: left; }


/* =============================================================================
   Poolmodule (bw_modulhelper)
   ============================================================================= */

/* --- 030_faq_accordion ----------------------------------------------------
   Folgt mit der Umstellung der FAQ-Bloecke (zum Schluss). */

/* --- extras_011_formular_yform_flex: Videoanfrage (Wrapper .gruvie_anfrage aus value10) ---
   Label links, Feld rechts wie in der Altseite; Felder nur als direkte Kinder von form,
   damit Honeypot und Datenschutz-Checkbox (eigene Wrapper) unberuehrt bleiben. */
.gruvie_anfrage { position: relative; max-width: 733px; padding: 0 133px 25px 0; font-size: 0.875rem; line-height: 1.3; color: #000; }
.gruvie_anfrage h3 { margin: 5px 0; padding: 8px 8px 8px 13px; border-left: 3px solid #330000; border-bottom: 1px groove #40dcec;
  font-family: Arial, Helvetica, sans-serif; font-size: 1.2em; font-weight: bold; letter-spacing: 1px; line-height: 1.4em;
  color: #330000; background-color: #eeeeef; text-shadow: 1px 1px #cfcfcf; }
.gruvie_anfrage_bild { position: absolute; top: 0; right: 0; z-index: 2; pointer-events: none; }
.gruvie_anfrage_bild img { display: block; max-width: none; }

.gruvie_anfrage .yform form { padding: 10px; border: 1px solid #5d81a3; background-color: #fff; }
/* Textfarbe dunkler als in der Altseite (#147c99 hatte auf #d7d1c1 nur ~3,2:1) */
.gruvie_anfrage .formheadline,
.gruvie_anfrage .datenschutz_hinweis { margin: 0 0 20px 0; padding: 4px 3px 4px 5px; font-size: 0.9375rem; font-weight: bold; color: #0e5a70; background-color: #d7d1c1; }
.gruvie_anfrage .datenschutz_hinweis a { color: #0e5a70; text-decoration: underline; }
.gruvie_anfrage .datenschutz_hinweis a:hover,
.gruvie_anfrage .datenschutz_hinweis a:focus-visible { color: var(--color-darker); }

.gruvie_anfrage .yform form > .form-group { display: flex; flex-wrap: wrap; align-items: flex-start; margin: 0 0 20px 0; }
.gruvie_anfrage .yform form > .form-group > label { flex: 0 0 250px; margin: 0; padding: 3px 10px 0 0; font-weight: 400; color: var(--color-dark); }
/* Rahmen #767676: 4,5:1 gegen Weiss (WCAG SC 1.4.11 verlangt 3:1 fuer Feldgrenzen) */
.gruvie_anfrage .yform form > .form-group .form-control { flex: 0 1 260px; margin: 0; padding: 5px; border: 1px solid #767676; border-radius: 0;
  font-size: 0.875rem; line-height: 1.43; color: #333; background-color: #eee; }
.gruvie_anfrage .yform form > .form-group textarea.form-control { flex-basis: 100%; height: 120px; margin-top: 5px; background-color: #fff; }
/* select steckt im yForm-Template in div.rex-select-style - der ist das Flex-Item */
.gruvie_anfrage .yform form > .form-group > .rex-select-style { flex: 0 1 260px; }
.gruvie_anfrage .yform form > .form-group select.form-control { width: 100%; color: #2d2d2d; background-color: var(--color-primary); }
.gruvie_anfrage .yform form > .form-group .form-control:hover { border-color: var(--color-dark); }
.gruvie_anfrage .yform form > .form-group.has-error .form-control { border-color: #a94442; box-shadow: 0 0 0 1px #ead0d0; }
.gruvie_anfrage .yform form > .form-group.has-error input.form-control,
.gruvie_anfrage .yform form > .form-group.has-error textarea.form-control { background-color: #fbf6f6; }

.gruvie_anfrage .yform .btn-primary { width: 100%; margin: 40px 0; padding: 12px 25px; font-size: 1.5rem; }
/* Datenschutz-Checkbox: Label ueber die volle Breite, ohne Float/feste Groesse */
.yform .privacy_box label { float: none; width: auto; height: auto; }
/* ALTCHA: Host-Element ist sonst volle Breite, die innere Box nur --altcha-max-width (320px) */
.gruvie_anfrage .yform altcha-widget { max-width: 320px; }
/* Pflichtfeld-Hinweis hat vom Helper die Klasse flClear - die ist in main<datum>.css auf height: 0 */
.yform .pflichtfelder { height: auto; overflow: visible; }

@media only screen and (max-width: 767px) {
.gruvie_anfrage { padding-right: 0; }
.gruvie_anfrage_bild { display: none; }
.gruvie_anfrage .yform form > .form-group > label { flex-basis: 100%; padding: 3px 0 5px 0; }
.gruvie_anfrage .yform form > .form-group .form-control,
.gruvie_anfrage .yform form > .form-group > .rex-select-style { flex-basis: 100%; }
}


/* =============================================================================
   Projektmodule (umgebaute Altmodule)
   ============================================================================= */

/* --- 002 Multifunktions-Modul --------------------------------------------- */
.m002_multi { width: 100%; padding: 0 15px; }

/* --- 003 Absaetze: Abstandshalter, beginnt eine neue Zeile (Float und Flex) - */
.m003_absaetze { clear: both; flex: 0 0 100%; width: 100%; margin: 0; }
.m003_absaetze_1 { height: 1.35rem; }
.m003_absaetze_2 { height: 2.7rem; }
.m003_absaetze_3 { height: 4.05rem; }
.m003_absaetze_4 { height: 5.4rem; }
.m003_absaetze_5 { height: 6.75rem; }
@media all and (max-width: 768px) {
    .m003_absaetze_3, .m003_absaetze_4, .m003_absaetze_5 { height: 2.7rem; }
}

/* --- 031 Bild ------------------------------------------------------------- */
.m031_bild { display: block; margin: 0 0 1.4rem 0; }

/* --- 033 Text und Bild ---------------------------------------------------- */
.m033_text_bild { width: 100%; padding: 0 15px; }
.m033_image { margin: 0 0 1rem 0; }
.m033_image.flLeft { float: left; margin: 0 15px 1rem 0; }
.m033_image.flRight { float: right; margin: 0 0 1rem 15px; }
.m033_image_100 { max-width: 100px; }
.m033_image_200 { max-width: 200px; }
.m033_image_440 { max-width: 440px; }
.m033_image a { display: block; line-height: 0; }
.m033_image a:hover img,
.m033_image a:focus-visible img { opacity: 0.8; }
@media all and (max-width: 480px) {
    .m033_image.flLeft, .m033_image.flRight { float: none; margin: 0 0 1rem 0; }
    .m033_image_440 { max-width: 100%; }
}

/* --- 042 Bild als Link ---------------------------------------------------- */
.m042_bild_link { display: inline-block; margin: 0 0 1.4rem 0; padding: 0 15px; }
.m042_bild_link .infobox { display: block; }
.m042_bild_link img { display: block; margin: 0 0 0.5rem 0; }
.m042_bild_link .infoinhalt { display: block; }
.m042_bild_link a:hover img,
.m042_bild_link a:focus-visible img { opacity: 0.8; }

/* --- 045/061 Film-Eintrag, 046/060 START, 047 ENDE, 049 Infobox ----------
   Bildrahmen, Hover-Maske und Filter-Leiste stehen in main<datum>.css
   (die Klassen kommen auch in HTML-Slices vor). */
.m046_film_start { width: 100%; }
.isotopeWrapper { display: flex; flex-flow: row wrap; align-items: flex-start; width: 100%; }
nav#filter .filter_button { margin: 0; padding: 0; border: none; background: none; font: inherit; color: var(--color-muted); cursor: pointer; }
nav#filter .filter_button:hover,
nav#filter .filter_button:focus-visible,
nav#filter .filter_button.current { color: var(--color-primary); }
.m049_film_infobox.is_open { width: 50%; }
.m049_film_infobox.is_open .hiddenInfo { display: block; }
@media all and (max-width: 768px) {
    .m049_film_infobox.is_open { width: 100%; }
}

/* --- 048 Text ------------------------------------------------------------- */
.m048_text.textLeft { text-align: left; }
.m048_text.textCenter { text-align: center; }
.m048_text.textRight { text-align: right; }
.m048_text.textJustify { text-align: justify; }
.m048_text.box_center_no_float { flex: 0 0 auto; margin: 0 auto 0 auto; }

/* --- 057 YouTube, 059/062 Vimeo, 072 gumlet ------------------------------
   Seitenverhaeltnis ueber .responsive-video / .responsive-video2 (main<datum>.css) */
.m057_youtube, .m059_vimeo { width: 100%; }

/* --- 068/078 Link-Button (intern/extern) --------------------------------- */
.m068_link_button { width: 100%; margin: 0 0 1.4rem 0; text-align: center; }
.m068_link_button .su-button { display: inline-block; padding: 0.4rem 2.25rem; border: 1px solid #b27416; border-radius: 5px;
  font-size: 1.625rem; line-height: 1.55; text-decoration: none; color: #fff; background-color: #e27e04; text-shadow: 2px 2px 2px #5d3524; }
.m068_link_button .su-button:hover,
.m068_link_button .su-button:focus-visible { color: #fff; text-decoration: none; background-color: var(--color-dark); border-color: var(--color-dark); }
@media all and (max-width: 480px) {
    .m068_link_button .su-button { padding: 0.4rem 1.25rem; font-size: 1.25rem; }
}

/* --- 073 Badge „Video-Ideen gratis“ --------------------------------------- */
.m073_badge_gratis a { display: block; line-height: 0; }
.m073_badge_gratis a:hover img,
.m073_badge_gratis a:focus-visible img { opacity: 0.85; }

/* --- 074 Badge LinkedIn (Markup von LinkedIn, Modul unveraendert) ---------- */
.profile-badge { overflow: hidden; margin: 0 0 1.875rem 1px; padding: 0; border-radius: 8px; background-color: #fff;
  box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.08), 1px 0 1px rgba(0, 0, 0, 0.08), -1px 0 1px rgba(0, 0, 0, 0.08), 0 1px 1px rgba(0, 0, 0, 0.08); }
.profile-badge--width-250 { width: 250px; max-width: 100%; }
.profile-badge__header { padding: 10px; }
.profile-badge__header--light { background-color: #e9e5df; }
.profile-badge__header-logo-icon { display: inline-block; width: 74px; height: 17px; color: #0a66c2; }
.profile-badge__content { padding: 0 25px; }
.profile-badge__content-profile-image { margin: 0 0 8px 0; padding: 12px 0 0 0; }
.profile-badge__content-profile-name { padding: 0 0 4px; }
.profile-badge__content-profile-name-link { font-size: 1.1rem; font-weight: 600; line-height: 1.5; color: #000; }
.profile-badge__content-profile-headline { padding: 0 0 4px; font-size: 1rem; line-height: 1.43; color: rgba(0, 0, 0, 0.9); }
.profile-badge__content-profile-company-school-info,
.profile-badge__content-profile-company-school-info-link { padding: 0 0 4px; font-size: 1rem; line-height: 1.33; color: rgba(0, 0, 0, 0.6); }
.profile-badge__cta-btn { display: inline-block; margin: 0 16px 12px 16px; padding: 0 16px; border-radius: 24px;
  font-size: 1.1rem; font-weight: 600; line-height: 2; text-align: center; text-decoration: none; color: #0a66c2; box-shadow: inset 0 0 0 1px #0a66c2; }
.profile-badge__cta-btn:hover,
.profile-badge__cta-btn:focus-visible { text-decoration: none; color: #0a66c2; background-color: rgba(112, 181, 249, 0.15); box-shadow: inset 0 0 0 2px #0a66c2; }

/* --- 076 Blog: Vor/Zurueck ------------------------------------------------ */
.m076_blog_nav { display: flex; justify-content: space-between; align-items: center; gap: 15px; width: 100%; margin: 0 0 1.25rem 0; padding: 2.5rem 15px 0 15px; text-align: center; }
.m076_blog_nav > div { width: 80px; }
.m076_blog_nav a { display: block; padding: 5px 0; border-radius: 5px; font-size: 0.8125rem; line-height: 1.5; white-space: nowrap; text-decoration: none; color: #fff; background-color: #e27e04; }
.m076_blog_nav a:hover,
.m076_blog_nav a:focus-visible { text-decoration: none; color: #fff; background-color: var(--color-dark); }

/* --- Startseite: Hintergrundvideo (HTML-Slice in ctype 2, #home_background_video) ----
   Section ist fixiert und deckt den Viewport ab, #video_home_spacer schiebt den Inhalt
   um 100vh nach unten. Standbild kommt per CSS (LCP), das Video laedt per JS nach
   (main20261117.js, initHomeVideo). */
section#banner-video,
section#banner-video .caption { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; margin: 0; padding: 0; z-index: 1; overflow: hidden; }
section#banner-video .caption { position: relative; }
#video_home_spacer { display: block; position: relative; width: 100%; height: 100vh; margin: 0; padding: 0; z-index: -1; }

#home_background_video { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: -1000;
  background: #2e2e2e url('../media/b2b-videoproduktion-imagefilm-youtube-720-h264.webp') center / cover no-repeat; }
#home_background_video video { display: block; position: absolute; top: 50%; left: 50%; width: auto; min-width: 100%; height: auto; min-height: 100%;
  transform: translate(-50%, -50%); object-fit: cover; opacity: 0; transition: opacity 0.6s ease; }
#home_background_video.is-playing video { opacity: 1; }
#video_home_overlay { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; padding: 0; z-index: 2; background-color: rgba(0, 0, 0, 0.25); }

section#banner-video .caption-wrap { position: absolute; top: 50%; left: 0; right: 0; z-index: 3; max-width: 1000px; margin: 0 auto; padding: 0 15px; text-align: center; transform: translateY(-55%); }
.caption .caption-wrap h1 { margin: 0; padding-top: 70px; font-size: 2.25rem; font-weight: 600; line-height: 1.3; color: #fff; text-shadow: 0 5px 10px #000; }
.caption .caption-wrap h1 span { display: inline-block; padding: 5px 15px 10px; line-height: 1; vertical-align: middle; color: #e27e04; background-color: #fff; text-shadow: none; }
.caption .caption-wrap h2 { padding: 2px 0 0; font-size: 0.5625rem; font-weight: 200; line-height: 0.8; color: #fff; text-shadow: 0 2px 5px #000; }
.caption .caption-wrap h3 { padding: 4px 0 10px; font-size: 1rem; font-weight: 500; line-height: 1.4; color: #fff; text-shadow: 0 2px 5px #000; }
.caption .caption-wrap a { padding: 7px; font-size: 1.2rem; font-weight: 700; color: #fff; background-color: #e27e04; }
@media all and (max-width: 768px) {
    .caption a { display: none; }
}


