
*,
*::before,
*::after {
    box-sizing: border-box;
}



html, body{
    margin: 0;
    padding: 0;
    font-family: inter, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    background-color: rgb(33, 34, 36);
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
    color: white;
}

/* =========================
   MAIN 1 (Hero)
   ========================= */

.desktop-only .main-1{
    min-height: auto;
    width: 100%;
    margin: 0;
    padding: 0;

    position: relative; /* 🔑 nötig für ::after */
}

/* 🔥 Schatten NUR nach unten */
.desktop-only .main-1::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -50px;            /* schiebt Schatten in main-2 */
    width: 100%;
    height: 50px;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0)
    );

    pointer-events: none;
}

/* =========================
   NAVBAR
   ========================= */

.desktop-only .logo{
    font-size: 3.5rem;
    margin: 0;
}

.desktop-only .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 20px 50px;
    color: rgb(44, 44, 44);
    position: relative;
}

.desktop-only .navbar a{
  text-decoration: none;
  color: #2b2b2b;
}

.desktop-only .navbar::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -30px;            /* schiebt Schatten in main-2 */
    width: 100%;
    height: 30px;

    z-index: 100;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0)
    );

    pointer-events: none;
}

.desktop-only .nav-links {
    width: 700px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    font-size: 1rem;
    font-weight: 500;
    color: rgb(44, 44, 44);
}

.desktop-only .nav-links a {
    display: inline-block;
    color: rgb(44, 44, 44);
    text-decoration: none;
    transition: transform 200ms ease;
}

.desktop-only .nav-links a:hover {
    transform: scale(1.05);
}

/* =========================
   BUTTON
   ========================= */

.desktop-only .buy-btn{
    padding: 10px 20px;
    border-style: none;
    border-radius: 7px;
    font-size: 1rem;
    font-weight: 600;

    color: white;
    background-color: rgb(0, 173, 253);
    border: solid 3px rgb(0, 173, 253);

    cursor: pointer;
    transition: all 300ms ease;

    /* 🔥 leichter Shadow */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.397);
}

.desktop-only .buy-btn:hover{

    transform: scale(1.08);
    box-shadow: 0 0px 15px rgba(0, 0, 0, 0.397);
}


/* =========================
   HERO SECTION
========================= */

.hero-bg{
  position: relative;
  height: 100vh;
  width: 100%;
  background-image: url("/pics/main/main.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Overlay for readability */
.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    /* 🔽 Vertikaler Übergang nach unten */
    linear-gradient(
      to bottom,
      rgba(33, 34, 36, 0) 65%,
      rgba(33, 34, 36,1) 100%
    ),
    /* ➡️ Horizontaler Dark-Overlay für Text */
    linear-gradient(
      90deg,
      rgba(15,20,24,0.9) 0%,
      rgba(15,20,24,0.75) 35%,
      rgba(15,20,24,0.45) 65%,
      rgba(15,20,24,0.15) 100%
    );
}

/* Content container */
.hero-content{
  position: relative;
  z-index: 2;

  height: 100%;
  max-width: 1400px;

  padding: 0 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =========================
   HERO TEXT ELEMENTS
========================= */

.hero-badge{
  display: inline-block;
  width: fit-content;
  padding: 8px 14px;
  margin-bottom: 22px;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;

  color: rgba(255,255,255,0.9);
  background: rgba(0,173,253,0.15);
  border: 1px solid rgba(0,173,253,0.4);
  border-radius: 999px;
}

.hero-title{
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
}

.hero-title span{
  color: #00adfd;
}

.hero-sub{
  max-width: 620px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  margin-bottom: 32px;
}

/* =========================
   ACTION BUTTONS
========================= */

.hero-actions{
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}

/* Base button */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;

  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.25);

  color: #fff;
  background: rgba(255,255,255,0.08);

  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.14);
}

/* Primary CTA */
.btn.primary{
  background: #00adfd;
  border-color: #00adfd;
  color: #06202a;
}

