/* Dauer zentral steuerbar */
:root{
  --jt-in-duration: 2.4s;   /* Einblenden: 2–3 s (Passe hier an: z.B. 3s) */
  --jt-out-duration: .45s;  /* Ausblenden vor Navigation */
  --jt-timing-in: ease-out;
  --jt-timing-out: ease;
}

/* Cross-Document View Transitions (Chromium) */
:root { view-transition-name: root; }
::view-transition-old(root){ animation: vt-fade-out var(--jt-out-duration) var(--jt-timing-out); }
::view-transition-new(root){ animation: vt-fade-in  var(--jt-in-duration)  var(--jt-timing-in); }

@keyframes vt-fade-in  { from { opacity: 0 } to { opacity: 1 } }
@keyframes vt-fade-out { from { opacity: 1 } to { opacity: 0 } }

/* Fallback: sanftes Ausblenden vor Navigation */
.jt-fade-out { opacity: 0; transition: opacity var(--jt-out-duration) var(--jt-timing-out); }

/* Sanftes Einblenden nach Laden (immer) */
.jt-onload { opacity: 0; animation: jt-in var(--jt-in-duration) var(--jt-timing-in) forwards; }
@keyframes jt-in { to { opacity: 1 } }

/* Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .jt-fade-out { transition: none; opacity: 1; }
  .jt-onload  { animation: none;  opacity: 1; }
}
/* =============================
TAGs bei Projekte ausblenden
============================= */
.sp-simpleportfolio-tags {
    display: none !important;
}
.sp-pagebuilder-page-edit {
  display: none !important;
}
/* =============================
   Fonts
============================= */
@font-face {
  font-family: 'OpenSans-Regular';
  src: url('/templates/biotonus_verein/fonts/OpenSans-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Dakota';
  src: url('/templates/biotonus_verein_startseite/fonts/Dakota.eot');
  src: url('/templates/biotonus_verein_startseite/fonts/Dakota.woff2') format('woff2'),
       url('/templates/biotonus_verein_startseite/fonts/Dakota.woff') format('woff'),
       url('/templates/biotonus_verein_startseite/fonts/Dakota.ttf')  format('truetype'),
       url('/templates/biotonus_verein_startseite/fonts/Dakota.svg#Dakota') format('svg');
}
@font-face {
  font-family: 'Valerian Handwriting';
  src: url('/templates/biotonus_verein_startseite/fonts/Valerian-Handwriting.eot');
  src: url('/templates/biotonus_verein_startseite/fonts/Valerian-Handwriting.woff2') format('woff2'),
       url('/templates/biotonus_verein_startseite/fonts/Valerian-Handwriting.woff') format('woff'),
       url('/templates/biotonus_verein_startseite/fonts/Valerian-Handwriting.ttf')  format('truetype'),
       url('/templates/biotonus_verein_startseite/fonts/Valerian-Handwriting.svg#Valerian Handwriting') format('svg');
}


/* ********************************** */
/* ---   DEBUG Button Viewport    --- */
/* ********************************** */
#debug {
    padding: 0px;
}
.icon-print {
  display: none !important;
}
/* ********************************** */
/* ---   Registration Formular    --- */
/* ********************************** */
/* Schöner Akzent-Rahmen um das Input-Feld */
#referrer_name {
  border: 2px solid #007bff;    /* Bootstrap-Blau, gern anpassen */
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
/* Farbiger Hintergrund für den Dropdown-Button */
#referrerDropdownToggle,
#member-registration .input-group .input-password-toggle {
  background-color: #007bff;     /* Primärfarbe */
  color: #fff;                   /* Icon in weiß */
  border-color: #007bff;
}
#referrerDropdownToggle:hover {
  background-color: #0056b3;     /* etwas dunkler beim Hover */
}
/* Hintergrund und Hover im Menü */
#referrerDropdown {
  background-color: #f8f9fa;     /* helles Grau */
}
#referrerDropdown .dropdown-item {
  color: #212529;                /* Standard-Textfarbe */
}
#referrerDropdown .dropdown-item:hover {
  background-color: #007bff;     /* blau beim Hover */
  color: #fff;
}
.design-formbox{
    background-color: #BBC9BB;
    border: solid 1px #333333;
    -moz-border-ratius: 10px;
    -kthml-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
    padding:20px;
}
.formSendBtn {
    border: solid 1px #333333;
    -moz-border-ratius: 10px;
    -kthml-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
    box-shadow: 4px 4px 5px rgba(0,0,0,.5);
}

