/* RESET */
/* encode-sans-expanded-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Encode Sans Expanded';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/encode-sans-expanded-v12-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* encode-sans-expanded-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Encode Sans Expanded';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/encode-sans-expanded-v12-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root{
  --footer-h: 300px;     /* Höhe des Footerbands (ggf. anpassen) */
  --reveal-at: 10px;     /* ab wieviel Scroll der Footer erscheint */
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: "Encode Sans Expanded", sans-serif;
  background: #ffffff;
  color: #1a1a1a;
}

/* HERO */
.hero {
  position: fixed;
  top:0;
   right:0;
    bottom:0;
     left:0;          
  overflow: hidden;
  background: #fff;
}

/* LILA KREIS */
/*.hero-circle {
  position: absolute;
  top: -40vw;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 120vw;
  background: #B88BFF;
  border-radius: 50%;
}
.hero-circle-wrap {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1600px;
  height: 645px;
  overflow: hidden;

  z-index: 2;
}


.hero-circle-svg {
  display: block;
  width: 100%;
  height: 1180px;
  transform: translateY(-535px);
  will-change: transform;
}*/

.scroll-spacer{
  height: calc(100vh + var(--footer-h));
}

/* CONTENT */
.hero-content {
  position: relative;
  min-height: 100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
    align-items: flex-end;
  /*  padding: 0 20px;*/

  z-index: 3; /* über Kreis */
  width: min(90vw, 1170px);
  margin: 0 auto;
  width: 50%;
  float: left;



      position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.hero-content.right {
align-items: flex-start;
    right: 0;
    left: auto;
    z-index: 8;
}

/* TYPO */
.hero-title {
  position: relative;
  z-index: 4; 
  margin-bottom: 200px;
  text-align: center;
}

.hero-title--svg img {
  display: block;
  width: min(90vw, 1170px);   /* 🔴 Breite anpassen nach Geschmack */
  height: auto;
  margin: 0 auto;
  position: relative;
  z-index: 4;
}

.hero-title--svg,
.mail-button{
  position: relative;
  z-index: 4;
}

.hero-title--svg {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
}

.hero-title--svg .nadi {
  width: 322px;
      margin-right: 15px;
}

.hero-title--svg .neuber {
  width: 588px;
}

.hero-subtitle-layer{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  z-index: 1; /* unter Kreis */
  pointer-events: none;
}


.hero-subtitle {
  margin-top: -20px;

}

.hero-subtitle img {
width: 360px;
}
.hero-text {
  font-size: 26px;
  font-weight: 300;
  line-height: 35px;
  color: #5f5f5f;
    margin-bottom: 170px;

}

.hero-text strong {
  font-weight: 500;
  color: #000;
}

/* MAIL BUTTON */
.mail-button {
  position: relative;
  z-index: 4;
  display: inline-block;
  padding: 14px 36px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  transition: transform .2s ease, box-shadow .2s ease;
}

/*.mail-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}*/

.mail-button--content {
  bottom: 143px;
  position: absolute;
}



/* FOOTER */
.footer {
      position: absolute;
    /* height: 110vw; */
    top: 0;
  left: 0;
  right: 0;

  z-index: 5;

}

.background-img {

}

.background-img img {
    max-height: 100vh;
    width: auto;
}

.footer-innerabove {
    width: 50%;
    margin: -70px 0 0 50%;
    text-align: left;
}

.footer-inner {
  background: #B55A3E;
  min-height: 100px;
  position: relative;
  padding-bottom: 35px;
}


.footer-inner-inner {
  width: min(1200px, 90%);
  margin: auto;
display: flex;
    justify-content: space-between;
    /* justify-content: flex-start; */
    align-items: center;
}
.home .footer-inner-inner {
    width: min(1200px, 90%);
    margin: auto;
    display: flex;
    justify-content: space-between;
    /* justify-content: flex-start; */
    align-items: flex-start;
    flex-direction: column;
}

.impdatenschutz a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
}

.impdatenschutz a:hover {
    color: #000;
}

body.footer-visible .footer{
  transform: translateY(0);
}

/* FOOTER BUTTON */

/* BDIA */
.footer-logo {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
}

.bdia {
  margin: 25px;
}

.bdia img {
  width: 250px;
 
}

.desktop {
  display: flex;
}
.mobile {
  display: none;
}

.content-impdat {
    max-width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px 50px 30px;
}

.content-impdat .headline {
  margin-bottom: 30px;
}

.content-impdat h1, .content-impdat h2, .content-impdat h3 {
  margin: 15px 0 10px 0;
}

.content-impdat .text a {
  color: #1a1a1a;
  text-decoration: none;
}


@media (max-width: 992px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: flex;
  }
  .background-img img {
       max-width: 100%;
       max-height: auto;
  }
  .hero-content {
    width: 100%;
    justify-content: flex-start;
    z-index: 7;
    position: relative;
    min-height: auto;
  }

  .hero-content.mobile .nadi {

        width: 80%;
        margin: 150px auto 0 auto;
  }
  .footer-innerabove {
    width: 100%;
    margin: 0px 0 0 0%;
    text-align: left;
  }

  .footer-innerabove {
    /*height: calc(100vh + var(--footer-h));*/
    bottom: var(--footer-h);
  }
  .scroll-spacer {
    height: 0px;
  }
  .hero-text {
            font-size: 18px;
        line-height: 25px;
        margin: 0 auto 50px auto;
        text-align: left;
        width: fit-content;
  }
  .footer-mail a {
    margin: 0 auto;
  }

}