.btn.primary:hover{
  background: #19b6ff;
}

/* Ghost button */
.btn.ghost{
  background: transparent;
  border-color: rgba(255,255,255,0.35);
}

/* =========================
   BULLET POINTS
========================= */

.hero-points{
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px){
  .hero-content{
    padding: 0 6%;
  }

  .hero-bg{
    min-height: 100svh; /* mobile-safe viewport */
  }

  .hero-overlay{
    background:
      /* 🔽 stärkerer Bottom Fade */
      linear-gradient(
        to bottom,
        rgba(33, 34, 36,0.25) 0%,
        rgba(33, 34, 36,0.75) 55%,
        rgba(33, 34, 36,1) 100%
      ),
      /* 🌑 dunkles Gesamt-Overlay */
      linear-gradient(
        0deg,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.55)
      );

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .hero-actions{
    flex-direction: column;
    align-items: flex-start;
  }

  .btn{
    width: fit-content;
  }
}




.features-grid-section{
  padding: 6rem 6%;
}

/* HEAD */
.features-grid-head{
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}

.features-grid-head h2{
  font-size: 2.6rem;
  margin-bottom: 0.6rem;
}

.features-grid-head p{
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* GRID */
.features-grid{
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* BOX */
.feature-box{
  background-color: #16191D;
  border-radius: 18px;
  padding: 2.4rem;

  display: flex;
  flex-direction: column;
  justify-content: center;

  text-align: left;

  box-shadow:
    0 12px 30px rgba(0,0,0,0.45);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* gleiche Höhe erzwingen */
.feature-box{
  min-height: 220px;
}

.feature-box:hover{
  transform: translateY(-6px);
  box-shadow:
    0 20px 45px rgba(0,0,0,0.55);
}

.feature-box h3{
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-box p{
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* HIGHLIGHT */
.feature-box.highlight{
  border: 1px solid rgba(0,173,253,0.45);
}

/* MOBILE */
@media (max-width: 900px){
  .features-grid{
    grid-template-columns: 1fr;
  }

  .feature-box{
    min-height: unset; /* egal auf mobile */
    padding: 2rem;
  }
}







.carousel-wrapper{
    position: relative;
    padding-top: 10%;
    padding-bottom: 10px;
}

.carousel2-wrapper{
    position: relative;
}



/* Background */
.background-img1{
    position: absolute;
    top: 0px;
    left: 0;

    width: 100%;        /* 🔑 immer volle Breite */
    height: 100%;       /* füllt die Wrapper-Höhe */

    object-fit: cover;  /* skaliert sauber */
    object-position: top center; /* 🔑 startet IMMER oben */

    z-index: 0;
    pointer-events: none;

}

.carousel-btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    background: rgba(0,0,0,0.6);
    color: white;
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
}

.carousel-btn:hover{
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.05);
}

.carousel-btn:disabled{
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
    transform: translateY(-50%);
}

.carousel-btn.left{
    left: 10px;
}

.carousel-btn.right{
    right: 10px;
}

.carousel{
    position: relative;
    z-index: 1;
    margin: 3em 3em;
    padding: 20px 10px;
    display: flex;
    gap: 1%;
    overflow-x: auto;

    
}

/* beide Seiten */
.carousel.fade-both{
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.4) 6%,
        black 14%,
        black 86%,
        rgba(0,0,0,0.4) 94%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.4) 6%,
        black 14%,
        black 86%,
        rgba(0,0,0,0.4) 94%,
        transparent 100%
    );
}

/* nur rechts */
.carousel.fade-right{
    -webkit-mask-image: linear-gradient(
        to right,
        black 0%,
        black 86%,
        rgba(0,0,0,0.4) 94%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        black 0%,
        black 86%,
        rgba(0,0,0,0.4) 94%,
        transparent 100%
    );
}

/* nur links */
.carousel.fade-left{
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.4) 6%,
        black 14%,
        black 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.4) 6%,
        black 14%,
        black 100%
    );
}

