/*
 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;
}*/

html {
  font-size: 16px;
}

.en, .de {
  display: none !important;
}

body.lang-de .de {
  display: inline !important; /* oder block, wenn du willst */
}

body.lang-en .en {
  display: inline !important;
}

@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: 'Oswald Regular';
  src: url('fonts/Oswald-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Oswald Bold';
  src: url('fonts/Oswald-SemiBold.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: 80px !important;
    margin-top: 0 !important;
  }
}

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

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

.has-outline {
  outline: 1px solid white;
  outline-offset: -7px;
  z-index: 2;
}

.et_pb_equal_columns>.et_pb_column {
  min-height: 100% !important;
}

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

.header-background.scrolled {
  background-color: white;
}

/* RESPONSIVE */
@media only screen and (max-width: 1250px) {
  div.nav-desktop {
    display: none;
  }

  div.nav-mobile {
    width: 100%;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
  }
}

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

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

.skip-link {
  position: absolute;
  /* aus dem Layout nehmen */
  left: -10000px;
  /* weit außerhalb des Viewports */
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  /* neuere Variante zu clip */
  white-space: nowrap;
  /* Einzeilige Darstellung */
}

/* … und nur auf Tastaturfokus anzeigen */
.skip-link:focus,
.skip-link:focus-visible {
  position: absolute;
  /* an fixe Stelle bringen */
  left: 0;
  top: 0;
  /* ggf. mit margin-top bei fixed Header verschieben */
  width: auto;
  height: auto;
  color: #262626;
  text-decoration: none;
  clip-path: none;
  /* zeigt das Element wieder an */
  z-index: 1000;
  /* überlagert alles */
}

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

.nav-desktop-left {
  width: 25%;
  display: flex;
  justify-content: left;
}

.nav-desktop-middle {
  width: 50%;

  justify-content: center;
  gap: 10px;
}

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

.nav-desktop-left img {
  margin-top: 5px;
  max-width: 250px;
}

.nav-desktop-middle a {
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  transition: padding 0.3s;
  display: inline-flex;
  align-items: center;
  color: #26764b!important;
  gap: 7px;
  font-size: clamp(1em, 1.1vw, 1.2em);
}

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

.nav-desktop-right a img {
}

/* 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 #b3b3b3;
  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);
}

@media (hover: hover) {
  .nav-desktop .nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

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

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

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

.submenu a img {
  width: 22px;
}

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

.nav-mobile-left img {
  width: 250px;
}

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

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

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

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

/* 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: #0c2112;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  justify-content: center;
  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: white!important;
  display: block;
  font-size: clamp(20px, 2.5vw, 29px);
  text-align: left;
  padding: 0;
}

.nav-popup-close {
  width: 100%;
  border-bottom: 1px solid #6b9647;
  background-color: #0c2112;

  text-align: center;
  display: flex;
  justify-content: center;
  padding: 20px;
}

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

.nav-popup-links a,
.nav-popup-links button {
  padding: 10px;
  color: white!important;
  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: #cda952;
  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: #26764b;
  color: #ffffff;
  padding: 4px 15px;
  margin: 4px 0 0 0;
  border-radius: 5px;
  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;
  margin-right: -5px;
}

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

.secondary {
  border-bottom: 1px solid #262626;
  color: #262626;
  padding: 8px 0 4px 0;
  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;
}

.tertiary {
  border: 0;
  background-color: #26764b;
  color: #ffffff;
  padding: 4px 15px;
  margin: 4px 0 0 0;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s, margin 0.3s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

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

.tertiary:hover {
  margin: 0 0 4px 0;
  background-color: #3b9665;
  box-shadow: 2px 2px 20px rgba(129, 129, 129, 0.1);
}

.wpforms-field-label,
.wpforms-field-medium,
.wpforms-field-large,
.wpforms-field-date-time-time,
.wpforms-field-date-time-date,
.wpforms-field-name-first,
.wpforms-field-name-last {
  color: #262626 !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  border-radius: 0 !important;
  
}

input[type="text"], textarea {
  border: 1px solid #b3b3b3!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: #262626 !important;
  background-color: #26764b!important;
  color: #ffffff!important;
  border-radius: 5px !important;
  padding: 4px 15px!important;
  margin: 4px 0 0 0!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;
}

.wpforms-submit:hover {
  margin: 0 0 4px 0!important;
  background-color: #3b9665!important;
  box-shadow: 2px 2px 20px rgba(129, 129, 129, 0.1)!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;
}
* {

  line-height: 1.6;
  font-family: 'Oswald Regular';
  font-size: clamp(1em, 1vw, 1.7em);
}

p,
li,
h5 {
  font-size: clamp(1em, 1vw, 1.7em);
  color: #262626 !important;
  line-height: 1.6;
  font-family: 'Oswald Regular' !important;
  margin-bottom: 0!important;
}

p.slogan {
  font-size: clamp(1em, 1vw, 1.8em);
  color: #ffffff !important;
}

li {
  padding: 0.3125em 0;
}

a {
  font-size: inherit;
  color: #262626;
  line-height: 1.6;
  text-decoration: underline 1px dotted;
  font-size: clamp(1em, 1vw, 1.7em) !important;
}

h1 {
  font-size: clamp(1.5em, 4vw, 2.0em) !important;
  color: #26764b !important;
  line-height: 1.3;
  font-family: 'Oswald Bold' !important;
}

h1.big {
  font-size: clamp(2.0em, 5vw, 3.625em) !important;
  color: #fff !important;
  text-align: center;
  
}

h2 {
  font-size: clamp(1.75em, 5vw, 2.2em) !important;
  color: #262626 !important;
  line-height: 1.5;
  font-weight: 100;
  font-family: 'Oswald Bold' !important;
}

legal h2 {
  font-size: clamp(1.75em, 5vw, 2.5em) !important;
}

.entry-title a {
  font-size: clamp(1.5em, 2vw, 1.5em);
  color: #262626 !important;
  line-height: 1.9;
}

h3 {
  font-size: clamp(1.5em, 2vw, 2em) !important;
  color: #262626 !important;
  line-height: 1.4;
  font-family: 'Oswald Bold' !important;
}

h4 {
  font-size: clamp(1.25em, 3vw, 1.75em) !important;
  color: #262626 !important;
  font-weight: 100;
  line-height: 1.4;
  font-family: 'Oswald Regular' !important;
}

p img {
  width: 1.4375em;
  margin-right: 0.625em;
  vertical-align: -0.1875em;
}

@keyframes floating {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.625em);
  }

  100% {
    transform: translateY(0);
  }
}

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

footer a {
  transition: color 0.3s;
}

footer a:hover {
  color: #057d3f;
}

.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 0 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;
  margin-top: -10px;
  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;
  max-height: 500px;
}

/* global verhindern, dass man überhaupt horizontal wischen kann */
html,
body {
  margin: 0;
  overflow-x: hidden;
}

