/*
Theme Name: R.V.S solution – Final Luxury
Author: R.V.S solution
Version: 2.0
*/

:root {
  --bg: #0b0b0c;
  --fg: #ffffff;
  --accent: #ff8a1f;
  --card: #121214;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(1200px 800px at 10% 0%, rgba(255,140,0,.08), transparent 60%), var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

main > section {
  padding: 10rem 6vw;
}

/* ================= HERO ================= */

.hero-3d {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-3d-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.1) brightness(.9);
  transform: scale(1.08);
}

.hero-3d-overlay {
  position: relative;
  z-index: 3;
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
}

.hero-3d-overlay h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin: 0;
  text-shadow: 0 0 40px rgba(255,140,0,.35);
}

.hero-3d-overlay p {
  opacity: .85;
  margin-top: 1rem;
}

.hero-3d-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 20% 10%, rgba(255,140,0,.2), transparent 60%),
    radial-gradient(80% 80% at 50% 50%, rgba(0,0,0,.6), transparent 60%);
  z-index: 2;
  pointer-events: none;
}

/* ================= SERVICES ================= */

.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.service-card-ui {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
  transition: transform .4s ease, box-shadow .4s ease;
}

.service-card-ui:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
}

.service-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-body h3 {
  margin: 0 0 .5rem;
}

.service-card-body p {
  opacity: .8;
}

/* ================= PORTFOLIO ================= */

.cinematic-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8rem 6vw;
}

.cinematic-item {
  cursor: pointer;
}

.cinematic-media img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 50px 160px rgba(0,0,0,.7);
  transition: transform .6s ease, box-shadow .6s ease;
}

.cinematic-item:hover img {
  transform: scale(1.03);
  box-shadow:
    0 60px 200px rgba(0,0,0,.85),
    0 0 0 1px rgba(255,140,0,.25);
}

.cinematic-meta h3 {
  margin: 1rem 0 .3rem;
  font-size: 1.8rem;
  text-shadow: 0 0 20px rgba(255,140,0,.25);
}

.cinematic-meta p {
  opacity: .8;
}

/* ================= MODALS ================= */

/* =========================
   SERVICE MODAL – LUXURY
========================= */

.service-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.service-modal[aria-hidden="false"] {
  display: block;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(14px);
}

.service-modal-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%) scale(.98);
  width: min(720px, 92vw);
  max-height: 70vh;
  overflow-y: auto;
  padding: 2.25rem 2.5rem 2.75rem;
  border-radius: 28px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255,140,0,.16), transparent 40%),
    linear-gradient(180deg, rgba(18,18,20,.95), rgba(10,10,12,.98));
  box-shadow:
    0 50px 160px rgba(0,0,0,.85),
    inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .25s ease, opacity .25s ease;
  scrollbar-width: none;
}

.service-modal-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.service-modal[aria-hidden="false"] .service-modal-content {
  transform: translate(-50%, -50%) scale(1);
}

.service-modal-content::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,140,0,.14);
}

.service-modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  color: #fff;
  border: 0;
  cursor: pointer;
}

.service-modal-actions {
  display: flex;
  gap: .75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.modal-btn.primary {
  background: linear-gradient(135deg, #ffb65a, #ff7a00);
  color: #000;
  font-weight: 700;
  border-radius: 999px;
  padding: .7rem 1.3rem;
  text-decoration: none;
  box-shadow:
    0 10px 30px rgba(255,122,0,.35),
    inset 0 1px 0 rgba(255,255,255,.35);
}

.modal-btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  padding: .65rem 1.1rem;
}


/* Kein Scrollbar anzeigen */
.service-modal-content,
.project-modal-content {
  scrollbar-width: none;
}
.service-modal-content::-webkit-scrollbar,
.project-modal-content::-webkit-scrollbar {
  display: none;
}

.project-layer img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.modal-btn.primary {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb65a, #ff7a00);
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 900px) {
  .services-cards { grid-template-columns: 1fr; }
  .cinematic-wrap { grid-template-columns: 1fr; }
}
/* =========================
   PROJECT MODAL – LUXURY (SCROLL FIX + DESIGN)
========================= */

.project-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.project-modal[aria-hidden="false"] {
  display: block;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(14px);
}

.project-modal-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, 92vw);
  max-height: 78vh;
  overflow-y: auto;            /* 🔥 alles scrollt */
  padding: 2rem 2rem 2.5rem;
  border-radius: 28px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255,140,0,.14), transparent 40%),
    linear-gradient(180deg, rgba(18,18,20,.94), rgba(10,10,12,.98));
  box-shadow:
    0 50px 160px rgba(0,0,0,.85),
    inset 0 1px 0 rgba(255,255,255,.08);
  scrollbar-width: none;       /* Firefox */
}

.project-modal-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Layers ruhiger & edler */
.project-layer {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius: 22px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(6px);
}

/* Hero Bild edler */
.layer-hero img {
  width: 100%;
  height: 34vh;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

/* Galerie Grid – kein eigenes Scrollen mehr */
.layer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.layer-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}

.layer-gallery img:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 16px 50px rgba(0,0,0,.6),
    0 0 0 1px rgba(255,140,0,.25);
}

/* Meta-Typo edler */
.layer-meta h3 {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  letter-spacing: .3px;
  text-shadow: 0 0 24px rgba(255,140,0,.15);
}

.layer-meta p {
  opacity: .85;
  line-height: 1.7;
  max-width: 70ch;
}

/* CTA edel */
.layer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: sticky;
  bottom: 0;
  padding-top: 1rem;
  background: linear-gradient(transparent, rgba(10,10,12,.9) 35%);
}

