/*
 Theme Name:     A-DUR Child-Theme
 Theme URI:      http://www.a-dur.at
 Description:    Divi Child-Theme
 Author:         A-DUR
 Author URI:     http://www.a-dur.at
 Template:       Divi
 Version:        1.0.0
*/

/* Standardmäßig unsichtbar */
/*#main-content .et_pb_section, 
#main-content .et_pb_row, 
#main-content .et_pb_column, 
#main-content .et_pb_module {
    opacity: 0;
    transition: opacity 0.4s ease 0.1s;
}*/

@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
body:not(.et-fb) .animation,
body:not(.et-fb) .animation-2,
body:not(.et-fb) .animation-3 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* <- Wichtig! */
}
  
  .animation.animate {
    transform: translateY(0)!important;
    opacity: 1!important;
  }

  .animation-2.animate {
    transform: translateY(0)!important;
  opacity: 1!important;
  transition-delay: 0.3s!important;
  }

  .animation-3.animate {
    transform: translateY(0)!important;
  opacity: 1!important;
  transition-delay: 0.6s!important;
  }

.page-fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
  }
  .page-fade-in.fade-in-active {
    opacity: 1;
  }

  a:focus-visible {
    outline: 2px solid white!important;
    box-shadow: 0 0 0 4px black!important;
}

@font-face {
    font-family: 'Lora';
    src: url('fonts/Lora-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.first {
    padding-top: 170px !important;
    margin-top: 0 !important;
}

@media only screen and (max-width: 900px) {
    .first {
        padding-top: 130px !important;
        margin-top: 0 !important;
    }
}

@media only screen and (min-width: 900px) {
    .first {
        padding-top: 180px !important;
        margin-top: 0 !important;
    }
}

#main-content img {
    border-radius: 5px;
    background-color: rgba(255,255,255,0);
}

.header-background {
    transition: background-color 0.4s ease;
    background-color: transparent;
  }

  .header-background.scrolled {
    background-color: white;
    border-bottom: 1px solid #e5e5e5;
  }
/* RESPONSIVE */
@media only screen and (max-width: 1100px) {
  div.nav-desktop {
    display: none;
  }

  div.nav-mobile {
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid white;
    backdrop-filter: blur(10px);
    border-radius: 5px;
    max-width: 1800px;
    width: 100%;
    padding: 5px 10px;
    margin: 5px auto 0;
    display: flex;
    justify-content: space-between;
  }
}

@media only screen and (min-width: 1100px) {
  div.nav-mobile {
    display: none;
  }

  div.nav-desktop {
    padding: 5px 10px;
    display: flex;
  }
}

/* LAYOUT */
.nav-desktop-left,
.nav-desktop-middle,
.nav-desktop-right {
  display: flex;
  align-items: center;
}

.nav-desktop-left {
  width: 25%;
}

.nav-desktop-middle {
  width: 50%;
  justify-content: center;
  gap: 30px;
}

.nav-desktop-right {
  width: 25%;
  justify-content: flex-end;
  gap: 7px;
}

.nav-desktop-left img {
  margin-top: 10px;
  max-width: 240px;
}

.nav-desktop-middle a,
.nav-desktop-right a {
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  transition: padding 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-desktop-middle a:hover,
.nav-desktop-right a:hover {
  padding: 1px 10px 9px;
}

.nav-desktop-right a img {
  max-width: clamp(20px, 2.5vw, 25px)!important;
}

/* SUBMENU TOGGLE BUTTON */
.submenu-toggle {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
}

.nav-item {
  position: relative;
}

/* Pfeil */
.arrow {
  display: inline-block;
  width: 30px;
  transition: transform 0.3s ease;
}

.submenu-trigger[aria-expanded="true"] .arrow {
  transform: rotate(180deg);
}

/* Submenü animiert */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 0 0 5px 5px;
  box-shadow: 2px 2px 20px rgba(129, 129, 129, 0.1);
  width: 400px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  z-index: 999;
}

