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

html {
  font-size: 16px; /* 1rem = 16px */
}

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

@font-face {
  font-family: 'Mulish';
  src: url('fonts/Mulish-Medium.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: #0d4761;
  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(18px, 2.5vw, 23px);
}

.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 #5de27c;
  background-color: #5de27c;
  padding: 4px 15px;
  margin: 4px 0 0 0;
  border-radius: 50px;
  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;
  margin-right: -5px;
}

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

.secondary {
  border-bottom: 1px solid #0d4761;
  color: #0d4761;
  padding: 8px 0 4px 0;
  font-size: clamp(16px, 2.5vw, 20px) !important;
  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: #0d4761 !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: #0d4761 !important;
  background-color: #5de27c !important;
  border: 1px solid #5de27c !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 #0d4761 !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
}

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

.wpforms-confirmation-container-full {
  color: #0d4761 !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: 'Mulish';
  font-weight: 350;
}

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

p.big {
  font-family: 'Agency'!important;
  color: white!important;
  font-size: clamp(28px, 5vw, 35px) !important;
}

p.big-2 {
  font-family: 'Agency'!important;
  color: white!important;
  font-size: clamp(28px, 5vw, 35px) !important;
  padding: 2px 25px 30px 25px;
  border-radius: 40px;
  background-color: rgba(70, 203, 179,0.5);
  display: inline;
}

 h2.alt {
  font-family: 'Agency'!important;
  color: white!important;
  font-size: clamp(28px, 5vw, 35px) !important;
  padding: 2px 25px 2px 25px;
  border-radius: 40px;
  background-color: rgba(70, 203, 179,0.5);
  display: inline;
}

li {
  padding: 5px 0;
}

a {
  font-size: clamp(16px, 2.5vw, 20px);
  color: #0d4761;
  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(30px, 6vw, 44px) !important;
  color: #0d4761 !important;
  line-height: 1.3;
  font-weight: 500;
  font-family: 'Mulish' !important;
}

h1.big {
  font-size: clamp(40px, 6vw, 64px) !important;
  font-family: 'Agency'!important;
  background: linear-gradient(to right, #cff2eb, #bdf8c9)!important;
  -webkit-background-clip: text!important;
  -webkit-text-fill-color: transparent!important;
}

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

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

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


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

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: #5de27c;
}

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

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

.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: #0d4761;
  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: #ceaa52 !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;
}
}