/* ********************************** */
/* -- Layoutanpassung Main-Content -- */
/* ********************************** */
.site-grid {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr; /* Links – Mitte – Rechts */
  gap: 20px;
  margin: 20px auto;
  max-width: 1200px;
}

.container-sidebar-left,
.container-sidebar-right {
  background-color: #f8f8f8;
  padding: 10px;
}

.container-component {
  background-color: #fff;
  padding: 20px;
}


.container-sm {max-width: 540px !important;}
.container-md {max-width: 720px !important;}
.container-lg {max-width: 960px !important;}
.container-xl {max-width: 1140px !important;}
.container-xxl {max-width: 1320px !important;}
.container-fluid {width: 100% !important;}


/* ********************************** */
/* --- Projekte Portfolio Buttons --- */
/* ********************************** */
#sp-simpleportfolio .btn-zoom:hover {
  background-color: crimson;
}
#sp-simpleportfolio .btn-view:hover {
  background-color: #00C5E6;
}

/* ********************************* */
/* ---  PROjekte in Unterseiten  --- */
/* ********************************* */
.biotonus-projekte {
  font-size: 35px;
  font-weight: bold;
  padding: 0px 0px 20px 0px;
  text-align: center;
}

/* ********************************** */
/* ---  JKalender in Unterseiten  --- */
/* ********************************** */
.mod_events_td_todaynoevents {
    border-radius: 50%; /* Macht den Button rund */
    background-color: #F0A400;
    color: #FFFFFF;
}
.mod_events_td_todaynoevents a {
    color: #FFFFFF !important;
}
.mod_events_td_dayoutofmonth {
  font-weight: bold;
  color: Gray;
  background-color: #DDDDDD;
}
.card {
  border: none !important;
}

.jev_toprow div.previousmonth, .jev_toprow div.nextmonth {
    background-color: #F0A400!important;
    border: 1px solid #F0A400!important;
}
#jevents_body .nav-items div.active a, .jev_header2 .active a {
  background-color: #F0A400!important;
  color: #FFF;
}
.jev_toprow div.currentmonth {
  border-top: 1px solid #F0A400!important;
  border-bottom: 1px solid #F0A400!important;
}
.nav-items > div {
    border: 1px solid #F0A400!important;
}
#jevents_body .nav-items > div a:hover {
    border-left: 1px solid #F0A400!important;
}

.nav-items > div:first-child {
    border-left: 1px solid #F0A400!important;
}

.nav-items > div:last-child {
    border-right: 1px solid #F0A400!important;
}

/* ********************************** */
/* ---  Blog-Layout modern        --- */
/* ********************************** */
.com-content-category-blog .page-header a {
    text-decoration: none;
    font-weight: normal;
    font-family: 'OpenSans-Regular';
    font-size: 22px;
    color: #000000;
}
.com-content-category-blog .page-header a:hover {
    color: #F0A400;
}
.com-content-category-blog .category-name {
    display: none;
}
.com-content-category-blog .hits {
    display:none;
}
.article-meta-flex {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1.5rem;
  margin-top: -1rem;
}

.meta-calendar {
  flex-shrink: 0;
}

.meta-details {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  color: #444;
}

.meta-details .meta-label {
  font-weight: bold;
  margin-bottom: 0.2rem;
}

.meta-details div {
  margin: 0.2rem 0;
}
#full-blog-article .article-author {
    display: none;
}
#full-blog-article .page-header {
    font-size: 16px !important;
}

/* ********************************** */
/* ---  Blog-Datum ändern         --- */
/* ********************************** */
.custom-date-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 10px 0;
}

