html {
    font-size: 16px;
  }
  
  html,
  body {
    height: 100%;
  }
  
  body {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111;
    font-family: "helvetica neue", helvetica, sans-serif;
    overflow: hidden;
  }
  
  a {
    color: #fff;
    text-decoration: none;

  }
  
  .scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-family: "font-2";
    font-size: calc(0.5rem + 0.35vw);
    z-index: 10;
  }
  
  .logo {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    margin: 0;
    z-index: 10;
  }
  .logo img {
    display: block;
    height: 3rem;
    width: auto;
  }
  
  ul,
  li {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
/* Navigation – bleibt nebeneinander */
.nav {
    position: absolute;
    top: 2rem;
    z-index: 10;
  }
  
  .nav--left {
    left: 1rem;
  }
  
  .nav--right {
    right: 1rem;
  }
  
  .nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: auto;
    flex-wrap: wrap;
   
  }
  
  .nav li {
    margin: 0;
    padding: 0;
  }
  
  .nav a {
    position: relative;
    display: flex;
    align-items: center;
    font-size: calc(0.5rem + 0.3vw); /* kleinere Schrift */
    font-family: "helvetica neue", helvetica, sans-serif;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.5); /* Standard: ausgegraut */
    text-decoration: none;
    transition: color 0.3s ease;
    
  }
 
  
  
  .nav a.is-active {
    color: #fff; /* nur aktiver Link weiß */
  }
  
  .nav a:hover {
    color: #fff; /* beim Hover auch weiß */
  }
  
  .nav a span {
    position: relative;
  }
  
  .nav a span:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.25);
    transition: transform 0.75s ease;
    transform-origin: right;
    transform: scaleX(0);
  }
  
  .nav a:hover span:before,
  .nav a.is-active span:before {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  
  /* Vertikaler Text – bleibt sichtbar, wird kleiner */
  .vert-text {
    position: absolute;
   
    bottom: 2rem;
    right: 2rem;
    width: 15rem;
    display: flex;
    align-items: center;
    z-index: 10;
  }
  .vert-text span {
    display: block;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    transform: rotate(-90deg) translateY(15rem);
    transform-origin: bottom left;
    font-size: 2.35rem;
    transition: font-size 0.3s ease, transform 0.3s ease;
  }
  
  .cart-total1 {
    display: block;
    height: 2rem;
    width: 2rem;
    background-color: transparent;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 2rem;
    margin-left: 1rem;
  }
  
  .slider {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
  }
  .slider__text {
    position: absolute;
    bottom: calc(2rem + 3vw);
    left: calc(2rem + 3vw);
    z-index: 10;
    font-size: calc(1rem + 4vw);
    text-transform: uppercase;
    transform-origin: top;
    line-height: 1.075;
    color: #fff;
    font-weight: 500;
  }
  .slider__text-line {
    overflow: hidden;
  }
  .slider__inner {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
  }
  .slider__nav {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
  }
  .slider-bullet {
    display: flex;
    align-items: center;
    padding: 1rem 0;
  }
  .slider-bullet__text {
    color: #fff;
    font-size: 0.65rem;
    margin-right: 1rem;
  }
  .slider-bullet__line {
    background-color: #fff;
    height: 1px;
    width: 1rem;
  }
  .slider canvas {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
  }
  
  .slide {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
  }
  .slide__content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
  }
  .karussel {
    position: relative;   /* bleibt Container für absolute Inhalte */
    width: 100%;           /* volle Breite */
    height: 100%;          /* volle Höhe des Eltern-Elements */
    padding: 0;
    margin: 0;
  }
  
  
  .slide__img {
    position: relative;
  
    padding: 0;
    margin: 0;
    min-width: 12.5rem;
    transform-origin: top;
  }
  
  .slide__img:first-child {
    top: -1.5rem;
  }
  .slide__img:last-child {
    bottom: -1.5rem;
  }

  .vorteile{
    width: 100%;
    height: 100%;
  }
  
  /* Responsive Anpassungen */
  @media (max-width: 1024px) {
    .slider__text {
      font-size: calc(1rem + 3vw);
      left: 1.5rem;
      bottom: 4rem;
    }
    .slide__img {
      width: 35vw;
      height: 60vh;
    }
    .vert-text span {
      font-size: 1.1rem;
      transform: rotate(-90deg) translateY(12rem);
    }
    .nav ul {
      gap: 1rem;
    }
  }
  
  @media (max-width: 768px) {
    body {
      overflow: auto;
     
    }
    .slider__text {
      font-size: calc(1rem + 2.5vw);
      left: 1rem;
      bottom: 3rem;
    }
    .slide__img {
      width: 60vw;
      height: 50vh;
    }
   
    .vert-text span {
      font-size: 0.95rem;
      transform: rotate(-90deg) translateY(10rem);
    }
    .nav a {
      font-size: 0.85rem;
    }
  }
  
  @media (max-width: 480px) {
    .logo img {
      height: 0.8rem;
    }
    .slider__text {
      font-size: 1.2rem;
      left: 0.8rem;
      bottom: 2rem;
    }
    .slide__img {
      width: 80vw;
      height: 40vh;
    }
    .nav ul {
      gap: 0.6rem;
    }
    .nav a {
      font-size: 0.75rem;
    }
    .vert-text span {
      font-size: 0.8rem;
      transform: rotate(-90deg) translateY(8rem);
    }
  }
  /* Container-Position */
