/* Aus fileadmin/tmpl/css/thermoplus_neu.css (Ticket 5, 1:1 bis auf Pfade). */
@layer site {
  /* stylelint-disable font-family-no-missing-generic-family-keyword */
  /* stylelint-disable no-duplicate-selectors */
  .footer-section a,
  .footer-section a:hover,
  .footer-section a:focus {
    font-weight: normal;
  }

  .footer-meta .meta-menu li {
    display: block;
    margin-bottom: 1px;
    background-color: #347b25;
    padding: 0.7em 1.5em;
    width: 100%;
    text-align: left;
  }

  .footer-section-meta > .frame {
    padding-bottom: 0;
  }

  .footer-copyright {
    margin-top: 0;
    background-color: #4d4d4d;
    padding: 0.7em 1.5em;
    text-align: right;
  }

  .footer-copyright strong {
    color: #fff;
    font-weight: var(--font-regular);
    font-family: var(--font-duisburg);
  }

  .footer-navigation {
    background-color: #333;
  }

  .footer-navigation ul {
    padding: 1em 1.5em;
  }

  .footer-navigation ul a {
    margin-bottom: 0;
  }

  .footer-sociallinks {
    display: none;
    margin-top: 0;
  }

  #page-footer a {
    text-decoration: none;
  }

  @media (min-width: 992px) {
    .navbar-mainnavigation {
      flex-flow: column nowrap;
      justify-content: flex-end;
    }

    .navbar-mainnavigation .navbar-collapse {
      display: flex;
      flex: initial;
    }
  }

  #mainnavigation {
    font-size: 1.5em;
    text-transform: uppercase;
  }

  .dropdown-nav {
    text-transform: none;
  }

  .container-mainnavigation {
    padding-top: 2em;
    padding-bottom: 3em;
  }

  .image > a {
    display: block;
  }

  .btn-primary {
    color: #fff;
  }

  .frame-layout-210 {
    display: flex;
    align-items: center;
    min-height: 600px;
    color: #fff;
  }

  .frame-layout-210 .frame-group-container {
    margin: 0 auto;
  }

  .frame-layout-210 .frame-container {
    background-color: rgb(73 173 51 / 70%);
    padding: 1.5em 2em;
  }

  .frame-layout-210 h1,
  .frame-layout-210 h2,
  .frame-layout-210 h3,
  .frame-layout-210 h4,
  .frame-layout-210 h5 {
    color: #fff;
  }

  #page-header {
    box-shadow: none;
    padding: 0;
  }

  #page-header #meta_menu {
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 0;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    list-style-type: none;
  }

  #page-header #meta_menu li {
    padding-left: 1em;
  }

  #page-header #meta_menu a {
    color: #fff;
    text-decoration: none;
  }

  #MetaNav_outer {
    background-color: #347b25;
    height: auto;
  }

  .frame-type-menu_section ul {
    display: flex;
    border-bottom: 1px solid #ccc;
    padding-left: 0;
    list-style-type: none;
  }

  .frame-type-menu_section li {
    border-right: 1px solid #ccc;
    padding: 0.4em 1em;
  }

  .frame-type-menu_section li:first-child {
    border-left: 1px solid #ccc;
  }

  .frame-type-menu_section li a {
    text-decoration: none;
  }

  .frame-type-accordion .accordion-item {
    margin-bottom: 5px;
    border-color: #f0f0f0;
    background-color: #f0f0f0;
    color: #5b5958;
  }

  .frame-type-accordion .accordion-header button {
    border-color: #f0f0f0;
    background-color: #f0f0f0;
    color: rgb(73 173 51);
    font-weight: var(--font-medium);
    font-size: 0.8em;
    font-family: var(--font-duisburg);
  }

  @media (min-width: 768px) {
    .textpic-left .textpic-item.textpic-gallery {
      width: calc(30% - (40px / 2));
    }

    .textpic-left .textpic-item.textpic-text {
      width: calc(70% - (40px / 2));
    }
  }

  /* Accessibility Anpassungen */

  figure .caption {
    background-color: #4a8448;
  }

  .frame-layout-210 .frame-container {
    background-color: #487148d4;
  }

  h4,
  .h4 {
    color: rgb(56 133 39);
  }

  h5,
  .h5 {
    color: #347b25;
  }

  .btn-outline-primary {
    --bs-btn-color: #347b25;
    --bs-btn-border-color: #347b25;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #347b25;
    --bs-btn-hover-border-color: #347b25;
    --bs-btn-focus-shadow-rgb: 73, 173, 51;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #347b25;
    --bs-btn-active-border-color: #347b25;
    --bs-btn-active-shadow: inset 0 3px 5px rgb(0 0 0 / 12.5%);
    --bs-btn-disabled-color: #347b25;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #347b25;
    --bs-gradient: none;
  }

  .btn-primary {
    --bs-btn-color: #000;
    --bs-btn-bg: #347b25;
    --bs-btn-border-color: #347b25;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #64b952;
    --bs-btn-hover-border-color: #5bb547;
    --bs-btn-focus-shadow-rgb: 62, 147, 43;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #6dbd5c;
    --bs-btn-active-border-color: #5bb547;
    --bs-btn-active-shadow: inset 0 3px 5px rgb(0 0 0 / 12.5%);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #347b25;
    --bs-btn-disabled-border-color: #347b25;
  }

  .timeline-item-header-headline {
    color: #347b25;
  }

  .frame {
    --frame-link-color: #347b25;
  }

  .frame-type-accordion .accordion-header button {
    color: #347b25;
  }

  .frame.frame-background-light a:not([class]) {
    color: #000;
  }

  /* BP 15 (Upgrade 2026-11-23): BP 14 setzte die Nav-Schriftgröße über eine undefinierte Variable (= geerbt); Verhalten beibehalten, bis Ticket 6 */
  .navbar-mainnavigation .navbar-nav {
    --bs-nav-link-font-size: initial;
  }
}
