/* =========
Root
==========*/

:root{
  --nav-h: 72px;
  --nav-radius: 28px;
  --widget-bg: rgba(255, 255, 255, 0.7);
  --nav-border: rgba(0,0,0,0.10);
  --nav-shadow: 0 18px 60px rgba(0,0,0,.18);
  --nav-text: #111;
  --primary-text: #111;
  --bg2: rgb(46, 46, 46);
  --lime: #cfff40;
  --mint: #66ff99;
  --purple: #8066ff;
}

/* =========
Fonts
==========*/
@font-face {
  font-family: "ClashGrotesk";
  src: url("/assets/fonts/ClashGrotesk/ClashGrotesk-Extralight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ClashGrotesk";
  src: url("/assets/fonts/ClashGrotesk/ClashGrotesk-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ClashGrotesk";
  src: url("/assets/fonts/ClashGrotesk/ClashGrotesk-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ClashGrotesk";
  src: url("/assets/fonts/ClashGrotesk/ClashGrotesk-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ClashGrotesk";
  src: url("/assets/fonts/ClashGrotesk/ClashGrotesk-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ClashGrotesk";
  src: url("/assets/fonts/ClashGrotesk/ClashGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheNeueBlack";
  src: url("/assets/fonts/TheNeueBlack/TheNeue-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* =========
Body
==========*/
body {
  background-color: #222;
}




/* =========
General
==========*/
h1 {
  font-family: "TheNeueBlack", sans-serif;
  font-weight: 900;
  color: #000000;
  font-size: 2.5rem;
}

h2, h3, h4 {
  font-family: "TheNeueBlack", sans-serif;
  font-weight: 900;
  color: #fff;
}

p, a {
  font-family: "ClashGrotesk", sans-serif;
  font-weight: 400;
  color: #fff;
  font-size: 1rem;
}

.subheading {
  color: #fff;
  font-family: "ClashGrotesk", sans-serif;
  font-weight: 200;
  font-size: 0.8rem;
}

.span {
  font-family: "ClashGrotesk", sans-serif;
  font-weight: 500;
  color: #fff;
  font-size: 0.8rem;
}

.logo{
  width: clamp(100px, 10vw, 200px);
  height: auto;
  display: block;
}




/* =========
Hero Section
==========*/
.hero {
  min-height: 100svh; /* besser als 100vh */
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* Standard dunkles Overlay */
  z-index: 1;
}

.hero_content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: var(--primary-text);
  background: var(--widget-bg);
  padding: 2vw 8vw;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}



/* =========
Navbar
==========*/
/* Navbar liegt über der Hero */
.nav{
  position: fixed;
  top: 0;
  width: 95%;
  z-index: 9999;
  pointer-events: none;
}

.nav__inner{
  height: var(--nav-h);
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  background: var(--widget-bg);
  border: 1px solid var(--nav-border);
  box-shadow: var(--nav-shadow);

  border-radius: 0 0 var(--nav-radius) var(--nav-radius);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  padding: 1vw 4vw;
  pointer-events: auto;
}

/* Links linksbündig */
.nav__links{
  justify-self: start;
  display: inline-flex;
  gap: 14px;
  align-items: center;

  font-size: 14px;
  color: var(--nav-text);
  white-space: nowrap;
}

.nav__links a{
  color: inherit;
  text-decoration: none;
  opacity: .95;
}

.nav__links a:hover{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav__sep{
  opacity: .45;
  user-select: none;
}

/* Brand mittig */
.nav__brand{
  justify-self: center;
  text-decoration: none;
  color: var(--nav-text);
}


/* CTA rechts als Pill */
.nav__cta{
  justify-self: end;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: #0b0b0b;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;

  border: 2px solid rgba(190, 255, 0, 0.95); /* Akzent-Rand wie im Screenshot */
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.nav__cta:hover{
  transform: translateY(-1px);
}

.nav__cta:active{
  transform: translateY(0);
}

/* Damit die Hero nicht unter die Navbar rutscht (bei fixed) */
.hero{
  padding-top: calc(var(--nav-h) + 28px); /* 28px ~ nav padding */
}

/* Mobile: Links ausdünnen */
@media (max-width: 820px){
  .nav__inner{
    grid-template-columns: auto 1fr auto;
    padding: 0 14px;
  }

  .nav__links{
    display: none; /* später: Burger-Menü */
  }

  .nav__brand{
    justify-self: start;
  }
}


/* =========
Section 1
==========*/
.section1{
  padding: clamp(56px, 8vw, 110px) 8%;
}

/* Zwei Spalten nebeneinander + oben bündig */
.section1 .column{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 90px);
}

/* Spaltenbreiten wie im Screenshot: links etwas größer */
.section1 .column-left{
  flex: 1.15;
  min-width: 280px;
}

.section1 .column-right{
  flex: 0.95;
  min-width: 280px;
}

/* Subheading + Linie links: wirkt wie Label + Trennlinie */
.section1 .subheading{
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Divider: nicht "auto" zentriert, sondern sauber im Flow */
.section1 .divider{
  height: 1px;
  background: var(--widget-bg);
  opacity: 0.9;
  margin: 18px 0 34px 0;
}

/* Linke Headline groß & kompakt */
.section1 .column-left h3{
  margin: 0;
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Rechte Seite: Linie sitzt oben bündig (wie im Bild) */
.section1 .column-right .divider{
  margin-top: 0;         /* wichtig: Linie oben, nicht mit Abstand */
  margin-bottom: 34px;
  width: 100%;
}

/* Textblock rechts: begrenzte Zeilenlänge wie Screenshot */
.section1 .column-right p{
  margin: 0 0 34px 0;
  max-width: 52ch;       /* sorgt für "hochkantigen" Textblock */
  line-height: 1.7;
  opacity: 0.85;
}

/* Button sitzt unter dem Textblock */
.section1 .column-right .nav__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

/* =========================
   Responsive: untereinander
========================= */
@media (max-width: 1100px){
  .services-container{
    margin-right: 24px;
    padding: 56px 28px 56px 0;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
  }

  .services-left{
    padding-left: 28px; /* weniger Inset */
  }

  .section-label .divider{
    width: min(360px, 55%);
  }

  /* Rausziehen reduzieren */
  .service-item{
    margin-left: -28px;
    width: calc(100% + 28px);
    padding: 22px 28px;
  }

  .service-item .dot{
    width: 38px;
    height: 38px;
  }
}

/* Handy: 1-spaltig, kein Rausziehen, nichts darf überragen */
@media (max-width: 900px){
  .services{
    padding: 70px 0;
  }

  .services-container{
    grid-template-columns: 1fr;
    margin: 0 16px;         /* Karte hat Luft links & rechts */
    padding: 42px 18px;     /* gleichmäßig */
    border-radius: 22px;
    gap: 34px;
    overflow: hidden;
  }

  .services-left{
    padding-left: 0;
  }

  .section-label{
    gap: 14px;
    margin-bottom: 28px;
  }

  .section-label .divider{
    width: 100%;
  }

  /* ganz wichtig: KEIN negativer Rand / keine Extra-Breite */
  .service-item{
    margin-left: 0;
    width: 100%;
    border-radius: 18px;
    padding: 18px 18px;
  }

  .service-item span{
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .service-item .dot{
    width: 34px;
    height: 34px;
  }

  .services-right h2{
    font-size: 2rem;
  }

  .services-right p{
    max-width: 100%;
  }
}

/* Sehr kleine Phones (falls trotzdem eng) */
@media (max-width: 420px){
  .services-container{
    margin: 0 12px;
    padding: 36px 14px;
  }

  .service-item{
    padding: 16px 14px;
  }

  .service-item .dot{
    width: 30px;
    height: 30px;
  }
}





/* =========
Section 2
==========*/
.services{
  padding: 100px 0;
}

/* Die "Karte" */
.services-container{
  background: var(--bg2);
  border-radius: 0 30px 30px 0;
  margin-left: 0;
  margin-right: clamp(40px, 5vw, 120px);

  /* Wichtig: links kein Padding, damit Items raus können */
  padding: 70px clamp(32px, 5vw, 70px) 70px 0;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;

  overflow: hidden; /* sorgt dafür, dass runde Ecken sauber bleiben */
}

/* LEFT SIDE: Inhalt startet später */
.services-left{
  /* Dieser Inset ist das "Leistungen beginnt später" */
  padding-left: clamp(40px, 6vw, 120px);
}

/* Label oben */
.section-label{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 44px;

  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  color: #aaa;
}

/* Divider im Label: nicht 80%, sondern flexibel */
.section-label .divider{
  width: min(520px, 60%);
  height: 1px;
  margin: 0;                 /* killt dein auto-centering */
  background: var(--widget-bg);
  opacity: 0.9;
}

/* Service Items: Balken sollen bis links an den Rand */
.service-item{
  display: flex;
  justify-content: space-between;
  align-items: center;

  /* größer, wie Zielbild */
  padding: 26px 36px;
  border-radius: 0 999px 999px 0;
  margin-bottom: 22px;

  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;

  /* Das ist der Trick: zieht den Balken nach links raus bis zum Viewport */
  margin-left: calc(clamp(40px, 6vw, 120px) * -1);
  width: calc(100% + clamp(40px, 6vw, 120px));
}

/* Text im Balken größer wie Zielbild */
.service-item span{
  font-size: clamp(1.05rem, 1.4vw, 1.6rem);
}

/* Dot größer & weiter rechts */
.service-item .dot{
  width: 44px;
  height: 44px;
  background: #111;
  border-radius: 50%;
  flex: 0 0 auto;
}

/* Farben bleiben wie du hast */
.lime{ background: var(--lime); }
.mint{ background: var(--mint); }
.purple{ background: var(--purple); }

/* RIGHT SIDE */
.services-right h2{
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 18px 0;
  line-height: 1.05;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.color-dot{
  width: 14px;
  height: 14px;
  background: linear-gradient(90deg, #c6ff2e, #6a5cff);
  border-radius: 6px;
  margin-top: 12px;
}

.services-right p{
  color: #b8bcc8;
  line-height: 1.7;
  margin: 0 0 34px 0;
  max-width: 56ch;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .services-container{
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 56px 24px;
  }

  .services-left{
    padding-left: 0;
  }

  /* Auf Mobile NICHT über den Rand rausziehen */
  .service-item{
    margin-left: 0;
    width: 100%;
    border-radius: 18px;
  }

  .section-label .divider{
    width: 100%;
  }
}




/* =========
Section 3
==========*/
.projects-showcase{
  padding: 100px 0 60px;
  position: relative;
}

.projects-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

/* LEFT SIDE */
.projects-kicker{
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 18px;
}

.projects-title{
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.05;
  margin-bottom: 22px;
}

.projects-subtitle{
  max-width: 60ch;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 30px;
}

.projects-actions{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===============================
   RIGHT SIDE – LAYER DESIGN
=================================*/

.projects-right{
  display: flex;
  justify-content: center;
}

.project-wrapper{
  position: relative;
  width: 100%;
  max-width: 560px;
}

/* Background Layer */
.project-bg-layer{
  position: absolute;
  inset: 0;
  transform: translate(60px, -60px);
  border-radius: 42px;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.05),
    rgba(0,0,0,0.45)
  );
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px;
  display: flex;
  align-items: flex-start;
  z-index: 1;
}

/* Badge */
.project-badge{
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

.project-badge span{
  opacity: 0.9;
}

/* Foreground */
.project-foreground{
  position: relative;
  z-index: 2;
}

/* Image Container */
.project-media{
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 42px;
  background: #d9d9d9;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #222;
  box-shadow: 0 40px 100px rgba(0,0,0,.45);
}

/* ===============================
   BOTTOM BAR
=================================*/

.projects-bottom{
  margin-top: 60px;
}

.projects-divider{
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.projects-bottom-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
}

.projects-progress{
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}

.projects-progress-sep{
  margin: 0 10px;
  opacity: 0.5;
}

/* Navigation Buttons */
.projects-nav{
  display: flex;
  gap: 12px;
}

.nav-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  transition: all .2s ease;
}

.nav-btn svg{
  width: 18px;
  height: 18px;
}

.nav-btn:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.nav-btn:active{
  transform: scale(0.96);
}

@media (max-width: 1000px){

  .projects-grid{
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .projects-subtitle{
    max-width: 100%;
  }

  .project-wrapper{
    max-width: 100%;
  }

  .project-bg-layer{
    transform: translate(30px, -30px);
  }

}



/* =========
Section 3
========== */
.how{
  padding: clamp(56px, 7vw, 110px) 0;
}

/* wie deine "services-container": rechts Luft, links bündig */
.how__wrap{
  margin-right: clamp(40px, 5vw, 120px);
  padding: clamp(42px, 5vw, 70px) clamp(18px, 4vw, 40px);

  display: grid;
  grid-template-columns: 0.95fr 2.05fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

/* LEFT */
.how__label{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.how__dots{
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.how__dots .d{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.how__line{
  height: 1px;
  flex: 1 1 auto;
  background: var(--widget-bg);
  opacity: 0.45;
  margin-left: 6px;
}

.how__title{
  margin: 0;
  font-size: clamp(2.3rem, 3.6vw, 3.8rem);
  line-height: 0.98;
}

/* RIGHT: 4 cards */
.how__steps{
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
}

.how__card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 22px 20px;
  min-height: 180px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.how__num{
  font-family: "ClashGrotesk", sans-serif;
  font-weight: 200;
  font-size: 46px;
  line-height: 1;
  color: rgba(255,255,255,0.60);
  margin-bottom: 14px;
}

.how__cardtitle{
  margin: 0 0 10px 0;
  font-size: 1.05rem;
  color: #fff;
}

.how__card p{
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  font-size: 0.95rem;
}

/* =========
Responsive
========== */
@media (max-width: 1100px){
  .how__wrap{
    grid-template-columns: 1fr;
  }

  .how__steps{
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 620px){
  .how__wrap{
    margin-right: 0;
    padding: 46px 16px;
  }

  .how__steps{
    grid-template-columns: 1fr;
  }

  .how__card{
    border-radius: 22px;
  }
}