/* === Base === */
:root{
  --bg-top:#0c0d0e;
  --bg-bot:#080808;
  --fg:#ffffff;
  --accent-start:#E65A50;
  --accent-end:#FF6F61;

  --btn-fg: #fff;
  --btn-bg: #0f1111;

  --navbar-height: 4vw;
}



/* !!!! Experimental Section !!!! */



/* #### Navbar #### */
.navbar {
  height: var(--navbar-height);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(6px);        /* Glas-Effekt */
  background-color: rgba(0, 0, 0, 0.8); /* halbtransparentes Schwarz */
  color: white;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1vw;
  z-index: 1000;
}

/* versteckte Checkbox fürs CSS-Toggle */
.nav-toggle-checkbox {
  display: none;
}

/* Desktop: Hamburger erst mal ausblenden */
.nav-toggle {
  display: none;
}

/* Navigation Desktop */
.nav-center {
  display: flex;
  justify-content: left;
  flex: 1;
}

.navbar nav a {
  color: white;
  text-decoration: none;
  margin: 0 20px;
  font-weight: 500;
  font-size: 1.2em;
  transition: color 0.3s ease;
}

.navbar nav a:hover {
  color: #E65A50;
}


/* CTA Button */
.nav-btn {
  --border-color: linear-gradient(-45deg, #ffae00, #aa035f, #ae00ff);
  --border-width: 0.125em;
  --curve-size: 0.5em;
  --blur: 30px;
  --bg: #080312;
  --color: #afffff;
  margin-left: auto;
  padding: 8px 20px;
  color: var(--color);
  cursor: pointer;
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-content: center;
  border: 0;
  text-transform: uppercase;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.6);
  clip-path: polygon(
    0% var(--curve-size),
    var(--curve-size) 0,
    100% 0,
    100% calc(100% - var(--curve-size)),
    calc(100% - var(--curve-size)) 100%,
    0 100%
  );
  transition: color 250ms;
}

.nav-btn::after,
.nav-btn::before {
  content: "";
  position: absolute;
  inset: 0;
}

.nav-btn::before {
  background: var(--border-color);
  background-size: 300% 300%;
  animation: move-bg7234 5s ease infinite;
  z-index: -2;
}

@keyframes move-bg7234 {
  0% {
    background-position: 31% 0%;
  }

  50% {
    background-position: 70% 100%;
  }

  100% {
    background-position: 31% 0%;
  }
}

.nav-btn::after {
  background: var(--bg);
  z-index: -1;
  clip-path: polygon(
    var(--border-width)
      calc(var(--curve-size) + var(--border-width) * 0.5),
    calc(var(--curve-size) + var(--border-width) * 0.5) var(--border-width),
    calc(100% - var(--border-width)) var(--border-width),
    calc(100% - var(--border-width))
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
    calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
      calc(100% - var(--border-width)),
    var(--border-width) calc(100% - var(--border-width))
  );
  transition: clip-path 500ms;
}

.nav-btn:where(:hover, :focus)::after {
  clip-path: polygon(
    calc(100% - var(--border-width))
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
    calc(100% - var(--border-width)) var(--border-width),
    calc(100% - var(--border-width)) var(--border-width),
    calc(100% - var(--border-width))
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
    calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
      calc(100% - var(--border-width)),
    calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
      calc(100% - var(--border-width))
  );
  transition: 0.5s;
}

.nav-btn:where(:hover, :focus) {
  color: #fff;
}