#taprate-container {
    position: absolute;
    bottom: 6rem;
    right: 2rem;
    display: flex;
    align-items: flex-start;
    font-family: "helvetica neue", helvetica, sans-serif;
    font-size: 1.2rem; /* TapRate + Links gleich groß */
    color: white;
    z-index: 9999;
    transition: transform 0.4s ease;
  }
  
  /* Geöffnet: leicht nach links schieben */
  #taprate-container.open {
    transform: translateX(-80px);
  }
  
  /* TapRate + Pfeil nebeneinander */
  #taprate-header {
    display: flex;
    flex-direction: row; /* Pfeil neben Text */
    align-items: center;
    cursor: pointer;
  }
  
  .taprate-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    
  }
  .slider__text
  {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    bottom: -27.5%;
  }
  .fa-solid {
    color: gold; /* färbt das Symbol */
  }

  :root {
    --marquee-width: 50vw;
    --marquee-height: 7vh;
    --marquee-elements: 12;
    --marquee-elements-displayed: 6;
    --marquee-element-width: calc(var(--marquee-width) / var(--marquee-elements-displayed));
    --marquee-animation-duration: calc(var(--marquee-elements) * 3s);
  }
  
  .marquee {
    width: 100vw;
    height: var(--marquee-height);
    background-color: transparent;
    color: #eee;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
  }
  
  .marquee-content li {
    display: flex;
    flex-direction: column;   /* Icon über Text */
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: var(--marquee-element-width);
    font-size: calc(var(--marquee-height) * 0.25); /* Textgröße */
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.6); /* dezenter, leicht transparenter Text */
    padding: 0 0.5rem; /* Abstand zwischen Blöcken */
    text-shadow: 0 1px 2px rgba(0,0,0,0.2); /* leichte Lesbarkeit */
  }
  
  .marquee-content li i {
    font-size: calc(var(--marquee-height) * 0.5); /* Icongröße */
    margin-bottom: 0.3rem;
    color: rgba(212, 175, 55, 0.6); /* dezenteres Gold */
    text-shadow: 0 1px 2px rgba(0,0,0,0.15); /* leichte Tiefe */
  }
  
  
  .marquee:before,
  .marquee:after {
    position: absolute;
    top: 0;
    width: 5rem;
    height: 100%;
    content: "";
    z-index: 1;
  }
  
  .marquee:before {
    left: 0;
    background: linear-gradient(to right, #111 0%, transparent 100%);
  }
  
  .marquee:after {
    right: 0;
    background: linear-gradient(to left, #111 0%, transparent 100%);
  }
  
  .marquee-content {
    list-style: none;
    height: 100%;
    display: flex;
    animation: scrolling var(--marquee-animation-duration) linear infinite;
    margin: 0;
    padding: 0;
  }
  
  @keyframes scrolling {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements))); }
  }
  


  
  /* Mobile Anpassung */
  @media (max-width: 600px) {
    :root {
      --marquee-height: 18vh;
      --marquee-elements-displayed: 3;
    }
    .marquee:before,
    .marquee:after {
      width: 3rem;
    }
    .marquee-content li i {
      font-size: calc(var(--marquee-height) * 0.4);
    }
    .marquee-content li {
      font-size: calc(var(--marquee-height) * 0.2);
    }
  }
  


  .arrow {
    
    margin-left: 6px;
    transition: transform 0.3s ease;
  }
  
  .arrow.open {
    transform: rotate(90deg);
  }
  
  /* Panel mit vertikalen Links */
  #taprate-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 15px; /* Abstand zwischen TapRate und Links */
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }
  
  #taprate-panel a {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-decoration: none;
    color: white;
    bottom: 2rem;
    right: 2rem;
    font-family: inherit;
    font-size: 1.2rem; /* kleiner als TapRate */
    margin-bottom: 10px;
    line-height: 2;
  }
  
  
  #taprate-panel.open {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
  }
  /* Tablet-Optimierung */
@media (max-width: 1024px) {
  #taprate-container {
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1rem;
    transform: scale(0.95);
    transform-origin: bottom right;
  }

  #taprate-panel a {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .taprate-text,
  .slider__text {
    font-size: 1rem;
  }
}

/* Smartphone-Optimierung */
@media (max-width: 680px) {
  #taprate-container {
    bottom: 1rem;               /* etwas höher vom unteren Rand */
    right: 0.5rem;               /* weiter nach rechts */
    font-size: 0.9rem;           /* alles kleiner */
    transform: scale(0.85);      /* gesamte Box leicht verkleinern */
    transform-origin: bottom right;
  }

  #taprate-panel a {
    font-size: 0.85rem;          /* Links kleiner */
    margin-bottom: 6px;
  }

  .taprate-text,
  .slider__text {
    writing-mode: vertical-rl;   /* Leserichtung bleibt */
    transform: rotate(180deg);
    font-size: 0.85rem;
  }

  .arrow {
    margin-left: 4px;
  }
}

