/* ============================================================
   OBSCURA THEME — MAIN CSS
   Mystisch · Dramatisch · Modern
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden; /* verhindert horizontales Scrollen auf Mobile */
  max-width: 100%;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  cursor: none; /* custom cursor */
}

body.nav-open { overflow: hidden; }

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-gold); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--clr-gold-light); }

::selection { background: var(--clr-gold); color: var(--clr-bg); }

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--clr-text);
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; }
h6 { font-size: 0.875rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

blockquote {
  border-left: 3px solid var(--clr-gold);
  padding: 1rem 2rem;
  margin: 2rem 0;
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--clr-text-muted);
}

/* ── LAYOUT UTILITIES ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
}
.container-sm {
  max-width: var(--container-sm);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}

.section-pad { padding-block: clamp(5rem, 10vw, 9rem); }
.section-pad-sm { padding-block: clamp(3rem, 6vw, 5rem); }

/* Section Label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--clr-gold);
}

/* Section Header */
.section-header { margin-bottom: 4rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-label { justify-content: center; }
.section-header.centered .section-label::before { display: none; }
.section-title { color: var(--clr-text); }
.section-title span { color: var(--clr-gold); }
.section-subtitle {
  margin-top: 1rem;
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  max-width: 55ch;
}
.section-header.centered .section-subtitle { margin-inline: auto; }

/* Divider */
.divider {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-gold), transparent);
  margin-top: 1.5rem;
}
.centered .divider { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--clr-gold), transparent); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.btn-gold {
  background: linear-gradient(135deg, var(--clr-gold) 0%, #b8893d 100%);
  color: var(--clr-bg);
  box-shadow: 0 4px 20px rgba(201,169,110,0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,169,110,0.5);
  color: var(--clr-bg);
}

.btn-violet {
  background: linear-gradient(135deg, var(--clr-violet) 0%, #5b21b6 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn-violet:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,58,237,0.6);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-gold);
  border: none;
  padding: 0;
  border-radius: 0;
  font-size: 0.875rem;
}
.btn-ghost::after {
  content: ' →';
  transition: var(--transition-fast);
}
.btn-ghost:hover::after { margin-left: 4px; }

.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ── PRELOADER ────────────────────────────────────────────── */
#obscura-preloader {
  position: fixed;
  inset: 0;
  background: var(--clr-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#obscura-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner { text-align: center; width: 240px; }
.preloader-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 0.2em;
  color: var(--clr-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 2rem;
}
.preloader-bar {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  border-radius: var(--radius-full);
}
.preloader-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-violet));
  border-radius: var(--radius-full);
  transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── CUSTOM CURSOR ────────────────────────────────────────── */
#cursor { pointer-events: none; position: fixed; top: 0; left: 0; z-index: 999999; }
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--clr-gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  will-change: transform;
  box-shadow: 0 0 8px rgba(201,169,110,0.9), 0 0 16px rgba(201,169,110,0.4);
  /* Kein transition auf transform — würde Cursor verzögern */
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,169,110,0.5);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  will-change: transform;
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
body.cursor-hover .cursor-ring {
  width: 60px; height: 60px;
  border-color: var(--clr-gold);
  background: rgba(201,169,110,0.05);
}
@media (pointer: coarse) {
  body { cursor: auto; }
  #cursor { display: none; }
}

/* ── HEADER / NAVIGATION ──────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.5rem 0;
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(6,6,15,0.92);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--clr-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-branding a { display: block; }
.site-logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-text) !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.site-logo-text:hover { color: var(--clr-gold) !important; }
.custom-logo { max-height: 50px; width: auto; }

/* Desktop Nav */
.site-nav { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}
.nav-menu li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.825rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  transition: var(--transition-fast);
  position: relative;
}
.nav-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: var(--clr-gold);
  transition: width 0.3s ease, left 0.3s ease;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
  color: var(--clr-gold);
}
.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after {
  width: calc(100% - 2rem);
  left: 1rem;
}