.date-box {
  border: 4px solid #F0A400;
  border-radius: 4px 4px 14px 14px;
  overflow: hidden;
  width: 100px;
  text-align: center;
  font-family: sans-serif;
  box-shadow: 4px 4px 8px rgba(0,0,0,0.5);
}

.date-weekday {
  background-color: #ccc;
  padding: 4px 0;
  font-size: 14px;
  font-weight: bold;
}

.date-day {
  background-color: white;
  font-size: 32px;
  font-weight: bold;
  padding: 0px 0;
}

.date-month {
  background-color: #F0A400;
  color: white;
  padding: 4px 0;
  font-size: 14px;
  font-weight: bold;
}

.date-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-title {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
}

.article-author {
  font-size: 14px;
  color: #555;
}
.blog hr {
  border: none;
  border-top: 1px solid #333;
  border-radius: 0 !important;
  height: 1px;
  margin: 20px 0;
}
/* ********************************** */
/* ---  TopMenü auf Unterseiten   --- */
/* ********************************** */
.container-header {
    display: grid;
    /*justify-content: center;*/
    background: #F9F9F9;
}
.container-header-inner {
  width: 960px;
  margin: 0 auto;
    border: red;
}
.grid-child {
    justify-content: flex-end;
    text-align: right;
}

body.login .logout-btn {
  color: #04B2E8 !important;
}

.container-header .mod-menu > li a:hover {
  color: #F0A400;
}
.container-header .mod-menu > .current > a {
  color: #04B2E8;
}
.container-header .mod-menu > li.active::after,
.container-header .mod-menu > li:hover::after {
    background: none !important;
}
.container-header .mod-menu > li > a, .container-header .mod-menu > li > span {
  color: #000000;
  text-decoration: none;
  position: relative;
  Font-size: 24px;
}

.grid-child.logo {
    display: flex;
    flex-direction: column; /* Stapelt Logo und Slogan vertikal */
    align-items: center; /* Falls zentriert gewünscht */
    text-align: center;
}

.site-slogan {
    font-size: 14px;
    font-weight: 400;
    color: #333333; /* Falls Header dunkel ist */
    margin-top: 5px;
}

/* ************************************* */
/* passendes GRID Layout für Unterseiten */
/* ************************************* */
.brand-logo img {
    filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 40));
    height: 60px;
    width: auto;
}
.container-header-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr); /* Logo nimmt nur so viel Platz wie nötig, Menü füllt den Rest */
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
}

/* Logo anpassen */
.grid-child.logo {
    display: flex;
    align-items: center;
}

/* Menü rechts ausrichten */
.grid-child.menu {
    text-align: right;
}

/* SCHMALER HEADER auf UNTERSEITEN */
body.subpage .container-header-grid {
    padding: 5px 20px;
}

body.subpage .grid-child.logo img {
    max-height: 40px; /* Kleineres Logo auf Unterseiten */
}

/* ******************************************* */
/*        Main-Header für Haupt-Content        */
/* ******************************************* */
.container-component {
    width: 100%;
}

/* Abstand unter dem Joomla-Header (z.B. 56px) */
:root {
  --joomla-header-height: 56px;
 /* --custom-header-height: 60px;  je nach Inhalt anpassen */
}

/* Dein zweiter Header */
#custom-header.custom-fixed-header {
  /*position: sticky;*/
  position: fixed;
  top: var(--joomla-header-height);
  left: 0;
  width: 100%;
  /*height: var(--custom-header-height);*/
  min-height: 80px;
  height: auto;
  z-index: 1020; /* über dem Content, unter dem Haupt-Header */
  background: #F5E6C1; /* oder transparent */
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 5px rgba(0,0,0,0.1);
  margin-top: 30px;
}
#custom-header .mod-articles-link {
    color: #00C5E6;
}
#custom-header .mod-articles-link:hover {
    color: #F0A400;
}
#custom-header .mod-articles-title {
    font-size: 16px !important;
}

/* Body-Padding, damit der Content nicht hinter deinem Header startet */
body {
  padding-top: calc(var(--joomla-header-height) + var(--custom-header-height));
}