/* Sehr kleine Geräte */
@media (max-width: 400px) {
  #taprate-container {
    bottom: 0.5rem;
    right: 0.5rem;
    font-size: 0.85rem;
    transform: scale(0.8);
  }

  #taprate-panel a {
    font-size: 0.8rem;
  }

  .taprate-text,
  .slider__text {
    font-size: 0.8rem;
  }
}


    /* =========================
     DESIGN TOKENS
     ========================= */
     :root{
        /* Farben */
       
        --text:#EAF0FF; --muted:#B8C0D9; --border:rgba(255,255,255,.12);
        --primary:goldenrod; --primary-2:gold;        /* CTA-Kontrast */
                           
        --gold-12:rgba(218,165,32,.12);
        --gold-22:rgba(218,165,32,.22);
        --gold-30:rgba(218,165,32,.30);
    
        /* Größen & Schatten */
        --radius:14px;
        --shadow-btn:0 10px 22px rgba(172, 162, 31, 0.35);
        --shadow-lg:0 30px 80px rgba(0,0,0,.55);
    
        /* Sterne */
        --star-size:12px; --star-gap:4px;
    
        /* Bildgrößen (einfach anpassbar) */
        --visual-max:560px;    /* maximale Breite der Person am Desktop */
        --phone-max:280px;     /* maximale Breite des Handys am Desktop */
        --phone-rotate:-6deg;  /* Rotationswinkel des Handys */
      }
    
      /* =========================
         BASE
         ========================= */
    
      /* =========================
         HEADER
         ========================= */
     
      /* =========================
         HERO
         ========================= */
      .hero{
        display:grid; grid-template-columns:1.02fr 1fr; gap:56px; align-items:center;
        min-height:86vh; padding:24px max(5vw,28px) 72px; position:relative; isolation:isolate;
      }

    
      /* LEFT: Copy */
      .hero h1{
        font-size:clamp(36px,5.6vw,68px);
        color:#EAF0FF;





        line-height:1.04; letter-spacing:-.3px; margin:0 0 16px; 
      }
      .hero p{
        margin:0 0 26px; color:var(--muted);
        font-size:clamp(16px,2.2vw,19px); max-width:62ch;
        
      }
      .ctas{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 16px}
      .btn{
        display:inline-flex;align-items:center;gap:10px;padding:14px 18px;border-radius:14px;border:1px solid transparent;
        font-weight:800;color:#fff;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,outline .18s ease;
        outline:2px solid transparent; outline-offset:2px;
      }
      .btn--primary{background:linear-gradient(180deg,var(--primary),var(--primary-2));box-shadow:var(--shadow-btn)}
      .btn--primary:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(217, 231, 13, 0.45)}
      .btn--ghost{color:var(--text);background:transparent;border-color:var(--border)}
      .btn--ghost:hover{background:rgba(255,255,255,.06)}
      .btn:focus-visible{outline-color:var(--gold)}
    
      /* Rating – weiße Sterne */
      .rating{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:14px}
      .stars{display:inline-flex;gap:var(--star-gap)}
      .star{width:var(--star-size);height:var(--star-size)}
      .star svg{width:100%;height:100%;display:block;fill:#fff}
    
      /* RIGHT: Visual – Person + Handy (separate <img>) */
      .visual{position:relative;display:grid;place-items:end center;min-height:520px}
    
     
      /* Motion & A11y */
      @keyframes float{0%,100%{transform:translateY(0) rotate(var(--phone-rotate))}50%{transform:translateY(-8px) rotate(var(--phone-rotate))}}
      @keyframes aurora{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(1.6%,-1.6%,0)}}
      @keyframes sweep{0%{transform:translateX(0)}100%{transform:translateX(-1.4%)}}
      @media (prefers-reduced-motion:reduce){
        *{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;}
      }
    
      /* =========================
         RESPONSIVE
         ========================= */
         @media (max-width: 680px) {
          .text {
            font-size:10px !important;
          }
        }
        
         @media (max-width: 680px) {
          .hero {
            display: flex;
            flex-direction: column;     /* stapeln */
            justify-content: flex-start;/* alles nach oben */
            align-items: center;
            padding: 12px;
            min-height: 100vh;          /* volle Höhe */
            box-sizing: border-box;
            overflow: hidden;           /* verhindert Scroll-Lücken */
            text-align: center;
            margin-top: -470px;
            margin-left: -40px;
          }
    
          /* Bildblock */
          .visual {
            order: 0;                   /* als erstes Element */
            margin: 0 0 12px 0;         /* nur unten etwas Abstand */
            width: 100%;
            display: flex;
            justify-content: center;
          }
        
          .figure-wrap {
            width: min(320px, 80vw);    /* Bild kleiner */
            margin: 0 auto;
          }
          .figure-img {
            width: min(150px, 40%);
            position: static;
            margin-top: 70px;
          }
        
          .phone-img {
            width: min(150px, 40%);
            position: static;
            margin-top: 70px;
          }
        
          /* Textblock */
          .hero > div:first-child {
            order: 1;                   /* direkt nach dem Bild */
            margin: 0;
            width: 100%;
            
          }
        
          .hero h1 {
            font-size: 1.5rem;
            margin-bottom: 8px;
            line-height: 1.2;

          }
        
          .hero p {
            font-size: 0.6rem;
            margin-bottom: -18px;
            line-height: 1.4;
          }
        
          .ctas {
            gap: 8px;
            margin-bottom: 12px;
            flex-wrap: wrap;
            justify-content: center;
          }
        
          .btn {
            padding: 10px 14px;
            font-size: 0.85rem;
          }
        
          .rating {
            font-size: 12px;
            justify-content: center;
          }
        
          .star {
            width: 10px;
            height: 10px;
          }
        }
        
    
      .container {
      background: white;
      width: 319px;
      margin-left: 0;   /* Abstand links = 0 */
      margin-right: auto; /* Restplatz rechts */
      border: 1px solid #ddd;
      border-radius: 100px;
      padding: 10px;
      color: #505060;
      box-shadow: 0 3px 7px rgba(0, 0, 0, 0.15);
    }
    
    
  
    
    .cursor {
      position: relative;
    }
    
    .cursor::after {
      content: "";
      display: inline-block;
      height: 100%;
      position: absolute;
      border-left: 2px solid #505060;
      width: 2px;
    }
    
  
    
    #search {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 1em;
  
      position: absolute;
      left: 24rem;
    }
    #search svg {
  color: gold;
  
    }
    
    #search.active::before {
      content: "";
      display: block;
      height: 150px;
      width: 150px;
      background: gold;
      position: absolute;
      animation-name: appear;
      animation-duration: 0.7s;
  
      animation-fill-mode: both;
      animation-delay: 0.2s;
    }
    #search.active svg {
  color: gold;
      animation-name: click;
      animation-duration: 0.6s;
      animation-delay: 0.2s;
    }
    #search.active {
      color: gold !important;
      background-color: transparent;
    }
    
    
    @keyframes appear {
      0% {
        transform: scale(0);
      }
      100% {
        opacity: 0;
      }
    }
    @keyframes click {
      25% {
        transform: scale(0.9);
        fill: gold;
        stroke: gold;
      }
    }
    
    @media (max-width: 680px) {
      .container {
        margin-top: 2rem;
        transform: scale(0.85);          /* alles kleiner */
        transform-origin: top left; 
        margin-left: 19px;     /* bleibt an der gleichen Stelle */
      }
    
      #search {
        
        top: 0.75rem;
       left: 19rem;
        transform: scale(0.85);          /* Icon kleiner */
        transform-origin: left center;   /* bleibt an der gleichen Stelle */
      }
    
      #search.active::before {
        height: 120px;                    /* Kreis proportional kleiner */
        width: 120px;
       
      }
    
      #search svg {
 
        width: 0.9em;                     /* kleineres SVG */
        height: 0.9em;
      }
    }
    

    
    /* RIGHT: Visual – Person + Handy (separate <img>) */
    .visual{position:relative;display:grid;place-items:end center;min-height:520px}
      .figure-wrap{
        position:relative;width:min(var(--visual-max),42vw); aspect-ratio:3/4;
        filter:drop-shadow(0 20px 60px rgba(0,0,0,.55));
      }
      /* goldenes Backlight */
      .figure-wrap::before{
        content:""; position:absolute; inset:-6%;
        background:radial-gradient(58% 48% at 60% 30%, var(--gold-22), transparent 62%);
        filter:blur(26px); z-index:-1; mix-blend-mode:screen;
      }
    
      /* Person */
      .figure-img{
        position:absolute; inset:0; width:100%; height:100%;
        object-fit:cover; object-position:center bottom;
      }
    
      /* Handy – einfach Bild tauschen */
      .phone-img{
        position:absolute; right:-3%; top:6%;
        width:min(var(--phone-max),42%); height:auto; transform:rotate(var(--phone-rotate));
        filter:drop-shadow(0 16px 40px rgba(0,0,0,.45)); will-change:transform;
        animation:float 6s ease-in-out infinite;
      }
      .phone-img:focus-visible{outline:3px solid var(--gold); outline-offset:6px; border-radius:16px}
    .text{
        font-size: 20px;
    }
    
    /* Carousel */
.carousel1 {
  position: relative;
  width: 100%;             /* volle Breite nutzen */
  height: 60vh;            /* größere Höhe für Desktop */
  overflow: hidden;
}

/* Progress-Bar */
.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  z-index: 5;
}
.progress-bar__fill {
  width: 0;
  height: inherit;
  background: rgba(212, 175, 55, 0.8); /* dezentes Gold */
  transition: all 0.16s;
}
.progress-bar--primary {
  z-index: 6;
}

/* Main Post Wrapper */
.main-post-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.main-post {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  transition: top 0.9s 0.4s ease-out;
}
.main-post--active {
  top: 0;
  z-index: 1;
}
.main-post--not-active {
  top: 100%;
  z-index: 0;
}

/* Bild + Overlay */
.main-post__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.main-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* Bild skaliert korrekt */
  display: block;
}
.main-post__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 13, 14, 0.35); /* leicht transparent für Textlesbarkeit */
}

