/* ============================================
   KlickWert Restaurant — Design System
   ============================================ */

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --gold: #C9884C;
  --gold-light: #E8C97A;
  --text: #f5f0eb;
  --text-secondary: #999999;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 65ch;
}

.gold { color: var(--gold); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* --- Layout --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 7rem 0;
  position: relative;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, filter 0.3s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}

.btn-primary:hover {
  filter: brightness(1.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(201, 136, 76, 0.4);
}

/* Pulsing Glow on CTA buttons */
.btn-pulse {
  animation: btnPulseGlow 2.5s ease-in-out infinite;
}

@keyframes btnPulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(201, 136, 76, 0.2); }
  50% { box-shadow: 0 0 35px rgba(201, 136, 76, 0.5), 0 0 60px rgba(201, 136, 76, 0.15); }
}

.btn-pulse:hover {
  animation: none;
  box-shadow: 0 8px 40px rgba(201, 136, 76, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(201, 136, 76, 0.1);
  transform: translateY(-2px);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  overflow-x: hidden;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  max-height: 70px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
  transition: opacity 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Gold underline slides from left to right */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:hover::after {
  transform: translateX(0);
}

/* Hamburger Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero — Video-First Fullscreen
   ============================================ */

/* Fixed fullscreen video layer */
.hero-video-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

.hero-video-fixed video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subtle gradient at bottom of video for smooth transition */
.hero-video-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  pointer-events: none;
}

/* Spacer so the video is the first full viewport */
.hero-spacer {
  height: 100vh;
  position: relative;
  z-index: 0;
}

/* Hero content section scrolls in over the video */
.hero-content-section {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: 7rem 0;
  overflow: hidden;
}

/* Particle Canvas */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 850px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: clamp(42px, 6vw, 85px);
  line-height: 1.2;
  white-space: normal;
}
.hero-title span {
  display: inline-block;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  font-size: 1.05rem;
  padding: 1.1rem 2.5rem;
}

/* ============================================
   Wave Dividers
   ============================================ */
.wave-divider {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

.wave-divider svg path {
  opacity: 0.5;
  fill-opacity: 1;
}

.wave-flip {
  transform: scaleX(-1);
}

/* ============================================
   Problem Section
   ============================================ */
.problem {
  background: var(--surface);
  overflow: hidden;
}

.problem-headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
  line-height: 1.2;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-card {
  background: var(--bg);
  border: 1px solid #222;
  border-radius: 12px;
  padding: 40px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

.problem-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 25px rgba(201, 136, 76, 0.15);
  transform: translateY(-4px);
}

.problem-card p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: none;
}

/* Floating Coffee Cup */
.floating-coffee {
  position: absolute;
  right: 5%;
  bottom: 10%;
  width: 80px;
  opacity: 0.3;
  pointer-events: none;
}

.steam {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: steamRise 3s ease-in-out infinite;
}

.steam-1 { animation-delay: 0s; }
.steam-2 { animation-delay: 0.8s; }
.steam-3 { animation-delay: 1.6s; }

@keyframes steamRise {
  0% { stroke-dashoffset: 20; opacity: 0; }
  30% { opacity: 0.3; }
  100% { stroke-dashoffset: 0; opacity: 0; transform: translateY(-8px); }
}

/* ============================================
   Dream Outcome Section
   ============================================ */
.dream {
  background: var(--bg);
  overflow: hidden;
}

.dream-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.dream-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.dream h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--text);
  margin-bottom: 2rem;
}

.dream-text {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: none;
  margin-bottom: 2rem;
}

.dream-closer {
  max-width: none;
}

.dream-closer strong {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--gold);
  font-weight: 700;
}

/* ============================================
   Services / Dienstleistungen
   ============================================ */
.services {
  background: var(--bg);
  overflow: hidden;
}

.services-bg-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-title, .dienstleistungen h2, #dienstleistungen h2 {
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 3.5rem;
  text-align: center;
  font-size: clamp(32px, 3.5vw, 56px);
  word-break: keep-all;
  hyphens: none;
}

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

.services-grid .service-card:nth-child(1),
.services-grid .service-card:nth-child(2),
.services-grid .service-card:nth-child(3) {
  grid-column: span 2;
}