/* #### Mobile Styles #### */
@media (max-width: 768px) {
  .navbar {
    padding: 30px 30px;
    justify-content: space-between;
  }

  /* Hamburger sichtbar machen */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    margin-right: 12px;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Dropdown-Menü */
  .nav-center {
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 16px 24px 24px;
    gap: 12px;
    transform: translateY(-200%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .navbar nav a {
    margin: 0;
    font-size: 1rem;
  }

  /* CTA etwas kompakter auf Mobile */
  .nav-btn {
    padding: 6px 14px;
    font-size: 0.85rem;
    margin-left: 0;
  }

  /* Wenn Checkbox aktiv → Menü ausklappen */
  .nav-toggle-checkbox:checked ~ .nav-center {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Hamburger zu X animieren */
  .nav-toggle-checkbox:checked + .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle-checkbox:checked + .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle-checkbox:checked + .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
/* #### Navbar Ende #### */


/*################*/


/* #### Body #### */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bot) 100%) fixed no-repeat;
  color:var(--fg);
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  padding-top: var(--navbar-height);
}

main{
  min-height: 60vh;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding: 4rem 0 3rem;
}

.container{
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

/* ## Typografie ## */
h1,h2{
  margin:0 auto;
  font-weight:800;
  line-height:1.5;
}

h1{ font-size: clamp(3.2rem, 4vw + 1rem, 4.5rem); padding-top: 0.1vw; }
h2{ font-size: clamp(2.5rem, 2vw + 0.8rem, 4rem); margin-top: 1.5rem; padding-bottom: 1vw; }
h3{ font-size: clamp(2.2rem, 1.5vw + 0.8rem, 2rem); }
h4{ font-size: clamp(2.0rem, 1.5vw + 0.8rem, 2rem); }
p{ font-size: clamp(1.0rem, 1.5vw + 0.8rem, 1.3rem); }

.lead{
  margin: 0 auto 2vh;
  max-width: 70ch;
  font-size: clamp(1.2rem, 1vw + 0.85rem, 1.5rem);
  color: #eaeaea;
}

.gradient-header{
  position: relative;
  display: block;
}

.text-shadow{
  position: relative;
  z-index: 1;

  background-image: linear-gradient(90deg, var(--accent-start), var(--accent-end));
  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;

  display: inline-block;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}



/* ## Hero ## */
.container{ 
    max-width:1600px;
    width:100%;
    margin:0 auto;
    padding:0 20px;
}

.hero{
  position: relative;
  display: grid;
  grid-template-columns: 1fr min(520px, 45%);
  align-items: center;
  gap: 48px;
  padding-bottom: 15vh;
}

.hero-text{
  text-align: center;
  min-width: 360px;
}

.block{
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  background: linear-gradient(0deg, #000, #272727);
}

.block > img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  position: relative;
  z-index: 1;
}

.block::before,
.block::after {
  content: "";
  position: absolute;
  left: -2px;
  top: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: inherit;
  background: linear-gradient(45deg,
    rgba(28, 34, 48, 0.5) 0%,    /* #1C2230 */
    rgba(230, 62, 53, 0.5) 15%,  /* #E63E35 */
    rgba(255, 111, 97, 0.5) 35%, /* #FF6F61 */
    rgba(255, 166, 138, 0.5) 60%,/* #FFA68A */
    rgba(255, 217, 142, 0.5) 80%,/* #FFD98E */
    rgba(230, 90, 80, 0.5) 100%  /* #E65A50 */
  );
  background-size: 500%;
  animation: steam 20s linear infinite;
  z-index: 0;
}

.block::after{
  filter: blur(90px);
}

@keyframes steam{
  0%{background-position:0 0;}
  50%{background-position:300% 0;}
  100%{background-position:0 0;}
} 








/* # Loading Text Area # */
.loading-text {
  padding: 5rem 2rem;
  border-radius: 1.25rem;
}
.loader {
  display: block;
  align-items: baseline;
  margin: 0 0 10vh;
  gap: 6px;
  height: auto;
}

.loader p {
  margin: 0;
  line-height: 1em;
  font-size: clamp(1.2rem, 1.5vw + 0.8rem, 2rem);
}

.words {
  display: inline-block;
  vertical-align: baseline;
  height: 1em;
  line-height: 1em;
  position: relative;
  overflow: hidden;
  font-size: clamp(1.2rem, 1.5vw + 0.8rem, 4rem);
}

.word {
  display: block;
  height: 2em;
  line-height: 1em;
  color: var(--accent-start);
  animation: spin_4991 8s infinite;
}

@keyframes spin_4991 {
  10% {
    -webkit-transform: translateY(-102%);
    transform: translateY(-102%);
  }

  25% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  35% {
    -webkit-transform: translateY(-202%);
    transform: translateY(-202%);
  }

  50% {
    -webkit-transform: translateY(-200%);
    transform: translateY(-200%);
  }

  60% {
    -webkit-transform: translateY(-302%);
    transform: translateY(-302%);
  }

  75% {
    -webkit-transform: translateY(-300%);
    transform: translateY(-300%);
  }

  85% {
    -webkit-transform: translateY(-402%);
    transform: translateY(-402%);
  }

  100% {
    -webkit-transform: translateY(-400%);
    transform: translateY(-400%);
  }
}
/* # Loading Text Area Ende # */



/* Gif-Carousel */
.carousel-wrapper{
  width: 100%;
  min-height: min(60vh, 60vmin);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 80;

  perspective: clamp(600px, 80vmin, 1000px);
  perspective-origin: 50% 50%;
}

.carousel-inner{
  --w: clamp(120px, 14vmin, 220px);
  --h: clamp(200px, 24vmin, 360px);
  --translateZ: clamp(320px, calc((var(--w) + var(--h)) * 1.0), 700px);
  --rotateX: 0deg;

  position: absolute;
  width: var(--w);
  height: var(--h);
  top: 25%;
  left: calc(50% - (var(--w) / 2));
  z-index: 2;
  transform-style: preserve-3d;
  transform: rotateX(var(--rotateX));
  animation: rotating 26s linear infinite;
}

@keyframes rotating{
  from { transform: rotateX(0deg) rotateY(0); }
  to   { transform: rotateX(0deg) rotateY(1turn); }
}

.carousel-card{
  position: absolute;
  inset: 0;
  border: 2px solid rgba(var(--color-card),0.9);
  border-radius: 12px;
  overflow: hidden;
  transform:
    rotateY(calc((360deg / var(--quantity)) * var(--index)))
    translateZ(var(--translateZ));
  backface-visibility: hidden;
  will-change: transform;
}

/* Der Rahmen / Glow-Container */
.carousel-img{
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Glow-Hintergrund für alle Karten (auch die ohne Bild) */
.carousel-img::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle,
      rgba(var(--color-card),0.2) 0%,
      rgba(var(--color-card),0.6) 80%,
      rgba(var(--color-card),0.9) 100%);
  z-index: 1;
}

/* Bild & Video passen sich dem Element an */
.carousel-img img,
.carousel-img > video{
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* oder 'contain', wenn nichts beschnitten werden soll */
  display: block;
  pointer-events: none; /* optional für Videos */
}




/* Solution Hover */
.solutions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* === Karten-Styling === */
.solutions > p {
  position: relative;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;

  /* Bild + Overlay als kombinierter Hintergrund */
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85)),
    var(--bg) center/cover no-repeat;

  color: #ff568e;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  text-align: center;
  border: 1px solid #ff568e20;
  transition: transform 0.4s ease, filter 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