/* Textfeld im Bildbereich */
.main-post__content {
  position: absolute;
  bottom: 15%;          /* Text weiter unten für mehr Bildwirkung */
  left: 5%;
  color: #fff;
  width: 90%;
  font-size: 1em;
}
.main-post__tag-wrapper {
  margin: 0;
  display: inline-flex;
  overflow: hidden;
}
.main-post__tag {
  font-size: 0.85em;
  padding: 4px 12px;
  background: rgba(0,0,0,0.4);
  border-radius: 3px;
  margin-right: 6px;
}
.main-post__title {
  font-weight: 700;
  font-size: 2em;      /* größere Schrift für größere Carousel */
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  margin: 0.3em 0;
}
.main-post__link {
  font-size: 0.9em;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
}
.main-post__link-text {
  font-size: 0.9em;
}
.main-post__link-icon--arrow {
  margin-left: 8px;
}
.main-post__link-icon--play-btn {
  margin-right: 8px;
}

/* Animationen */
.main-post.main-post--active .main-post__tag-wrapper {
  width: 25%;
  transition: all 0.98s 1.9s;
}
.main-post.main-post--not-active .main-post__tag-wrapper {
  width: 0;
  transition: width 0.3s 0.2s;
}
.main-post.main-post--active .main-post__title {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s 1.42s, transform 0.5s 1.4s;
}
.main-post.main-post--not-active .main-post__title {
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.2s 0.35s, opacity 0.5s 0.2s;
}
.main-post.main-post--active .main-post__link {
  opacity: 1;
  transition: opacity 0.9s 2.2s;
}
.main-post.main-post--not-active .main-post__link {
  opacity: 0;
  transition: opacity 0.5s 0.2s;
}

/* Posts-Bereich unterhalb */
.posts-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 95%;
  padding: 18px 16px;
  margin: 0 auto;
}
.post {
  background: rgba(14, 13, 14, 0.55);
  opacity: 0.3;
  color: #fff;
  position: relative;
  padding: 16px 20px;
  transition: opacity 0.2s linear;
}
.post__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8em;
}
.post__tag {
  color: #80837e;
}
.post__title {
  font-weight: 400;
  font-size: 0.95em;
  line-height: 1.5;
}
.post--active {
  opacity: 1;
  background: rgba(14, 13, 14, 0.75);
}
.post:hover {
  cursor: pointer;
  opacity: 1;
}

/* Responsive */