/* Dropdown */
.nav-menu li .sub-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 200px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-card);
}
.nav-menu li:hover .sub-menu,
.nav-menu li:focus-within .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-menu .sub-menu a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  border-radius: var(--radius-sm);
}
.nav-menu .sub-menu a:hover { color: var(--clr-gold); background: rgba(201,169,110,0.06); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 1rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 950;
}
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--clr-text);
  border-radius: 1px;
  transition: var(--transition-fast);
  transform-origin: center;
}
.hamburger span:nth-child(1) { width: 100%; }
.hamburger span:nth-child(2) { width: 75%; }
.hamburger span:nth-child(3) { width: 50%; }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 100%; }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 100%; }

/* ── MOBILE MENU STAGGER ──────────────────────────────────── */
.mobile-menu > li {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.mobile-nav.open .mobile-menu > li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.10s; }
.mobile-nav.open .mobile-menu > li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.17s; }
.mobile-nav.open .mobile-menu > li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.24s; }
.mobile-nav.open .mobile-menu > li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.31s; }
.mobile-nav.open .mobile-menu > li:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.38s; }
.mobile-nav.open .mobile-menu > li:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.45s; }

/* ── MOBILE NAV ───────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(380px, 100vw);
  height: 100%;
  background: var(--clr-bg-2);
  border-left: 1px solid var(--clr-border);
  z-index: 910;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-inner {
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 100%;
}
.mobile-nav-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--clr-text-muted);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}
.mobile-nav-close:hover { color: var(--clr-gold); transform: rotate(90deg); }

.mobile-menu { list-style: none; }
.mobile-menu > li > a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--clr-text-muted);
  border-bottom: 1px solid var(--clr-border);
  transition: var(--transition-fast);
}
.mobile-menu > li > a:hover { color: var(--clr-gold); padding-left: 0.5rem; }
.mobile-menu .sub-menu { list-style: none; padding: 0.5rem 1rem 0; }
.mobile-menu .sub-menu a { font-size: 0.95rem; color: var(--clr-text-muted); padding: 0.4rem 0; display: block; }
.mobile-menu .sub-menu a:hover { color: var(--clr-gold); }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 905;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }

/* ── HERO SECTION ─────────────────────────────────────────── */
.hero-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--clr-bg);
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right var(--hero-pos-y, 50%);
  opacity: var(--hero-img-opacity, 0.4);
  transform: scale(1.05);
  transition: transform 8s ease, opacity 1.5s ease;
}
.hero-bg-image.loaded { transform: scale(1); opacity: var(--hero-img-opacity-loaded, 0.45); }
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,6,15,0.95) 0%, rgba(6,6,15,0.7) 50%, rgba(124,58,237,0.15) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  pointer-events: none;
  animation: grain-move 8s steps(10) infinite;
}
@keyframes grain-move {
  0%,100% { background-position: 0 0; }
  10% { background-position: -5% -10%; }
  20% { background-position: -15% 5%; }
  30% { background-position: 7% -25%; }
  40% { background-position: -5% 25%; }
  50% { background-position: -15% 10%; }
  60% { background-position: 15% 0%; }
  70% { background-position: 0% 15%; }
  80% { background-position: 3% 35%; }
  90% { background-position: -10% 10%; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-tag-dot {
  width: 6px; height: 6px;
  background: var(--clr-gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease 0.5s forwards;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .accent {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--clr-text-muted);
  max-width: 50ch;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 0.7s forwards;
  font-weight: 300;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--clr-gold), transparent);
  animation: scroll-line 2s ease infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

.hero-badge {
  position: absolute;
  right: clamp(2rem, 8vw, 6rem);
  bottom: clamp(3rem, 8vw, 6rem);
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  animation: spin-slow 15s linear infinite;
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards, spin-slow 15s linear 2.2s infinite;
  z-index: 2;
}
.hero-badge svg { width: 120px; height: 120px; }
.hero-badge text {
  font-size: 10px;
  fill: var(--clr-gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.hero-badge-icon {
  position: absolute;
  font-size: 1.6rem;
  color: var(--clr-gold);
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── ABOUT SECTION ────────────────────────────────────────── */
.about-section { background: var(--clr-bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.about-image-frame:hover img { transform: scale(1.04); }
.about-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(6,6,15,0.7));
  z-index: 1;
  pointer-events: none;
}
.about-image-accent {
  position: absolute;
  top: -1rem; right: -1rem;
  width: 100px; height: 100px;
  border: 1px solid var(--clr-gold);
  border-radius: var(--radius-lg);
  opacity: 0.3;
  pointer-events: none;
}
.about-image-accent-2 {
  position: absolute;
  bottom: -1rem; left: -1rem;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-violet));
  border-radius: var(--radius-sm);
  opacity: 0.15;
  pointer-events: none;
}
.about-exp-badge {
  position: absolute;
  bottom: 1.5rem; right: -1.5rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  z-index: 2;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.about-exp-badge .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-gold);
  line-height: 1;
}
.about-exp-badge .label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.about-content {}
.about-text {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 2rem;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}
.about-feature:hover { border-color: rgba(201,169,110,0.4); transform: translateY(-2px); }
.about-feature-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(124,58,237,0.15));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--clr-gold);
}
.about-feature-text { font-size: 0.875rem; font-weight: 500; color: var(--clr-text); }