/* Bilder im Teaser ausblenden */
#custom-header img {
  display: none;
}
/* Button-Styling für das "X"-Icon */
.close-header-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  color: #333;
  cursor: pointer;
}

.close-header-btn:hover {
  color: red; /* optisch hervorheben beim Hover */
}



/* ******************************************* */
/* 4 verschiedene Verlauf Varianten für Header */
/* ******************************************* */
/* 1. Beige Verlauf - Horizontal */
.header-beige-horizontal {
    background: linear-gradient(to right, #F5E6C1, #FAF3E3);
}

/* 2. Beige Verlauf - Vertikal */
.header-beige-vertical {
    background: linear-gradient(to top, #F5E6C1, #FAF3E3);
}

/* 3. Pastellgrün Verlauf - Horizontal */
.header-gruen-horizontal {
    background: linear-gradient(to right, #A8C690, #D4E6BE);
}

/* 4. Pastellgrün Verlauf - Vertikal */
.header-gruen-vertical {
    background: linear-gradient(to top, #A8C690, #D4E6BE);
}

.header-gruen-blau-horizontal {
    background: linear-gradient(to right, #689D3A, #04B2E8);
}


/* =============================
   Chut Bubble
============================= */
.chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: clamp(50px, 15vw, 100px); /* Passt sich dynamisch an */
    transition: all 0.3s ease-in-out;
      filter: drop-shadow(0px 0px 10px rgba(3, 3, 3, 0.5));
}

/* Bildgröße steuern */
.chat-bubble img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hover-Effekt */
.chat-bubble:hover {
    transform: scale(1.1); /* Leicht vergrößern beim Hover */
}

/* =============================
   Footer Leiste
============================= */
header {
  box-shadow: 0px 2px 0px #eeeeee !important;
}

/* =============================
   Footer Leiste
============================= */
/*footer.container-footer {
  background: #f9f9f9;
  color: #333333;
  padding: 1.5rem 1rem;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}*/

/* Footer Styles */
footer .container-lg {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.footer-left {
    flex: 0 0 60%;
    max-width: 60%;
}

.footer-right {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: right; /* optional: Menü nach rechts schieben */
}

/* *********************** */
/* ***** Footer Menü ***** */
/* *********************** */
footer .mod-menu {
  display: block;
  justify-content: flex-end; /* oder center, je nach Wunsch */
  flex-wrap: wrap;
  gap: 1rem; /* Abstand zwischen den Menüpunkten */
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .mod-menu .nav-item {
  display: inline-block;
}

footer .mod-menu .nav-item a {
  color: #333333;
  text-decoration: none !important;
  padding-left: 20px;
  padding-right: 20px;
}

footer .mod-menu .active a,
footer .mod-menu li.current a {
  color: #04B2E8 !important;
}

footer .mod-menu .nav-item a:hover {
  color: #F0A400;
}

footer {
  font-size: 16px;
  line-height: 18px;
}

/* **************************************************** */
/* Position toggle button absolut rechts oben im Header */
/* **************************************************** */
.container-header-grid { 
    position: relative; 
}
.menu-toggle {
  display: none;
}

/* ***************************************************** */
/* Untermenüs beim Hauptmenü aufblenden                  */
/* ***************************************************** */
/* 1) Verberge alle Unter-ULs standardmäßig */
#site-menu ul li > ul {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: -50px !important;
  background: #fff !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
  padding: 0.5rem 0 !important;
  white-space: nowrap !important;
  z-index: 1100 !important;
}

/* 2) Zeige das Unter-UL beim Hover über das Eltern-LI */
#site-menu ul li:hover > ul {
  display: block !important;
}

/* 3) Styling der Links im Dropdown (CI-Farben) */
#site-menu ul li > ul li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;              /* Standard-Textfarbe */
  text-decoration: none;
}
#site-menu ul li > ul li a:hover {
  background: #F0A400;      /* euer CI-Orange */
  color: #fff !important;
}

/* ************************************* */
/* Sub-Menu auf Unterseiten              */
/* ************************************* */
#menu-unterseiten li.metismenu-item a {
  color: #333333;
  text-decoration: none !important;
}
#menu-unterseiten li.metismenu-item a:hover {
  color: #F0A400;
  text-decoration: none !important;
}
#menu-unterseiten .current a {
  color: #04B2E8 !important;
}
#menu-unterseiten .active {
  text-decoration: none !important;
}