.services-grid .service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.services-grid .service-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* Alternating reveal directions */
.service-card.reveal-alt-left {
  opacity: 0;
  transform: translateX(-60px) rotate(-2deg);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-card.reveal-alt-right {
  opacity: 0;
  transform: translateX(60px) rotate(2deg);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-card.reveal-alt-left.visible,
.service-card.reveal-alt-right.visible {
  opacity: 1;
  transform: translateX(0) rotate(0deg);
}

.service-card {
  background: var(--surface);
  border: 1px solid #222;
  border-radius: 12px;
  padding: 40px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
  transform-style: preserve-3d;
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(201, 136, 76, 0.15);
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: none;
}

/* Service Links */
a.service-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.service-more {
  display: inline-block;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 1rem;
  transition: transform 0.3s ease;
}

a.service-link:hover .service-more {
  transform: translateX(6px);
}

/* ============================================
   Demo Video Section
   ============================================ */
.demo {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.demo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.demo-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 4rem 0;
}

.demo-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  text-align: center;
  margin-bottom: 1rem;
}

.demo-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: 0 auto;
  max-width: none;
}

/* ============================================
   USP Section
   ============================================ */
.usp {
  background: var(--surface);
}

.usp-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem;
  line-height: 1.2;
}

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

.usp-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
  transition: box-shadow 0.6s ease, background 0.6s ease;
}

/* Gold glow when revealed */
.usp-item.glow-active {
  background: rgba(201, 136, 76, 0.03);
  box-shadow: 0 0 40px rgba(201, 136, 76, 0.12), inset 0 0 30px rgba(201, 136, 76, 0.03);
}

.usp-symbol {
  display: block;
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
  line-height: 1;
  transition: text-shadow 0.6s ease, transform 0.6s ease;
}

.usp-item.glow-active .usp-symbol {
  text-shadow: 0 0 20px rgba(201, 136, 76, 0.5), 0 0 40px rgba(201, 136, 76, 0.2);
  transform: scale(1.15);
}

.usp-item p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: none;
}

.usp-item strong {
  color: var(--text);
}

/* ============================================
   Garantie Box
   ============================================ */
.garantie {
  background: var(--bg);
}

.garantie-box {
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 60px;
  text-align: center;
  box-shadow: 0 0 40px rgba(201, 136, 76, 0.1), 0 0 80px rgba(201, 136, 76, 0.05);
}

.garantie-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.25rem);
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.garantie-box p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: none;
  margin-bottom: 1.5rem;
}

.garantie-closer {
  margin-bottom: 0 !important;
}

.garantie-closer em {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--gold);
  font-style: italic;
}

/* ============================================
   Pakete / Pricing
   ============================================ */
.pakete {
  background: var(--bg);
}

.pakete-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  text-align: center;
  margin-bottom: 3.5rem;
}

.pakete-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.paket-card {
  flex: 0 1 340px;
  max-width: 400px;
  background: var(--surface);
  border: 1px solid #222;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.paket-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 35px rgba(201, 136, 76, 0.2);
  transform: translateY(-10px);
}

/* Featured Card */
.paket-featured {
  border: 2px solid var(--gold);
  box-shadow: 0 0 40px rgba(201, 136, 76, 0.12), 0 0 80px rgba(201, 136, 76, 0.05);
  padding: 52px 40px 40px;
  transform: scale(1.05);
  z-index: 1;
}

.paket-featured:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 0 60px rgba(201, 136, 76, 0.25), 0 0 120px rgba(201, 136, 76, 0.1);
}

/* Scale reveal for featured card */
.paket-featured[data-scale-reveal] {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.paket-featured[data-scale-reveal].scale-visible {
  opacity: 1;
  transform: scale(1.05);
}

.paket-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.4rem 1.5rem;
  border-radius: 0 0 8px 8px;
}

.paket-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  text-align: center;
}

.paket-preis {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  line-height: 1;
  margin-bottom: 2rem;
}

.paket-preis span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.paket-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.paket-features li {
  font-size: 1rem;
  color: var(--text-secondary);
  padding-left: 1.75rem;
  position: relative;
  line-height: 1.5;
}

.paket-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}

.paket-trial {
  text-align: center;
  margin-bottom: 1.5rem;
  max-width: none;
}

.paket-trial em {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  font-style: italic;
}

.paket-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ============================================
   Kontakt / CTA Section
   ============================================ */
.kontakt {
  background: var(--surface);
}

.kontakt-content {
  text-align: center;
  max-width: 700px;
}

.kontakt-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  margin-bottom: 1.25rem;
}

.kontakt-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: none;
  margin-bottom: 2.5rem;
}

.kontakt-cta {
  font-size: 1.1rem;
  padding: 1.15rem 3rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg);
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(201, 136, 76, 0.2);
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  max-height: 50px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  padding: 10px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: none;
}

