.laptop-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 5rem 1rem;
  xxbackground-color: #191919; /* Dein Hintergrund */ 
  position: relative;
  z-index: 1;  
}

/* Dunkler Bodenschatten */
.laptop-wrapper::after {
  content: "";
  position: absolute;
  bottom: 2rem;
  width: 620px;
  height: 60px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, transparent 70%);  
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.6) 0%, transparent 70%);  
  opacity: 0.9;
  filter: blur(20px);
  border-radius: 50%;
  transform: translateX(-50%) rotateZ(3deg); /* ← Sichtbare Drehung */
  left: 50%;
  pointer-events: none;
  z-index: 0;    
}

.laptop {
  transform: perspective(1000px) rotateY(-20deg) rotateX(7deg);
  transform-style: preserve-3d;
  position: relative;
  width: 800px;
  max-width: 100%;
  z-index: 2;
}

/* Bildschirm */
.laptop-screen {
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  height: 450px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;  
}

.laptop-screen iframe {
  transform: rotateX(1deg); /* leichte Neigung */
  transform-origin: center center;
}

.laptop-wrapper {
  display: flex;
  align-items: flex-end; /* Beide am unteren Rand ausrichten */
  position: relative;
  margin: 0 1rem; /* Platz zwischen den beiden */
  height: 550px; /* Feste Höhe für beide Wrapper, damit sie gleich hoch sind */
  z-index: 1;
}

.laptop-wrapper .iframe-laptop {
 height:650px;
 margin-left:auto;
 margin-right:auto;	 
 background:#fff !important; 
}

.laptop-wrapper .iframe-laptop iframe {	
 margin-left:2px;
 width:1665px;
 height:1260px;
 transform:scale(0.350);
 -webkit-transform:scale(0.350);
 -o-transform:scale(0.350);
 -ms-transform:scale(0.350);
 -moz-transform:scale(0.350);
 transform-origin:top left;
 -webkit-transform-origin:top left;
 -o-transform-origin:top left;
 -ms-transform-origin:top left;
 -moz-transform-origin:top left;
 background:#fff !important;
 margin-top:2px;   
 }

@media (min-width: 600px) and (max-width: 1024px) {
  
.laptop {
  width: 650px;
  max-width: 100%;
  transform: perspective(1000px) rotateY(-20deg) rotateX(7deg);
  transform-style: preserve-3d;
  position: relative;
  margin: 0 auto;
}

.laptop-screen {
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  height: 450px; /* ca. 16:10 bei 400px Breite */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 2;
}

.laptop-wrapper .iframe-laptop iframe {	
 margin-left:2px;
 width:995px;
 height:1000px;
 transform:scale(0.650);
 -webkit-transform:scale(0.650);
 -o-transform:scale(0.650);
 -ms-transform:scale(0.650);
 -moz-transform:scale(0.650);
 transform-origin:top left;
 -webkit-transform-origin:top left;
 -o-transform-origin:top left;
 -ms-transform-origin:top left;
 -moz-transform-origin:top left;
 background:#fff !important;
 margin-top:2px;   
 }


}

/* ========= Smartphone-Wrapper ========= */
.smartphone-wrapper {
  display: flex;
  
  position: relative;
  margin: 0 1rem; /* Platz zwischen den beiden */
  height: 600px; /* Feste HÃ¶he fÃ¼r beide Wrapper, damit sie gleich hoch sind */
  z-index: 1;
}

.smartphone-wrapper {  
  align-items: center;     /* statt flex-end, bringt es hÃ¶her */  
  perspective: 1000px;
  z-index: 1;  
}

.smartphone {
  width: 230px;       /* Mittelwert zwischen 200 und 260 */
  height: 420px;      /* Proportional zur Breite */
  background: linear-gradient(to bottom, #222, #111);
  border-radius: 12px; 
  box-shadow:
    inset 10px 10px 15px rgba(255, 255, 255, 0.3), /* WeiÃŸer Schatten links oben */
    inset -10px 10px 15px rgba(255, 255, 255, 0.3), /* WeiÃŸer Schatten rechts oben */
    0 12px 36px rgba(0, 0, 0, 0.6),
    inset 0 0 6px rgba(255, 255, 255, 0.05);
  transform: perspective(1000px) rotateY(10deg) rotateX(5deg); /* Hier stÃ¤rker drehen */
  transform-style: preserve-3d;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.smartphone-screen {
  width: 100%;
  height: 100%;
  background: #191919; 
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.smartphone-screen {
  position: relative;
  background: #000;
  box-shadow: inset 0 0 0 2px #fff; /* weißer Innenrahmen */
  border-top-left-radius: 1.2rem;
  border-top-right-radius: 1.2rem;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  overflow: hidden;   /* Rahmen bleibt statisch */
  height: 500px;      /* Höhe wie gewünscht */
}



.smartphone-wrapper::after {
  content: "";
  position: absolute;
  bottom: 2.0rem;
  width: 400px;
  height: 50px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.6) 0%, transparent 70%);  
  opacity: 0.7;
  filter: blur(18px);
  border-radius: 50%;
  transform: translateX(-50%) rotateZ(-4deg); /* Leichte Drehung */
  left: 25%;
  pointer-events: none;
  z-index: 0;
}

.smartphone-screen iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 1.5rem; /* Gleicher Radius */
  display: block;
}


.smartphone-screen .iframe-smart iframe {	
 width:510px;
 height:975px;
 xheight:500px;
 transform:scale(0.450);
 -webkit-transform:scale(0.450);
 -o-transform:scale(0.450);
 -ms-transform:scale(0.450);
 -moz-transform:scale(0.450);
 transform-origin:top left;
 -webkit-transform-origin:top left;
 -o-transform-origin:top left;
 -ms-transform-origin:top left;
 -moz-transform-origin:top left;
 background:red !important;
 margin-top:2px;
}




/* ========= Mobile-Override ========= */
@media (max-width: 480px) {
  
  .smartphone-wrapper{
    padding-left:15px;
  }
  
  .smartphone {
    width: 100%;
    max-width: 320px;
    height: auto;
    transform: none !important;
  }

  .smartphone-screen {
    height: 550px;
  }

 

 .smartphone-screen .iframe-smart iframe {	
 width:510px;
 height:975px;
 transform:scale(0.63);
 -webkit-transform:scale(0.63);
 -o-transform:scale(0.63);
 -ms-transform:scale(0.63);
 -moz-transform:scale(0.63);
 transform-origin:top left;
 -webkit-transform-origin:top left;
 -o-transform-origin:top left;
 -ms-transform-origin:top left;
 -moz-transform-origin:top left;
 background:#fff !important; 
}

 .laptop-wrapper{
    display: none;
  }
}

@media (min-width: 767px) and (max-width: 1199.98px) {
  .hidden-md-only {
    display: none !important;
  }
}