/* Tablet: max. 1024px */
@media (max-width: 1024px) {
  .carousel1 {
    height: 55vh;
  }
  .main-post__content {
    font-size: 0.9em;
  }
  .main-post__title {
    font-size: 1.7em;
  }
  .posts-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Smartphone: max. 680px */
@media (max-width: 680px) {
  .carousel1 {
    height: 50vh;
  }
  .main-post__content {
    bottom: 10%;
    left: 5%;
    font-size: 0.8em;
  }
  .main-post__title {
    font-size: 1.4em;
  }
  .posts-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Sehr kleine Geräte: max. 400px */
@media (max-width: 400px) {
  .main-post__title {
    font-size: 1.2em;
  }
  .main-post__content {
    font-size: 0.7em;
  }
}


    :root{
        --item1-transform: translateX(-100%) translateY(-5%) scale(1.5);
        --item1-filter: blur(30px);
        --item1-zIndex: 11;
        --item1-opacity: 0;
      
        --item2-transform: translateX(0);
        --item2-filter: blur(0px);
        --item2-zIndex: 10;
        --item2-opacity: 1;
      
        --item3-transform: translate(50%,10%) scale(0.8);
        --item3-filter: blur(10px);
        --item3-zIndex: 9;
        --item3-opacity: 1;
      
        --item4-transform: translate(90%,20%) scale(0.5);
        --item4-filter: blur(30px);
        --item4-zIndex: 8;
        --item4-opacity: 1;
        
        --item5-transform: translate(120%,30%) scale(0.3);
        --item5-filter: blur(40px);
        --item5-zIndex: 7;
        --item5-opacity: 0;
      }
      
      
      /* carousel */
      .carousel{
        position: relative;
        height: 800px;
        overflow: hidden;
        margin-top: 100px;
        left: -37px;
      }
      .carousel .list{
        position: absolute;
        width: 1140px;
        max-width: 90%;
        height: 80%;
        left: 50%;
        transform: translateX(-50%);
      }
      .carousel .list .item{
        position: absolute;
        left: 0%;
        width: 70%;
        height: 100%;
        font-size: 15px;
        transition: left 0.5s, opacity 0.5s, width 0.5s;
      }
      .carousel .list .item:nth-child(n + 6){
        opacity: 0;
      }
      .carousel .list .item:nth-child(2){
        z-index: 10;
        transform: translateX(0);
      }
      .carousel .list .item img{
        width: 50%;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        transition: right 1.5s;
      }
      
      .carousel .list .item .introduce{
        opacity: 0;
        pointer-events: none;
      }
      .carousel .list .item:nth-child(2) .introduce{
        opacity: 1;
        pointer-events: auto;
        width: 400px;
        position: absolute;
        top: 50%;
        transform:  translateY(-50%);
        transition: opacity 0.5s;
      }
      .carousel .list .item .introduce .title{
        font-size: 2em;
        font-weight: 500;
        line-height: 1em;
        color: white;
      }
      .carousel .list .item .introduce .topic{
        font-size: 4em;
        font-weight: 500;
        color: white;
      }
      .carousel .list .item .introduce .des{
        font-size: small;
        color: white;
      }
      .carousel .list .item .introduce .seeMore{
        font-family: Poppins;
        color: white;
        margin-top: 1.2em;
        padding: 5px 0;
        border: none;
        border-bottom: 1px solid white;
        background-color: transparent;
        font-weight: bold;
        letter-spacing: 3px;
        transition: background 0.5s;
      }
      .carousel .list .item .introduce .seeMore:hover{
        background: #eee;
      }
      .carousel .list .item:nth-child(1){
        transform: var(--item1-transform);
        filter: var(--item1-filter);
        z-index: var(--item1-zIndex);
        opacity: var(--item1-opacity);
        pointer-events: none;
      }
      .carousel .list .item:nth-child(3){
        transform: var(--item3-transform);
        filter: var(--item3-filter);
        z-index: var(--item3-zIndex);
      }
      .carousel .list .item:nth-child(4){
        transform: var(--item4-transform);
        filter: var(--item4-filter);
        z-index: var(--item4-zIndex);
      }
      .carousel .list .item:nth-child(5){
        transform: var(--item5-transform);
        filter: var(--item5-filter);
        opacity: var(--item5-opacity);
        pointer-events: none;
      }
      /* animation text in item2 */
      .carousel .list .item:nth-child(2) .introduce .title,
      .carousel .list .item:nth-child(2) .introduce .topic,
      .carousel .list .item:nth-child(2) .introduce .des,
      .carousel .list .item:nth-child(2) .introduce .seeMore{
        opacity: 0;
        animation: showContent 0.5s 1s ease-in-out 1 forwards;
      }
      @keyframes showContent{
        from{
            transform: translateY(-30px);
            filter: blur(10px);
        }to{
            transform: translateY(0);
            opacity: 1;
            filter: blur(0px);
        }
      }
      .carousel .list .item:nth-child(2) .introduce .topic{
        animation-delay: 1.2s;
      }
      .carousel .list .item:nth-child(2) .introduce .des{
        animation-delay: 1.4s;
      }
      .carousel .list .item:nth-child(2) .introduce .seeMore{
        animation-delay: 1.6s;
      }
      /* next click */
      .carousel.next .item:nth-child(1){
        animation: transformFromPosition2 0.5s ease-in-out 1 forwards;
      }
      @keyframes transformFromPosition2{
        from{
            transform: var(--item2-transform);
            filter: var(--item2-filter);
            opacity: var(--item2-opacity);
        }
      }
      .carousel.next .item:nth-child(2){
        animation: transformFromPosition3 0.7s ease-in-out 1 forwards;
      }
      @keyframes transformFromPosition3{
        from{
            transform: var(--item3-transform);
            filter: var(--item3-filter);
            opacity: var(--item3-opacity);
        }
      }
      .carousel.next .item:nth-child(3){
        animation: transformFromPosition4 0.9s ease-in-out 1 forwards;
      }
      @keyframes transformFromPosition4{
        from{
            transform: var(--item4-transform);
            filter: var(--item4-filter);
            opacity: var(--item4-opacity);
        }
      }
      .carousel.next .item:nth-child(4){
        animation: transformFromPosition5 1.1s ease-in-out 1 forwards;
      }
      @keyframes transformFromPosition5{
        from{
            transform: var(--item5-transform);
            filter: var(--item5-filter);
            opacity: var(--item5-opacity);
        }
      }
      /* previous */
      .carousel.prev .list .item:nth-child(5){
        animation: transformFromPosition4 0.5s ease-in-out 1 forwards;
      }
      .carousel.prev .list .item:nth-child(4){
        animation: transformFromPosition3 0.7s ease-in-out 1 forwards;
      }
      .carousel.prev .list .item:nth-child(3){
        animation: transformFromPosition2 0.9s ease-in-out 1 forwards;
      }
      .carousel.prev .list .item:nth-child(2){
        animation: transformFromPosition1 1.1s ease-in-out 1 forwards;
      }
      @keyframes transformFromPosition1{
        from{
            transform: var(--item1-transform);
            filter: var(--item1-filter);
            opacity: var(--item1-opacity);        
        }
      }
      
      /* detail  */
      .carousel .list .item .detail{
        opacity: 0;
        pointer-events: none;
        color: white;
      }
      /* showDetail */
      .carousel.showDetail .list .item:nth-child(3),
      .carousel.showDetail .list .item:nth-child(4){
        left: 100%;
        opacity: 0;
        pointer-events: none;
      }
      .carousel.showDetail .list .item:nth-child(2){
        width: 100%;
      }
      .carousel.showDetail .list .item:nth-child(2) .introduce{
        opacity: 0;
        pointer-events: none;
      }
      .carousel.showDetail .list .item:nth-child(2) img{
        right: 50%;
      }
      .carousel.showDetail .list .item:nth-child(2) .detail{
        opacity: 1;
        width: 50%;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        text-align: right;
        pointer-events: auto;
      }
      .carousel.showDetail .list .item:nth-child(2) .detail .title{
        font-size: 4em;
      }
      .carousel.showDetail .list .item:nth-child(2) .detail .specifications{
        display: flex;
        gap: 10px;
        width: 100%;
        color: white;
        border-top: 1px solid white;
        margin-top: 20px;
      }
      .carousel.showDetail .list .item:nth-child(2) .detail .specifications div{
        width: 90px;
        text-align: center;
        flex-shrink: 0;
      }
      .carousel.showDetail .list .item:nth-child(2) .detail .specifications div p:nth-child(1){
        font-weight: bold;
      }
      .carousel.carousel.showDetail .list .item:nth-child(2) .checkout button{
        font-family: Poppins;
        color: white;
        background-color: transparent;
        border: 1px solid white;
        margin-left: 5px;
        padding: 5px 10px;
        letter-spacing: 2px;
        font-weight: 500;
      }
      .carousel.carousel.showDetail .list .item:nth-child(2) .checkout button:nth-child(2){
        background-color: transparent;
        color: white;
      }
      .carousel.showDetail .list .item:nth-child(2) .detail  .title,
      .carousel.showDetail .list .item:nth-child(2) .detail  .des,
      .carousel.showDetail .list .item:nth-child(2) .detail .specifications,
      .carousel.showDetail .list .item:nth-child(2) .detail .checkout{
        opacity: 0;
        animation: showContent 0.5s 1s ease-in-out 1 forwards;
      }
      .carousel.showDetail .list .item:nth-child(2) .detail  .des{
        animation-delay: 1.2s;
      }
      .carousel.showDetail .list .item:nth-child(2) .detail .specifications{
        animation-delay: 1.4s;
      }
      .carousel.showDetail .list .item:nth-child(2) .detail .checkout{
        animation-delay: 1.6s;
      }
      .arrows{
        position: absolute;
        bottom: 10px;
        width: 1140px;
        max-width: 90%;
        display: flex;
        justify-content: space-between;
        left: 50%;
        transform: translateX(-50%);
      }
      #prev,
      #next{
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-family: monospace;
        border: 1px solid white;
        font-size: large;
        bottom: 20%;
        left: 10%;
      }
      #next{
        left: unset;
        right: 10%;
      }
      #back{
        position: absolute;
        z-index: 100;
        color: white;
        bottom: 0%;
        left: 50%;
        transform: translateX(-50%);
        border: none;
        border-bottom: 1px solid white;
        font-family: Poppins;
        font-weight: bold;
        letter-spacing: 3px;
        background-color: transparent;
        padding: 10px;
        /* opacity: 0; */
        transition: opacity 0.5s;
      }
      .carousel.showDetail #back{
        opacity: 1;
      }
      .carousel.showDetail #prev,
      .carousel.showDetail #next{
        opacity: 0;
        pointer-events: none;
      }
      .carousel::before{
        width: 500px;
        height: 300px;
        content: '';
        background-image: linear-gradient(70deg, transparent);
        position: absolute;
        z-index: -1;
        border-radius: 20% 30% 80% 10%;
        filter: blur(150px);
        top: 50%;
        left: 50%;
        transform: translate(-10%, -50%);
        transition: 1s;
      }
      .carousel.showDetail::before{
        transform: translate(-100%, -50%) rotate(90deg);
        filter: blur(130px);
      }
 /* Smartphones & kleine Tablets */
