/* Vibe-Coder Layer – behält Grundfarben (Gelb #ffcc00 / Dunkel #11141a) */

.vibe-site {
  --primary: #ffcc00;
  --primary-hover: #e6b800;
  --primary-glow: rgba(255, 204, 0, 0.22);
  --dark-bg: #11141a;
  --card-bg: rgba(26, 29, 36, 0.72);
  --text-light: #f5f6f8;
  --text-muted: #9fa6b5;
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --radius-lg: 20px;
  --radius-xl: 28px;
  --yellow: var(--primary);
  --bg: var(--dark-bg);
  --metal: rgba(28, 31, 36, 0.85);
  --muted: var(--text-muted);
}

.vibe-site,
.vibe-site body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif !important;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 204, 0, 0.07), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255, 204, 0, 0.04), transparent),
    var(--dark-bg);
}

.vibe-site::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.vibe-site main,
.vibe-site .site-header,
.vibe-site .site-footer,
.vibe-site .ticker-wrap {
  position: relative;
  z-index: 1;
}

/* Header – Glass */
.vibe-site .site-header {
  background: rgba(17, 20, 26, 0.78) !important;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border) !important;
  padding: 16px 0 !important;
}

.vibe-site .nav a {
  font-size: 14px;
  letter-spacing: 0.02em;
}

.vibe-site .btn {
  border-radius: 12px;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.vibe-site .btn-primary:hover {
  box-shadow: 0 0 28px var(--primary-glow);
  filter: brightness(1.05);
}

.vibe-site .btn-outline {
  border-color: rgba(255, 204, 0, 0.55);
  background: rgba(255, 204, 0, 0.04);
}

.vibe-site .btn-outline:hover {
  background: rgba(255, 204, 0, 0.12);
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.12);
}

/* Section Labels (Vibe Eyebrow) */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.vibe-site h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Glass Cards */
.vibe-site .card,
.vibe-site .stack-card,
.vibe-site .price-card,
.vibe-site .tile,
.vibe-site .faq-item,
.vibe-site .special-offer,
.vibe-site .contact .box {
  background: var(--card-bg) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.vibe-site .card:hover,
.vibe-site .stack-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 204, 0, 0.2) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 204, 0, 0.06);
}

.vibe-site .card.highlight {
  border-color: rgba(255, 204, 0, 0.35) !important;
  box-shadow: 0 8px 32px rgba(255, 204, 0, 0.08) !important;
}

/* Hero */
.vibe-site .hero::before {
  background: linear-gradient(
    165deg,
    rgba(17, 20, 26, 0.35) 0%,
    rgba(17, 20, 26, 0.75) 45%,
    rgba(17, 20, 26, 0.97) 100%
  ) !important;
}

.vibe-site .hero h1 {
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  text-shadow: none;
}

.vibe-site .live-badge {
  backdrop-filter: blur(8px);
  border-radius: 999px;
}

.vibe-site .sticky-stack-section {
  background: rgba(19, 22, 28, 0.6);
  backdrop-filter: blur(8px);
}

.vibe-site .stack-card {
  border-top: 1px solid rgba(255, 204, 0, 0.25) !important;
}

.vibe-site .divider {
  background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.15), transparent) !important;
  height: 1px;
}

/* Bento Photo Strip */
.bento-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.bento-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.bento-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-photo:hover img {
  transform: scale(1.06);
}

.bento-photo__label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(17, 20, 26, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  color: var(--text-light);
}

/* Bento Video Grid */
.bento-videos {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-videos--scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  grid-template-columns: unset;
}

.bento-videos--scroll .bento-video {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: center;
}

.bento-videos--scroll::-webkit-scrollbar {
  height: 4px;
}

.bento-videos--scroll::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

/* Vorher/Nachher Fotos (Einblicke) */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.ba-pair {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--card-bg);
}

.ba-pair__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.ba-pair__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0d0f12;
}

.ba-pair__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-pair__img-wrap img[data-missing="1"] {
  opacity: 0.2;
}

.ba-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}

.ba-tag--vorher { background: rgba(180, 60, 40, 0.85); color: #fff; }
.ba-tag--nachher { background: rgba(255, 204, 0, 0.9); color: #111; }
.ba-tag--arbeit { background: rgba(60, 120, 200, 0.85); color: #fff; }

.ba-pair__caption {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 600px) {
  .ba-pair__images { grid-template-columns: 1fr; }
}

.ba-pair--single .ba-pair__images {
  grid-template-columns: 1fr;
}

.ba-pair--single .ba-pair__img-wrap {
  aspect-ratio: 16 / 10;
}

.bento-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.bento-video:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 204, 0, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 40px rgba(255, 204, 0, 0.06);
}

.bento-video .video-embed {
  margin: 0;
  width: 100%;
  max-width: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.bento-video--featured {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
}

.bento-video:nth-child(2) {
  grid-column: 5 / 13;
  grid-row: 1;
}

.bento-video:nth-child(3) {
  grid-column: 5 / 9;
  grid-row: 2;
}

.bento-video:nth-child(4) {
  grid-column: 9 / 13;
  grid-row: 2;
}

.bento-video--wide,
.bento-video--half,
.bento-video--featured {
  /* legacy class hooks */
}

.bento-caption {
  margin: 0;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
  border-top: 1px solid var(--glass-border);
  background: rgba(17, 20, 26, 0.85);
}

.bento-video .video-embed--shorts {
  aspect-ratio: 9 / 16;
  min-height: 280px;
}

.bento-video .video-embed--wide {
  aspect-ratio: 16 / 9;
}

.bento-video--featured .video-embed--shorts {
  min-height: 480px;
  height: auto;
}

/* Mobile Video Scroll Fallback */
@media (max-width: 900px) {
  .bento-photos {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bento-photo {
    aspect-ratio: 16 / 10;
  }

  .bento-videos {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .bento-videos::-webkit-scrollbar {
    height: 4px;
  }

  .bento-videos::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
  }

  .bento-video {
    flex: 0 0 min(85vw, 320px);
    scroll-snap-align: center;
  }

  .bento-video--featured,
  .bento-video--wide,
  .bento-video--half,
  .bento-video:nth-child(n) {
    grid-column: unset;
    grid-row: unset;
  }

  .bento-video .video-embed--shorts {
    min-height: 420px;
  }
}

/* Carousel polish */
.vibe-site .carousel-wrapper.contained {
  border-radius: var(--radius-xl);
  border-color: rgba(255, 204, 0, 0.2) !important;
}

.vibe-site .c-btn:hover {
  box-shadow: 0 0 20px var(--primary-glow);
}

/* Modals – Glass */
.vibe-site .modal-content {
  background: rgba(23, 26, 33, 0.95) !important;
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-xl) !important;
}

/* Price cards scroll */
.vibe-site .price-card.highlight {
  border-color: rgba(255, 204, 0, 0.35) !important;
}

.vibe-site .scroll-row {
  gap: 18px;
  padding-bottom: 20px;
}

/* Footer */
.vibe-site .site-footer {
  background: rgba(13, 15, 17, 0.9) !important;
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-border) !important;
}

/* Mobile quick bar */
.vibe-site .mobile-quick-actions {
  background: rgba(17, 20, 26, 0.92) !important;
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border) !important;
}

/* Scroll hint under videos on mobile */
.bento-scroll-hint {
  display: none;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .bento-scroll-hint {
    display: block;
  }
}