.submenu.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Links im Submenü */
.submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px!important;
  border-radius: 0;
  background-color: #fff;
  color: black;
  text-decoration: none;
  border-bottom: 1px solid #e9e9e9;
  transition: background-color 0.3s;
}

.submenu a:last-child {
  border-bottom: none;
}

.submenu a:hover {
  background-color: #e2f0d9;
}

.submenu a img {
  width: 22px;
}

/* Struktur */
.nav-mobile-left {
  width: 50%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.nav-mobile-left img {
  margin-top: 10px;
  width: 200px;
}

.nav-mobile-right {
  width: 50%;
  gap: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-mobile-right img {
  width: 30px;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Fokus sichtbar machen */
:focus-visible {
  outline: 2px solid white;
    box-shadow: 0 0 0 4px black;
}

/* Visually Hidden für Screenreader */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Popup-Grundstruktur */
.nav-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  visibility: hidden;
  background-color: rgba(0,0,0,0.5);
}

.nav-popup.visible {
  visibility: visible;
  animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
  from {

    opacity: 0;
  }
  to {

    opacity: 1;
  }
}

.nav-popup-content {
  background-color: white;
  border-radius: 30px;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  width: 95%;
  height: 95%;
  text-align: left;
  font-size: clamp(20px, 2.5vw, 29px);
}

.nav-popup-content a,
.nav-popup-content button {
  text-decoration: none!important;
  background: none;
  border: none;
  color: black;
  display: block;
  font-size: clamp(20px, 2.5vw, 29px);
  text-align: left;
  padding: 0;
}

.nav-popup-close {
  width: 100%;
  background-color: #f9f9f9;
  text-align: center;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.nav-popup-links {
    margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-popup-links a, .nav-popup-links button {
padding: 10px;
text-align: center;
}

.nav-popup-action {
    display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-popup-action a {
  width: 100%;
  position: absolute;
  bottom: 0;
  padding: 20px;
  background-color: #b7dba1;
  transition: background-color 0.3s;
  color: rgb(0, 0, 0);
  font-size: clamp(20px, 2.5vw, 29px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-popup-action img {
  max-width: 30px;
  margin-right: 10px;
}

.nav-popup-action:hover {
  background-color: #ffffff;
}

div.button-nav {
    display: flex;
    gap: 20px;
}

.primary {
    border: 0;
    background-color: #b7dba1;
    padding: 7px 12px;
    margin: 4px 0 0 0;
    border-radius: 0;
    font-size: clamp(16px, 2.5vw, 20px)!important;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s, margin 0.3s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.primary img {
    max-width: clamp(20px, 2.5vw, 25px)!important;
}

.primary:hover {
    margin: 0 0 4px 0;
    background-color: #cfebbe;
    color: black!important;
    box-shadow: 2px 2px 20px rgba(129, 129, 129, 0.1);
}

.secondary {
    border-bottom: 1px solid #4c7c2e;
    background-color: #ffffff;
    color: #4c7c2e;
    padding: 8px 0 4px 0;
    font-size: clamp(16px, 2.5vw, 20px)!important;
    margin-top: 20px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    flex-wrap: nowrap;
    transition: padding 0.3s;
}

.secondary:hover {
    padding: 4px 0 8px 0;
}

.secondary img {
    max-width: clamp(18px, 2.5vw, 23px)!important;
}

.wpforms-field-label, .wpforms-field-medium, .wpforms-field-large, .wpforms-field-date-time-time, .wpforms-field-date-time-date {
    font-size: clamp(16px, 2.5vw, 20px)!important;
    color: #000000 !important;
    font-weight: 400!important;
    line-height: 1.6!important;
}

.wpforms-field-medium:focus, .wpforms-field-large:focus, select:focus, option:focus {
    border: 1px solid #000000!important;
    box-shadow: none!important;
}

.wpforms-submit {
    color: #000000!important;
    background-color: #b7dba1!important;
    border: 2px solid #b7dba1!important;
    padding: 15px 25px!important;
    border-radius: 0!important;
    font-size: clamp(16px, 2.5vw, 20px)!important;
    margin-top: 20px!important;
    cursor: pointer!important;
    text-decoration: none!important;
    transition: background-color 0.3s!important;
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    outline: none!important;
}

select:hover, option:hover {
    border: 1px solid #000000!important;
    background-color: #ffffff!important;
    box-shadow: none!important;
}

.wpforms-submit:focus {
    outline: none!important;
}

.wpforms-confirmation-container-full {
    color: #000000!important;
    background-color: #e2f0d9!important;
}

.et_pb_button {
    text-decoration: none;
}

.et_pb_row {
    width: 90%;
    margin: 0 auto;
    max-width: 1400px;
}

.ueber-uns img {
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
}

.autor {
    display: flex;
    justify-content: left;
}

.autor .left {
    width: 30%;
    max-width: 200px;
    margin: 0 40px 0 0;
}

.autor img {

    border-radius: 100px;
}

* {
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.6;
    font-family: 'Lora';
    font-weight: 350;
}

p, li, h5 {
    font-size: clamp(16px, 2.5vw, 20px);
    color: #000000 !important;
    line-height: 1.6;
    font-family: 'Lora'!important;
}

li {
    padding: 5px 0;
}

a {
    font-size: clamp(16px, 2.5vw, 20px);
    color: #000000;
    line-height: 1.6;
}

.wp-block-list {
    font-size: clamp(16px, 2.5vw, 20px);
    color: #000000 !important;
    line-height: 1.6;
}

.wp-block-list li {
    margin: 10px 0;
}

h1 {
    font-size: clamp(27px, 4vw, 35px)!important;
    color: #000000 !important;
    line-height: 1.3;
    font-weight: 500;
    font-family: 'Lora'!important;
}

h1.big {
    font-size: clamp(40px, 6vw, 74px)!important;
}

h2 {
    font-size: clamp(28px, 5vw, 40px)!important;
    color: #000000 !important;
    line-height: 1.3;
    font-weight: 100;
    font-family: 'Lora'!important;
}

.entry-title a {
    font-size: clamp(24px, 4vw, 32px);
    color: #000000 !important;
    line-height: 1.9;
}

h3 {
    font-size: clamp(24px, 4vw, 32px)!important;
    color: #000000 !important;
    line-height: 1.4;
    font-weight: 100;
    font-family: 'Lora'!important;
}

h4 {
    font-size: clamp(20px, 3vw, 28px)!important;
    color: #000000 !important;
    font-weight: 100;
    font-family: 'Lora'!important;
}

.schatten {
    box-shadow: 2px 2px 20px rgba(129, 129, 129, 0.1);
}

.leistungen {
    display: flex;
    flex-wrap: wrap; /* Elemente dürfen umbrechen */
    gap: 20px; /* Abstand zwischen den Elementen */
    justify-content: center; /* Gleichmäßige Verteilung */
}

.leistungen a {
    flex: 1 1 calc(25% - 20px); /* Drei Elemente pro Zeile inkl. Lücke */
    max-width: calc(25% - 20px); /* Sicherstellen, dass nicht mehr Platz verwendet wird */
    min-width: 250px; /* Mindestbreite für kleine Bildschirme */
    box-shadow: 2px 2px 20px rgba(129, 129, 129, 0.1);
    border-radius: 5px;
    border: 1px solid #e5e5e5;
}

.leistungen a:hover {
    box-shadow: 2px 2px 20px rgba(129, 129, 129, 0.2);
}

@media (max-width: 900px) {
    .leistungen a {
        flex: 1 1 calc(50% - 20px); /* Zwei Elemente pro Zeile */
    }
}

@media (max-width: 600px) {
    .leistungen {
        justify-content: center;
    }
    .leistungen a {
        flex: 1 1 100%; /* Ein Element pro Zeile */
    }
}

.leistung-oben {
    background-color: rgb(249, 249, 249);
    background: radial-gradient(circle, rgba(255,255,255,1) 20%, rgba(249, 249, 249,1) 80%);
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px 5px 0 0;
    transition: background 0.3s;
}

.leistung-oben img {
    transition: transform 0.3s ease;
  }
  
  .leistung:hover .leistung-oben img {
    transform: scale(1.1);
  }

.leistung-unten {
    background-color: rgb(226, 240, 217);
    text-align: center;
    padding: 5px;
    border-radius: 0 0 5px 5px;
}

.leistung img {
    width: 70px;
}


div.komponenten img {
    width: 18px;
    border-radius: 0!important;
    margin: 0 7px 0 0;
}

div.komponenten img:first-child {
    margin-left: 0;
}

div.komponenten {
    margin: -20px 0 -10px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

div.komponenten-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid #e5e5e5;
    padding: 3px 10px;
}

div.features p {
    margin-bottom: -10px;
}

p img {
    width: 23px;
    margin-right: 10px;
    vertical-align: -3px;
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.title-arrow {
    animation: floating 2s ease-in-out infinite;
}

a {
    text-decoration: underline 1px dotted;
}

footer a {
    transition: color 0.3s;
}

footer a:hover {
    color: #164285;
}

.platform-grid {
  display: flex;
  flex-wrap: wrap;
justify-content: space-between;
   gap: 30px;/* Abstand zwischen den Cards */
}

.platform-card {
  width: 48%;
  border: 1px solid #e5e5e5!important;
  border-radius: 30px;
    margin-bottom: 10px;
}
@media (max-width: 900px) {
    .platform-card {
        width: 100%;
    }
}

.platform-card h3 {
    background-color: #eaf5e4;
    padding: 10px 20px;
    border-radius: 30px 30px 0 0;
}

.platform-card ul {
    list-style-type: none;
    margin-left: -13px;
}

.platform-card ul li:nth-child(even) {
    background-color: #f9f9f9;
      font-size: clamp(14px, 2vw, 18px);
      padding: 5px 7px 5px 17px;
}

.platform-card ul li:nth-child(odd) {
      font-size: clamp(14px, 2vw, 18px);
      padding: 5px 7px 5px 17px;
}

.statistik {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}



.statistik .box {
    text-align: center;
    min-width: 300px;
}

.statistik img {
    margin-top: 10px;
    width: 20px;
    height: auto;
}

.statistik .box .top {
    padding-bottom: 12px;
}

.statistik .box .bottom {
    border-top: 1px solid #000000;
    padding: 20px 40px 0 40px;
}

.statistik .box .top p {
    font-size: clamp(28px, 5vw, 40px)!important;
    color: #000000 !important;
    line-height: 1.3;
    font-weight: 100;
    font-family: 'Lora'!important;
} 

.statistik .box .bottom p {
    color: #000000 !important;
    line-height: 1.3;
    font-weight: 100;
    font-family: 'Lora'!important;
} 

@media (max-width: 1100px) {
    .statistik {
        flex-direction: column;
        gap: 30px;
    }

    .statistik .box {
        width: 300px;
    }

    .statistik img {
        display: none;
    }

    .statistik .box .bottom {
    border-top: none;
    padding: 0px 40px 30px 40px;
    border-bottom: 1px solid #e5e5e5;
}
    .statistik .box:last-child .bottom {
    border-top: none;
    padding: 0px 40px 30px 40px;
    border-bottom: none;
}
}

.faq-accordion {
  border-top: 1px solid #ddd;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 0;
  font-family: inherit;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:focus-visible {
  outline: 2px solid white !important;
  box-shadow: 0 0 0 4px black !important;
}

.faq-icon {
  transition: transform 0.3s ease;
  display: inline-block;
  width: clamp(20px, 3vw, 30px) !important;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  opacity: 0;
  max-height: 0;
  padding: 0 0;
  transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
}

.faq-answer.open {
  opacity: 1;
  padding: 10px 0 30px 0;
}

