
/* open-sans-300 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/open-sans-v44-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/open-sans-v44-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-600 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v44-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v44-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




/* ===== BASIC ===== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {  
  --color-gold: #c79b43;
  --color-blau: #101c3f;
}

figure {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans';
  font-weight: 400;
  color: #222;
  background-color: #fff; 
}

.mobileonly {
  display: none;
}
.desktoponly {
  display: block;
}

.ausblenden {
  display: none;
}


.bg-gold {
  background: var(--color-gold);
}

.bg-blau {
  background: var(--color-blau);
}


p {
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.55;
}

h1,
h2,
h2,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1 {
  
  font-size: clamp(34px, 5.2vw, 70px);
    color: var(--color-blau);
    line-height: 1.05;
  font-weight: 400;
}

h2 {
 
  margin-top: 8px;
    font-size: clamp(18px, 2.2vw, 28px);
    color: var(--color-gold);
    font-weight: 600;
}

h3 {
  
  font-size: 50px;  
  font-weight: 500;
}

.subtitel {
  margin-bottom: -10px;
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.2;
  font-weight: 500;
  color: var(--color-blau);
}

.text-klein {
 font-size: 20px;
  line-height: 25px;
  font-weight: 400;
}


.trennlinie {
  display: block;
  max-width: 100%;
  margin: 50px auto 0 auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(199, 155, 67, 0.25), rgba(199, 155, 67, 0.95), rgba(199, 155, 67, 0.25));
  border: 0;
  box-shadow:
    0 1px 0 rgba(199, 155, 67, 0.7),
    0 8px 16px rgba(199, 155, 67, 0.35),
    0 16px 28px rgba(199, 155, 67, 0.2);
}

.abstand-20 {
  display: block;
  height: 20px;
}

.abstand-50 {
  display: block;
  height: 50px;
}

.abstand-80 {
  display: block;
  height: 80px;
}

a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  color: inherit;
}

/* --- fadein bei scroll --- */
.fade {
  opacity: 0;
  transform: translateY(50px);
  transition:
    transform 0.8s ease,
    opacity 0.8s ease;
}

.fade_in {
  opacity: 1;
  transform: translateY(0);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: opacity 0.5s ease;
}



.nav-shadow-line {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: 10px;
  opacity: 0;
  transition: opacity 0.7s ease;
  z-index: 990;
  pointer-events: none;

  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.15),
      rgba(0, 0, 0, 0.04),
      transparent
  );
}


.navbar.hidden {
  opacity: 0;
  pointer-events: none;
}

.nav-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.logo {
 
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  display: block;
  max-height: 72px;
  width: auto;
}

/* DESKTOP MENU */
.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-center-logo {
  display: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav-center-logo img {
  display: block;
  width: clamp(220px, 30vw, 280px);
  max-width: 100%;
  height: auto;
}

.nav-link {
  color: #222;
  font-size: 19px;
  text-decoration: none;
  position: relative;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.7;
}

/* UNDERLINE */
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0%;
  height: 1px;
  background: #222;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
}

/* STARTSEITE INTRO ABLAUF */
.home-intro {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  animation: homeIntroFadeIn 0.9s ease forwards;
}

.home-intro img {
  width: min(85vw, 560px);
  height: auto;
}

.home-intro.move-out {
  animation: homeIntroMoveOut 1.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}


.name-logo-wrap {
  padding-top: 110px;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  max-height: 260px;
  overflow: hidden;
  transition: opacity 0.45s ease, transform 0.45s ease, max-height 0.45s ease, padding-top 0.45s ease;
}

.name-logo-wrap img {
  width: min(50vw, 360px);
  height: auto;
}

.home-banner {
  width: 100%;
  max-width: 100%;
  max-height: 180px;
  margin-top: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  overflow: hidden;
}

.home-banner img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover; 
}

.banner-vonrechts {
  object-position: right;
}

.banner-vonrlinks {
  object-position: left;
}


/* CONTENT */

.textbox {
  width: 100%;
  max-width: 1000px;
 }