/* === Hover Effekte === */
.solutions > p:hover {
  transform: scale(1.03);
  filter: brightness(1.15);
  color: #fff0f3;
  letter-spacing: 0.15em;
}

/* === Individuelle Glow-Farben === */
.solutions > p:nth-child(1):hover {
  box-shadow: 0 0 25px 5px rgba(255, 80, 80, 0.6);
  border-color: #ff5050;
}

.solutions > p:nth-child(2):hover {
  box-shadow: 0 0 25px 5px rgba(255, 100, 130, 0.6);
  border-color: #ff6482;
}

.solutions > p:nth-child(3):hover {
  box-shadow: 0 0 25px 5px rgba(255, 140, 160, 0.6);
  border-color: #ff8ca0;
}

.solutions > p:nth-child(4):hover {
  box-shadow: 0 0 25px 5px rgba(255, 100, 130, 0.6);
  border-color: #ff6482;
}

.solutions > p:nth-child(5):hover {
  box-shadow: 0 0 25px 5px rgba(255, 140, 160, 0.6);
  border-color: #ff8ca0;
}




/* Solution Product Cards */
.product-wrapper-bg {
  background: #111;           /* dein gewünschter Hintergrund */
  padding: 30px 30px;         /* Abstand nach innen */
  border-radius: 50px;        /* optional */
  margin-top: 2vh;
  margin-bottom: 3vh;
  z-index: 1;
}

.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3em;
  z-index: 1;
}

.product-heading {
  font-size: clamp(2.2rem, 1.5vw + 1rem, 3rem);
  z-index: 1;
}

.product-wrapper-bg .btn {
  width: auto;
  align-self: center;
  margin-top: 40px;
}

.product-card {
  max-width: 350px;
  min-width: 100px;
  position: relative;
  overflow: hidden;
  background-color: #000;
  border-radius: 15px;
  padding: 30px;
  z-index: 1;
}

/* --- Inhaltsebene --- */
.product-card p {
  position: relative;
  z-index: 4;
  padding: 14px 0;
}

/* Linie mittig zwischen den Absätzen */
.product-card p::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -7px;
  width: 70%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
}

/* Erste & letzte Zeile ohne Linie (optional, falls du das willst) */
.product-card p:last-of-type::after {
  display: none;
}

/* Überschrift */
.product-card h3 {
  position: relative;
  z-index: 4;        /* wichtig, damit sie über dem Overlay liegt */
  color: #ff5757;
}

/* --- Animationsebene (Rand) --- */
.product-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;      /* schmaler Balken */
  height: 180%;    /* länger als die Card, damit er in allen Winkeln reicht */
  transform: translate(-50%, -50%);
  animation: rotBGimg 5s linear infinite;
  transition: all 0.5s linear;
  z-index: 1;
}