/* ── SERVICES SECTION ─────────────────────────────────────── */
.services-section {
  background: var(--clr-bg-2);
  position: relative;
  overflow: hidden;
}
.services-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,0.05), transparent);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  border-color: rgba(201,169,110,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--shadow-gold);
}
.service-card:hover::before { opacity: 1; }

.service-card-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(201,169,110,0.1);
  line-height: 1;
  position: absolute;
  top: 1rem; right: 1.5rem;
  transition: var(--transition);
}
.service-card:hover .service-card-number { color: rgba(201,169,110,0.2); }

.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(124,58,237,0.1));
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-gold);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(201,169,110,0.25), rgba(124,58,237,0.2));
  box-shadow: 0 0 20px rgba(201,169,110,0.2);
}
.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clr-text);
  font-family: var(--font-heading);
}
.service-desc { font-size: 0.9rem; color: var(--clr-text-muted); line-height: 1.7; flex: 1; }
.service-link { color: var(--clr-gold); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-top: auto; }
.service-link:hover { color: var(--clr-gold-light); }

/* ── PORTFOLIO SECTION ────────────────────────────────────── */
.portfolio-section { background: var(--clr-bg); }
.portfolio-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  justify-content: center;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
  color: var(--clr-bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--clr-bg-card);
  cursor: pointer;
}
.portfolio-item.featured {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,6,15,0.95) 0%, rgba(6,6,15,0.4) 50%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.3rem;
}
.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 0.75rem;
}
.portfolio-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-gold);
  transition: var(--transition-fast);
}
.portfolio-item:hover .portfolio-arrow { background: var(--clr-gold); color: var(--clr-bg); border-color: var(--clr-gold); }

.portfolio-cta { text-align: center; margin-top: 3rem; }

/* ── STATS SECTION ────────────────────────────────────────── */
.stats-section {
  padding-block: clamp(4rem, 7vw, 6rem);
  background: var(--clr-bg-2);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
}
.stats-section::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(201,169,110,0.04), transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 2rem 1rem; flex: 0 0 200px; max-width: 240px; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-section {
  background: var(--clr-bg);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(201,169,110,0.06), transparent 70%);
  pointer-events: none;
}
.testimonials-slider {
  position: relative;
}
.swiper-testimonials {
  padding-bottom: 4rem !important;
}
.testimonial-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem; right: 1.5rem;
  font-size: 8rem;
  font-family: serif;
  color: rgba(201,169,110,0.07);
  line-height: 1;
  pointer-events: none;
}
.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: var(--clr-gold);
}
.testimonial-text {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--clr-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--clr-border);
}
.testimonial-name { font-weight: 600; font-size: 0.95rem; color: var(--clr-text); }
.testimonial-role { font-size: 0.8rem; color: var(--clr-text-muted); }

/* Swiper overrides */
.swiper-pagination-bullet {
  background: var(--clr-text-muted) !important;
  opacity: 1 !important;
  width: 6px !important; height: 6px !important;
}
.swiper-pagination-bullet-active {
  background: var(--clr-gold) !important;
  width: 24px !important;
  border-radius: var(--radius-full) !important;
}