@media screen and (max-width: 767px) {
  /* Carousel-Höhe anpassen */
  .carousel {
    height: auto;                /* passt sich Inhalt an */
    min-height: 400px;            /* Mindesthöhe für Lesbarkeit */
    padding: 10px;
  }
    .arrows{
        position: absolute;
        bottom: 10px;
        width: 940px;
        max-width: 60%;
        display: flex;
        justify-content: space-between;
        left: 55%;
        transform: translateX(-50%);
      }
      #prev,
      #next{
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-family: monospace;
        border: 1px solid white;
        font-size: large;
        bottom: 20%;
        left: 10%;
      }
      #next{
        left: unset;
        right: 10%;
      }
      #back{
        position: absolute;
        z-index: 100;
        color: white;
        bottom: 0%;
        left: 50%;
        transform: translateX(-50%);
        border: none;
        border-bottom: 1px solid white;
        font-family: Poppins;
        font-weight: bold;
        letter-spacing: 3px;
        background-color: transparent;
        padding: 10px;
        /* opacity: 0; */
        transition: opacity 0.5s;
      }

  /* Items füllen volle Breite */
  .carousel .list .item {
    width: 100%;
    font-size: 0.9em;             /* etwas größer als 10px für bessere Lesbarkeit */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Liste passt sich Höhe an */
  .carousel .list {
    height: auto;
  }

  /* Einführungstext im zweiten Item */
  .carousel .list .item:nth-child(2) .introduce {
    width: 90%;                   /* mehr Platz für Text */
    text-align: center;
  }

  /* Bilder kleiner, aber mittig */
  .carousel .list .item img {
    width: 80%;                   /* größer als 40%, damit erkennbar */
    height: auto;
    margin-bottom: 10px;
  }

  /* Detailbereich bei "showDetail" */
  .carousel.showDetail .list .item:nth-child(2) .detail {
    backdrop-filter: blur(10px);
    font-size: 0.85em;
    padding: 10px;
    width: 90%;
    margin: 0 auto;
  }

  /* Beschreibung scrollfähig */
  .carousel .list .item:nth-child(2) .introduce .des,
  .carousel.showDetail .list .item:nth-child(2) .detail .des {
    max-height: 120px;
    overflow-y: auto;
  }

  /* Checkout-Button */
  .carousel.showDetail .list .item:nth-child(2) .detail .checkout {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 10px;
  }
}
@media screen and (max-width: 767px) {
  /* Carousel weiter unten */
  .carousel {
    height: auto;
    min-height: 400px;
    margin-top: 100px;       /* Abstand nach oben */
    padding-top: 10px;
  }

  .carousel .list .item {
    width: 100%;
    font-size: 5px;
  
  }

  .carousel .list {
    height: 100%;
  }

  /* Einführungstext im zweiten Item weiter nach links */
  .carousel .list .item:nth-child(2) .introduce {
    width: 50%;
    margin-left: -100px;      /* stärker nach links verschoben */
  }

  /* Detailbereich bei showDetail ebenfalls nach links */
  .carousel.showDetail .list .item:nth-child(2) .detail {
    backdrop-filter: blur(10px);
    font-size: small;
    margin-left: -20px;
  }

  .carousel .list .item img {
    width: 40%;
  }

  .carousel .list .item:nth-child(2) .introduce .des,
  .carousel.showDetail .list .item:nth-child(2) .detail .des {
    height: 100px;
    overflow: auto;
  }

  .carousel.showDetail .list .item:nth-child(2) .detail .checkout {
    display: flex;
    width: max-content;
    float: right;
  }
}


/*==================== GOOGLE FONTS ====================*/
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Rubik&display=swap");

/*==================== VARIABLES CSS ====================*/
:root {
  /*========== Colors ==========*/
  /* Change favorite color - Blue 210 - Purple 250 - Green 142 - Pink 340*/
  --hue-color: 210;

  /* HSL color mode */
  --first-color: gold;
  --first-color-light: goldenrod;
  --first-color-alt: #111;
  --first-color-lighter: #111;
  --title-color: #111;
  --text-color: #111;
  --text-color-light: #111;
  --white-color: #fff;
  --body-color: #fff;
  --container1-color: #111;

  /*========== Font and typography ==========*/
  --body-font: 'Lato', sans-serif;
  --pricing-font: 'Rubik', sans-serif;
  --biggest-font-size: 1.75rem;
  --normal-font-size: .938rem;
  --h2-font-size: 1.25rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  --tiny-font-size: .625rem;

  /*========== Margenes Bottom ==========*/
  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
}

@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 2.125rem;
    --h2-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
    --tiny-font-size: .688rem;
  }
}

/*==================== BASE ====================*/


ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*==================== REUSABLE CSS CLASSES ====================*/
.container1 {
  max-width: 1024px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

/*==================== CARD PRICING ====================*/
.card {
  padding: 3rem 0;
}

.card__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* immer 3 Spalten */
  gap: 1rem; /* gleichmäßiger Abstand */
}

.card__content {
  position: relative;
  background-color: var(--container1-color);
  padding: 2rem 1.5rem 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: 0.4s;
}

.card__content:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25);
}

.card__header-img {
  width: 40px;
  height: 40px;
}

.card__header-circle {
  width: 50px;
  height: 50px;
  background-color: #111;
  border-radius: 50%;
  margin-bottom: var(--mb-1);
  display: grid;
  place-items: center;
}

.card__header-subtitle {
  display: block;
  font-size: var(--smaller-font-size);
  color: #fff;
  text-transform: uppercase;
  margin-bottom: var(--mb-0-25);
}

.card__header-title {
  font-size: var(--biggest-font-size);
  color: #fff;
  margin-bottom: var(--mb-1);
}

.card__pricing {
  position: absolute;
  background: linear-gradient(157deg, var(--first-color-light) -12%, var(--first-color) 109%);
  width: 70px;
  height: 90px;
  right: 1.5rem;
  top: -1rem;
  padding-top: 1.25rem;
  text-align: center;
  border-radius: 0.75rem;
}

.card__pricing-number {
  font-family: var(--pricing-font);
  font-size: var(--h2-font-size);
  color: #fff;
}

.card__pricing-symbol {
  font-size: var(--smaller-font-size);
  color: #fff;
}

.card__pricing-month {
  display: block;
  font-size: var(--tiny-font-size);
  color: #fff;
}

.card__pricing::after, 
.card__pricing::before {
  content: '';
  position: absolute;
}

