:root {
  --bg-color:#0c0c0d;
  --gold-1:#caa32b;
  --gold-2:#f0d86b;
  --glass-bg: rgba(0,0,0,0.45);
  --glass-edge: rgba(255,255,255,0.03);
  --max-width: 1800px;
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100%;
  height: auto;
}

body {
  color: #e8e6e2;
  background-color: #0c0c0d;
  background-image: url('images/bg-metal4.png');
  background-position: center top;   /* besser top statt center */
  background-size: cover;            /* cover ist richtig für vollflächig */
  background-repeat: no-repeat;
  -position: center top;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  position: relative;
  text-align: center;
  gap: 42px;
}

.section {
  width: 100%;
  max-width: var(--max-width);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  margin: 30px auto;
}

/* Oben & unten transparent */
.top-section, .bottom-section {
  background: transparent;
  box-shadow: none;
  border: none;
}

/* Mittlerer Glasabschnitt */
.middle-section {
  background: linear-gradient(180deg, rgba(0,0,0,0.62), rgba(0,0,0,0.36));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.633), inset 0 1px 0 rgba(255,255,255,0.02);
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(6px);
  border-radius: 24px;
  padding: 40px;
}

/* Logo und Schriftzug */
.logo { width: 200px; display: block; margin: 8px auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.7)); }
.title-img { max-width: 180px; margin: -8px 0; filter: drop-shadow(0 8px 18px rgba(0,0,0,0.6)); transition: transform .4s ease; }
.title-img:hover { transform: scale(1.02); }
.title-img.small { max-width: 160px; opacity: 0.95; margin-bottom: 0px; }

/* Vorschau */
.preview-wrap { display: flex; align-items: center; justify-content: center; margin: 40px 0; }
.app-column { display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* Video-Rahmen */
.card-preview-frame {
  position: relative;
  width: 300px;
  max-width: 86vw;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 25px rgba(255,255,255,0.08), 0 15px 40px rgba(0,0,0,0.6);
  overflow: hidden;
  margin: 0 auto;
}

/* Video selbst */
.app-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;   /* Video leicht nach oben verschoben */
  border-radius: 14px;
  display: block;
}

.card-preview-frame:hover .app-preview {
  transform: scale(1.07);
  filter: brightness(1.1);
}

/* Weißer schmaler Rahmen */
.card-preview-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.6);
  pointer-events: none;
}

/* Text */
.lead { color: rgba(220,216,210,0.92); font-size: 16px; margin-top: 10px; }
.lead.small { max-width: 360px; font-size: 14px; color: rgba(200,195,185,0.9); }
.contact { color: rgba(200,190,160,0.95); margin: 8px 0 0 0; }
.contact a { color: var(--gold-2); text-decoration: none; font-weight: 600; }

/* Shine Animation */
.shine {
  pointer-events: none;
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(600px 300px at 30% 30%, rgba(255,255,255,0.06), transparent 8%),
              linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  transform: rotate(-20deg);
  animation: glide 5.2s linear infinite;
  mix-blend-mode: overlay;
  filter: blur(10px);
}

@keyframes glide {
  0% { transform: translateX(-30%) rotate(-20deg); opacity: 0.9; }
  50% { transform: translateX(10%) rotate(-20deg); opacity: 0.6; }
  100% { transform: translateX(60%) rotate(-20deg); opacity: 0.9; }
}

/* Responsive Anpassung */
@media (max-width:580px){
  .logo{ width:180px; }
  .title-img{ max-width:160px; }
  .card-preview-frame{ width:300px; }
  .id-mask{ width:180px; top:66%; }
}
