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

:root{
  --bg-dark: #000;
  --text: #e9eef6;
  --muted: rgba(233, 238, 246, 0.75);

  --card: rgba(255,255,255,0.08);
  --cardBorder: rgba(255,255,255,0.10);

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);

  --container: 1200px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: "Gruppo", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-dark);
}

img{ max-width:100%; display:block; }

.section{ position: relative; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- HERO ---------- */
.hero{
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.hero__bg{
  position:absolute;
  inset:0;
}

.hero__bgImg{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero__content{
  position:relative;
  text-align:center;
  padding: 80px 24px;
}

.hero__title{
  margin: 0 0 12px 0;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: clamp(32px, 5vw, 52px);
}

.hero__subtitle{
  margin: 0;
  font-size: clamp(16px, 2.4vw, 24px);
  color: rgba(233,238,246,0.9);
  line-height: 1.35;
}
/* ---------- GALLERY / CAROUSEL ---------- */
.gallery{
  background: radial-gradient(900px 500px at 50% 20%, rgba(255,255,255,0.06), transparent 60%),
              linear-gradient(180deg, #000 0%, #02050a 100%);
  padding: 90px 0 110px;
}

.gallery__header{
  text-align: center;
  margin-bottom: 28px;
}

.gallery__title{
  margin: 0 0 8px;
  font-weight: 400;
  letter-spacing: 1.5px;
  font-size: clamp(16px, 2.4vw, 26px);
}

.gallery__subtitle{
  margin: 0 auto;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.5;
  font-size: clamp(16px, 2.4vw, 20px);
}

.carousel{
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 0 18px;
}

.carousel__viewport{
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  padding: 22px 18px 28px;
  border-radius: 20px;

  /* subtle framing */
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
}

/* hide scrollbar */
.carousel__viewport::-webkit-scrollbar{ height: 0; }
.carousel__viewport{ scrollbar-width: none; }

.carousel__slide{
  margin: 0;
  flex: 0 0 82%;
  scroll-snap-align: center;
  scroll-snap-stop: always;

  border-radius: 20px;
  overflow: hidden;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}

.carousel__img{
  width: 100%;
  height: clamp(420px, 52vh, 620px);
  object-fit: cover;
  border-radius: 20px; /* keep consistent with your design */
}

/* Buttons */
.carousel__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 46px;
  height: 46px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.9);

  display: grid;
  place-items: center;

  cursor: pointer;
  user-select: none;
  z-index: 5;

  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}

.carousel__btn:hover{
  background: rgba(0,0,0,0.5);
}

.carousel__btn:active{
  transform: translateY(-50%) scale(0.98);
}

.carousel__btn--prev{ left: -12px; }
.carousel__btn--next{ right: -12px; }

/* Dots */
.carousel__dots{
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

.carousel__dot{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  opacity: 0.8;
}
.carousel__dot[aria-selected="true"]{
  background: rgba(255,255,255,0.9);
}

/* Smaller screens (you said desktop-only now, but this makes it future-safe) */
@media (max-width: 900px){
  .carousel__slide{ flex-basis: 92%; }
  .carousel__btn{ display: none; } /* swipe only */
  .gallery__title{ font-size: clamp(16px, 2.9vw, 32px); }
  .gallery__subtitle{ font-size: clamp(16px, 2.2vw, 20px); }
}


/* ---------- TRUST ---------- */
.trust{
  background: linear-gradient(180deg, #06324a 0%, #076ea1 45%, #0789ad 100%);
  padding: 70px 0 60px;
  text-align:center;
}

.section__title{
  margin:0 0 8px;
  font-weight:400;
  letter-spacing: 2px;
  font-size: clamp(24px, 4vw, 40px);
}

.section__subtitle{
  margin:0 auto 28px;
  color: var(--muted);
  max-width: 520px;
  line-height:1.4;
  font-size: clamp(16px, 2.2vw, 22px);
}

/* Logo row as images */
.logos{
  display:flex;
  gap: 46px;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap;
}

.logoImg{
  height: 160px;     /* change this to scale logos */
  width: auto;
  object-fit: contain;
  opacity: 0.95;
}

/* ---------- FEATURES ---------- */
.features{
  background: linear-gradient(180deg, #0789ad 0%, #07a6c5 55%, #07b2c8 100%);
  padding: 80px 0;
}

.features__wrap{
  display:flex;
  flex-direction:column;
  gap: 90px;
}

.feature{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items:center;
}

.feature__title{
  margin:0 0 10px;
  font-weight:400;
  font-size: clamp(24px, 4vw, 40px);
  color: #000000; /* ← headline color */
}

.feature__body{
  margin:0;
  color: var(--muted);
  line-height:1.45;
  max-width: 420px;
  font-size: clamp(16px, 2.4vw, 24px);
  color: #000000; /* ← headline color */
}

.feature__media{
  display:flex;
  justify-content:center;
}

/* Diagonal clipped image "card" with shadow */
.diagCard{
  width: min(520px, 100%);
  aspect-ratio: 4 / 3;   /* keeps it stable on desktop */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  background: rgba(255,255,255,0.02);
}

.diagCard img{
  width:100%;
  height:100%;
  object-fit: cover;
}

/* Cut starts at a corner and ends on the opposite side (approx angle) */
.diagCard--tl{
  /* diagonal from TOP-LEFT corner to RIGHT side */
  clip-path: polygon(0 0, 100% 0, 100% 58%, 0 100%);
}

.diagCard--tr{
  /* diagonal from TOP-RIGHT corner to LEFT side */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 58%);
}

/* Swap direction helpers */
.feature--left .feature__text{ order: 1; }
.feature--left .feature__media{ order: 2; }
.feature--right .feature__media{ order: 1; }
.feature--right .feature__text{ order: 2; }

/* ---------- TESTIMONIALS ---------- */
.testimonials{
  background: linear-gradient(180deg, #07b2c8 0%, #0686b0 55%, #04324a 100%);
  padding: 140px 0 160px;
}

/* IMPORTANT FIXES:
   1) overflow hidden so only one slide shows cleanly
   2) slide width includes border (box-sizing) so it won't drift off-center
   3) smoother transition curve + duration
*/
.slider{
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px;           /* room for shadow so it doesn’t look cut */
  overflow: hidden;        /* ensures only center slide can be visible */
}

.slider__track{
  display: flex;
  gap: 140px;              /* BIG GAP so neighbors are pushed out of view */
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.slide{
  margin: 0;               /* remove default <figure> margin */
  flex: 0 0 100%;          /* each slide is exactly viewport width */
  width: 100%;
  box-sizing: border-box;

  background: var(--card);
  border: 1px solid var(--cardBorder);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 72px 64px;
  min-height: 420px;
  text-align: center;
}
.slide__quote{
  font-size: clamp(16px, 2.7vw, 24px);
  line-height: 1.7;
}

.slide__meta{
  font-size: clamp(16px, 1vw, 24px);
}

.slider__dots{
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}


.dot{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  opacity: 0.8;
}
.dot[aria-selected="true"]{
  background: rgba(255,255,255,0.9);
}
.datenschutz{
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
}

.datenschutz h1,
.datenschutz h2,
.datenschutz h3,
.datenschutz h4{
  color: var(--text);
  font-weight: 400;
}
/* blablabal */
.datenschutz p,
.datenschutz li{
  max-width: 820px;
  line-height: 1.6;
  font-size: clamp(16px, 1vw, 24px);
}

.legal {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 24px;
}

.legal h1, .legal h2, .legal h3 {
  margin-top: 2.2em;
}

.legal p, .legal li {
  line-height: 1.6;
  font-size: 15px;
}




@media (prefers-reduced-motion: reduce){
  .slider__track{ transition: none; }
}

/* ---------- FOOTER ---------- */
.footer{
  background: #000;
  padding: 70px 0 40px;
}

.footer__grid{
  display:grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 30px;
  align-items:start;
}

.footer__title{
  margin:0 0 12px;
  font-weight:400;
  font-size: clamp(16px, 2vw, 24px);
}

.footer__text{
  margin:0 0 16px;
  color: var(--muted);
  line-height: 1.5;
  font-size: clamp(16px, 2.4vw, 18px);
  max-width: 720px;
}

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

.footer a{
  color: rgba(233,238,246,0.9);
  text-decoration:none;
  border-bottom: 1px solid rgba(233,238,246,0.25);
  padding-bottom: 2px;
}
.footer a:hover{
  border-bottom-color: rgba(233,238,246,0.75);
}

.impressum{
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.impressum__text{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: clamp(12px, 2vw, 16px);
}

/* ---------- Reveal animation (in-focus scale) ---------- */
.reveal-img{
  transform: scale(0.86);
  opacity: 0;
  transition: transform 650ms ease, opacity 650ms ease;
  will-change: transform, opacity;
}

.reveal-img.is-inview{
  transform: scale(1);
  opacity: 1;
}
@media (max-width: 900px) {
  @media (max-width: 900px) {
  /* Carousel: one slide, full focus */
  .carousel{
    max-width: 100%;
    padding: 24px 0;
  }

  .carousel__viewport{
    padding: 16px;
  }

  .carousel__slide{
    flex: 0 0 100%;
  }

  .carousel__img{
    height: clamp(320px, 60vh, 480px);
  }

  /* Hide arrow buttons on mobile (swipe only) */
  .carousel__btn{
    display: none;
  }
}
@media (max-width: 900px) {

  .logos{
    flex-wrap: wrap;
    gap: 24px;
  }

  .logoImg{
    height: 80px;
  }
}
@media (max-width: 900px) {

  .feature{
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .feature__body{
    max-width: 100%;
  }
}
@media (max-width: 900px) {

  .slider{
    max-width: 100%;
    padding: 24px;
  }

  .slide{
    padding: 48px 28px;
    min-height: auto;
  }
}

}