.home-content {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.boxed-content {
  width: min(1400px, calc(100% - 80px));
  margin-left: auto;
  margin-right: auto;
}

.home-content {
  padding-bottom: 80px;
}

.home-main-intro,
.home-main-details {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 46px;
  align-items: center;
  border: 1px solid rgba(16, 28, 63, 0.16);
  padding: 34px;
  background: linear-gradient(to bottom right, rgba(16, 28, 63, 0.02), rgba(199, 155, 67, 0.03));
}

.home-main-intro {
  margin-top: 80px;
}

.home-main-details {
  margin-top: 36px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.home-main-intro-text,
.home-main-details-text {
  position: relative;
}

.home-main-intro h1 {
  font-size: clamp(34px, 5.2vw, 70px);
  color: var(--color-blau);
  line-height: 1.05;
}

.home-main-intro h2 {
  margin-top: 8px;
  font-size: clamp(18px, 2.2vw, 28px);
  color: var(--color-gold);
  font-weight: 600;
}

.home-claim {
  margin-top: 16px;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.2;
  color: var(--color-blau);
  border-top: 1px solid rgba(199, 155, 67, 0.5);
  border-bottom: 1px solid rgba(199, 155, 67, 0.5);
  padding: 12px 0;
}

.home-welcome {
  margin-top: 18px;
  margin-bottom: 1px;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.55;
  font-weight: 600;
  color: var(--color-blau);
}

.home-copy,
.home-main-details-text p {
  margin-top: 18px;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.55;
}

.home-main-details-text .home-claim {
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.2;
}


.home-welcome + .home-copy {
  margin-top: 6px;
}

.home-main-details-text p + p {
  margin-top: 20px;
}

.kosten-flaeche {
  grid-column: 1 / -1;
  margin: 20px;
  padding: 20px;
  border: 1px solid rgba(16, 28, 63, 0.16);
  background: linear-gradient(135deg, rgba(16, 28, 63, 0.05), rgba(199, 155, 67, 0.09));
}

.kosten-flaeche .home-claim {
  margin-top: 0;
}

.kosten-flaeche .home-copy {
  margin-top: 12px;
}

.benefit-list {
  margin: 10px 0 0 0;
  padding-left: 1.2em;
}

.benefit-list li {
  margin-bottom: 6px;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
}

.benefit-list li::marker {
  color: var(--color-gold);
}

.home-main-intro-image,
.home-main-details-image {
  margin: 0;
  width: 80%;
  justify-self: center;
}

.home-main-intro-image img,
.home-main-details-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(16, 28, 63, 0.24);
  box-shadow: 0 10px 28px rgba(16, 28, 63, 0.1);
}

.nav-shadow-line.show,
.name-logo-wrap.show,
.home-banner.show,
.home-content.show {
  opacity: 1;
}

.name-logo-wrap.show,
.home-banner.show {
  transform: translateY(0);
}

@keyframes homeIntroFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes homeIntroMoveOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-92vh);
  }
}

/* HAMBURGER BUTTON */
.menu-toggle {
  position: relative;
  width: 36px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #222;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.menu-toggle:hover {
  opacity: 0.7;
}

.menu-toggle .menu-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: #222;
  transform-origin: center;
  transition: transform 0.42s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.25s ease;
}

.menu-toggle .menu-bar:nth-child(1) {
  top: 2px;
}

.menu-toggle .menu-bar:nth-child(2) {
  top: 12px;
}

.menu-toggle .menu-bar:nth-child(3) {
  top: 22px;
}

.menu-toggle.active .menu-bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active .menu-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.3);
}

.menu-toggle.active .menu-bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 80px;
  right: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background: #fff;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;

  transform: translateX(100%);
  opacity: 0;

  transition:
    transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),
    opacity 0.4s ease;

  pointer-events: none;
}

.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu .nav-link {
  font-size: 32px;
  opacity: 0;
  transform: translateY(20px);
}

/* STAGGER */
.mobile-menu.active .nav-link {
  animation: fadeUp 0.5s ease forwards;
}

.mobile-menu.active .nav-link:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-menu.active .nav-link:nth-child(2) {
  animation-delay: 0.2s;
}

.mobile-menu.active .nav-link:nth-child(3) {
  animation-delay: 0.3s;
}

