/* FF Laxenburg, Ergänzungen 2026 (bildstelle, 05.12.2026). Geladen nach main-2-0.css.
   1 Mobile-Menü (Vorlage templates/nav_mm.html5, Skript js/mobilmenue.js), nur bis 810 px Breite
   2 Kopf am Handy: Foto passt sich der Logobreite an
   3 Fußzeile: "Folge uns auf" am Desktop rechts unter dem Chronik-Bild
   4 Hintergrund über 2000 px Breite
   Werte gemessen und geprüft im Muster FF-Laxenburg/2026-12-mobilmenue (bildstelle-Workspace). */

/* 1 Mobile-Menü ------------------------------------------------------------------------------ */
.mm-modul{display:none}
@media only screen and (max-width:810px){
  .mm-modul{display:block}
  .mm-modul ~ .mod_navigation:has(#nav-main-mobile),.mm-modul ~ .show-for-small:has(#sidebarButton){display:none!important} /* altes Menü, falls im Layout noch eingebunden (nur Testlayout) */
}
.mm-knopf{position:relative;z-index:902;display:inline-flex;align-items:center;justify-content:center;gap:10px;height:28px;padding:0 14px 0 10px;border:0;background:#FCCC00;color:#001629;font:inherit;font-size:1.3em;cursor:pointer;width:auto}
.mm-striche{position:relative;width:20px;height:14px;display:inline-block}
.mm-striche i{position:absolute;left:0;right:0;height:2px;background:currentColor;border-radius:2px;transition:transform .28s ease,opacity .2s ease,top .28s ease}
.mm-striche i:nth-child(1){top:0}.mm-striche i:nth-child(2){top:6px}.mm-striche i:nth-child(3){top:12px}
.mm-offen .mm-striche i:nth-child(1){top:6px;transform:rotate(45deg)}
.mm-offen .mm-striche i:nth-child(2){opacity:0}
.mm-offen .mm-striche i:nth-child(3){top:6px;transform:rotate(-45deg)}
.mm-offen .mm-wort{display:none}
.mm-flaeche{position:fixed;inset:0;z-index:901;overflow:hidden;color:#fff;visibility:hidden;pointer-events:none;opacity:0;transition:opacity .22s ease,visibility 0s .22s;
  background:linear-gradient(to bottom,#FCCC00 0 5px,#0e2d4b 5px var(--mm-oben,63px),rgba(255,255,255,.18) var(--mm-oben,63px) calc(var(--mm-oben,63px) + 1px),#001629 calc(var(--mm-oben,63px) + 1px))}
.mm-offen .mm-flaeche{visibility:visible;pointer-events:auto;opacity:1;transition:opacity .22s ease}
.mm-nav{position:absolute;left:0;right:0;bottom:0;top:calc(var(--mm-oben,63px) + 1px);overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:8px 18px 28px}
.mm-haupt,.mm-liste,.mm-jahre{list-style:none;margin:0;padding:0}
.mm-eintrag{border-bottom:1px solid rgba(255,255,255,.16);margin:0;padding:0}
.mm-link,.mm-auf{display:flex;width:100%;justify-content:space-between;align-items:center;min-height:54px;padding:0;border:0;background:none;color:#fff;
  font-family:"Fjalla One",sans-serif;font-size:21px;letter-spacing:.02em;text-decoration:none;text-align:left;cursor:pointer}
.mm-pfeil{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .28s ease;flex:none}
.mm-gruppe.offen .mm-pfeil{transform:rotate(180deg)}
.mm-gruppe.aktiv>.mm-auf,.mm-link.aktiv{color:#FCCC00}
.mm-link.mm-start{min-height:44px;font-size:16px}  /* kleiner als die Bereiche, Schrift so hoch wie das Haus (Roman 05.12.) */
.mm-start>span{display:inline}
.mm-haus{display:inline-block;vertical-align:baseline;margin-right:8px;height:14px;width:auto;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.mm-unter{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}
.mm-gruppe.offen .mm-unter{grid-template-rows:1fr}
.mm-innen{overflow:hidden;min-height:0}
.mm-innen>*:last-child{margin-bottom:16px}
.mm-liste li,.mm-jahre li{margin:0;padding:0;background:none}
.mm-unterlink{display:block;padding:10px 0 10px 2px;color:#fff;text-decoration:none;font-size:17px}
.mm-unterlink.aktiv{color:#FCCC00;font-weight:700;box-shadow:inset 3px 0 0 #FCCC00;padding-left:12px}
.mm-jahre{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:4px}
.mm-jahr{display:flex;align-items:center;justify-content:center;height:42px;border-radius:6px;background:rgba(255,255,255,.1);color:#fff;text-decoration:none;font-size:16px}
.mm-jahr.aktiv{background:#FCCC00;color:#001629;font-weight:700}
.mm-meta{margin:22px 0 0;display:flex;flex-wrap:wrap;gap:6px 20px;font-size:15px}
.mm-meta a{color:#fff}
.mm-meta a.aktiv{color:#FCCC00}
.mm-haupt>li,.mm-meta{opacity:0;transform:translateY(10px);transition:opacity .25s ease,transform .25s ease}
.mm-offen .mm-haupt>li,.mm-offen .mm-meta{opacity:1;transform:none}
html.mm-gesperrt,html.mm-gesperrt body{overflow:hidden}
.mm-offen .tabs.selected::before{visibility:hidden}  /* Reiter-Pfeil der Startseite liegt auf Ebene 9999 und schien durchs Menü (Roman 05.12.) */
@media (prefers-reduced-motion:reduce){.mm-flaeche,.mm-unter,.mm-pfeil,.mm-striche i,.mm-haupt>li,.mm-meta{transition:none!important}}

/* 1b Untermenü am Handy (Leiste über dem Inhalt aus #subnav, Skript in mobilmenue.js) ---------------- */
.ub{display:none}
@media only screen and (max-width:810px){
  .ub{display:block;margin:4px 0 18px;clear:both}
  .ub-zurueck{margin:0 0 12px}  /* Link im Stil a.link_arrow der Seite, Pfeil nach links gespiegelt (Roman 05.12.) */
  .ub-zurueck a.link_arrow{position:relative;background:none}
  .ub-zurueck a.link_arrow::before{content:"";position:absolute;left:0;top:0;bottom:0;width:20px;background:url("../images/ico_arrow_gold.png") no-repeat 0 center;transform:scaleX(-1)}
  .ub-pfeil{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex:none}
  .ub-kasten{background:#fff;color:#333;box-shadow:0 1px 3px rgba(0,0,0,.12)}  /* wie die weißen Titelfelder der Galerie, Roman 05.12. */
  .ub-auf{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;border:0;background:none;color:#002c52;text-align:left;cursor:pointer;font:inherit}
  .ub-auf>span{display:flex;flex-direction:column;gap:2px}
  .ub-name{font-family:"Fjalla One",sans-serif;font-size:20px;letter-spacing:.02em;color:#002c52}
  .ub-hinweis{font-size:13px;color:#666}
  .ub-pfeil{transition:transform .28s ease}
  .ub.offen .ub-pfeil{transform:rotate(180deg)}
  .ub-unter{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s ease}
  .ub.offen .ub-unter{grid-template-rows:1fr}
  .ub-innen{overflow:hidden;min-height:0;padding:0 16px}
  .ub.offen .ub-innen{padding-bottom:14px}
  .ub-liste,.ub-jahre{list-style:none;margin:0;padding:0}
  .ub-liste li,.ub-jahre li{margin:0;padding:0;background:none;border:0}
  .ub-liste>li{border-top:1px solid rgba(0,0,0,.08)}
  .ub-link{display:block;padding:11px 2px;color:#004c87;text-decoration:none;font-size:16px}
  .ub-link.aktiv{color:#002c52;font-weight:700;box-shadow:inset 4px 0 0 #FCCC00;padding-left:12px}
  .ub-tief{margin:0 0 6px 14px}
  .ub-tief>li{border-top:0}
  .ub-tief .ub-link{padding:7px 2px;font-size:15px;opacity:.9}
  .ub-jahre{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding-top:12px;border-top:1px solid rgba(0,0,0,.08)}
  .ub-liste+.ub-jahre{margin-top:0}
  .ub-jahr{display:flex;align-items:center;justify-content:center;height:40px;border-radius:6px;background:#f0f0f0;color:#002c52;text-decoration:none;font-size:15px}
  .ub-jahr.aktiv{background:#FCCC00;color:#002c52;font-weight:700}
}
@media (prefers-reduced-motion:reduce){.ub-unter,.ub-pfeil{transition:none!important}}

/* 1c Galerie-Übersicht: Titel in den weißen Feldern senkrecht und waagrecht zentriert (Roman 05.12.2026). Am Handy fest unter
   dem Bild (40 px), am Desktop beim Überfahren (85 px). Das Bild führt selbst zur Unterseite (news_latest.html5). */
.galerie .mod_newsarchive h2{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0 6px}
.galerie .mod_newsarchive h2 a{display:flex;align-items:center;justify-content:center;width:100%;height:100%;margin-top:0}

/* 2 Kopf am Handy ---------------------------------------------------------------------------- */
/* Unter 580 px wächst das Logo mit 95 % der Breite, das Foto hatte fest 57 px Abstand und schnitt in den Schriftzug.
   Der Streifen im Logo endet bei 77 von 538 px Logobreite. Abstand und Höhe wachsen mit, der Fotostreifen bleibt 63 px. */
@media only screen and (max-width:580px){
  .mod_pageImage img{margin-top:calc(20px + min(13.6vw, 77px))}
  .mod_pageImage figure{height:calc(83px + min(13.6vw, 77px))}
}

/* 3 Fußzeile --------------------------------------------------------------------------------- */
/* Chronik-Bild: über 1100 px 450 breit ab 7 px (291 hoch), bis 1100 px 390 breit ab 17 px (253 hoch). */
@media only screen and (min-width:811px){
  #footer #followlinks{position:absolute;right:0;top:322px;width:450px;height:auto;float:none;margin:0;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:0 12px}
  #footer #followlinks h3{flex-basis:100%;text-align:right;margin:0 0 8px}
  #footer #followlinks a{float:none;margin:0}
  #footer .inside{min-height:438px}
}
@media only screen and (min-width:811px) and (max-width:1100px){
  #footer #followlinks{right:-3px;top:294px;width:390px}
  #footer .inside{min-height:410px}
}

/* 4 Hintergrund über 2000 px ----------------------------------------------------------------- */
/* bg_main.jpg ist 2000 px breit. Dahinter ein Verlauf aus der Randspalte des Bildes (25 Stützstellen, höchstens 2 Farbstufen
   Abweichung), damit es links und rechts nahtlos weitergeht. Unter 811 px gilt weiter bg_main-mobile.jpg. */
@media only screen and (min-width:811px){
  body{background:url("../images/bg_main.jpg") no-repeat center top,linear-gradient(to bottom,rgb(255,204,1) 0px,rgb(250,204,7) 1px,rgb(251,204,0) 2px,rgb(255,204,4) 3px,rgb(240,207,8) 4px,rgb(240,207,8) 5px,rgb(9,50,94) 5px,rgb(7,52,94) 6px,rgb(0,55,98) 7px,rgb(1,54,96) 319px,rgb(0,50,92) 407px,rgb(0,48,86) 471px,rgb(1,45,81) 508px,rgb(1,42,78) 550px,rgb(0,40,75) 567px,rgb(0,39,72) 570px,rgb(0,36,68) 599px,rgb(0,34,62) 623px,rgb(1,32,60) 639px,rgb(1,31,57) 642px,rgb(0,29,55) 663px,rgb(0,29,53) 671px,rgb(0,28,50) 674px,rgb(1,28,49) 695px,rgb(0,24,46) 697px,rgb(1,24,42) 723px) left top/100% 724px no-repeat,#001629}
}