/* ── CTA SECTION ──────────────────────────────────────────── */
.cta-section {
  background: var(--clr-bg-2);
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 8rem);
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(201,169,110,0.05) 0%,
    rgba(124,58,237,0.08) 50%,
    rgba(201,169,110,0.05) 100%
  );
  pointer-events: none;
}
.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-inline: auto;
}
.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--clr-text), var(--clr-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-subtitle { color: var(--clr-text-muted); font-size: 1.1rem; margin-bottom: 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT SECTION ──────────────────────────────────────── */
.contact-section { background: var(--clr-bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact-info { }
.contact-info-text { color: var(--clr-text-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 2.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-gold);
  flex-shrink: 0;
}
.contact-item-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--clr-text-muted); margin-bottom: 0.2rem; }
.contact-item-value { font-size: 0.95rem; color: var(--clr-text); }
.contact-item-value a { color: var(--clr-text); }
.contact-item-value a:hover { color: var(--clr-gold); }
.contact-social { display: flex; gap: 0.75rem; }

/* Contact Form */
.contact-form-wrap {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--clr-text-muted); opacity: 0.6; }

.form-submit { width: 100%; margin-top: 0.5rem; }
.form-success, .form-error {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-top: 1rem;
  text-align: center;
}
.form-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; }
.form-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }

/* ── SOCIAL LINKS ─────────────────────────────────────────── */
.social-links { display: flex; gap: 0.6rem; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-text-muted);
  transition: var(--transition-fast);
}
.social-link:hover {
  color: var(--clr-gold);
  border-color: var(--clr-gold);
  background: rgba(201,169,110,0.08);
  transform: translateY(-2px);
}

/* ── PAGE HERO (inner pages) ──────────────────────────────── */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  background: var(--clr-bg-2);
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: 80px;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.page-hero-sm { min-height: 35vh; }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--clr-bg) 0%, rgba(6,6,15,0.7) 60%, rgba(6,6,15,0.5) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-breadcrumb {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.75rem;
}
.page-breadcrumb a { color: var(--clr-text-muted); }
.page-breadcrumb a:hover { color: var(--clr-gold); }
.page-breadcrumb span { color: var(--clr-gold); }
.page-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.5rem;
}
.page-title { font-size: clamp(2rem, 5vw, 3.5rem); }
.page-subtitle { color: var(--clr-text-muted); margin-top: 1rem; max-width: 60ch; font-size: 1.1rem; }