.mod-menu__sub .nav-item a {
    font-weight: bold;
    font-size: 16px;
    line-height: 16px;
}
.mod-menu__sub .nav-item {
    background-color: #F9F9F9;
    padding: .25em .25em .25em 0px;
    text-align: left;
    align-content: flex-start;
    justify-content: flex-start;
}
.mod-menu__sub {
    border-radius: 10px;
    border: solid 1px #cccccc;
    box-shadow: 4px 4px 2px rgba(0,0,0,0.5)!important;
}

/* =================================
   GALAXY-20 – Hochformat (Portrait)
   ================================= */
@media (orientation: portrait) {
  body.galaxy-20 {
    /*background: yellow;*/
    font-size: 16px;
    margin-top: -30px;
  }
  /* Containerbreite */
  body.galaxy-20 #startseite,
  body.galaxy-20 #main-wrapper, 
  body.galaxy-20 #buttons,
  body.galaxy-20 #buttons button,
  body.galaxy-20 #logo,
  body.galaxy-20 #slogan,
  body.galaxy-20 #round-buttons
  {
    width: 380px;
    margin-top: 10px;
  }

  body.galaxy-20 .site-description {
    padding-left: 100px;
    padding-bottom: 10px;
    margin-top: -20px;
  }
  body.galaxy-20 #meineSuche label,
  body.galaxy-20 #meineSuche input::placeholder {
      font-size: 18px;      
    }

  body.galaxy-20 #suchen #meineSuche input {
    /*Suchbalken anpassen*/
    width: 100%;
    max-width: 350px;
  }
  body.galaxy-20 .pfeil-links, .pfeil-rechts {
    display: none;
  }
  body.galaxy-20 #buttons button.eins,
  body.galaxy-20 #buttons button.zwei,
  body.galaxy-20 #buttons button.drei {
    width: 350px ;
    margin: 10px 0;
  }
  body.galaxy-20 #round-buttons button {
    color: #333333;
  }

  body.galaxy-20 #logo .brand-logo img {
    width: 150px;
    height: auto;
  }
  body.galaxy-20 #slogan .site-desc1,
  body.galaxy-20 #slogan .site-desc2 {
    font-size: 16px ;
  }
  body.galaxy-20 #slogan .site-desc1 {
    margin-left: 0px;
  }
  body.galaxy-20 #slogan .site-desc2 {
    margin-left: 0px;
  }

  /* Menüsteuerung Topmenu */
  body.galaxy-20 #startseite .navbar-toggler {
        border: solid 4px #aaaaaa;
        box-shadow: 4px 4px 5px rgba(0,0,0,.5);
        z-index: 999;
    }
     
  body.galaxy-20 #bigmacMenu .mod-menu {
    display: block;
    width: 300px;
    background-color: #f4f4f4;
    padding: 10px 40px 20px 40px;
    margin-top: 10px;
    margin-left: 0px;
    border: solid 1px #333333;
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5)
  }
  body.galaxy-20 #bigmacMenu .mod-menu li {
    border-bottom: solid 1px #333333;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    list-style: none;
  }  
  body.galaxy-20 #bigmacMenu .mod-menu li a {
    font-size: 25px;
    line-height: 80px;
    text-decoration: none;
    font-family: "Dakota";
    color: #333333;
    font-weight: bold;
  }
  body.galaxy-20 #bigmacMenu .mod-menu li a:hover {
    color: #F0A400;
  }
  body.galaxy-20 #bigmacMenu .mod-menu li a:active {
    color: #04B2E8;
  }
  body.galaxy-20 #buttons .eins,
  body.galaxy-20 #buttons .zwei,
  body.galaxy-20 #buttons .drei,
  body.galaxy-20 #round-buttons button{
        color: #333333;
    }    
}

/* ==============================
   HANDY – Hochformat (Portrait)
   ============================== */
