:root {
 /* --base-font-size: clamp(1rem, 0.5rem + 0.8vw, 2rem);
  --font-size-h2: calc(var(--base-font-size) * 1.5);*/
  --base-font-size: clamp(0.9rem, 0.5rem + 0.5vw, 1.2rem);
  --font-size-h2: calc(var(--base-font-size) * 1.5);
}


img {
  max-width: 100%;
}

body {
  font-size: var(--base-font-size);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: bold;
}

main {
  flex: 1;
}

/* Toggler-Button Grundgröße */
.mod-menu__toggle-sub {
  --toggle-size: 1em;
  width: var(--toggle-size) !important;
  height: var(--toggle-size) !important;
  cursor: pointer;
  font-size: inherit !important;
  vertical-align: middle;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-inline-start: 0.3em;
}


/* Chevron-Icon via SVG */
.mod-menu__toggle-sub .icon-chevron-down {
  display: block !important;
  width: var(--toggle-size) !important;
  height: var(--toggle-size) !important;
  flex-shrink: 0 !important;
  background-color: var(--brand-secondary, #006633); /* ← Farbe hier */
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 330 330" xmlns="http://www.w3.org/2000/svg"><path d="M165 230a15 15 0 0 1-10.6-4.4l-150-150a15 15 0 1 1 21.2-21.2L165 194.8l139.4-139.4a15 15 0 1 1 21.2 21.2l-150 150A15 15 0 0 1 165 230z"/></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 330 330" xmlns="http://www.w3.org/2000/svg"><path d="M165 230a15 15 0 0 1-10.6-4.4l-150-150a15 15 0 1 1 21.2-21.2L165 194.8l139.4-139.4a15 15 0 1 1 21.2 21.2l-150 150A15 15 0 0 1 165 230z"/></svg>');
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  transition: transform 0.75s ease !important;
  background-image: none !important;
  color: transparent !important;
}

/* Pfeil dreht sich wenn Submenü offen */
.mod-menu__toggle-sub[aria-expanded="true"] .icon-chevron-down {
  transform: rotate(180deg);
}
/*
.mod-menu__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s ease;
  display: block !important;
}

.mod-menu__sub[aria-hidden="false"] {
  max-height: 25em;
}

/*test
#mainMenu li.parent {
    position: relative;
}

#mainMenu .mod-menu__sub {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    background: #fff;
    padding: 0.5rem 0;
    border: 1px solid #ddd;
    min-width: 220px;
}

#stickyTopMainMenu,
#stickyTopMainMenu .navbar,
#stickyTopMainMenu .container-fluid {
    overflow: visible;
}

#mainMenu .mod-menu__sub li a {
    display: block;
    padding: 0.4rem 1rem;
    white-space: nowrap;
}
*/

#center {
  position: absolute;
  left:0;
  right:0;
  bottom: 0;
  z-index: 100;
  cursor: pointer;
  width: 100vw;
  border-left: 50vw solid;
  border-right: 50vw solid;
 /* border-top: 12.5svh solid; */
}

footer {
  clear: both;
}


/* Smartphones */
@media only screen and (width < 1400px) {

  #footerMenu {
    display: block;
    text-align: center;
    margin-bottom: 0.5em;
  }
  #footerMenu > li > a {
    float: none;
  }
}


/* everything without toggled menu */
@media only screen and (width >= 1400px) {

  #mainMenu, #footerMenu {
    margin: auto;
  }
  #mainMenu > li, #footerMenu > li {
    padding: 0 1.5em;
  }



}

/* Tablets */
@media only screen and (min-width: 768px) and (max-width: 1919px) {

}


/* Full HD */
@media only screen and (min-width: 1920px) and (max-width: 3839px){

}
/* 4K */
@media only screen and (min-width: 3840px) {

}
