    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }
    
    body {
      color: #111827;
      background: #f9fafb;
      line-height: 1.5;
    }

@font-face {
  font-family: 'Betterlett';
  src: url('fonts/Betterlett.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  
}



    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 5vw;
      background: rgba(249, 250, 251, 0.9);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid #e5e7eb;
      z-index: 9999;
    }

    header .logo {
     font-family: 'Betterlett';
     font-size: 300%;
    }

    header nav a {
      margin-left: 1.5rem;
      text-decoration: none;
      color: #4b5563;
      font-size: 0.95rem;
    }

    header nav a:hover {
      color: #111827;
    }

.pic-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index:0;
}

figure {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  /*animation*/
  z-index:0;
  animation: slideShow 24s linear infinite 0s;
  -o-animation: slideShow 24s linear infinite 0s;
  -moz-animation: slideShow 24s linear infinite 0s;
  -webkit-animation: slideShow 24s linear infinite 0s;
}

.pic-1 {
  opacity: 1;
  background: url(images/hero/1.png) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.pic-2 {
  animation-delay: 6s;
  -o-animation-delay: 6s;
  -moz--animation-delay: 6s;
  -webkit-animation-delay: 6s;
  background: url(images/hero/2.png) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.pic-3 {
  animation-delay: 12s;
  -o-animation-delay: 12s;
  -moz--animation-delay: 12s;
  -webkit-animation-delay: 12s;
  background: url(images/hero/3.png) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.pic-4 {
  animation-delay: 18s;
  -o-animation-delay: 18s;
  -moz--animation-delay: 18s;
  -webkit-animation-delay: 18s;
  background: url(images/hero/4.png) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
@keyframes 
slideShow {  0% {
 opacity: 0;
 transform:scale(1);
 -ms-transform:scale(1);
}
 5% {
 opacity: 1
}
 25% {
 opacity: 1;
}
 30% {
 opacity: 0;
 transform:scale(1.1);
 -ms-transform:scale(1.1);
}
 100% {
 opacity: 0;
 transform:scale(1);
 -ms-transformm:scale(1);
}
}

@-o-keyframes 
slideShow {  0% {
 opacity: 0;
 -o-transform:scale(1);
}
 5% {
 opacity: 1
}
 25% {
 opacity: 1;
}
 30% {
 opacity: 0;
 -o-transform:scale(1.1);
}
 100% {
 opacity: 0;
 -o-transformm:scale(1);
}
}

@-moz-keyframes 
slideShow {  0% {
 opacity: 0;
 -moz-transform:scale(1);
}
 5% {
 opacity: 1
}
 25% {
 opacity: 1;
}
 30% {
 opacity: 0;
 -moz-transform:scale(1.1);
}
 100% {
 opacity: 0;
 -moz-transformm:scale(1);
}
}

@-webkit-keyframes 
slideShow {  0% {
 opacity: 0;
 -webkit-transform:scale(1);
}
 5% {
 opacity: 1
}
 25% {
 opacity: 1;
}
 30% {
 opacity: 0;
 -webkit-transform:scale(1.1);
}
 100% {
 opacity: 0;
 -webkit-transformm:scale(1);
}
}

.hero-inhalt {
    z-index:100;
    padding-left:100px;
}
    .hero {
      min-height: 100vh;
      padding: 0 0vw;
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
      align-items: center;
      gap: 3rem;
      background: radial-gradient(circle at top left, #e0f2fe, #f9fafb 55%);
    }

    .hero-content {
      margin-top: 64px;
    }

   

    .hero-title {
      font-size: clamp(2.6rem, 4vw, 3.4rem);
      font-weight: 800;
      text-shadow: 2px 2px 2px black;
      margin-bottom: 1rem;
      color: #c6c6c7;
    }
  
    .hero-subtitle {
      font-size: 2.05rem;
      color: #c6c6c7;
      font-weight: bold;
      text-shadow: 1px 1px 1px black;
      max-width: 32rem;
      margin-bottom: 1.75rem;
    }

    .hero-cta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
      border-radius: 999px;
      padding: 0.75rem 1.5rem;
      font-size: 0.95rem;
      font-weight: 600;
      border: none;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .btn-primary {
      background: #2563eb;
      color: #f9fafb;
    }

    .btn-primary:hover {
      background: #1d4ed8;
    }

    .btn-secondary {
      background: #e5e7eb;
      color: #111827;
    }

    .btn-secondary:hover {
      background: #d1d5db;
    }

    
    .hero-image-wrapper {
      position: relative;
      width: 100%;
      max-width: 480px;
      justify-self: center;
    }

    .hero-image-main {
      width: 100%;
      border-radius: 1.5rem;
      overflow: hidden;
      box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(148, 163, 184, 0.3);
    }

    .hero-image-main img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .hero-badge {
      position: absolute;
      bottom: -18px;
      left: 10%;
      background: #111827;
      color: #f9fafb;
      padding: 0.75rem 1rem;
      border-radius: 999px;
      font-size: 0.8rem;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
    }

    .hero-badge-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #22c55e;
    }

    .hero-card {
      position: absolute;
      top: 10%;
      right: -10%;
      background: #f9fafb;
      border-radius: 1rem;
      padding: 0.9rem 1.1rem;
      box-shadow:
        0 14px 35px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(148, 163, 184, 0.4);
      font-size: 0.8rem;
      width: 180px;
    }

    .hero-card-title {
      font-weight: 600;
      margin-bottom: 0.25rem;
      font-size: 0.85rem;
    }

    .hero-card-bar {
      margin-top: 0.4rem;
      height: 6px;
      border-radius: 999px;
      background: #e5e7eb;
      overflow: hidden;
    }

    .hero-card-bar span {
      display: block;
      height: 100%;
      width: 72%;
      background: linear-gradient(90deg, #22c55e, #16a34a);
    }

    section {
      padding: 5rem 5vw;
    }

    .section-title {
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 1rem;
      text-align: center;
      color: #0f172a;
    }

    .section-subtitle {
      text-align: center;
      color: #6b7280;
      max-width: 32rem;
      margin: 0 auto 3rem;
      font-size: 1.2rem;
    }

    .features {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 2rem;
      max-width: 1000px;
      margin: 0 auto;
    }

    .feature-card {
      background: #ffffff;
      border-radius: 1.25rem;
      padding: 1.75rem 1.5rem;
      box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
      border: 1px solid #e5e7eb;
    }

    .feature-icon {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      background: #eff6ff;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #1d4ed8;
      font-size: 1.1rem;
      margin-bottom: 0.9rem;
    }

    .feature-title {
      font-weight: 600;
      margin-bottom: 0.4rem;
      color: #111827;
    }

    .feature-text {
      font-size: 0.9rem;
      color: #6b7280;
    }

    .secondary-hero {
      background: linear-gradient(135deg, #0f172a, #111827);
      color: #e5e7eb;
      border-radius: 2rem;
      padding: 3rem 3vw;
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
      gap: 2.5rem;
      align-items: center;
      max-width: 1100px;
      margin: 0 auto 4rem;
    }

    .secondary-hero h2 {
      font-size: 2rem;
      margin-bottom: 0.75rem;
    }

    .secondary-hero p {
      color: #9ca3af;
      margin-bottom: 1.5rem;
      font-size: 0.95rem;
    }

    .secondary-hero-image {
      border-radius: 1.5rem;
      overflow: hidden;
      border: 1px solid rgba(148, 163, 184, 0.4);
    }

    .secondary-hero-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }


/* ---------------- KONTAKT ---------------- */

  .inhalt-kontakt ul {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 40%;
  list-style-type: none;
  margin:20px auto;
  border: none;
}

.button-kontakt {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  height: 100px;
  padding: 20px 20px;
  border-radius: 1.5rem;
  border: 4px solid white;
 font-size: 20px;
background-color: #0f172a;
  color:white;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease-in;
}
.button-kontakt:hover {
background: linear-gradient(to bottom, #727374 0%,#0f172a 100%);
}
.button-kontakt .text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: left;
  width: auto;   /* Beispielwert */
}

.button-kontakt .inner {
  text-align: left;
}


    footer {
      position:fixed;
      bottom:0px;
      width:100%;
      padding:20px;
      border-top: 1px solid #e5e7eb;
      font-size: 0.85rem;
      color: #6b7280;
      background: rgba(249, 250, 251, 0.9);
      backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
      justify-content: center;
      gap:30px;
    }
footer a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; 
  color:black;

  }

footer a:hover{
 text-decoration: none;
}
 /* ---------------- MODAL OVERLAYS ---------------- */

    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1rem;
      z-index: 2000;
    }

    .modal-overlay.open {
      display: flex;
    }

    .modal-box {
      background: white;
      max-width: 600px;
      width: 100%;
      padding: 2rem;
      border-radius: 12px;
      max-height: 80vh;
      overflow-y: auto;
    }

    .modal-box ul{
      width:100%;
    }
  .modal-box p {
      font-size: 20px;
      line-height: 1.6;
      color:black;
    }
    .modal-box h2 {
      margin-bottom: 1rem;
      text-align: center;
      border: none;
      font-size:300%;
      text-decoration: overline underline;

}

.modal-box h3 {

font-size: 180%;
text-decoration:underline;
margin-bottom: 1rem;
color:var(--accent);
text-align: left;
margin-top:40px;
}

.modal-box b {
font-weight: bold;
}
.modal-box a:link {
  color: black;
  font-weight:bold;
  text-decoration: underline;
}

.modal-box a:visited {
  color: black;
  font-weight:bold;
}

    .modal-close {
      margin-top: 1.5rem;
      display: inline-block;
      padding: 0.6rem 1.2rem;
      background: var(--accent);
      color: white;
      border-radius: 8px;
      cursor: pointer;
      text-decoration: none;
    }

  

        /* ---------------- HAMBURGER ---------------- */

    .hamburger {
      position:fixed;
      top:10px;
      right:10px;
      display: flex;
      width: 32px;
      height: 32px;
      background:black ;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      border-radius: 8px;
      border:2px solid white;
    }

    .hamburger-lines {
  width: 18px;
  height: 14px;
  position: relative;
  display: inline-block; /* â† WICHTIG, damit span wie ein div funktioniert */
}

    .hamburger-lines span {
      position: absolute;
      left: 0;
      right: 0;
      height: 2px;
      background:white;
      border-radius: 999px;
      transition: 0.2s ease;
    }

    .hamburger-lines span:nth-child(1) { top: 0; }
    .hamburger-lines span:nth-child(2) { top: 6px; }
    .hamburger-lines span:nth-child(3) { bottom: 0; }

  .hamburger.active .hamburger-lines span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.hamburger.active .hamburger-lines span:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-lines span:nth-child(3) {
  bottom: 6px;
  transform: rotate(-45deg);
}
/* Standard: Desktop â†’ Hamburger ausblenden */
.hamburger {
  display: none;
}

/* Mobile: Hamburger einblenden */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}


    /* ---------------- MOBILE NAV ---------------- */

.mobile-nav {
  position: fixed;
  inset: 50px 0 0 0;
  background: transparent;
  backdrop-filter: blur(10px);
  display: flex;              /* immer flex */
  flex-direction: column;     /* vertikal */
  padding: 8rem 1.5rem;
  gap: 1.2rem;
  z-index: 900;
font-size:25px;
text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.mobile-nav a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; 
  background-color: white;
  padding:20px;
  color:black;
  }

.mobile-nav a:hover{
 text-decoration: none;
}

.mobile-nav.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

    @media (max-width: 900px) {
      .hero,
      .secondary-hero {
        grid-template-columns: minmax(0, 1fr);
      }

      .hero {
        padding-top: 5rem;
      }

      .hero-image-wrapper {
        order: -1;
        margin-top: 4rem;
      }

      .features {
        grid-template-columns: minmax(0, 1fr);
      }

      header {
        justify-content: center;
      }

      header nav {
        display: none;
      }

       .inhalt-kontakt ul {
        width: 90%;
 
}
    }

@media (max-width: 480px) {
.hero-inhalt {
    z-index:100;
    padding-left:10px;
    margin-top:-100px;
}
 
  .hero-title {
      font-size: 250%;
     
    }
  
    .hero-subtitle {
      font-size: 1.80rem;
    }
  }
@media (max-width: 380px) {

   .hero-inhalt {
    margin-top:-200px;
}

  .hero-title {
      font-size:180%;
      
    }
  
    .hero-subtitle {
      font-size: 1.25rem;
     
    }
.hero-cta{
margin-top:300px;
}
}   