@media (min-width: 393px) and (max-width: 599px) and (orientation: portrait) {
        .menu-toggle {
      display: inline-block;
      position:absolute;
      width: 40px;
      height: 40px;
      top: 50%;
      right: 20px;
      transform: translateY(-50%);
      background: #f4f4f4;
      border: solid 2px #333333;
        border-radius: 5px;
      font-size: 28px;
        line-height: 28px;
        padding-bottom: 5px;
      cursor: pointer;
      z-index: 10000;
      box-shadow: 4px 4px 5px rgba(0,0,0,0.5);
    }
      /* Grundzustand: Menü-Wrapper außerhalb des Viewports rechts */
      #site-menu {
        display: none !important;         /* ausblenden, solange kein open da ist */
        position: absolute;
        top: 100%;
        right: 20px;
        background: #F9F9F9;
        box-shadow: 5px 5px 8px rgba(0,0,0,0.5);
        z-index: 9999;
      }
      #site-menu.open {
        display: block !important;        /* sobald open: anzeigen */
      }
        #site-menu {
            margin-top: -20px;
            padding: 20px 40px 20px 80px;
            border: solid 2px #cccccc;
            border-radius: 10px;
        }
      .container-header-inner,
      .container-component {
          width: 100%;
          max-width: 768px;
      }
      /* spezielle Anpassung für mobilen Content */
      .site-grid {
        grid-template-columns: 1fr; /* 1 Spalte auf kleinen Bildschirmen */
      }

      .container-sidebar-left,
      .container-sidebar-right {
        order: 1;
      }

      .container-component {
        order: 0;
      }

}

/* ==============================
   HANDY – Querformat (Landscape)
   ============================== */
@media (max-width: 767px) and (orientation: landscape) {
.menu-toggle {
  display: inline-block;
  position:absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background: #f4f4f4;
  border: solid 2px #333333;
    border-radius: 5px;
  font-size: 28px;
    line-height: 28px;
    padding-bottom: 5px;
  cursor: pointer;
  z-index: 10000;
    box-shadow: 4px 4px 5px rgba(0,0,0,0.5);
}
  /* Grundzustand: Menü-Wrapper außerhalb des Viewports rechts */
  #site-menu {
    display: none !important;         /* ausblenden, solange kein open da ist */
    position: absolute;
    top: 100%;
    right: 20px;
    background: #F9F9F9;
        box-shadow: 5px 5px 8px rgba(0,0,0,0.5);
    z-index: 9999;
  }
  #site-menu.open {
    display: block !important;        /* sobald open: anzeigen */
  }
    #site-menu {
        margin-top: -20px;
        padding: 20px 40px 20px 80px;
        border: solid 2px #cccccc;
        border-radius: 10px;
    }
  .container-header-inner,
  .container-component {
      width: 100%;
      max-width: 768px;
  }
  /* spezielle Anpassung für mobilen Content */
  .site-grid {
    grid-template-columns: 1fr; /* 1 Spalte auf kleinen Bildschirmen */
  }

  .container-sidebar-left,
  .container-sidebar-right {
    order: 1;
  }

  .container-component {
    order: 0;
  }

}

/* ==============================
   TABLET – Hochformat
   ============================== */
