/* 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.16;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}

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

/* Header MUSS über dem Seiteninhalt liegen – sonst klappt das mobile Menü
   zwar auf, wird aber hinter dem Hero gerendert (z-index-Stacking).
   Wert < 90, damit Modals (z-index 90) weiterhin darüber liegen. */
.vibe-site .site-header {
  position: sticky;
  top: 0;
  z-index: 60;
}

/* 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(-2px);
  border-color: rgba(255, 204, 0, 0.18) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.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(180deg, rgba(17, 20, 26, 0.15) 0%, rgba(17, 20, 26, 0.92) 100%),
    linear-gradient(90deg, rgba(17, 20, 26, 0.9) 0%, rgba(17, 20, 26, 0.45) 55%, rgba(17, 20, 26, 0.12) 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-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;
  }
}

/* ==========================================================================
   Dezente Politur – ruhiger, edler Gesamteindruck (Grundfarben unverändert)
   ========================================================================== */

/* Laufband: ruhiger & hochwertiger statt laut */
.vibe-site .ticker-wrap {
  background: rgba(11, 13, 16, 0.9);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
}

.vibe-site .ticker-item {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--text-muted);
}

.vibe-site .ticker-item span {
  color: var(--primary);
}

/* Etwas mehr Ruhe im Schriftbild */
.vibe-site .lead {
  line-height: 1.7;
  color: #e7ebf0;
}

.vibe-site .card p,
.vibe-site .faq-content,
.vibe-site .tile-content {
  line-height: 1.7;
}

/* ==========================================================================
   Sichtbarer, edler Feinschliff (ruhig – Grundfarben/Texte unverändert)
   ========================================================================== */

/* Gleichmäßigerer, ruhiger Rhythmus zwischen den Sektionen */
.vibe-site .section { padding: 92px 0; }
@media (max-width: 900px) {
  .vibe-site .section { padding: 60px 0; }
}

/* Überschriften: klarer & edler (ohne sie größer zu machen) */
.vibe-site h2 {
  letter-spacing: -0.015em;
  margin-bottom: 26px;
}
.vibe-site .subhead { letter-spacing: 0.14em; }

/* Mehr Luft in den Karten */
.vibe-site .card { padding: 32px; }
.vibe-site .price-card { padding: 28px; }
.vibe-site .contact .box { padding: 30px; }

/* Buttons: ruhiger, großzügiger & einheitlich */
.vibe-site .btn {
  padding: 13px 26px;
  font-weight: 600;
}

/* ==========================================================================
   Look A – Kino-Hero (vom Kunden gewählt)
   Vollflächiges Bild · Titel im unteren Drittel · ruhige Zahlen-Leiste
   ========================================================================== */

/* Hero wirklich vollflächig (kein Innen-Abstand der Sektion) */
.vibe-site .hero.section { padding: 0; }

.vibe-site .hero-bg {
  min-height: 84vh;
}

/* Cinematic-Verlauf: Bild mittig sichtbar, unten & links sanft dunkel */
.vibe-site .hero::before {
  background:
    linear-gradient(180deg, rgba(17, 20, 26, 0.5) 0%, rgba(17, 20, 26, 0.1) 34%, rgba(17, 20, 26, 0.96) 100%),
    linear-gradient(90deg, rgba(17, 20, 26, 0.78) 0%, rgba(17, 20, 26, 0) 60%)
    !important;
}

/* Inhalt nach unten setzen */
.vibe-site .hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  padding-top: 96px;
  padding-bottom: 0;
}

.vibe-site .hero-copy { max-width: 760px; }

/* Kleiner Kicker statt großer zweiter Zeile */
.vibe-site .hero h2 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin: 0 0 10px;
}

/* Große, klare Schlagzeile: weiß mit einem gelben Teil */
.vibe-site .hero h1 {
  background: none !important;
  -webkit-text-fill-color: #fff;
  color: #fff !important;
  font-size: clamp(40px, 6.2vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}

.vibe-site .hero h1 .hero-hl {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
}

.vibe-site .hero .lead {
  font-size: 19px;
  color: #e7ebf0;
  margin: 0 0 30px;
}

/* Ruhige Zahlen-Leiste am unteren Rand */
.hero-stats {
  display: flex;
  align-items: center;
  margin-top: 40px;
  padding: 26px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat {
  padding-right: 46px;
  margin-right: 46px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stat:last-child {
  border-right: 0;
  padding-right: 0;
  margin-right: 0;
}

.hero-stat b {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat span {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .vibe-site .hero-bg { min-height: 80vh; }
  .vibe-site .hero-inner { padding-top: 78px; }
  .vibe-site .hero h1 { font-size: clamp(32px, 9vw, 50px); }
  .vibe-site .hero .lead { font-size: 16px; }

  .hero-stats {
    margin-top: 22px;
    padding: 18px 0 88px; /* Platz für die fixe Aktionsleiste unten */
  }
  .hero-stat {
    padding-right: 14px;
    margin-right: 14px;
  }
  .hero-stat b { font-size: 20px; }
  .hero-stat span { font-size: 10.5px; }
}

/* ==========================================================================
   Details & Maschinen – aufklappbare Kacheln, edel aufgewertet
   ========================================================================== */
.vibe-site .grid-tiles {
  gap: 16px;
  margin-top: 22px;
}

.vibe-site .tile {
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.vibe-site .tile:hover {
  border-color: rgba(255, 204, 0, 0.22) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vibe-site .tile summary {
  background: transparent;
  padding: 17px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: color 0.2s ease;
}

.vibe-site .tile summary::-webkit-details-marker { display: none; }
.vibe-site .tile summary:hover { color: var(--primary); }

.vibe-site .tile[open] summary {
  color: var(--primary);
  border-bottom: 1px solid var(--glass-border);
}

/* Runder Chevron-Button statt +/- */
.vibe-site .tile summary::after {
  content: "";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffcc00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>")
    center / 14px no-repeat;
  transition: transform 0.3s ease, background-color 0.2s ease;
}

.vibe-site .tile summary:hover::after { background-color: rgba(255, 204, 0, 0.12); }
.vibe-site .tile[open] summary::after { content: ""; transform: rotate(180deg); }

.vibe-site .tile-content {
  padding: 18px 20px 22px;
  color: #c2c8d2;
  font-size: 15px;
  line-height: 1.7;
}

.vibe-site .tile-img {
  height: 200px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  margin-bottom: 14px;
}

/* Sanftes Aufklappen */
.vibe-site .tile[open] .tile-content {
  animation: tileReveal 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes tileReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
