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

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

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

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

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

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

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

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

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


/* main20261111.css */
/* main20261105.css — Projekt-CSS Gasthaus Adler Botenheim.
   Reihenfolge: 1) Typografie  2) Section  3) outer_box  4) Seitengerüst
   5) Navigation  6) Projektspezifisches */

:root {
    --color-white:        #ffffff;
    --color-black:        #000000;
    --color-main:         var(--color-black);   /* Grundtext */
    --color-link:         #c59d5f;
    --color-link-hover:   var(--color-black);
    --color-headline:     #c59d5f;
    --color-subheadline:  var(--color-black);

    --color-bg:           var(--color-white);
    --color-bg-alt:       #f4f6f7;
    --color-bg-gray:      #4a4a49;
    --color-bg-gray-light:#cccccc;
    --color-bg-dark:      #333333;
    --color-bg-beige:     #f3eade;
    --color-bg-gold:      #c39c62;
    --color-bg-olive:     #6f8f84;
    --color-border:       #c59d5f;
    --color-focus:        #0b57d0;   /* Fokusring */

    --color-nav:          #555555;
    --color-nav-sub:      #0d5a40;
}

/* open-sans-300, regular und 700 - latin */
@font-face { font-display: swap; font-family: 'Open Sans'; font-style: normal; font-weight: 300; src: url('fonts/open-sans-v43-latin-300.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: url('fonts/open-sans-v43-latin-regular.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Open Sans'; font-style: normal; font-weight: 700; src: url('fonts/open-sans-v43-latin-700.woff2') format('woff2'); }


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

html { background-color: var(--color-bg); scroll-padding-top: 80px; }

body {
    font-family: 'Open Sans', Verdana, Geneva, sans-serif;
    font-size: 16px;                            /* einzige px-Angabe */
    line-height: 1.5;
    font-weight: 300;
    color: var(--color-main);
}

a { color: var(--color-link); text-decoration: underline; }
a:hover { color: var(--color-link-hover); text-decoration: none; }
a:hover img,
a:focus-visible img { opacity: 0.8; }
/* Nur Links mit Bild: Fokusring liegt ums Bild, nicht nur um die Zeilenhöhe */
a:has(img) { display: inline-block; }

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

/* 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: var(--color-white); text-decoration: none; }
a.link_as_button:hover,
a.link_as_button:focus-visible { background-color: var(--color-link-hover); color: var(--color-white); }
a.link_as_button:focus-visible { outline-color: var(--color-white); }

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

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: "al-fresco", 'Open Sans', Verdana, Geneva, sans-serif;
  font-weight: 400; font-style: normal; line-height: 1.25; color: var(--color-headline); }

h1, .like_h1 { font-size: 3.2rem; }
h2, .like_h2 { font-size: 2.4rem; }
h3, .like_h3 { font-size: 1.25rem; font-family: 'Open Sans', Verdana, Geneva, sans-serif; color: var(--color-main); }
h4, .like_h4 { font-size: 1.25rem; }
h5, .like_h5 { font-size: 1.125rem; }
h6, .like_h6 { font-size: 1rem; }

@media all and (max-width: 480px) {
    h1, .like_h1 { font-size: 2.4rem; }
    h2, .like_h2 { font-size: 1.9rem; }
}

/* Overline: eigenständiges Element vor der Überschrift, 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; }

/* Subline: das AddOn schreibt sie als <span class="headline_subline"> in den Überschriften-Tag.
   Dieselbe Optik gilt für jedes span in einer Überschrift (m500, m501, Header-Texte). */
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,
.like_h1 span, .like_h2 span, .like_h3 span, .like_h4 span, .like_h5 span, .like_h6 span,
.headline_subline
{ display: block; margin-top: -0.5em; font-family: 'Open Sans', Verdana, Geneva, sans-serif; font-weight: 300;
  font-size: 0.4em; line-height: 1.4; color: var(--color-subheadline); }

h1, h2 { display: block; padding: 0 0 25px 0; text-align: center; background-image: url(adler_gold.png); background-position: center bottom; background-repeat: no-repeat; }
h1 span, h2 span,
.like_h1 span, .like_h2 span,
h1 .headline_subline, h2 .headline_subline { margin-bottom: 5px; text-transform: uppercase; }

.legal-text h2 { display: block; padding: 0; text-align: left; background-image: none; font-size: 1.5rem; font-family: 'Open Sans', Verdana, Geneva, sans-serif; }

p { margin: 0 0 1.25rem 0; padding: 0; }
em { font-style: italic; font-weight: 400; }
strong { font-weight: 700; }

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

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

/* Bildunterschriften */
.small { display: block; margin: 0; padding-top: 5px; font-size: 0.8125rem; line-height: 1.5; font-style: italic; color: var(--color-bg-dark); }

/* 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: var(--color-white); }

/* TinyMCE-Formate */
strong.color_bg_dark, .color_bg_dark { color: var(--color-white); }
.bg_gray { padding: 5px 10px; background-color: var(--color-bg-gray); color: var(--color-white); }
.bg_gray p, .bg_gray a { margin: 0; background-color: var(--color-bg-gray); color: var(--color-white); }
.bg_beige { padding: 10px; background-color: var(--color-bg-beige); }
.bg_beige p { margin-bottom: 5px; }
.bg_gold { padding: 5px 10px; background-color: var(--color-bg-gold); color: var(--color-white); }
.bg_gold p, .bg_gold a { margin: 0; background-color: var(--color-bg-gold); color: var(--color-white); }


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

.section_bg_none,
.section_bg_lightgray,
.section_bg_gray,
.section_bg_darkgray,
.section_bg_brown,
.section_bg_olive
{ clear: both; display: block; position: relative; width: 100%; margin: 0; padding: 30px 0 10px 0; z-index: 1; }

.section_bg_none      { background-color: transparent; }
.section_bg_lightgray { background-color: var(--color-bg-alt); }
.section_bg_gray      { background-color: var(--color-bg-gray-light); }
.section_bg_darkgray  { background-color: var(--color-bg-gray); }
.section_bg_brown     { background-color: var(--color-link); }
.section_bg_olive     { background-color: var(--color-bg-olive); }
.section_bg_darkgray, .section_bg_darkgray p,
.section_bg_brown, .section_bg_brown p,
.section_bg_olive, .section_bg_olive p { color: var(--color-white); }

/* display:flex direkt hier (nicht über default.css): die lädt vor main<datum>.css. */
.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 fällt auf eine Spalte zurück */
@media all and (max-width: 768px) {
    .section_full,
    .section_1600,
    .section_1200,
    .section_980
    { flex-direction: column; flex-wrap: nowrap; }
}

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

/* Section-Padding, feste Auswahl im Backend */
.section_padding_normal { padding: 30px 0 10px 0; }
.section_padding_small  { padding: 25px 0 5px 0; }
.section_padding_big    { padding: 100px 0 40px 0; }
.section_padding_none   { padding: 0; }

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


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

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

.box_width_full { width: 100%; margin: 0 0 20px 0; }
.box_width_1_2  { width: 46.25%; }
.box_width_1_3  { width: 30%; }
.box_width_2_3  { width: 62.5%; }
.box_width_1_4  { width: 21.88%; }
.box_width_1_5  { width: 17%; }
.box_width_2_5  { width: 36.5%; }
.box_width_3_5  { width: 56%; }

/* Box-Optiken (box_class) - Farben wie die section_bg_*-Klassen */
.box_lightgray,
.box_gray,
.box_darkgray,
.box_brown,
.box_olive { padding: 20px 20px 1px 20px; }
.box_lightgray { background-color: var(--color-bg-alt); }
.box_gray      { background-color: var(--color-bg-gray-light); }
.box_darkgray  { background-color: var(--color-bg-gray); }
.box_brown     { background-color: var(--color-link); }
.box_olive     { background-color: var(--color-bg-olive); }
.box_darkgray, .box_darkgray p,
.box_brown, .box_brown p,
.box_olive, .box_olive p { color: var(--color-white); } 

/* Ueberschriften und Subline auf dunklen Flaechen */
.section_bg_darkgray h2, .section_bg_darkgray h3, .section_bg_darkgray .like_h2, .section_bg_darkgray .like_h3, .section_bg_darkgray h2 span, .section_bg_darkgray h3 span, .section_bg_darkgray .like_h2 span, .section_bg_darkgray .like_h3 span, .section_bg_darkgray .headline_subline,
.section_bg_brown h2, .section_bg_brown h3, .section_bg_brown .like_h2, .section_bg_brown .like_h3, .section_bg_brown h2 span, .section_bg_brown h3 span, .section_bg_brown .like_h2 span, .section_bg_brown .like_h3 span, .section_bg_brown .headline_subline,
.section_bg_olive h2, .section_bg_olive h3, .section_bg_olive .like_h2, .section_bg_olive .like_h3, .section_bg_olive h2 span, .section_bg_olive h3 span, .section_bg_olive .like_h2 span, .section_bg_olive .like_h3 span, .section_bg_olive .headline_subline,
.box_darkgray h2, .box_darkgray h3, .box_darkgray .like_h2, .box_darkgray .like_h3, .box_darkgray h2 span, .box_darkgray h3 span, .box_darkgray .like_h2 span, .box_darkgray .like_h3 span, .box_darkgray .headline_subline,
.box_brown h2, .box_brown h3, .box_brown .like_h2, .box_brown .like_h3, .box_brown h2 span, .box_brown h3 span, .box_brown .like_h2 span, .box_brown .like_h3 span, .box_brown .headline_subline,
.box_olive h2, .box_olive h3, .box_olive .like_h2, .box_olive .like_h3, .box_olive h2 span, .box_olive h3 span, .box_olive .like_h2 span, .box_olive .like_h3 span, .box_olive .headline_subline { color: var(--color-white); }

/* Trennlinien auf dunklen Flaechen */
.section_bg_darkgray hr, .section_bg_darkgray hr.trennlinie, .section_bg_brown hr, .section_bg_brown hr.trennlinie, .section_bg_olive hr, .section_bg_olive hr.trennlinie, .box_darkgray hr, .box_darkgray hr.trennlinie, .box_brown hr, .box_brown hr.trennlinie, .box_olive hr, .box_olive hr.trennlinie { background-color: var(--color-white); }


/* Bilder in der outer_box */
.outer_box .image { margin: 0 0 25px 0; text-align: center; }
.outer_box .image a { text-decoration: none; border-bottom: none; }
.outer_box .image a:hover,
.outer_box .image a:focus-visible { opacity: 0.8; }

.box_lightgray .text, .box_gray .text, .box_darkgray .text, .box_brown .text, .box_olive .text { padding: 10px 10px 1px 10px; }
.box_lightgray .image, .box_gray .image, .box_darkgray .image, .box_brown .image, .box_olive .image { margin: 0; }

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

/* 002_text_bild — two_column_*: zwei Spalten per Flex, Abstand aus gap */
.zweispalter { display: flex; flex-wrap: wrap; gap: 2.94%; }
.zweispalter .flLeft,
.zweispalter .flRight { display: block; width: 48.53%; margin: 0; overflow: hidden; }

/* Clearfix für .text_bild: beide Kinder floaten */
.text_bild::after { content: ''; display: table; clear: both; }

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

@media all and (max-width: 480px) {
    .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
   ============================================================================= */

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

/* Kopfbild (Zeile 1) über der Navigationsleiste (Zeile 2) */
#header_grid { display: grid; width: 100%; height: auto; }
#header_bg { grid-row: 1; }
#main_nav_bg { grid-row: 2; }

#logo { display: block; width: auto; max-width: 360px; min-width: 300px; margin: 0; padding: 10px 15px 10px 2.5%; flex-shrink: 0; }
#logo a { display: block; border-bottom: none; }

#content { min-height: 50vh; }

#footer_bg { clear: both; padding: 0; background-color: var(--color-link); overflow: hidden; }
#footer { display: flex; flex-flow: row wrap; width: 100%; max-width: 1200px; margin: 0 auto; padding: 30px 0; color: var(--color-white); font-size: 0.875rem; }
.footer_box { display: block; width: 21.08%; height: auto; margin: 0 0 20px 3.13%; padding: 0; }
#footer a { text-decoration: none; color: var(--color-white); }
#footer a:hover,
#footer a:focus-visible { text-decoration: underline; color: var(--color-white); }
/* Der Footer ist gold, der Standard-Fokusring hätte zu wenig Kontrast (WCAG 1.4.11) */
#footer a:focus-visible,
#footer button:focus-visible { outline-color: var(--color-white); }

.logo_heilbronnerland img { max-width: 240px; }
.logo_tmbw_wss_siegel_wein_hotel img { max-width: 100px; }

#footer_tischreservierungen,
#footer_icons { flex-basis: 100%; text-align: center; font-weight: 700; font-size: 1rem; }
#footer_tischreservierungen { box-sizing: border-box; max-width: 600px; margin: 0 auto 20px auto; padding: 15px 20px; border: 1px solid var(--color-white); }

#accessibility_toggle_box { text-align: left; }

#sticky_lang_switcher { display: block; width: 120px; height: auto; margin: 0; padding: 0 30px 0 10px; color: var(--color-link); font-size: 1rem; text-align: right; }
#sticky_lang_switcher a { display: inline-block; margin: 0 5px; color: var(--color-link); text-decoration: none; }
#sticky_lang_switcher a:hover,
#sticky_lang_switcher a:focus-visible { color: var(--color-link-hover); text-decoration: none; }
#sticky_lang_switcher a.active { color: var(--color-link-hover); }

/* Buttons an der rechten Bildschirmseite */
#oeffnungszeiten_box { display: block; position: fixed; top: 150px; left: auto; right: -230px; width: 280px; height: auto; margin: 0; padding: 0; z-index: 1001; }
button#oeffnungszeiten_button { display: flex; align-items: center; justify-content: center; position: absolute; top: 0; left: 0; width: 50px; height: 142px; margin: 0; padding: 0; z-index: 1; background-color: var(--color-bg-gray); border: none; cursor: pointer; }
button#oeffnungszeiten_button .button-text { color: var(--color-white); font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; transform: rotate(-90deg); white-space: nowrap; text-transform: uppercase; }
button#oeffnungszeiten_button:hover,
button#oeffnungszeiten_button:focus-visible { opacity: 0.8; }
#oeffnungszeiten_text { display: block; position: absolute; top: 0; left: 50px; width: 230px; height: auto; min-height: 200px; padding: 15px 15px 1px 15px; margin: 0; z-index: 1; background-color: var(--color-bg-gray-light); }

/* Scroll-nach-oben-Button (AddOn): scroll_to_top_button.css lädt nach dieser Datei, daher html davor */
html #scroll_to_top { bottom: 40px; background-color: rgba(0,0,0,0.1); color: var(--color-white); }
html #scroll_to_top:hover,
html #scroll_to_top:focus-visible { background-color: rgba(0,0,0,0.5); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

@media all and (max-width: 980px) {
    #logo { max-width: 300px; margin: 0; padding: 18px 80px 18px 2.5%; }
    #header_grid { display: block; }
}

@media all and (max-width: 768px) {
    .footer_box { width: 45.31%; }
}

@media all and (max-width: 480px) {
    .footer_box { width: 93.75%; }
}


/* =============================================================================
   5) Navigation (Basis: main_nav_2_ebene.css des AddOns, Optik aus dem Altprojekt)
   Mechanismen für main_nav.js: Hover-Öffnen, [aria-expanded="true"] ~ ul, Pfeil-Indikator,
   rex-current/rex-active unterscheidbar, mobiles Overlay (#main_nav_bg.active #main_nav)
   ============================================================================= */

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

/* --- Leiste --- */
#main_nav_bg { display: block; position: fixed; top: 0; left: 0; width: 100%; height: auto; margin: 0; padding: 0; z-index: 1000; background-color: rgba(255,255,255,0.9); box-shadow: 0 0 10px 0 var(--color-bg-dark); }
#main_nav_content { display: flex; flex-direction: row; align-items: center; flex-wrap: nowrap; position: relative; width: 100%; max-width: 1600px; margin: 0 auto; }

/* Startseite: Leiste im Fluss unter dem Kopfbild, großes Logo; beim Scrollen (body.sticky) fixiert */
#page_1 #main_nav_bg { position: relative; box-shadow: none; background-color: var(--color-bg-alt); }
#page_1 #logo a { width: 300px; height: 120px; background-image: url('adlerbotenheim_komplett.png'); }
#page_1 #logo a img { display: none; }

#page_1.sticky #header_bg { margin-bottom: 85px; }
#page_1.sticky #main_nav_bg { position: fixed; background-color: rgba(255,255,255,0.9); box-shadow: 0 0 10px 0 var(--color-bg-dark); }
#page_1.sticky #logo a { width: auto; height: auto; background-image: none; }
#page_1.sticky #logo a img { display: block; }

/* --- Desktop --- */
#main_nav { flex: 1; position: relative; width: 100%; height: auto; margin: 0; padding: 15px 10px; z-index: 99; }

#main_nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; position: relative; margin: 0; padding: 0; }
#main_nav li { list-style-type: none; display: block; position: relative; margin: 0; padding: 0 5px; }

#main_nav li a { display: block; width: auto; height: auto; margin: 0; padding: 5px 12px; font-size: 1.125rem; line-height: 1.7; font-weight: 300; text-align: center; text-decoration: none; color: var(--color-nav); transition: all 0.25s; }
#main_nav li a.rex-current,
#main_nav li a.rex-active { color: var(--color-link-hover); box-shadow: inset 0 -2px 0 var(--color-link); }
#main_nav li a:hover,
#main_nav li a:focus-visible { color: #222; transform: scale(1.05); }

/* Zweite Ebene: öffnet per Hover und per aria-expanded (Tastatur/JS) */
#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: block; }

#main_nav ul.rex-navi2 { display: none; position: absolute; top: 40px; left: 0; width: auto; height: auto; margin: 0; padding: 20px 0 0 0; text-align: left; z-index: 100; background-color: var(--color-bg); }
#main_nav ul.rex-navi2 li { display: block; width: 100%; margin: 0; padding: 0; }
#main_nav ul.rex-navi2 li a { display: block; width: auto; margin: 0; padding: 5px 15px; font-size: 1rem; line-height: 1.5625; color: var(--color-nav-sub); text-align: left; white-space: nowrap; }
#main_nav ul.rex-navi2 li a.rex-current,
#main_nav ul.rex-navi2 li a.rex-active { color: var(--color-link-hover); box-shadow: inset 3px 0 0 var(--color-link); }
#main_nav ul.rex-navi2 li a:hover,
#main_nav ul.rex-navi2 li a:focus-visible { color: var(--color-link-hover); transform: none; }

/* Dritte und vierte Ebene: nicht angezeigt */
#main_nav ul.rex-navi3,
#main_nav ul.rex-navi4 { display: none !important; }

/* Pfeil-Indikator Ebene 1 */
#main_nav .rex-navi1 > li > a.has-children-a { position: relative; padding-right: 28px; }
#main_nav .rex-navi1 > li > a.has-children-a::after { content: ''; display: inline-block; position: absolute; top: 50%; right: 10px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform 200ms ease; }
#main_nav .rex-navi1 > li > a.has-children-a[aria-expanded="true"]::after { transform: translateY(-30%) rotate(225deg); }

/* --- Mobil --- */
@media all and (max-width: 980px) {
    #main_nav_button { display: block; }

    /* Sprachumschalter: rechts unter dem Menü-Icon (fixed wie der Button, damit die Leiste nicht höher wird) */
    #sticky_lang_switcher { position: fixed; top: 54px; right: 25px; width: auto; margin: 0; padding: 0; line-height: 1; }
    #sticky_lang_switcher a { margin: 0 0 0 5px; }

    #main_nav_content { display: block; margin: 0; padding: 0; min-height: 80px; }
    #main_nav_bg { position: fixed; overflow: hidden; }
    #page_1 #main_nav_bg { position: fixed; background-color: rgba(255,255,255,0.9); box-shadow: 0 0 10px 0 var(--color-bg-dark); }
    #page_1 #logo a { width: auto; height: auto; background-image: none; }
    #page_1 #logo a img { display: block; }
    #page_1.sticky #header_bg { margin-bottom: 0; }
    #main_nav_bg.active { height: 100%; overflow-y: auto; }

    #main_nav { display: none; clear: both; width: 100%; min-width: 300px; margin: 0; padding: 10px 0 0 0; text-align: left; }
    #main_nav_bg.active #main_nav { display: block; }

    #main_nav ul { display: block; }
    #main_nav li { display: block; padding: 0; }
    #main_nav li a { margin: 12px 15px; padding: 5px 10px; text-align: left; color: var(--color-main); background-color: var(--color-bg-gray-light); }
    #main_nav li a.rex-current { color: var(--color-main); background-color: var(--color-link); box-shadow: none; }
    #main_nav li a.rex-active  { color: var(--color-main); background-color: var(--color-bg-gray-light); box-shadow: inset 4px 0 0 var(--color-link); }
    #main_nav li a:hover,
    #main_nav li a:focus-visible { color: var(--color-main); background-color: var(--color-link); transform: none; }
    #main_nav .rex-navi1 > li > a.has-children-a::after { right: 14px; }

    /* Zweite Ebene: Hover und Fokus ohne aria-expanded öffnen nicht */
    #main_nav ul.rex-navi2 { display: none; position: relative; top: 0; left: 0; width: 100%; margin: -6px 0 0 0; padding: 0; background-color: transparent; }
    #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; }

    /* Öffnen per JS (aria-expanded) oder aktiver Pfad */
    #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,
    #main_nav li.rex-active > ul.rex-navi2 { display: block; }

    #main_nav ul.rex-navi2 li { width: 100%; min-width: 0; }
    #main_nav ul.rex-navi2 li a { width: auto; margin: 6px 15px; padding: 5px 10px; font-size: 0.9375rem; line-height: 1.9; text-align: center; color: var(--color-main); background-color: var(--color-bg-gray-light); box-shadow: none; }
    #main_nav ul.rex-navi2 li a.rex-current { background-color: var(--color-link); }
    #main_nav ul.rex-navi2 li a:hover,
    #main_nav ul.rex-navi2 li a:focus-visible { background-color: var(--color-link); color: var(--color-main); }
}


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

hr.section_trennlinie { clear: both; width: 100%; height: 20px; margin: 0 0 20px 0; border: none; background-color: var(--color-link); }



/* --- CCM19 Cookie-Banner ------------------------------------------------
   Fußleiste (Impressum | Datenschutzhinweis | Einstellungen) ohne eigenen Hintergrund statt Türkis.
   !important, weil CCM19 seine Farben selbst per Stylesheet setzt. */
body .ccm-modal--footer { background-color: transparent !important; border-top: 1px solid #ddd; padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
body .ccm-modal--footer,
body .ccm-modal--footer a { color: var(--color-main) !important; }
body .ccm-modal--footer a:hover,
body .ccm-modal--footer a:focus-visible { color: var(--color-link) !important; text-decoration: underline; }

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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


/* 050_openstreetmap.css */
.m050_openstreetmap .openstreetmap { display: block; width: 100%; height: 500px; border: 1px solid #ccc; }

.m050_openstreetmap .openstreetmap_info { display: block; margin: 20px 0 40px 0; padding: 0 15px; text-align: center; }
.m050_openstreetmap .openstreetmap_info button { display: inline-block; margin: 0 10px 10px 10px; padding: 5px 20px; text-decoration: none; color: #fff; background-color: #000; border: none; border-radius: 0; cursor: pointer; transition: all 0.2s ease; }
.m050_openstreetmap .openstreetmap_info button:hover,
.m050_openstreetmap .openstreetmap_info button:active,
.m050_openstreetmap .openstreetmap_info button:focus { text-decoration: none; color: #fff; background-color: #999; }

.m050_openstreetmap .openstreetmap.blocked { display: flex; align-items: center; justify-content: center; background: #f9f9f9; border: 2px dashed #ddd; border-radius: 8px; }
.m050_openstreetmap .openstreetmap-cookie-notice { text-align: center; color: #666; padding: 30px 20px 10px 20px; }
.m050_openstreetmap .openstreetmap-cookie-notice h3 { color: #666; }
.m050_openstreetmap .openstreetmap-cookie-notice button { padding: 10px 20px; background: #007cba; color: #fff; border: none; cursor: pointer; }
.m050_openstreetmap .openstreetmap-cookie-notice button:hover,
.m050_openstreetmap .openstreetmap-cookie-notice button:focus { background: #005a87; }

@media (prefers-reduced-motion: reduce) {
.m050_openstreetmap .openstreetmap_info button { transition: none; }
}


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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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


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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

/* header_002_hintergrundbilder_slider.css */
/* Automatisch: Text (.bg_image_fade_text) bestimmt per min-height die Hoehe
   (waechst bei Bedarf) - anders als vorher (fix 100vh, Text lag absolut mittig
   drueber). align-items/justify-content (Text-Position, Standard zentriert) in
   moduleYYYYMMDD.css frei ueberschreibbar. */
#bg_image_fade_bg { display: flex; align-items: center; justify-content: center; position: relative; top: 0; left: 0; width: 100%; min-height: 400px; margin: 0; padding: 0; z-index: 1; overflow: hidden; }

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

/* "normal" (Bestandsverhalten vor der Automatisch/vh-Umstellung): erstes Bild
   bleibt im normalen Fluss und bestimmt per eigenem Seitenverhaeltnis die
   Container-Hoehe (kein Zuschnitt) - alle Bilder sollten daher einheitlich
   zugeschnitten sein. Uebrige Bilder crossfaden weiterhin absolut darueber.
   Text liegt wie bei header_001 absolut mittig drueber (kann bei langem Text
   ueberdecken - sonst "Automatisch" waehlen). */
#bg_image_fade_bg.normal { display: block; min-height: 0; overflow: visible; }
#bg_image_fade_bg.normal .bg_image_fade:first-child { position: static; opacity: 1 !important; animation: none !important; transform: none; }
#bg_image_fade_bg.normal .bg_image_fade:first-child img { width: 100%; height: auto; object-fit: unset; }
#bg_image_fade_bg.normal .bg_image_fade_text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: auto; max-width: 600px; margin: 0; }

/* Bild bleibt IMMER ein echtes <img> (srcset/lazy-loading via BWImage) - der Crossfade
   (Opacity + Keyframes unten) ist dem Element-Typ egal, deshalb unveraendert auf
   .bg_image_fade selbst (dem <div>, das jetzt das <img> umschliesst statt es per
   background-image zu simulieren). */
.bg_image_fade { position: absolute; top: 0; left: 0; width: 100%; height: 100%;
backface-visibility: hidden; opacity: 0;
transform: scale(1.2); }
.bg_image_fade img { display: block; width: 100%; height: 100%; object-fit: cover; }

#bg_image_fade_bg.anzahl_2 .bg_image_fade { animation: CrossFade2 12s infinite; }
#bg_image_fade_bg.anzahl_3 .bg_image_fade { animation: CrossFade3 18s infinite; }
#bg_image_fade_bg.anzahl_4 .bg_image_fade { animation: CrossFade4 24s infinite; }
#bg_image_fade_bg.anzahl_5 .bg_image_fade { animation: CrossFade5 30s infinite; }
#bg_image_fade_bg.anzahl_6 .bg_image_fade { animation: CrossFade6 36s infinite; }
#bg_image_fade_bg.anzahl_7 .bg_image_fade { animation: CrossFade7 42s infinite; }
#bg_image_fade_bg.anzahl_8 .bg_image_fade { animation: CrossFade8 48s infinite; }

#bg_image_fade_bg .bg_image_fade:nth-child(1) { opacity: 1; }
#bg_image_fade_bg .bg_image_fade:nth-child(2) { animation-delay: 6s; }
#bg_image_fade_bg .bg_image_fade:nth-child(3) { animation-delay: 12s; }
#bg_image_fade_bg .bg_image_fade:nth-child(4) { animation-delay: 18s; }
#bg_image_fade_bg .bg_image_fade:nth-child(5) { animation-delay: 24s; }
#bg_image_fade_bg .bg_image_fade:nth-child(6) { animation-delay: 30s; }
#bg_image_fade_bg .bg_image_fade:nth-child(7) { animation-delay: 36s; }
#bg_image_fade_bg .bg_image_fade:nth-child(8) { animation-delay: 42s; }

@keyframes CrossFade2 {
50% { opacity: 1; transform: scale(1); }
100% { opacity: 0; }
}
@keyframes CrossFade3 {
33.33% { opacity: 1; transform: scale(1); }
66.66% { opacity: 0; }
100% { opacity: 0; }
}
@keyframes CrossFade4 {
25% { opacity: 1; transform: scale(1); }
50% { opacity: 0; }
100% { opacity: 0; }
}
@keyframes CrossFade5 {
20% { opacity: 1; transform: scale(1); }
40% { opacity: 0; }
100% { opacity: 0; }
}
@keyframes CrossFade6 {
16.66% { opacity: 1; transform: scale(1); }
33.33% { opacity: 0; }
100% { opacity: 0; }
}
@keyframes CrossFade7 {
14.29% { opacity: 1; transform: scale(1); }
28.58% { opacity: 0; }
100% { opacity: 0; }
}
@keyframes CrossFade8 {
12.5% { opacity: 1; transform: scale(1); }
25% { opacity: 0; }
100% { opacity: 0; }
}

#bg_image_fade_bg.animation_stop .bg_image_fade { animation-play-state: paused !important; }

#bg_image_fade_stop_button { position: absolute; top: auto; bottom: 20px; left: auto; right: 20px; margin: 0; padding: 10px 15px;  z-index: 20;
color: #333; background-color: rgba(255, 255, 255, 0.8); border: 1px solid #666; border-radius: 4px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
cursor: pointer; font-size: 0.9rem; transition: all 0.3s ease; }
#bg_image_fade_stop_button:hover,
#bg_image_fade_stop_button:focus { background-color: rgba(255, 255, 255, 1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); }
#bg_image_fade_stop_button:focus, #bg_image_fade_stop_button:focus-visible { outline: 2px solid #0078d7; outline-offset: 2px; }
#bg_image_fade_stop_button:active { transform: translateY(1px); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }


.bg_image_fade_text { display: block;
position: relative; width: 100%; max-width: 600px; height: auto; margin: 0; padding: 50px 20px; z-index: 10; background-color: #fff; background-color: rgba(255,255,255,0.75);
color: #382413; font-size: 2.5rem; text-align: center;
}
@media all and (max-width:768px) {
.bg_image_fade_text { max-width: 400px; padding: 40px 20px; font-size: 1.875rem; }
}

@media all and (max-width:480px) {
.bg_image_fade_text { max-width: 250px; padding: 30px 15px; font-size: 1.25rem; }
}


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

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

@media (prefers-reduced-motion: reduce) {
#arrow_slide_down_to_content { animation: none; }
#bg_image_fade_bg .bg_image_fade { animation-play-state: paused; }
#bg_image_fade_stop_button { transition: none; }
}

/* header_003_bilderslider_tiny_script.css */
/* Automatisch/"normal": Text (.header_image_slider_tiny_text, normales Flow-Kind)
   bestimmt ueber min-height die tatsaechliche Hoehe - siehe ausfuehrliche Begruendung im
   Schwestermodul header_003_bilderslider_swiper/styles_css.inc (identisches Muster).
   align-items/justify-content steuern die Text-Position (Standard: zentriert) - in der
   projektspezifischen moduleYYYYMMDD.css frei ueberschreibbar. Veraltetes Modul (siehe
   modulkatalog.md) - fuer neue Seiten header_003_bilderslider_swiper verwenden. */
.header_image_slider_tiny_content { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 400px; overflow: hidden; }
.header_image_slider_tiny_content img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

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

/* "normal" (Original): siehe ausfuehrliche Begruendung im Schwestermodul
   header_003_bilderslider_swiper/styles_css.inc (identisches Muster). */
#header_image_slider_tiny.normal .header_image_slider_tiny_content { display: block; min-height: 0; overflow: visible; }
#header_image_slider_tiny.normal .header_image_slider_tiny_content img { position: static; width: 100%; height: auto; object-fit: unset; }
#header_image_slider_tiny.normal .header_image_slider_tiny_text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 90%; margin: 0; }

.header_image_slider_tiny_text { position: relative; z-index: 2; display: block; width: auto; max-width: 90%; height: auto; margin: 0; padding: 15px 20px; text-align: center; white-space: normal; font-size: 3rem; color: #fff; background-color: rgba(0,0,0,0.5); }
.header_image_slider_tiny_text span { display: block; font-size: 2rem; color: #d0d0d0; }

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

/* module20261105.css */
/* =============================================================================
   Block 1: Anpassungen an Poolmodulen und Fremd-AddOns
   ============================================================================= */
#accessibility_toggle_box { text-align: left; }

/* --- yForm (extras_010_formular_yform) --- */
.yform .btn-primary { background-color: var(--color-link); color: var(--color-white); }
.yform .btn-primary:hover,
.yform .btn-primary:focus-visible { background-color: var(--color-link-hover); color: var(--color-white); }

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


/* --- header_001_einfaches_bild + header_003_bilderslider_tiny_script: gemeinsame Schrift --- */
.header_image_simple_text p,
.header_image_slider_tiny_text { margin: 0; padding: 15px 20px; font-family: "al-fresco", 'Open Sans', Verdana, Geneva, sans-serif; font-weight: 400; font-size: 3.2rem; line-height: 1.25; text-align: center; color: var(--color-link); background-color: rgba(0,0,0,0.5); }
.header_image_simple_text p em,
.header_image_slider_tiny_text span { display: block; margin-top: -0.5em; font-family: 'Open Sans', Verdana, Geneva, sans-serif; font-weight: 300; font-size: 0.5em; color: var(--color-white); }

.header_image_simple_text { top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; padding: 0; }
.header_image_simple_text br { display: block; height: 1px; overflow: hidden; }

/* Quadrate statt Kreise (Tiny-Slider-Navigation) */
.tns-nav button { border-radius: 0 !important; }

@media all and (max-width: 768px) {
	.header_image_simple_text p,
	.header_image_slider_tiny_text { font-size: 2.4rem; }

	/* Bild in Originalproportion, Text unten ueber dem Bild (wie header_image_simple.normal) */
	.header_image_simple.header_image_simple { display: block; min-height: 0; padding: 60px 0 0 0; overflow: visible; }
	.header_image_simple img { position: static; inset: auto; width: 100%; height: auto; object-fit: unset; }
	.header_image_simple_text { position: absolute; top: auto; bottom: 20px; height: auto; align-items: flex-end; }

	.header_image_slider_tiny_content { padding: 60px 0 0 0; }

	/* Start/Stop-Buttons des Tiny-Sliders */
	button[data-action="start"],
	button[data-action="stop"] { background-color: transparent !important; }
	button[data-action="start"]:hover,
	button[data-action="start"]:focus-visible,
	button[data-action="stop"]:hover,
	button[data-action="stop"]:focus-visible { background-color: rgba(0,0,0,0.8) !important; }
}

@media all and (max-width: 480px) {
	.header_image_simple_text p,
	.header_image_slider_tiny_text { font-size: 2rem; background-color: var(--color-bg-dark); }

	.header_image_simple_text,
	.header_image_slider_tiny_text { position: relative; display: block; top: 0; bottom: auto; left: 0; height: auto; }
	.header_image_slider_tiny_text { transform: none; padding-bottom: 0; }
	.header_image_slider_tiny_content { padding: 60px 0 45px 0; background-color: var(--color-bg-dark); }
}


/* --- header_002_hintergrundbilder_slider: Stop-Button in den Seitenfarben --- */
#bg_image_fade_stop_button { color: var(--color-white); background-color: rgba(0,0,0,0.1); border: none; }
#bg_image_fade_stop_button:hover,
#bg_image_fade_stop_button:focus,
#bg_image_fade_stop_button:focus-visible { color: var(--color-white); background-color: rgba(0,0,0,0.5); }
#bg_image_fade_stop_button:focus-visible { outline: 2px solid var(--color-bg); outline-offset: 2px; }


/* Startseite - Box mit Logo ueber dem Header */
#header_slider_logo { display: block; position: absolute; top: 50%; left: 50%; width: auto; height: auto; min-width: 240px; transform: translate(-50%, -50%); margin: 0; padding: 20px 10px; z-index: 1;
background-color: rgba(0,0,0,0.5); text-align: center; color: var(--color-white); }

#header_slider_logo .like_h1 span { color: var(--color-white); }


/* =============================================================================
   Block 2: Eigene Module (m5XX)
   ============================================================================= */

/* --- m500 - Startseite 3 Bilder (Altmodul 34) --- */
.m500_startseite_3_bilder .m500_bilder { display: flex; gap: 30px; max-width: 1920px; margin: 0 auto; }
.m500_startseite_3_bilder .m500_bild { flex: 1; position: relative; }
.m500_startseite_3_bilder .m500_bild img { display: block; width: 100%; height: auto; }
.m500_startseite_3_bilder .m500_text { position: absolute; top: 50%; left: 50%; width: auto; margin: 0; padding: 15px 10px; text-align: center; z-index: 10; background-color: rgba(0,0,0,0.5); transform: translate(-50%, -50%); }
.m500_startseite_3_bilder .m500_text span { color: var(--color-white); }
.m500_startseite_3_bilder .m500_text.text_oben { top: 20px; transform: translateX(-50%); }
.m500_startseite_3_bilder .m500_text.text_unten { top: auto; bottom: 20px; transform: translateX(-50%); }

@media all and (max-width: 768px) {
	.m500_startseite_3_bilder .m500_bilder { flex-direction: column; gap: 15px; }
	.m500_startseite_3_bilder .m500_text { padding: 10px 15px; }
}


/* --- m501 - Startseite 3 Bilder + Text (Altmodul 35) --- */
.m501_startseite_3_bilder_text .m501_raster { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }
.m501_startseite_3_bilder_text .m501_kachel_1 { grid-column: 1; grid-row: 1 / 3; }
.m501_startseite_3_bilder_text .m501_kachel_2 { grid-column: 2; grid-row: 1; }
.m501_startseite_3_bilder_text .m501_kachel_3 { grid-column: 2; grid-row: 2; }
.m501_startseite_3_bilder_text .m501_text { grid-column: 3; grid-row: 1 / 3; }
.m501_startseite_3_bilder_text .m501_kachel a,
.m501_startseite_3_bilder_text .m501_kein_link { display: block; position: relative; height: 100%; min-height: 7.5rem; overflow: hidden; color: var(--color-white); text-decoration: none; }
.m501_startseite_3_bilder_text .m501_kachel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.m501_startseite_3_bilder_text .m501_kachel h3 { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; padding: 15px; background-color: rgba(0,0,0,0.5); color: var(--color-white); font-size: 1.125rem; font-weight: 700; text-align: center; }
.m501_startseite_3_bilder_text .m501_kachel a:hover,
.m501_startseite_3_bilder_text .m501_kachel a:focus-visible { transform: scale(1.02); transition: transform 0.3s ease; color: var(--color-white); }
.m501_startseite_3_bilder_text .m501_kachel a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.m501_startseite_3_bilder_text .m501_kachel a:hover h3,
.m501_startseite_3_bilder_text .m501_kachel a:focus-visible h3 { background-color: rgba(0,0,0,0.75); }

@media all and (max-width: 768px) {
	.m501_startseite_3_bilder_text .m501_raster { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, auto); gap: 15px; }
	.m501_startseite_3_bilder_text .m501_text { grid-column: 1 / 3; grid-row: 3; }
}
@media all and (max-width: 480px) {
	.m501_startseite_3_bilder_text .m501_raster { display: block; }
	.m501_startseite_3_bilder_text .m501_kachel { margin-bottom: 15px; }
	.m501_startseite_3_bilder_text .m501_kachel img { height: auto; }
}


/* --- m502 - Speisekarte (Altmodul 37) --- */
.m502_speisekarte .m502_ueberschrift { display: block; margin-bottom: 20px; text-transform: none; color: var(--color-white); }
.m502_speisekarte p { position: relative; padding-right: 7.5rem; }
.m502_speisekarte p span { position: absolute; right: 2.5rem; top: 0; }
.m502_speisekarte p i { font-size: 0.8rem; }


/* --- m503 - Bildergalerie Slider (Altmodul 40) --- */
.m503_bildergalerie_slider .m503_swiper { position: relative; padding-bottom: 60px; --nav-color: var(--color-black); --nav-bg: transparent; --nav-bg-hover: rgba(0,0,0,0.08); --nav-border: var(--color-black); --nav-border-hover: var(--color-black); --nav-offset-bottom: 0; --swiper-pagination-color: var(--color-black); --swiper-pagination-bullet-inactive-color: var(--color-black); }
.m503_bildergalerie_slider .swiper-slide img { display: block; width: 100%; height: auto; }


/* --- m504 - CTA-Box (Startseite, neben dem Begruessungstext) ---
   Kontraste: Schwarz auf Gold 8,4:1, Weiss auf Schwarz 21:1, Schwarz auf Beige 17:1 */
.m504_cta_box { align-self: flex-start; }
.m504_cta_box .m504_box > :last-child { margin-bottom: 0; }
.m504_cta_box a.m504_button { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding: 14px 18px; border-radius: 4px; background-color: var(--color-link); color: var(--color-main); font-weight: 700; line-height: 1.3; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.m504_cta_box a.m504_button:hover,
.m504_cta_box a.m504_button:focus-visible { background-color: var(--color-link-hover); color: var(--color-white); }
.m504_cta_box .m504_icon { flex: 0 0 auto; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.m504_cta_box .m504_text { display: flex; flex-direction: column; }
.m504_cta_box .m504_sub { font-size: 0.875rem; font-weight: 400; }
.m504_cta_box .m504_hinweis { display: flex; align-items: flex-start; gap: 14px; margin-top: 20px; padding: 16px 18px; background-color: var(--color-bg-beige); border-left: 4px solid var(--color-border); }
.m504_cta_box .m504_hinweis .m504_icon { margin-top: 2px; }
.m504_cta_box .m504_hinweis p { margin-bottom: 8px; font-size: 0.9375rem; line-height: 1.5; }
.m504_cta_box .m504_hinweis_text > *:last-child { margin-bottom: 0; }
.m504_cta_box .m504_hinweis .m504_hinweis_titel { margin-bottom: 4px; font-size: 1rem; font-weight: 700; }
.m504_cta_box .m504_hinweis a { color: var(--color-main); text-decoration: underline; }
.m504_cta_box .m504_hinweis a:hover,
.m504_cta_box .m504_hinweis a:focus-visible { text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
	.m504_cta_box a.m504_button { transition: none; }
}
@media (forced-colors: active) {
	.m504_cta_box a.m504_button, .m504_cta_box .m504_hinweis { border: 1px solid CanvasText; }
}