/* ── BLOG ─────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.post-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.post-card:hover {
  border-color: rgba(201,169,110,0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.post-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--clr-bg-2);
}
.post-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.post-card:hover .post-card-image img { transform: scale(1.06); }
.post-card-body { padding: 1.5rem; }
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  margin-bottom: 0.75rem;
}
.post-card-cat { color: var(--clr-gold); font-weight: 600; }
.post-card-title { font-size: 1.1rem; font-family: var(--font-heading); margin-bottom: 0.75rem; }
.post-card-title a { color: var(--clr-text); }
.post-card-title a:hover { color: var(--clr-gold); }
.post-card-excerpt { font-size: 0.9rem; color: var(--clr-text-muted); line-height: 1.7; }

/* ── ENTRY CONTENT PROSE ──────────────────────────────────── */
.prose h2, .prose h3, .prose h4 { margin-top: 2.5rem; margin-bottom: 1rem; }
.prose p { margin-bottom: 1.5rem; color: var(--clr-text-muted); line-height: 1.9; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.5rem; color: var(--clr-text-muted); }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--clr-gold); border-bottom: 1px solid rgba(201,169,110,0.3); }
.prose a:hover { border-color: var(--clr-gold); }
.prose img { border-radius: var(--radius-md); margin-block: 2rem; }
.prose code {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: 0.1em 0.4em;
  font-size: 0.875em;
  color: var(--clr-gold);
}
.prose pre {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  overflow-x: auto;
  margin-block: 2rem;
}
.prose pre code { background: none; border: none; padding: 0; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--clr-bg-2);
  border-top: 1px solid var(--clr-border);
}
.footer-main { padding-block: clamp(4rem, 7vw, 6rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clr-text);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}
.footer-tagline {
  color: var(--clr-text-muted);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.footer-heading {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.5rem;
}
.footer-menu { list-style: none; }
.footer-menu li { margin-bottom: 0.75rem; }
.footer-menu a { color: var(--clr-text-muted); font-size: 0.9rem; transition: var(--transition-fast); }
.footer-menu a:hover { color: var(--clr-gold); padding-left: 0.3rem; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 0.75rem; }
.footer-list a { color: var(--clr-text-muted); font-size: 0.9rem; }
.footer-list a:hover { color: var(--clr-gold); }
.footer-contact-list { list-style: none; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  color: var(--clr-text-muted); font-size: 0.9rem;
  margin-bottom: 1rem;
}
.footer-contact-list svg { color: var(--clr-gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: var(--clr-text-muted); }
.footer-contact-list a:hover { color: var(--clr-gold); }
.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-block: 1.5rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-left { display: flex; flex-direction: column; gap: 4px; }
.footer-copyright { font-size: 0.85rem; color: var(--clr-text-muted); margin: 0; }
.footer-copyright a { color: var(--clr-text-muted); }
.footer-copyright a:hover { color: var(--clr-gold); }
.footer-legal-links { font-size: 0.8rem; color: var(--clr-text-muted); margin: 0; }
.footer-legal-links a { color: var(--clr-text-muted); transition: color 0.2s; }
.footer-legal-links a:hover { color: var(--clr-gold); }
.footer-credit { font-size: 0.85rem; color: var(--clr-text-muted); margin: 0; }
.footer-credit .heart { color: #e53e3e; }

/* ── BACK TO TOP ──────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-gold);
  cursor: pointer;
  z-index: 100;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-card);
}
.back-to-top:hover {
  background: var(--clr-gold);
  color: var(--clr-bg);
  transform: translateY(-3px);
  border-color: var(--clr-gold);
}

/* ── 404 PAGE ─────────────────────────────────────────────── */
.error-404-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.error-404-inner { position: relative; z-index: 1; }
.error-404-number {
  font-family: var(--font-heading);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(124,58,237,0.15));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: -2rem;
}
.error-404-glow {
  width: 300px; height: 300px;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(ellipse, rgba(201,169,110,0.12), transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.error-404-title { font-size: 2rem; margin-bottom: 1rem; color: var(--clr-text); }
.error-404-text { color: var(--clr-text-muted); max-width: 50ch; margin: 0 auto 2rem; }
.error-404-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── PAGINATION ───────────────────────────────────────────── */
.pagination-wrap { margin-top: 4rem; display: flex; justify-content: center; }
.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pagination-wrap a.page-numbers,
.pagination-wrap span.page-numbers {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
  font-size: 0.875rem;
  transition: var(--transition-fast);
}
.pagination-wrap a.page-numbers:hover { color: var(--clr-gold); border-color: var(--clr-gold); }
.pagination-wrap .current { background: var(--clr-gold); border-color: var(--clr-gold); color: var(--clr-bg) !important; }

/* ── TAG CHIP ─────────────────────────────────────────────── */
.tag-chip {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(201,169,110,0.1);
  border: 1px solid rgba(201,169,110,0.2);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-gold);
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}
.tag-chip:hover { background: rgba(201,169,110,0.2); }

/* ── NO POSTS ─────────────────────────────────────────────── */
.no-posts {
  text-align: center;
  padding: 5rem 1rem;
}
.no-posts-icon { font-size: 4rem; color: var(--clr-text-muted); margin-bottom: 1.5rem; }
.no-posts h3 { margin-bottom: 1rem; }
.no-posts p { color: var(--clr-text-muted); margin-bottom: 2rem; }

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Vollständige Überarbeitung
   ══════════════════════════════════════════════════════════ */

/* ── NAV: Hamburger ab 1024px ─────────────────────────────── */
@media (max-width: 1024px) {
  .site-nav                              { display: none; }
  .nav-toggle                            { display: flex; }
  .header-actions .btn:not(.nav-toggle)  { display: none; }
}

/* ── Mobile Nav: volle Breite auf kleinen Geräten ─────────── */
@media (max-width: 480px) {
  .mobile-nav { width: 100vw; border-left: none; }
}

/* ── Mobile Menu Stagger-Animation ───────────────────────── */
.mobile-menu > li {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.mobile-nav.open .mobile-menu > li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.10s; }
.mobile-nav.open .mobile-menu > li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.17s; }
.mobile-nav.open .mobile-menu > li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.24s; }
.mobile-nav.open .mobile-menu > li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.31s; }
.mobile-nav.open .mobile-menu > li:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.38s; }
.mobile-nav.open .mobile-menu > li:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.45s; }