/* der <section>-Rahmen darf overflow:hidden haben – */
/*   Hauptsache NICHT das sticky-Element selbst       */
.horizontal-section {
  position: relative;
  overflow: hidden;
  /* hier ist es erlaubt  */
}

/* 99 % der mobilen Sticky-Bugs verschwinden,       */
/* sobald das sticky-Element KEIN overflow hat!     */
.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  /* overflow: hidden  <-  NICHT setzen! */
}

.horizontal-inner {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.horizontal-inner .item {
  flex: 0 0 auto;
  max-width: 400px;
  /* feste Breite zum Erzwingen der Überbreite */
  margin-right: 20px;
  text-align: center;
}

@media only screen and (max-width: 1800px) {
  .horizontal-inner {
    margin-top: 150px;
  }

  .horizontal-inner .item {
    max-width: 300px;
  }
}

@media only screen and (max-width: 900px) {
  .horizontal-inner {
    margin-top: 15vh;
  }

  .horizontal-inner .item {
    max-width: 320px;
  }
}

.horizontal-inner .item p {
  margin-top: 20px;
  text-align: left;
}

.horizontal-inner .item p.bold {
  font-weight: 900;
  margin-top: 30px;
}

.horizontal-inner .item img {
  max-width: 100%;
  height: auto;
  max-height: 600px;
  display: block;
  margin: 0 auto 10px;
  border-radius: 5px;
}

p.position {
  color: #7a5d14 !important;
}

.kontaktdaten {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.kontaktdaten a {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  background-color: #f0dfb3;
  border-radius: 50px;
  padding: 1px 15px;
  transition: background-color 0.3s;
}

.kontaktdaten a:hover {
  background-color: #e0c275;
}

.kontaktdaten a img {
  width: 25px;
}

@media only screen and (max-width: 900px) {
  #experten .et_pb_image_wrap {
    display: flex;
    justify-content: center;
  }
  #experten img {
    width: 60%;
    margin: 0 auto;
  }
  .kontaktdaten {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
  .kontaktdaten a img {
  width: 25px!important;
}
}

.role-blog {
  width: 100%!important;
  margin: 0!important;
  padding: 0!important;
}

.blog img {
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
}

img.blog-special {
  width: 100%!important;
  max-height: 1000px!important;
}

.et_pb_text_inner p {
  display: block;
  margin-bottom: 1em;
  line-height: 1.5;
  white-space: normal !important;
}
.et_pb_text_inner span {
  display: inline !important;
}

.wp-block-heading {
  margin-bottom: 30px;
}

.wp-block-image img {
  border-radius: 10px;
  margin: 30px 0;
}

.presse-liste-boxen {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .presse-liste-boxen {
        grid-template-columns: repeat(2, 1fr);
    }
}
.presse-item-box {
    position: relative;
    display: block;
    background-size: cover;
    background-position: center;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    border: 1px solid #b3b3b3;
    transition: transform 0.3s ease;
}

@media only screen and (max-width: 900px) {
  .presse-item-box {
    height: 250px;
  }
}

.presse-item-box:hover {
    transform: scale(1.02);
}

.presse-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 4px 10px 7px 10px;
    background: linear-gradient(to top, rgba(255,255,255,0.7) 70%, rgba(255,255,255,0.7) 90%);
}

.presse-overlay h2,
.presse-overlay h3,
.presse-overlay p {
    margin: 0 0 0 0;
}

.presse-overlay h2, h3 {
  font-size: clamp(1.3em, 1.5vw, 2em) !important;
}

.presse-overlay p {
  margin-top: -10px;
    font-size: 0.9em;
}

@media (max-width: 980px) {
    .et_pb_column .et_pb_row_inner, .et_pb_row {
        padding: 10px 0;
    }
}

.et_pb_post_content h2 {
    font-size: clamp(1.75em, 4vw, 1.8em) !important;
    margin-bottom: 10px!important;
}