/*
 Theme Name:   GeneratePress Child
 Template:     generatepress
 Version:      1.0.0
*/

html {
  font-size: 16px;
    scroll-behavior: smooth;
}

.site {
  width: 100%!important;
}

.inner {
  padding-left: 10px;
  padding-right: 10px;
}

.wp-block-group__inner-container {
  padding: 0!important;
}

.entry-content .normal {
  max-width: 1600px;
  width: 90%;
  margin: 0 auto!important;
}

.reduced-width {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

.hero {
  background: radial-gradient(
    circle at 50% 100%,
    rgba(55, 147, 181,0.4) 0%,
    #ffffff 65%,
    #ffffff 70%,
    #ffffff 100%
  );
}

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

div.nav {
      position: fixed;
      width: 100%;
      z-index: 100;
      background-color: white;
}

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

  div.nav-mobile {
    padding: 5px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 5px;
  }
}

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

  div.nav-desktop {
    padding: 5px 0;
    display: flex;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    width: 100%;
    margin: 0 auto!important;
    z-index: 100;
  }
}

div.nav-desktop:hover {
  background-color: white;
}

.nav-desktop,
.nav-mobile {
  z-index: 9999;
}

/* Wenn versteckt → nach oben rausgeschoben */
.nav-hidden {
  transform: translateY(-140%);
}

.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 {
  background-color: white!important;
  position: absolute;
  /* an fixe Stelle bringen */
  left: 0;
  top: 0;
  /* ggf. mit margin-top bei fixed Header verschieben */
  width: auto;
  height: auto;
  color: #353535;
  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: 40%;
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
}

.nav-desktop-middle {
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
    gap: 10px;
}

.nav-desktop-right {
  width: 40%;
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
}

.nav-desktop-middle img {
  max-width: 170px;
  margin-bottom: -75px;
}

.nav-desktop-left a {
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  transition: padding 0.3s;
  font-family: 'Caudex-Regular';
  color: #161616;
  font-size: clamp(1em, 1.5vw, 2.7em);
  transition: color 0.3s ease;
}

.nav-desktop-left a:hover {
  color: #782616!important;
}

.nav-desktop-right a {
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  transition: padding 0.3s;
  font-family: 'Caudex-Regular';
  color: #161616;
  font-size: clamp(1em, 1.5vw, 2.7em);
  transition: color 0.3s ease;
}

.nav-desktop-right a:hover {
  color: #782616!important;
}

.nav-desktop-right div img {
  width: 40px;
  padding-top: 15px;
}

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

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

/* Struktur */
.nav-mobile-middle {
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -20px;
}

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

.nav-mobile-middle img {
  width: 180px;
  margin-bottom: -100px;
}

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

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

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

.primary {
background-color: transparent !important;
  background-image: linear-gradient(to right, #3a94b6 0%, #3a94b6 100%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left;
  transition: background-size 0.4s ease, color 0.3s ease;
    font-size: clamp(1em, 1vw, 1.7em);
  border: 1px solid #3a94b6;
  padding: 3px 7px 3px 3px!important;
  margin: 4px 0 0 0 !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  text-decoration: none !important;

  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 7px !important;

  color: #000 !important;

}

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

.primary:hover {
  background-size: 100% 100%;
  color: white !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 {
  background-color: #d8c5c2;
  color: #161616 !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: #d8c5c2 !important;
  background-color: #712314 !important;
  border: 1px solid #712314 !important;
  padding: 15px 25px 10px 25px !important;
  border-radius: 10px !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: 'SourceSans3';
}

p, h5, li {
  font-size: clamp(1em, 1.25vw, 1.4em)!important;
  color: #161616;
  line-height: 1.6;
  font-family: 'SourceSans3' !important;
  margin-bottom: 1.0em;
}


li {
  padding: 0.3125em 0;
}

a {
  color: #161616;
  line-height: 1.6;
}

a:hover {
  color: #161616!important;
}

h1 {
  font-size: clamp(1.85em, 4vw, 2.8em) !important;
  line-height: 1.3;
  font-family: 'Caudex-Regular' !important;
}

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

h2 {
  font-size: clamp(1.75em, 3vw, 2em) !important;
  line-height: 1.3;
  font-weight: 100;
  font-family: 'Caudex-Regular' !important;
}

h2.small {
    font-size: clamp(1em, 1vw, 1.7em) !important;
    text-decoration: none;
    padding: 2px 6px;
    margin: 0;
}

h3 {
  font-size: clamp(1.5em, 2vw, 1.85em) !important;
  color: #161616 !important;
  line-height: 1.4;
  font-family: 'SourceSans3' !important;
  display: flex;
  gap: 15px;
  align-items: center;
}

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

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

p.big {
    font-size: clamp(1.25em, 3vw, 2em) !important;
      font-family: 'SourceSans3' !important;
}

.site-footer p {
  margin: 0;
  padding-top: 5px;
    transition: color 0.3s ease;
}

.site-footer a {
font-size: clamp(0.8em, 0.7vw, 0.9em)!important;
  text-decoration: none!important;
}