/* ── 1200px: Services 2-spaltig, Footer 2-spaltig ─────────── */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ── 900px: About, Portfolio, Blog, Contact ───────────────── */
@media (max-width: 900px) {
  /* About */
  .about-grid        { grid-template-columns: 1fr; }
  .about-image-wrap  { max-width: 500px; margin-inline: auto; }
  .about-exp-badge   { right: 1rem; bottom: 1rem; }

  /* Portfolio & Blog */
  .portfolio-grid             { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item.featured    { grid-column: span 2; }
  .blog-grid                  { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Page */
  .project-layout { grid-template-columns: 1fr !important; }
  .post-navigation { grid-template-columns: 1fr; }
}

/* ── 640px: Mobile ────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Hero */
  .hero-actions          { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn     { width: 100%; justify-content: center; }
  .hero-badge            { display: none; }

  /* About */
  .about-features        { grid-template-columns: 1fr; }
  .about-image-frame     { aspect-ratio: 1/1; }
  .about-exp-badge       { position: static; margin-top: 1rem; display: inline-block; }

  /* Services */
  .services-grid         { grid-template-columns: 1fr; }

  /* Portfolio */
  .portfolio-grid                     { grid-template-columns: 1fr; }
  .portfolio-item.featured            { grid-column: span 1; aspect-ratio: 4/3; }
  .portfolio-filter                   { gap: 0.4rem; }
  .filter-btn                         { padding: 0.4rem 0.9rem; font-size: 0.7rem; }

  /* Stats */
  .stats-grid            { grid-template-columns: repeat(2, 1fr); }
  .stat-item             { padding: 1.5rem 0.5rem; }

  /* Blog */
  .blog-grid             { grid-template-columns: 1fr; }

  /* CTA */
  .cta-actions           { flex-direction: column; align-items: center; }
  .cta-actions .btn      { width: 100%; justify-content: center; max-width: 320px; }

  /* Contact form */
  .form-row              { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid           { grid-template-columns: 1fr; }
  .footer-bottom-inner   { flex-direction: column; text-align: center; }

  /* Testimonials */
  .testimonial-card      { padding: 1.5rem 1.25rem; }

  /* Section padding */
  .section-pad           { padding-block: clamp(3.5rem, 8vw, 6rem); }
}

/* ── 380px: Sehr kleine Geräte ────────────────────────────── */
@media (max-width: 380px) {
  .stats-grid            { grid-template-columns: 1fr; }
  .portfolio-filter      {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .filter-btn            { flex-shrink: 0; }
}

/* ════════════════════════════════════════════════════════════
   MODERNE WOW-EFFEKTE
════════════════════════════════════════════════════════════ */

/* ── SCROLL PROGRESS BAR ──────────────────────────────────── */
#scroll-progress-wrap {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 9999; pointer-events: none;
}
#scroll-progress {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-violet), var(--clr-gold));
  background-size: 200% 100%;
  animation: progress-shimmer 3s linear infinite;
  transition: width 0.08s linear;
}
@keyframes progress-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ── INFINITE MARQUEE ─────────────────────────────────────── */
.marquee-section {
  overflow: hidden; padding: 1.25rem 0;
  background: linear-gradient(90deg, var(--clr-bg-2) 0%, rgba(124,58,237,0.06) 50%, var(--clr-bg-2) 100%);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
.marquee-track {
  display: flex; align-items: center;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-heading);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clr-text-muted); padding: 0 1.75rem;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.marquee-item:hover { color: var(--clr-gold); }
.marquee-dot {
  font-size: 0.55rem; color: var(--clr-gold);
  opacity: 0.6; flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── HERO SPOTLIGHT (Mouse-Follow-Glow) ───────────────────── */
.hero-section {
  --spotlight-x: 50%;
  --spotlight-y: 40%;
}
.hero-section::after {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(700px circle at var(--spotlight-x) var(--spotlight-y),
    rgba(201,169,110,0.07), transparent 55%);
  transition: background 0.05s linear;
}

/* ── TEXT SCRAMBLE (Glitch on Hover) ─────────────────────── */
[data-scramble] { cursor: default; }

/* ── SPLIT TEXT REVEAL ────────────────────────────────────── */
.split-word {
  display: inline-block; overflow: hidden; vertical-align: bottom;
}
.split-word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.75s cubic-bezier(0.25, 1, 0.5, 1);
}
.split-revealed .split-word > span { transform: translateY(0); }

/* ── SOCIAL LINKS — TOOLTIP ───────────────────────────────── */
.social-link { position: relative; }
.social-link[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem; border-radius: 4px;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease;
}
.social-link[data-tooltip]:hover::after {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* ── SKILL BARS (Über mich Seite) ─────────────────────────── */
.skills-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.skill-item { display: flex; flex-direction: column; gap: 0.5rem; }
.skill-header {
  display: flex; justify-content: space-between;
  font-size: 0.875rem; font-weight: 500;
}
.skill-name { color: var(--clr-text); }
.skill-pct  { color: var(--clr-gold); font-family: var(--font-heading); }
.skill-bar  {
  height: 2px; background: var(--clr-border); border-radius: 999px; overflow: hidden;
}
.skill-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-violet));
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.skill-bar-fill.animated { width: var(--skill-width); }

/* ── PAGE HERO SECTION (Unterseiten) ─────────────────────── */
.page-hero-section {
  position: relative; padding: clamp(7rem,14vw,11rem) 0 clamp(4rem,8vw,6rem);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--clr-bg) 0%, #0d0920 50%, var(--clr-bg) 100%);
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, rgba(124,58,237,0.12), transparent);
}
.page-hero-content { position: relative; z-index: 1; max-width: 720px; }
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900; line-height: 1.1;
  margin-block: 1rem 0.75rem;
}
.page-hero-title span { color: var(--clr-gold); }
.page-hero-subtitle {
  color: var(--clr-text-muted); font-size: 1.05rem;
  font-weight: 300; line-height: 1.7;
}