.carousel::-webkit-scrollbar{
    display: none;
}

.carousel-card{
    flex: 0 0 32.7%;
    box-shadow:
  0 0px 10px rgba(0, 0, 0, 0.72);
    border-radius: .5em;
    overflow: hidden;
    transition: all ease 0.5s;
}

.carousel-card:hover{
    transform: scale(1.02);
    box-shadow:
  0 0px 15px rgba(0, 0, 0, 1.0);
}

.carousel-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;         /* ✨ füllt komplett, ohne Verzerrung */
    display: block;            /* entfernt Mini-Abstände */
}


.lightbox{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.lightbox.open{
    opacity: 1;
    pointer-events: auto;
}

.lightbox img{
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.5em;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.lightbox.open img{
    transform: scale(1);
}

.lightbox-close{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;

    font-size: 1.4rem;
    background: rgba(255,255,255,0.15);
    color: white;

    transition: background 0.2s, transform 0.2s;
}

.lightbox-close:hover{
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.yt-main{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
    background-color: white;
}


.yt-video{
    flex: 0 0 50%;
    aspect-ratio: 16 / 9;
    border-radius: 1em;
    overflow: hidden;              /* 🔑 wichtig fürs Abrunden */
    
    box-shadow:
      0 0px 30px rgba(0,0,0,0.55);
}

.yt-video iframe{
    width: 100%;
    height: 100%;
    border: 0;
}

.socials{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    padding: 2.5rem 3rem;
    background: white;
}

/* Textbereich */
.socials-text h2{
    margin: 0;
    font-size: 1.8rem;
    color: #2b2b2b;
}

.socials-text span{
    color: rgb(0, 173, 253);
}

.socials-text p{
    margin-top: 0.4rem;
    font-size: 1rem;
    color: #666;
}

/* Social Buttons */
.socials-links{
    display: flex;
    gap: 1rem;
}

.socials-links a{
    width: 52px;
    height: 52px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f3f3f3;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.socials-links img{
    width: 26px;
    height: 26px;
    object-fit: contain;
}

/* Hover */
.socials-links a:hover{
    background: rgb(0, 173, 253);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}


/* =========================
   HOW IT WORKS – SECTION
========================= */

.how-it-works {
  padding: 6rem 2rem;
  color: #ffffff;
  font-family: "Inter", sans-serif;
}

.how-it-works h2 {
  font-size: 2.6rem;
  text-align: center;
  margin-bottom: 0.6rem;
}

.how-it-works .subtitle {
  text-align: center;
  color: #b5b5b5;
  max-width: 640px;
  margin: 0 auto 4.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* =========================
   STEPS CONTAINER
========================= */

.steps.vertical {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3.8rem;
}

/* =========================
   STEP CARD
========================= */

.step {
  background: #ffffff;
  color: #1f1f1f;
  border-radius: 20px;
  padding: 2.4rem;
  position: relative;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.18),
    0 30px 80px rgba(0,0,0,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.25),
    0 50px 120px rgba(0,0,0,0.15);
}

/* =========================
   STEP NUMBER
========================= */

.step-number {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgb(0, 173, 253);
  display: inline-block;
  margin-bottom: 1.2rem;
}

/* =========================
   STEP CONTENT LAYOUT
========================= */

.step-content {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* =========================
   IMAGE
========================= */

.step img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  transition: transform 0.4s ease;
}

.step:hover img {
  transform: scale(1.03);
}

/* =========================
   TEXT
========================= */

.step .text h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.step .text p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #555555;
  max-width: 420px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
  .step-content {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .step {
    padding: 1.8rem;
  }

  .step img {
    border-radius: 14px;
  }

  .step .text p {
    max-width: 100%;
  }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 500px) {
  .how-it-works {
    padding: 4rem 1.2rem;
  }

  .how-it-works h2 {
    font-size: 2.1rem;
  }

  .steps.vertical {
    gap: 2.8rem;
  }
}



/* =========================
   FOOTER
   ========================= */

.footer{
  background-color: rgb(26, 27, 27);
  color: rgba(255,255,255,0.85);
}

/* 👉 ZENTRIERTER FOOTER-INHALT */
.footer-inner{
  max-width: 1200px;          /* 🔑 enger = wirkt mittiger */
  margin: 0 auto;
  padding: 80px 0px;

  display: flex;
  justify-content: space-around;    /* 🔑 alles zur Mitte */
  flex-wrap: wrap;
  text-align: left;
}

/* Columns */
.footer-col{
  min-width: 180px;
}

/* Brand extra zentrieren */
.footer-col.brand{
  text-align: center;
  max-width: 360px;
}

.footer-col h4{
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li{
  margin-bottom: 12px;
}

.footer-col a{
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: opacity 200ms ease;
}

.footer-col a:hover{
  opacity: 1;
}

/* Brand */
.footer-logo{
  font-size: 2rem;
  letter-spacing: 6px;
  margin-bottom: 20px;
}

.footer-col.brand p{
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Bottom bar */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 60px;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
}

.burger{
  display: none;
  width: 32px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.burger span{
  height: 3px;
  background: rgb(44,44,44);
  border-radius: 2px;
}


.desktop-only{
    display: block;
}



.desktop-only{
  display: block;
}





/* =========================
   MOBILE CONTENT
   ========================= */



.mobile-only {
    display: none;
    position: relative; /* ⬅️ Anker für absolute Menu */
}

/* =========================
   HEADER (NORMAL FLOW)
   ========================= */

.mobile-only header {
    position: relative; /* ⬅️ wichtig */
    width: 100%;
    height: 80px;
    background-color: #fff;
    z-index: 10;
}



.mobile-only header nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.mobile-only header nav a{
  text-decoration: none;
  color: #1b1b1b;
}

/* =========================
   BURGER
   ========================= */

.burger {
    position: relative;
    width: 28px;
    height: 20px;
    cursor: pointer;
    display: block;
}

.burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #111;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { bottom: 0; }

.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* =========================
   MOBILE MENU (NO FLOW!)
   ========================= */

.mobile-menu {
    position: absolute;          /* ⬅️ AUS DEM FLOW */
    top: 80px;                   /* ⬅️ direkt unter Header */
    left: 0;
    width: 100%;
    background-color: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;

    padding: 24px;
    box-sizing: border-box;

    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;

    transition: all 0.25s ease;
    z-index: 9;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    text-decoration: none;
    color: #0e1116;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 0;
}



/* =========================
   BREAKPOINT
   ========================= */



@media (max-width: 1100px){
  .desktop-only{
    display: none;
  }

  .mobile-only{
    display: block;
  }


  .carousel-card{
    flex: 0 0 50%;
}

.carousel{
    gap: 1%;
    margin: 1em;
}

.yt-video{
    flex: 0 0 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1em;
    
}

.socials{
        flex-direction: column;
        text-align: center;
    }





  /* =========================
     FOOTER – MOBILE
     ========================= */

  .footer-inner{
    padding: 50px 24px;
    gap: 40px;

    flex-direction: column;     /* 🔑 untereinander */
    align-items: center;        /* 🔑 horizontal zentriert */
    text-align: center;         /* 🔑 Text mittig */
  }

  .footer-col{
    min-width: unset;
    width: 100%;
    max-width: 360px;
  }

  .footer-col ul{
    align-items: center;
  }

  .footer-col li{
    margin-bottom: 10px;
  }

  .footer-col h4{
    margin-bottom: 16px;
  }

  /* Brand bleibt schön mittig */
  .footer-col.brand{
    text-align: center;
    max-width: 420px;
  }

  /* Bottom Bar kompakter */
  .footer-bottom{
    padding: 16px 24px;
    font-size: 0.8rem;
  }
}