.project-modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  color: #fff;
  border: 0;
  cursor: pointer;
}
.project-modal-content::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,140,0,.14);
}
.project-modal-content {
  transform: translate(-50%, -48%) scale(.98);
  transition: transform .25s ease, opacity .25s ease;
}

.project-modal[aria-hidden="false"] .project-modal-content {
  transform: translate(-50%, -50%) scale(1);
}
/* =========================
   SERVICE MODAL – CLEAN LUXURY UI
========================= */

.service-modal-actions--clean {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* Primary CTA */
.service-modal-actions--clean .modal-btn.primary {
  min-width: 220px;
  text-align: center;
  font-size: .95rem;
  letter-spacing: .2px;
}

/* Secondary Actions */
.service-modal-secondary {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  opacity: .75;
  font-size: .9rem;
}

.service-modal-secondary a,
.service-modal-secondary button {
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0;
  font: inherit;
  text-decoration: none;
  transition: opacity .2s ease, transform .2s ease;
}

.service-modal-secondary a:hover,
.service-modal-secondary button:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Titel ruhiger & edler */
.service-modal-content h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: .3px;
  margin-bottom: .5rem;
  text-shadow: 0 0 24px rgba(255,140,0,.15);
}

/* Beschreibung mehr Luft */
.service-modal-content p {
  max-width: 56ch;
  line-height: 1.7;
  opacity: .85;
}
/* =========================
   HEADER – LUXURY NAV
========================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(10,10,12,.75), rgba(10,10,12,.35));
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 6vw;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

/* Brand */
.site-brand {
  font-weight: 600;
  letter-spacing: .5px;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

/* Navigation */
.site-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.site-nav a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .9rem;
  letter-spacing: .2px;
  position: relative;
  transition: color .2s ease;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #ff7a00, transparent);
  transition: width .25s ease;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a:hover::after {
  width: 100%;
}

/* Social */
.site-social a {
  color: #fff;
  opacity: .75;
  transition: opacity .2s ease, transform .2s ease;
}

.site-social a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Platz für Fixed Header */
main {
  padding-top: 84px;
}

/* Mobile */
@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
}
/* ===== HERO TOP BAR – LUXURY STEALTH ===== */

.hero-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 1.2rem 3vw;

  background: linear-gradient(
    180deg,
    rgba(12,12,14,0.85),
    rgba(12,12,14,0.35),
    rgba(12,12,14,0)
  );

  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);

  transform: translateY(-70%);
  opacity: 0;
  pointer-events: none;

  transition: 
    transform .6s cubic-bezier(.2,.8,.2,1),
    opacity .4s ease;
}

/* Hover-Reveal im oberen Bereich */
.hero-3d:hover .hero-topbar,
.hero-topbar:hover {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Logo / Name */
.hero-topbar .brand {
  font-weight: 600;
  letter-spacing: .4px;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
}

/* Navigation */
.hero-topbar nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.hero-topbar nav a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .95rem;
  position: relative;
  transition: color .25s ease;
}

.hero-topbar nav a:hover {
  color: #fff;
}

/* Orange Luxury Accent beim Hover */
.hero-topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff7a00, transparent);
  transition: width .3s ease;
}

.hero-topbar nav a:hover::after {
  width: 100%;
}

/* Instagram Icon */
.hero-topbar .social {
  display: flex;
  gap: 1rem;
}

.hero-topbar .social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .25s ease, background .25s ease;
}

.hero-topbar .social a:hover {
  background: linear-gradient(135deg, #ff7a00, #ffb25a);
  transform: translateY(-2px);
}
/* =========================
   CONTACT – LUXURY
========================= */

.contact-luxury {
  padding: 10rem 6vw;
  display: grid;
  place-items: center;
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(255,122,0,.12), transparent 60%),
    #0f0f10;
}

.contact-card {
  width: min(640px, 92vw);
  padding: 2.5rem 2.75rem 3rem;
  border-radius: 28px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255,140,0,.16), transparent 40%),
    linear-gradient(180deg, rgba(18,18,20,.95), rgba(10,10,12,.98));
  box-shadow:
    0 40px 120px rgba(0,0,0,.7),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.contact-header h2 {
  margin: 0 0 .5rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-shadow: 0 0 24px rgba(255,140,0,.18);
}

.contact-header p {
  opacity: .85;
  max-width: 56ch;
}

.contact-form {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field-full { grid-column: 1 / -1; }

.field label {
  font-size: .8rem;
  opacity: .7;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: .7rem .8rem;
  color: #fff;
}

.contact-submit {
  grid-column: 1 / -1;
  margin-top: 1rem;
  border-radius: 999px;
  border: 0;
  padding: .8rem 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffb65a, #ff7a00);
  color: #000;
  cursor: pointer;
}

.contact-feedback {
  grid-column: 1 / -1;
  margin-top: .5rem;
  opacity: .85;
}
/* ===== Contact Budget Dropdown – Readability Fix ===== */

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: transparent;                /* Glas-Look */
  color: #fff;                            /* Text gut sichtbar */
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px;
  padding: .7rem .9rem;
  backdrop-filter: blur(6px);
}

/* Pfeil-Icon ersetzen (dezent) */
.contact-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, #ff7a00 50%),
    linear-gradient(135deg, #ff7a00 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

/* Dropdown-Liste (Browser-abhängig, best effort) */
.contact-form select option {
  background: #0f0f12;     /* dunkler, ruhiger Hintergrund */
  color: #fff;            /* helle Schrift */
}

/* Hover / Fokus – Luxus-Akzent */
.contact-form select:focus {
  outline: none;
  border-color: rgba(255,122,0,.65);
  box-shadow: 0 0 0 2px rgba(255,122,0,.15);
}