.card__pricing::after {
  width: 100%;
  height: 14px;
  background-color: #111;
  left: 0;
  bottom: 0;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.card__pricing::before {
  width: 14px;
  height: 16px;
  background-color: gold;
  top: 0;
  left: -14px;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.card__list {
  row-gap: .5rem;
  margin-bottom: var(--mb-2);
}

.card__list-item {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 0.9rem;
}

.card__list-icon {
  font-size: 1.5rem;
  color: #fff;
  margin-right: var(--mb-0-5);
}

/* Buttons – gleich groß, proportional */
.card__button {
  width: 100%;
  height: 50px;               /* fixe Höhe */
  padding: 0 1rem;            /* horizontaler Abstand */
  border: none;
  font-size: var(--normal-font-size);
  border-radius: 0.6rem;
  background: linear-gradient(157deg, var(--first-color-light) -12%, var(--first-color) 109%);
  color: #fff;
  cursor: pointer;
  transition: 0.4s;
  text-align: center;

  /* Vertikal zentrieren */
  display: flex;
  align-items: center;
  justify-content: center;

  /* Lange Texte umbrechen */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__button:hover {
  box-shadow: 0 12px 24px rgba(212,175,55,0.3);
  transform: translateY(-2px);
}

/* Responsive Buttons */
@media screen and (max-width: 767px) {
  .card__button {
    height: 45px;  /* leicht kleinere Höhe für Mobile */
    font-size: 0.85em;
    padding: 0 0.8rem;
  }
}


/*==================== RESPONSIVE ====================*/
@media screen and (max-width: 1024px) {
  .card__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
}

@media screen and (max-width: 767px) {
  .card__container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card__content {
    padding: 1.5rem 1rem 2rem;
  }

  .card__header-circle {
    width: 45px;
    height: 45px;
  }

  .card__header-img {
    width: 35px;
    height: 35px;
  }

  .card__header-title {
    font-size: 1.2em;
  }

  .card__header-subtitle {
    font-size: 0.7em;
  }

  .card__list-item {
    font-size: 0.8em;
  }

  .card__button {
    font-size: 0.85em;
    padding: 0.6rem 1rem;
  }

  .card__pricing {
    width: 50px;
    height: 70px;
    font-size: 0.85em;
    top: -0.5rem;
    right: 0.5rem;
  }
}




.contact
{
   
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    width: 100%;
    background: transparent;
    overflow-x: hidden;
}


.container3
{
    position: relative;
    width: 100%;
    max-width: 1000px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 45px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    border-radius: 10px;
    z-index: 1;
    overflow: hidden;
}
.container3:before
{
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.05);
    transform: skewX(-15deg);
    pointer-events: none;
}
h2
{
    width: 100%;
    color: #fff;
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}
.container3 .row
{
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
}
.container3 .row .col
{
    position: relative;
    width: 100%;
    padding: 0 10px;
    margin: 30px 0 20px;
    transition: 0.5s;
}
.container3 .row .inputBox
{
    position: relative;
    width: 100%;
    height: 40px;
    color: #fff;
}
.container3 .row .inputBox input,
.container3 .row .inputBox textarea
{
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    box-shadow: none;
    border: none;
    outline: none;
    font-size: 18px;
    padding: 0 10px;
    z-index: 1;
    color: #000;
}
.container3 .row .inputBox .text
{
    position: absolute;
    top: 0;
    left: 0;
    line-height: 40px;
    font-size: 18px;
    padding: 0 10px;
    display: block;
    transition: 0.5s;
    pointer-events: none;
}
.container3 .row .inputBox input:focus + .text,
.container3 .row .inputBox input:valid + .text
{
    top: -35px;
    left: -10px;
}
.container3 .row .inputBox .line
{
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: 0.5s;
    border-radius: 2px;
    pointer-events: none;
}
.container3 .row .inputBox input:focus ~ .line,
.container3 .row .inputBox input:valid ~ .line
{
    height: 100%;
}

.container3 .row .inputBox.textarea
{
    position: relative;
    width: 100%;
    height: 100px;
    padding: 10px 0;
}
.container3 .row .inputBox textarea
{
    height: 100%;
    resize: none;
}
.container3 .row .inputBox textarea:focus ~ .line,
.container3 .row .inputBox textarea:valid ~ .line
{
    height: 100%;
}
.container3 .row .inputBox textarea:focus + .text,
.container3 .row .inputBox textarea:valid + .text
{
    top: -35px;
    left: -10px;
}
input[type="submit"]
{
    border: none;
    padding: 10px 40px;
    cursor: pointer;
    outline: none;
    background: #fff;
    color: #000;
    font-weight: 600;
    font-size: 18px;
    border-radius: 2px;
}

@media (max-width: 767px) {
  .contact {
      padding: 10px; /* weniger Außenabstand */
      min-height: auto; /* passt sich Inhalt an */
      height: 100%;
      
  }

  .container3 {
      padding: 25px; /* halbiertes Padding */
      max-width: 60%; /* etwas schmaler, aber gleiche Proportionen */
      border-radius: 8px;
  }

  .container3:before {
      /* gleiche Form wie Laptop, nur kleiner */
      width: 60%;   /* proportional zur Containerbreite */
      height: 60%;  /* proportional zur Containerhöhe */
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) skewX(-15deg);
  }

  h2 {
      font-size: 24px; /* kleiner, aber gleiche Schriftfamilie */
      margin-bottom: 15px;
  }

  .container3 .row {
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* kleinere Spalten */
      gap: 10px;
  }

  .container3 .row .col {
      margin: 15px 0 10px;
      padding: 0 5px;
  }

  .container3 .row .inputBox {
      height: 32px; /* kleineres Eingabefeld */
  }

  .container3 .row .inputBox input,
  .container3 .row .inputBox textarea {
      font-size: 14px;
      padding: 0 6px;
  }

  .container3 .row .inputBox .text {
      font-size: 14px;
      line-height: 32px;
  }

  .container3 .row .inputBox.textarea {
      height: 80px;
  }

  input[type="submit"],
  .button {
      padding: 8px 25px;
      font-size: 14px;
  }
}






.hide {
    display: none;
  }
  
  .button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 12.5rem;
    margin: 0;
    padding: 1.5rem 3.125rem;
    background-color: #111;
    border: none;
    border-radius: 0.3125rem;
    box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.2);
    color: white;
    font-weight: 300;
    text-transform: uppercase;
    overflow: hidden;
  }
  .button:before {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: gold;
  }
  .button span {
    position: absolute;
    line-height: 0;
  }
  .button span i {
    transform-origin: center center;
  }
  .button span:nth-of-type(1) {
    top: 50%;
    transform: translateY(-50%);
  }
  .button span:nth-of-type(2) {
    top: 100%;
    transform: translateY(0%);
    font-size: 24px;
  }
  .button span:nth-of-type(3) {
    display: none;
  }
  
  .active {
    background-color: gray;
  }
  .active:before {
    width: 100%;
    transition: width 3s linear;
  }
  .active span:nth-of-type(1) {
    top: -100%;
    transform: translateY(-50%);
  }
  .active span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  .active span:nth-of-type(2) i {
    animation: loading 500ms linear infinite;
  }
  .active span:nth-of-type(3) {
    display: none;
  }
  
  .finished {
    background-color: gold;
  }
  .finished .submit {
    display: none;
  }
  .finished .loading {
    display: none;
  }
  .finished .check {
    display: block !important;
    font-size: 24px;
    animation: scale 0.5s linear;
  }
  .finished .check i {
    transform-origin: center center;
  }
  
  @keyframes loading {
    100% {
      transform: rotate(360deg);
    }
  }
  @keyframes scale {
    0% {
      transform: scale(10);
    }
    50% {
      transform: scale(0.2);
    }
    70% {
      transform: scale(1.2);
    }
    90% {
      transform: scale(0.7);
    }
    100% {
      transform: scale(1);
    }
  }


  .button1 {
    background-color: transparent;   /* Kein Hintergrund */
    color: gold;                     /* Textfarbe */
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 24px;
    border: 2px solid gold;         /* moderner Rahmen */
    border-radius: 50px;             /* runde Ecken */
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;

    /* Puls-Animation */
    animation: pulse 2.5s infinite;
}