.mobile-menu.active .nav-link:nth-child(4) {
  animation-delay: 0.4s;
}

.mobile-menu.active .nav-link:nth-child(5) {
  animation-delay: 0.5s;
}

.mobile-menu.active .nav-link:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}









/* COOKIE BAR */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-gold);
  color: white;
  min-height: 70px;
  z-index: 1500;

  opacity: 1;
  transition: opacity 0.4s ease;
}

/* hidden state */
.cookie-bar.hidden {
  opacity: 0;
  pointer-events: none;
}

/* inner layout */
.cookie-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

/* text */
.cookie-text {
  font-size: 20px;
  line-height: 25px;
  font-weight: 400;
  padding: 10px 20px;
}

/* button */
.cookie-btn {
  background: var(--color-blau);
  color: #fff;
  border: none;
  padding: 14px;
  margin: 4px;
  cursor: pointer;
  font-weight: 400;
  font-size: 30px;  

  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.cookie-btn:hover {
  opacity: 0.4;
}




/* ===== CONTENT ===== */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 12px 26px;
  background: #fcfb72;
  color: #000;
  text-decoration: none;
  font-size: 29px;
  font-weight: 400;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta:hover {
  background: #e5e44f;
}

/* ===== FOOTER ===== */

.footer {
 
  padding: 20px 0;
  color: #222;
 /*  border: 1px solid rgba(16, 28, 63, 0.2);
  background: linear-gradient(135deg, rgba(16, 28, 63, 0.06), rgba(199, 155, 67, 0.1)); */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}

.footer-text {
  font-size: 20px; 
  line-height: 25px; 
}

.footer-email a {
  font-family: SlokeRegular;
  font-size: clamp(40px, 8vw, 150px);
  font-weight: 500;
  text-decoration: none;  
  color: #222;
 display: block;
  padding: 100px 0 10px 0;
}

.footer-email a::after {
  content: "";
  display: inline-block;
  width: clamp(30px, 6vw, 120px);
  height: clamp(30px, 6vw, 120px);
  background-image: url("../img/pfeil-violett.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 20px;
  vertical-align: baseline;
}

.footer-email {white-space: nowrap;}

/* Impressum & Datenschutz */
.footer-navi {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-navi a {
  text-decoration: none;
  color: #222;
  font-size: 16px;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

/* UNDERLINE */
.footer-navi a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0%;
  height: 1px;
  background: #222;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.footer-navi a:hover::after {
  width: 100%;
}





/* =========================
   RESPONSIVE
========================= */

/* Tablet */
@media (max-width: 800px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
  }

  .logo img {
    max-height: 58px;
  }

  .nav-center-logo {
    display: flex;
    justify-content: center;
    min-width: 0;
    opacity: 1;
  }

  .menu-toggle {
    justify-self: end;
  }

  .name-logo-wrap {
    opacity: 0;
    transform: translateY(-12px);
    max-height: 0;
    padding-top: 0;
    pointer-events: none;
  }

  .home-banner {
    margin-top: 88px;
  }

  .home-main-intro,
  .home-main-details {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px;
  }

  .home-main-intro-image,
  .home-main-details-image {
    order: -1;
    width: 100%;
  }

  .home-main-intro-image img,
  .home-main-details-image img {
    height: auto;
  }

h1 { 
  font-size: clamp(50px, 8vw, 80px);
  font-weight: 400;
}
h3 {
  
  font-size: 30px;  
  font-weight: 500;
}


/* COOKIE BAR */
.cookie-bar {
  
  min-height: 50px;
  
}


/* text */
.cookie-text {
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  padding: 10px;
}

/* button */
.cookie-btn {
  
  padding: 14px;
  margin: 4px;
 
  font-size: 20px;  

  
}

}

/* Mobile */
@media (max-width: 680px) {

  .boxed-content {
    width: min(1400px, calc(100% - 52px));
 
  }
 

.trennlinie {
  
  margin: 80px auto 0 auto;
  
}
  .abstand-50 {
    height: 30px;
  }

  .abstand-80 {
    height: 50px;
  }
}