/* ============================================
   Letter-by-Letter Animation
   ============================================ */
[data-letter-animate] .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

[data-letter-animate] .char.space {
  width: 0.3em;
}

[data-letter-animate].letters-visible .char {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card:nth-child(n) { grid-column: auto; }
}

@media (max-width: 768px) {
  section { padding: 4.5rem 0; }

  .wave-divider svg { height: 30px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 999;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.4rem; }
  .nav-toggle { display: flex; }

  .problem-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card:nth-child(n) { grid-column: auto; }
  .usp-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .garantie-box { padding: 40px 24px; }

  .pakete-grid {
    max-width: 420px;
    margin: 0 auto;
  }

  .paket-card {
    flex: 1 1 100%;
  }

  .paket-featured { transform: scale(1); }
  .paket-featured:hover { transform: translateY(-10px); }
  .paket-featured[data-scale-reveal].scale-visible { transform: scale(1); }

  .footer-inner { flex-direction: column; gap: 1.25rem; }

  .hero-video-fixed { position: absolute; }
  .hero-headline { font-size: clamp(28px, 6vw, 40px); }
  .hero-sub { font-size: 1rem; padding: 0 1rem; }
  .hero-cta { font-size: 0.95rem; padding: 1rem 2rem; }

  .floating-coffee { display: none; }

  /* Disable alternating card directions on mobile */
  .service-card.reveal-alt-left,
  .service-card.reveal-alt-right {
    transform: translateY(40px);
  }

  .service-card.reveal-alt-left.visible,
  .service-card.reveal-alt-right.visible {
    transform: translateY(0);
  }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal, .reveal-left, .reveal-right,
  .service-card.reveal-alt-left,
  .service-card.reveal-alt-right {
    opacity: 1;
    transform: none;
  }

  .hero-video-fixed { position: absolute; }

  .btn-pulse { animation: none; }
}

/* ============================================
   Contact Modal
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.85); /* #0a0a0a at 85% opacity */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--surface);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 48px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.modal-close:hover {
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .modal-content { padding: 32px 20px; }
  .modal-close { top: 16px; right: 16px; }
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  color: #999999;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #333333;
  color: var(--text);
  padding: 14px 16px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form input.error,
.contact-form textarea.error {
  border-color: #ff4a4a !important;
}

/* Checkboxes */
.checkbox-group-container {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #222;
}

.checkbox-group-title {
  color: var(--text) !important;
  font-weight: 600;
  font-size: 1.1rem !important;
  margin-bottom: 0.2rem !important;
}

.checkbox-group-sub {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 500px) {
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

.custom-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #dddddd;
  font-size: 0.95rem;
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--gold);
}

.custom-checkbox input:checked ~ .checkmark {
  background: var(--gold);
  border-color: var(--gold);
}

.checkmark::after {
  content: "";
  display: none;
  width: 5px;
  height: 10px;
  border: solid #0a0a0a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.custom-checkbox input:checked ~ .checkmark::after {
  display: block;
}

.submit-btn {
  width: 100%;
  justify-content: center;
  background: var(--gold);
  color: #0a0a0a;
  border-radius: 6px;
  font-weight: 700;
  margin-top: 1rem;
  font-size: 1.1rem;
  padding: 1rem;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-message {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-align: center;
}

.form-message.success {
  background: rgba(46, 213, 115, 0.1);
  color: #2ed573;
  border: 1px solid #2ed573;
}

.form-message.error {
  background: rgba(255, 74, 74, 0.1);
  color: #ff4a4a;
  border: 1px solid #ff4a4a;
}

/* ========== Cookie Consent Banner ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #111111;
  border-top: 1px solid #333;
  padding: 20px 24px;
  display: none;
  animation: cookieSlideUp 0.4s ease;
}

.cookie-banner.active {
  display: block;
}

@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  color: #cccccc;
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
  min-width: 0;
}

.cookie-text a {
  color: var(--gold);
  text-decoration: underline;
  padding: 12px 0;
  display: inline-block;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  min-height: 44px;
  transition: opacity 0.2s ease;
}

.cookie-btn:hover {
  opacity: 0.85;
}

.cookie-btn-accept {
  background: var(--gold);
  color: #0a0a0a;
}

.cookie-btn-reject {
  background: transparent;
  color: #cccccc;
  border: 1px solid #555;
}

@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; text-align: center; }
  .cookie-buttons { width: 100%; justify-content: center; }
}