@media (min-width: 600px) and (max-width:886px) and (orientation: portrait) {
    .footer-left, .footer-right {
        /*flex: 0 0 100%;
        max-width: 100%;
        text-align: center;*/
    }
    .menu-toggle {
      display: inline-block;
      position:absolute;
      width: 40px;
      height: 40px;
      top: 50%;
      right: 20px;
      transform: translateY(-50%);
      background: #f4f4f4;
      border: solid 2px #333333;
        border-radius: 5px;
      font-size: 28px;
        line-height: 28px;
        padding-bottom: 5px;
      cursor: pointer;
      z-index: 10000;
    box-shadow: 4px 4px 5px rgba(0,0,0,0.5);
    }
      /* Grundzustand: Menü-Wrapper außerhalb des Viewports rechts */
      #site-menu {
        display: none !important;         /* ausblenden, solange kein open da ist */
        position: absolute;
        top: 100%;
        right: 20px;
        background: #F9F9F9;
        box-shadow: 5px 5px 8px rgba(0,0,0,0.5);
        z-index: 9999;
      }
      #site-menu.open {
        display: block !important;        /* sobald open: anzeigen */
      }
        #site-menu {
            margin-top: -20px;
            padding: 20px 40px 20px 80px;
            border: solid 2px #cccccc;
            border-radius: 10px;
        }
      .container-header-inner,
      .container-component {
          width: 100%;
          max-width: 768px;
      }
      /* spezielle Anpassung für mobilen Content */
      .site-grid {
        grid-template-columns: 1fr; /* 1 Spalte auf kleinen Bildschirmen */
      }

      .container-sidebar-left,
      .container-sidebar-right {
        order: 1;
      }

      .container-component {
        order: 0;
      }

}

/* ==============================
   TABLET – Querformat
   ============================== */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .menu-toggle {
  display: inline-block;
  position:absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background: #f4f4f4;
  border: solid 2px #333333;
    border-radius: 5px;
  font-size: 28px;
    line-height: 28px;
    padding-bottom: 5px;
  cursor: pointer;
  z-index: 10000;
    box-shadow: 4px 4px 5px rgba(0,0,0,0.5);
}
  /* Grundzustand: Menü-Wrapper außerhalb des Viewports rechts */
  #site-menu {
    display: none !important;         /* ausblenden, solange kein open da ist */
    position: absolute;
    top: 100%;
    right: 20px;
    background: #F9F9F9;
        box-shadow: 5px 5px 8px rgba(0,0,0,0.5);
    z-index: 9999;
  }
  #site-menu.open {
    display: block !important;        /* sobald open: anzeigen */
  }
    #site-menu {
        margin-top: -20px;
        padding: 20px 40px 20px 80px;
        border: solid 2px #cccccc;
        border-radius: 10px;
    }
  .container-header-inner,
  .container-component {
      width: 100%;
      max-width: 768px;
  }
  /* spezielle Anpassung für mobilen Content */
  .site-grid {
    grid-template-columns: 1fr; /* 1 Spalte auf kleinen Bildschirmen */
  }

  .container-sidebar-left,
  .container-sidebar-right {
    order: 1;
  }

  .container-component {
    order: 0;
  }

}

/* ==============================
   Android TABLET – Querformat
   ============================== */
@media (min-width: 887px) and (max-width: 953px) {
/*    .menu-toggle {
  display: inline-block;
  position:absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background: #f4f4f4;
  border: solid 2px #333333;
    border-radius: 5px;
  font-size: 28px;
    line-height: 28px;
    padding-bottom: 5px;
  cursor: pointer;
  z-index: 10000;
    box-shadow: 4px 4px 5px rgba(0,0,0,0.5);
}
  #site-menu {
    display: none !important;         
    position: absolute;
    top: 100%;
    right: 20px;
    background: #F9F9F9;
        box-shadow: 5px 5px 8px rgba(0,0,0,0.5);
    z-index: 9999;
  }
  #site-menu.open {
    display: block !important;        
  }
    #site-menu {
        margin-top: -20px;
        padding: 20px 40px 20px 80px;
        border: solid 2px #cccccc;
        border-radius: 10px;
    }
  .container-header-inner,
  .container-component {
      width: 100%;
      max-width: 768px;
  }
  
  .site-grid {
    grid-template-columns: 1fr; 
  }

  .container-sidebar-left,
  .container-sidebar-right {
    order: 1;
  }

  .container-component {
    order: 0;
  }*/

}

/* ==============================
   DESKTOP & GRÖSSER – Nur Querformat
   ============================== */
@media (min-width: 1024px) and (orientation: landscape) {
    
}

/* ==============================
   GROSSE MONITORE
   ============================== */
@media (min-width: 1200px) and (orientation: landscape) {

}
    
/* ==============================
   ULTRA-BREITE DISPLAYS / TV
   ============================== */
@media (min-width: 1600px) and (orientation: landscape) {
    
}