/* ── LEISTUNGEN GRID (Leistungen-Seite) ─────────────────── */
.leistungen-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem;
}
.leistung-block {
  background: var(--clr-bg-2);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.leistung-block:hover {
  border-color: var(--clr-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(201,169,110,0.1);
}
.leistung-icon-wrap {
  width: 60px; height: 60px;
  background: rgba(201,169,110,0.08);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-gold); margin-bottom: 1.5rem;
  transition: background 0.3s ease;
}
.leistung-block:hover .leistung-icon-wrap {
  background: rgba(201,169,110,0.15);
}
.leistung-title {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 0.75rem; color: var(--clr-text);
}
.leistung-desc { color: var(--clr-text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; }
.leistung-list {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  display: flex; flex-direction: column; gap: 0.4rem;
}
.leistung-list li {
  font-size: 0.82rem; color: var(--clr-text-muted);
  padding-left: 1rem; position: relative;
}
.leistung-list li::before {
  content: '—'; position: absolute; left: 0; color: var(--clr-gold);
}

/* ── 3D TILT — smooth override ───────────────────────────── */
.service-card, .portfolio-item, .testimonial-card, .leistung-block {
  will-change: transform;
}

/* Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid     { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .leistungen-grid { grid-template-columns: 1fr; }
}

/* ── WORDPRESS ALIGNMENT CLASSES ─────────────────────────── */
.alignleft  { float: left; margin-right: 2rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 2rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin-inline: auto; margin-block: 2rem; }
.alignwide  { margin-inline: calc(-1 * clamp(1rem, 5vw, 3rem)); }
.alignfull  { margin-inline: calc(-1 * clamp(1rem, 5vw, 3rem)); width: calc(100% + 2 * clamp(1rem, 5vw, 3rem)); }
.wp-block-image figcaption { font-size: 0.85rem; color: var(--clr-text-muted); text-align: center; margin-top: 0.5rem; }
.wp-caption { max-width: 100%; }

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: rgba(201,169,110,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-gold); }

/* ── FOCUS VISIBLE ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--clr-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── POST META ────────────────────────────────────────────── */
.post-meta-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  align-items: center;
}
.post-meta-hero span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.post-footer {
  border-top: 1px solid var(--clr-border);
  padding-top: 2rem;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.post-share { display: flex; align-items: center; gap: 1rem; font-size: 0.85rem; }
.post-share a { color: var(--clr-text-muted); font-size: 0.85rem; }
.post-share a:hover { color: var(--clr-gold); }
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}
.post-nav-link {
  display: block;
  padding: 1.5rem;
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}
.post-nav-link:hover { border-color: var(--clr-gold); color: var(--clr-text); }
.post-nav-next { text-align: right; }
.post-nav-label { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clr-gold); margin-bottom: 0.4rem; }
.post-nav-title { font-family: var(--font-heading); color: var(--clr-text); }

