/*
 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: 'Bellefair';
  src: url('fonts/Bellefair-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 {
  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: 30px;
}

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

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

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

.nav-desktop-middle 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 #f3db9d;
  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: black;
  text-decoration: none;
  border-bottom: 1px solid #f3db9d;
  transition: background-color 0.3s;
}

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

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

.submenu a img {
  width: 22px;
}

/* Struktur */
.nav-mobile-left {
  width: 30%;
  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: 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: #f2f0ec;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  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: black;
  display: block;
  font-size: clamp(20px, 2.5vw, 29px);
  text-align: left;
  padding: 0;
}

.nav-popup-close {
  width: 100%;
  border-bottom: 1px solid #CEAA52;
  background-color: #f2f0ec;
  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;
  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;
  border: 1px solid #ceaa52;
  background-color: #ceaa52;
  padding: 4px 15px;
  margin: 4px 0 0 0;
  border-radius: 50px;
  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: rgba(206, 170, 82, 0.6);
  color: black !important;
  box-shadow: 2px 2px 20px rgba(129, 129, 129, 0.1);
}

.more-link {
  display: block;
  max-width: 120px;
  text-align: center;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
  margin-bottom: -10px;
  text-decoration: none;
  background-color: #f0dfb3;
  border-radius: 50px;
  padding: 1px 15px;
  transition: background-color 0.3s;
}

.more-link:hover {
  background-color: #e0c275;
}

.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;
}

.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 {
  font-size: clamp(16px, 2.5vw, 20px) !important;
  color: #000000 !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  border-radius: 0 !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: #cda952 !important;
  border: 1px solid #cda952 !important;
  padding: 15px 25px 10px 25px !important;
  border-radius: 30px !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;
}
* {

  line-height: 1.6;
  font-family: 'Bellefair';
}

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

li {
  padding: 0.3125em 0;
}

a {
  font-size: inherit;
  color: #262626;
  line-height: 1.6;
  text-decoration: underline 1px dotted;
}

h1 {
  font-size: clamp(1.875em, 6vw, 2.75em) !important;
  color: #262626 !important;
  line-height: 1.3;
  font-family: 'Bellefair' !important;
}

h1.big {
  font-size: clamp(2.5em, 6vw, 4.625em) !important;
}

h2 {
  font-size: clamp(1.75em, 5vw, 2.5em) !important;
  color: #262626 !important;
  line-height: 1.3;
  font-weight: 100;
  font-family: 'Bellefair' !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: 'Bellefair' !important;
}

h4 {
  font-size: clamp(1.25em, 3vw, 1.75em) !important;
  color: #262626 !important;
  font-weight: 100;
  line-height: 1.4;
  font-family: 'Bellefair' !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: #cda952;
}

.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;
}

.language {}

.language-switcher {
  border: 1px solid #CEAA52;
  border-radius: 30px;
  outline: none;
  padding: 5px 15px 0 15px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  max-width: 100px;
  margin: 0 auto;

}

.language-switcher a {
  text-decoration: none;
  font-size: clamp(16px, 2.5vw, 16px);
}

.lang-separator {
  font-size: clamp(16px, 2.5vw, 16px);
  line-height: 1;
  color: #262626;
  user-select: none;
  position: relative;
  top: -2.7px;
  /* hebt den Punkt leicht an */
  border: none;
  padding: 0 5px;
}

.titelbilder-slider {
  position: relative;
  width: 100%;
  height: 100vh !important;
  overflow: hidden;
}

.titelbild {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh !important;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.titelbild.active {
  opacity: 1;
  z-index: 1;
}

hr {
  max-width: 70px;
  background-color: #CEAA52;
  border-style: none;
  height: 2px;
  margin-left: 0;
  text-align: left;
}

hr.alt {
  text-align: center;
  margin-left: auto;
}

.citation-left {
  border: 1px solid #CEAA52;
  min-height: 300px;
  border-left: none;
}

.citation-right {
  border: 1px solid #CEAA52;
  min-height: 300px;
  border-right: none;
}

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

.presse-liste {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .presse-item {
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: center;
    }
    .presse-bild {
        flex-shrink: 0;
    }
    .presse-bild img {
        width: 200px;
        height: auto;
        border-radius: 4px;
        object-fit: cover;
        display: block;
    }
    .presse-inhalt {
        flex: 1;
    }
    .presse-inhalt h3 {
        margin-top: 0;
    }
    .presse-button {
        display: inline-block;
        margin-top: 10px;
        padding: 8px 16px;
        background-color: #ae9962;
        color: #fff;
        text-decoration: none;
        border-radius: 4px;
    }
    .presse-button:hover {
        background-color: #8d7c4f;
    }

.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;
}