/* Hover-Effekt: leichte Füllung + Glanz */
.button1:hover {
    background-color: rgba(255, 215, 0, 0.1);  /* sanfter Hover */
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.4);
}

/* Glitzer-Effekt */
.button1::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.0) 100%);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
}

.button1:hover::after {
    left: 125%;
}

/* Puls-Animation Keyframes */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 18px rgba(255, 215, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    }
}


  /*================= CART BUTTON =================*/
.cart-button {
  background: linear-gradient(157deg, var(--first-color-light) -12%, var(--first-color) 109%);
  color: #fff;
  border: none;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cart-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/*================= CART SIDEBAR =================*/
.cart {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 350px;
  height: 100%;
  background: rgba(34, 34, 34, 0.95); /* dunkler, leicht transparent */
  color: #fff;
  padding: 25px 20px;
  box-shadow: -4px 0 20px rgba(0,0,0,0.2);
  border-left: 1px solid rgba(255,255,255,0.1);
  transform: translateX(100%);
  transition: transform 0.35s ease-in-out;
  display: flex;
  flex-direction: column;
  z-index: 999;
  overflow-y: auto;
  border-radius: 8px 0 0 8px;
}

.cart.open {
  transform: translateX(0);
}

/*================= CART HEADER =================*/
.cart h2 {
  margin-bottom: 20px;
  font-size: 1.4rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 10px;
}

/*================= CART ITEMS =================*/
.cart-item {
  display: flex;
  align-items: flex-start; /* Bild oben, Text und X oben */
  padding: 10px 12px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  position: relative; /* wichtig für X */
}

.cart-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
  flex-shrink: 0;
}

.cart-item-text-wrapper {
  position: relative;
  flex: 1; /* Text nimmt die gesamte Breite zwischen Bild und X */
}

.cart-item span {
  display: block;
  font-size: 0.9rem;
  color: #fff;
  padding-right: 25px; /* Platz für X */
}

.cart-remove-btn {
  position: absolute;
  top: 0;
  right: 0;
  background: transparent !important;
  border: none;
  color: gold;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  width: 20px;
  left: 47%;
  height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s, color 0.2s;
}

.cart-remove-btn:hover {
  color: #ffd700;
  transform: scale(1.3);
}


.cart-remove-btn {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: #ff4d4f;  /* modernes Rot */
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}

.cart-remove-btn:hover {
  color: #ff7875;
  transform: scale(1.2);
}

.cart-item:hover {
  background: rgba(255,255,255,0.1);
}

.cart-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cart-item-details span {
  font-size: 0.9rem;
  color: #ddd;
}

.cart-item-details strong {
  font-size: 1rem;
  margin-top: 2px;
}

/*================= CART BUTTON INSIDE =================*/
.cart button {
  background: linear-gradient(157deg, var(--first-color-light) -12%, var(--first-color) 109%);
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  margin-top: auto; /* immer unten */
  transition: transform 0.2s, box-shadow 0.2s;
}

.cart button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/*================= RESPONSIVE =================*/
@media (max-width: 600px) {
  .cart {
    width: 100%;
    max-width: 100%;
    height: 60%;
    bottom: 0;
    top: auto;
    border-radius: 8px 8px 0 0;
    transform: translateY(100%);
  }

  .cart.open {
    transform: translateY(0);
  }

  .cart-button {
    top: auto;
    bottom: 15px;
    right: 15px;
  }
}


:root {
  --primary-color: gold;
  --bg-color: rgba(255, 255, 255, 0.05);
  --text-color: #fff;
}

body {
  background-color: #111;
  font-family: 'Lato', sans-serif;
  color: var(--text-color);
  margin: 0;
  padding: 2rem;
}

.center-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  perspective: 1000px;
  overflow: visible;
}

.carousel-box {
  position: absolute;
  width: 300px;
  padding: 2rem;
  border-radius: 1rem;
  background: var(--bg-color);
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: var(--text-color);
  transition: all 0.5s ease;
  cursor: pointer;
  backface-visibility: hidden;
}

.carousel-box h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.carousel-box ul {
  list-style: none;
  padding: 0;
}

.carousel-box ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.carousel-box ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* Positionen Desktop */
.carousel-box.left {
  transform: translateX(-350px) scale(0.8) rotateY(20deg);
  opacity: 0.5;
  z-index: 1;
}

.carousel-box.center {
  transform: translateX(0) scale(1) rotateY(0deg);
  opacity: 1;
  z-index: 3;
}

.carousel-box.right {
  transform: translateX(350px) scale(0.8) rotateY(-20deg);
  opacity: 0.5;
  z-index: 1;
}

/* Hover Effekt auf mittlere Box */
.carousel-box.center:hover {
  transform: translateX(0) scale(1.05) rotateY(0deg);
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
}

/* Pfeile Desktop */
.carousel-controls {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  bottom: -50px;
  padding: 0 50px;
}

.carousel-arrow {
  background: transparent;
  color: var(--primary-color);
  font-size: 2.5rem;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}

.carousel-arrow:hover {
  color: #fff;
}

/* Responsive Mobile */
@media (max-width: 600px) {
  .center-carousel { height: auto; }

  .carousel-box {
    position: relative;
    transform: translateX(0) scale(1) rotateY(0deg);
    opacity: 1;
    margin: 0 auto;
    width: 80%;
  }

  .carousel-box.left,
  .carousel-box.right {
    display: none; /* nur eine Karte sichtbar */
  }

  .carousel-controls {
    bottom: -70px;
    padding: 0 20px;
  }
}