/* ============================================================
   SERVICE SUBPAGE STYLES
   ============================================================ */

/* ── Page Hero Overlay ──────────────────────────────────── */
.page-hero-overlay {
  position: absolute;
  inset: 0;
}

/* ── Service Split Layout ───────────────────────────────── */
.service-intro-section { background: var(--clr-bg); }

.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.service-split--reverse { direction: rtl; }
.service-split--reverse > * { direction: ltr; }

.service-split__text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin: 1rem 0 1.5rem;
  line-height: 1.2;
}
.service-split__text p {
  color: var(--clr-text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
.service-split__text .btn { margin-top: 1rem; }

/* ── Service Image Frame ────────────────────────────────── */
.service-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #12121a, #0d0d1a);
  border: 1px solid rgba(201,169,110,0.15);
}
.service-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: rgba(201,169,110,0.3);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.service-image-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.3);
  color: var(--clr-gold);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

/* ── Screen Mockup ──────────────────────────────────────── */
.service-image-frame--screen {
  background: #0d0d1a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.service-screen-mockup {
  width: 100%;
  background: #111120;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.screen-bar {
  height: 28px;
  background: #1a1a2e;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.screen-content { padding: 1.5rem; }
.screen-line {
  height: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  margin-bottom: .75rem;
}
.screen-line--title {
  height: 18px;
  width: 60%;
  background: rgba(201,169,110,0.2);
}
.screen-line--short { width: 40%; }
.screen-btn {
  width: 80px;
  height: 28px;
  background: rgba(201,169,110,0.25);
  border-radius: 4px;
  margin-top: 1.25rem;
}

/* ── Service Features Grid ──────────────────────────────── */
.service-features-section { background: var(--clr-bg-2); }
.service-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: border-color .3s, transform .3s;
}
.service-feature-card:hover {
  border-color: rgba(201,169,110,0.3);
  transform: translateY(-4px);
}
.service-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,169,110,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  margin-bottom: 1.25rem;
}
.service-feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: .6rem;
  color: var(--clr-text);
}
.service-feature-card p {
  font-size: .9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ── Process Steps ──────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.process-step {
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2.25rem;
  right: -1rem;
  width: 2rem;
  height: 1px;
  background: rgba(201,169,110,0.25);
}
.process-step__num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201,169,110,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.process-step__content h3 {
  font-size: 1rem;
  margin-bottom: .5rem;
  color: var(--clr-gold);
}
.process-step__content p {
  font-size: .875rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ── Service Quote ──────────────────────────────────────── */
.service-quote-section { background: var(--clr-bg); }
.service-quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  border-left: none;
  padding: 0;
}
.service-quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--clr-text);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.service-quote cite {
  font-size: .875rem;
  color: var(--clr-gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-style: normal;
}
.service-quote cite::before { content: '— '; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service-split { grid-template-columns: 1fr; gap: 3rem; }
  .service-split--reverse { direction: ltr; }
  .service-features-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
}
@media (max-width: 640px) {
  .service-features-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}

/* ── Service Skill Bar ──────────────────────────────────── */
.service-skill-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
  font-size: .85rem;
  color: var(--clr-text-muted);
}
.skill-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-violet));
  border-radius: 2px;
  animation: skillGrow 1.5s ease forwards;
}
@keyframes skillGrow { from { width: 0 !important; } }
.skill-pct {
  color: var(--clr-gold);
  font-weight: 600;
  min-width: 2.5rem;
  text-align: right;
}