/* Varianten für den animierten Rahmen */

/* BASIC: Rot / Dunkelrot */
.product-card.basic::before {
  background-image: linear-gradient(180deg, #8f8f8f, #646464);
}

/* STANDARD: Coral (Standard-Design) */
.product-card.standard::before {
  background-image: linear-gradient(180deg, #E65A50, #ff776a);
}

/* PREMIUM: Gold */
.product-card.premium::before {
  background-image: linear-gradient(180deg, #ffdd55, #ffae00);
}

/* --- Hintergrundfläche --- */
.product-card::after {
  content: '';
  position: absolute;
  inset: 5px;
  background: repeating-linear-gradient(
    120deg,
    #2e2e2e,
    #353535 60px
  );
  border-radius: 15px;
  z-index: 2;
}

@keyframes rotBGimg {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ===== PREMIUM SPARKLES ===== */
.product-card.premium .sparkles {
  position: absolute;
  top: 8px;
  right: 14px;
  width: 40px;   /* anpassen */
  height: 40px;  /* anpassen */
  pointer-events: none;
  z-index: 3;
  background-image: url("/img/sparkles.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  animation: sparkle-pulse 2.2s ease-in-out infinite;
}

.product-card.standard .sparkles {
  position: absolute;
  top: 8px;
  right: 14px;
  width: 40px;   /* anpassen */
  height: 40px;  /* anpassen */
  pointer-events: none;
  z-index: 3;
  background-image: url("/img/sparkles.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  animation: sparkle-pulse 2.2s ease-in-out infinite;
}

.product-card.basic .sparkles {
  position: absolute;
  top: 8px;
  right: 14px;
  width: 40px;   /* anpassen */
  height: 40px;  /* anpassen */
  pointer-events: none;
  z-index: 3;
  background-image: url("/img/sparkles.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  animation: sparkle-pulse 2.2s ease-in-out infinite;
}


@keyframes sparkle-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12); /* leichtes Wachstum */
  }
  100% {
    transform: scale(1);
  }
}



/* Kontaktformular - Ohne Hubspot Premium kaum Styling */
.hs-form-frame {
  background-color: #f5f5fa; /* hell, neutral */
  border-radius: 15px;
  margin-top: 4vh;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}




/* ### CTA Button ### */
.btn {
  --border-color: linear-gradient(-45deg, #ffae00, #aa035f, #ae00ff);
  --border-width: 0.125em;
  --curve-size: 0.5em;
  --blur: 30px;
  --bg: #080312;
  --color: #afffff;
  color: var(--color);
  cursor: pointer;
  /* use position: relative; so that BG is only for .btn */
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-content: center;
  padding: 1em 1.5em;
  font-size: 17px;
  border: 0;
  text-transform: uppercase;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.6);
  clip-path: polygon(
    /* Top-left */ 0% var(--curve-size),
    var(--curve-size) 0,
    /* top-right */ 100% 0,
    100% calc(100% - var(--curve-size)),
    /* bottom-right 1 */ calc(100% - var(--curve-size)) 100%,
    /* bottom-right 2 */ 0 100%
  );
  transition: color 500ms;
}

.btn::after,
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
}

.btn::before {
  background: var(--border-color);
  background-size: 300% 300%;
  animation: move-bg7234 5s ease infinite;
  z-index: -2;
}

@keyframes move-bg7234 {
  0% {
    background-position: 31% 0%;
  }

  50% {
    background-position: 70% 100%;
  }

  100% {
    background-position: 31% 0%;
  }
}

.btn::after {
  background: var(--bg);
  z-index: -1;
  clip-path: polygon(
    /* Top-left */ var(--border-width)
      calc(var(--curve-size) + var(--border-width) * 0.5),
    calc(var(--curve-size) + var(--border-width) * 0.5) var(--border-width),
    /* top-right */ calc(100% - var(--border-width)) var(--border-width),
    calc(100% - var(--border-width))
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
    /* bottom-right 1 */
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
      calc(100% - var(--border-width)),
    /* bottom-right 2 */ var(--border-width) calc(100% - var(--border-width))
  );
  transition: clip-path 1s;
}

.btn:where(:hover, :focus)::after {
  clip-path: polygon(
    /* Top-left */ calc(100% - var(--border-width))
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
    calc(100% - var(--border-width)) var(--border-width),
    /* top-right */ calc(100% - var(--border-width)) var(--border-width),
    calc(100% - var(--border-width))
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
    /* bottom-right 1 */
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
      calc(100% - var(--border-width)),
    /* bottom-right 2 */
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
      calc(100% - var(--border-width))
  );
  transition: 0.7s;
}

.btn:where(:hover, :focus) {
  color: #fff;
}










/* Socials */
.social-btn {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
  width: 180px;
  height: 60px;
  background-color: #1f1f1f;
  border-radius: 80px;
  border: 2px solid #eeeeed;
  padding: 0;
  transition: all 0.5s ease;
  bottom: 4vh;
  right: 2vw;
  z-index: 90;
}

.social-btn:hover {
  background-color: #eeeeed;
  transform: scale(1.1);
}

/* Text */
.social-btn span {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 600;
  font-size: 17px;
  text-align: center;
  line-height: 60px;
  letter-spacing: 2px;
  color: #eeeeed;
  background-color: transparent;
  transition: color 0.4s ease, opacity 0.4s ease;
}

/* Container für Icons */
.social-btn .social-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;

}

/* Icons */
.social-btn svg {
  fill: #1f1f1f;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.3s ease;
}

.social-btn:hover svg {
  opacity: 1;
  transform: scale(1);
}

.social-btn:hover span {
  opacity: 0;
  color: #1f1f1f;
}


/* Verzögerung für die Icons, optional */
.social-btn .social-container svg:nth-of-type(1) {
  transition-delay: 0.3s;
}
.social-btn .social-container svg:nth-of-type(2) {
  transition-delay: 0.4s;
}
.social-btn .social-container svg:nth-of-type(3) {
  transition-delay: 0.5s;
}
.social-btn .social-container svg:nth-of-type(4) {
  transition-delay: 0.6s;
}









/* ###### Footer ###### */
/* === Footer === */
.site-footer {
  background-color: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--fg);
  text-align: center;
  padding: 20px 0;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.footer-links a {
  color: #e0e0e0c0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-start);
}

.footer-sep {
  color: #666;
  user-select: none;
}

.footer-copy {
  color: #bdbdbd;
  font-weight: 500;
}



/* Platzhalter to delete */
.placeholder-img {

  border-radius: 15px;
  max-width: 50%;
}


/* Privacy */
.privacy {
  display: block;
}

/* AGB */
.agb {
  display: block;
}









/* ###=### Responsives Finetuning ###=### */
/* Ultrawide */
@media (min-aspect-ratio: 21/9), (min-width: 2000px) {
  .carousel-inner{
    --w: clamp(120px, 12vmin, 200px);
    --h: clamp(200px, 20vmin, 320px);
    --translateZ: clamp(300px, calc((var(--w) + var(--h)) * 0.95), 620px);
  }
  .carousel-wrapper{
    perspective: clamp(600px, 70vmin, 900px);
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 90%; /* statt fester Pixel */
    padding-inline: 5vw; /* etwas mehr Atemraum */
  }

  section {
    padding-inline: 5vw; /* gilt auch für volle Sektionen */
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 95%;
    padding-inline: 6vw;
  }

  section {
    padding-inline: 6vw;
  }
}


@media (max-width: 768px){
  .lead{ max-width: 85ch; }
  main{ padding: 3rem 0 2rem; }
}

@media (max-width: 900px){
  .hero{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-image{ justify-self: center; }
  .hero-text{ min-width: 0; }
}



/* Solution responsive */
@media (max-width: 768px) {
  .solutions {
    grid-template-columns: 1fr;
  }
  .solutions p:nth-child(4) {
    grid-column: auto;
  }
}


/* Mobile kompakt */
@media (max-width: 768px) {

  .carousel-wrapper{
    min-height: 42vh;
    padding-block: 1.25rem;
    perspective: 650px;
  }

  .carousel-inner{
    /* Karten bewusst kleiner halten */
    --w: clamp(130px, 50vw, 170px);
    --h: calc(var(--w) * 1.15);

    /* moderater Ringradius -> kein Überlappen, Größe bleibt im Rahmen */
    --translateZ: clamp(240px, calc(var(--w) * 1.8), 360px);

    top: 30%;
    left: calc(50% - (var(--w) / 2));
  }

  .carousel-card{
    border-radius: 18px;
  }
}

/* Extra-klein: sehr schmale Phones */
@media (max-width: 480px) {

  .carousel-wrapper{
    min-height: 38vh;
    padding-block: 1rem;
  }

  .carousel-inner{
    --w: clamp(120px, 60vw, 150px);
    --h: calc(var(--w) * 1.05);
    --translateZ: clamp(220px, calc(var(--w) * 1.7), 320px);

    top: 32%;
  }
}

/* Footer */
@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 6px;
  }
  .footer-sep {
    display: none;
  }
}