:root {
  --bg: #0a0a0f;
  --bg-2: #0c0c14;
  --surface: rgba(12, 12, 16, 0.6);
  --surface-2: rgba(15, 15, 22, 0.8);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --muted: #9ea0ad;
  /* Lila/Purple als Primary */
  --primary: #a855f7;
  --primary-2: #c084fc;
  --accent: #a855f7;
  --shadow: 0 12px 36px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Lila Auswahl für edlen Look */
::selection {
  background: rgba(168, 85, 247, 0.4); 
  color: #fff;
  text-shadow: 0 0 5px rgba(168, 85, 247, 0.5);
}

/* Bilder nicht ziehbar */
img {
  -webkit-user-drag: none; 
  user-select: none;
  -webkit-user-select: none;
}

a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 94vw); margin: 0 auto; }



/* Vignette & Overlay Effects */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%);
  z-index: 0;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 22% 32%, rgba(168, 85, 247, 0.1), transparent 34%),
    radial-gradient(circle at 78% 24%, rgba(201, 162, 39, 0.06), transparent 40%);
  filter: blur(80px);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

/* Side Navigation */
.side-nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 220px;
  height: 100vh;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  padding: 20px 0;
}

.side-nav-header {
  padding: 0 20px 20px;
  border-bottom: 1px solid var(--border);
}

.side-nav-header .brand {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.side-nav-header .brand-logo {
  width: 60px;
  height: 70px;
}

.side-nav-header .brand-name {
  font-size: 0.9rem;
}

.side-nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 12px;
  overflow-y: auto;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Cinzel', serif;
  background: transparent;
  border: 1px solid transparent; 
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

/* Custom SVG Icons für Navigation */
.nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: all 0.3s ease;
}

.nav-btn:hover .nav-icon svg,
.nav-btn.active .nav-icon svg {
  stroke: var(--accent);
  filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.5));
}

/* Service Icons */
.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(168, 85, 247, 0.05));
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  stroke-width: 1.8;
  fill: none;
}

/* Hero Badge Icon */
.badge-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.badge-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

/* Language Icon */
.lang-icon {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 1px rgba(0,0,0,0.3);
}

.lang-icon .stripe {
  flex: 1;
}

/* Deutsche Flagge - horizontal stripes */
.lang-icon.de .stripe:nth-child(1) { background: #000; }
.lang-icon.de .stripe:nth-child(2) { background: #dd0000; }
.lang-icon.de .stripe:nth-child(3) { background: #ffcc00; }

/* UK Flagge - als Bild von flagcdn */
.lang-icon.en .stripe { display: none; }
.lang-icon.en {
  background: url('https://flagcdn.com/w40/gb.png') center/cover no-repeat;
}

/* Lila Rauten-Dekoration */
.nav-btn::before, .nav-btn::after {
  content: "◈";
  color: var(--accent);
  font-size: 8px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-shadow: 0 0 5px rgba(168, 85, 247, 0.6);
  position: absolute;
}
.nav-btn::before { left: 4px; }
.nav-btn::after { right: 4px; }

.nav-btn:hover {
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.1), transparent);
  color: var(--text);
}

.nav-btn:hover::before, .nav-btn:hover::after {
  opacity: 0.6;
  transform: scale(1);
}

.nav-btn.active {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.15), rgba(168, 85, 247, 0.05));
  color: var(--accent);
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
  border-color: rgba(168, 85, 247, 0.2);
}

.nav-btn.active::before, .nav-btn.active::after {
  opacity: 1;
  transform: scale(1.2);
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.8);
}

.side-nav-footer {
  padding: 15px 12px;
  border-top: 1px solid var(--border);
}

.side-nav-footer .lang-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Mobile Header (nur auf mobil sichtbar) */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  z-index: 99;
}

.mobile-header .brand {
  gap: 10px;
}

.mobile-header .brand-logo {
  width: 28px;
  height: 36px;
}

/* Main Content mit Sidebar-Offset */
.main-content {
  margin-left: 220px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Adjust container max-width for sidebar layout */
.main-content .container {
  width: min(1100px, 92%);
}

/* Adjust hero for sidebar layout */
.main-content .hero-modern {
  padding: 4rem 0 4.5rem;
}

.main-content .hero-content {
  gap: 2rem;
}

.main-content .logo-dominant {
  width: 320px;
  height: 420px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .side-nav {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  
  .side-nav.active {
    transform: translateX(0);
  }
  
  .mobile-header {
    display: flex;
  }
  
  .main-content {
    margin-left: 0;
    padding-top: 60px;
  }
  
  /* Overlay when menu is open */
  .side-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .side-nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

.mobile-menu-toggle { 
  display: none; 
  flex-direction: column; 
  gap: 5px; 
  background: none; 
  border: none; 
  padding: 0.4rem; 
  cursor: pointer; 
}
.mobile-menu-toggle span { 
  width: 22px; 
  height: 3px; 
  background: var(--text); 
  border-radius: 2px; 
  transition: all 0.3s ease; 
}

@media (max-width: 1024px) {
  .mobile-menu-toggle { display: flex; }
  
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { 
    transform: rotate(45deg) translate(6px, 6px); 
  }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { 
    opacity: 0; 
  }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { 
    transform: rotate(-45deg) translate(6px, -6px); 
  }
}

/* Brand Styles */
.brand { 
  display: flex; 
  align-items: center; 
  gap: 0.65rem; 
  font-weight: 700; 
  letter-spacing: 0.3px; 
  text-decoration: none;
}
.brand-logo { 
  width: 32px; 
  height: 42px; 
  border-radius: 8px; 
  object-fit: contain; 
}
.brand-mark { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  width: 34px; 
  height: 34px; 
  border-radius: 4px; 
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); 
  color: #0b0b10; 
  font-weight: 800;
  font-family: 'Cinzel', serif;
}
.brand-name { 
  color: var(--muted); 
  font-size: 0.95rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

/* Language Toggle */
.lang-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  font-family: 'Cinzel', serif;
}
.lang-toggle:hover { 
  border-color: var(--accent); 
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

/* Hero */
.hero-modern {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 5.5rem;
  background: linear-gradient(180deg, #0a0a0f 0%, #0c0c14 60%, #0a0a0f 100%);
  border-bottom: 1px solid var(--border);
}

.hero-modern::before {
  content: "";
  position: absolute;
  inset: -100px;
  background:
    radial-gradient(circle at 22% 32%, rgba(168, 85, 247, 0.12), transparent 34%),
    radial-gradient(circle at 78% 24%, rgba(201, 162, 39, 0.08), transparent 40%);
  filter: blur(100px);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  z-index: 1;
}
.hero-text { display: flex; flex-direction: column; gap: 1rem; }
.hero-badge { 
  display: inline-flex; 
  align-items: center; 
  gap: 0.5rem; 
  padding: 0.5rem 0.9rem; 
  border-radius: 4px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--accent);
  font-weight: 600; 
  width: fit-content;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.hero-title { 
  margin: 0; 
  font-size: clamp(2.6rem, 5.5vw, 3.8rem); 
  line-height: 1.08; 
  letter-spacing: -0.3px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
}
.hero-title .gradient-text { 
  background: linear-gradient(180deg, #fff 0%, #a855f7 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.hero-subtitle { margin: 0; color: var(--muted); font-size: 1.06rem; max-width: 640px; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* Soon Badge - Gold Theme */
.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(201, 162, 39, 0.05));
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 4px;
  width: fit-content;
  position: relative;
  overflow: hidden;
}
.soon-badge .badge-text {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: #c9a227;
  letter-spacing: 2px;
  font-size: 0.9rem;
}
.soon-badge .badge-label {
  background: linear-gradient(135deg, #c9a227, #e8c274);
  color: #0a0a0f;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.soon-badge-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 3px;
  filter: drop-shadow(0 0 4px rgba(201, 162, 39, 0.5));
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.9rem 1.25rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, background 0.2s ease;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
}
.btn-modern.primary { 
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.95), rgba(168, 85, 247, 0.65));
  color: #fff;
  box-shadow: 0 10px 26px rgba(168, 85, 247, 0.18), 0 0 18px rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.35);
}
.btn-modern.primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 14px 34px rgba(168, 85, 247, 0.25), 0 0 24px rgba(168, 85, 247, 0.2);
  background: linear-gradient(180deg, rgba(168, 85, 247, 1), rgba(168, 85, 247, 0.72));
}
.btn-modern.secondary { 
  border-color: rgba(255,255,255,0.14);
  color: var(--text); 
  background: rgba(255,255,255,0.04);
}
.btn-modern.secondary:hover { 
  border-color: var(--accent); 
  color: var(--accent);
  background: rgba(168, 85, 247, 0.1);
}

.hero-visual { position: relative; display: flex; flex-direction: column; gap: 1.6rem; }
.logo-dominant { 
  position: relative; 
  width: 380px; 
  height: 500px; 
  margin: 0 auto; 
  perspective: 1500px; 
  filter: drop-shadow(0 20px 50px rgba(168, 85, 247, 0.3));
  transform-style: preserve-3d;
}
.logo-3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 20px; }
.logo-img-3d { 
  position: relative; 
  width: 100%; 
  height: 100%; 
  object-fit: contain; 
  border-radius: 20px;
  transform-style: preserve-3d;
  will-change: transform;
  filter: drop-shadow(0 25px 60px rgba(168, 85, 247, 0.4));
}

.code-window {
  background: var(--surface);
  border-radius: 4px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

/* Lila Ecken */
.code-window::before, .code-window::after {
  content: "";
  position: absolute;
  width: 20px; 
  height: 20px;
  transition: all 0.5s ease;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
}
.code-window::before {
  top: -1px; 
  left: -1px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-top-left-radius: 4px;
  filter: drop-shadow(0 0 3px rgba(168, 85, 247, 0.4));
}
.code-window::after {
  bottom: -1px; 
  right: -1px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-bottom-right-radius: 4px;
  filter: drop-shadow(0 0 3px rgba(168, 85, 247, 0.4));
}
.code-window:hover::before, .code-window:hover::after {
  width: 100%; 
  height: 100%;
  border-color: rgba(168, 85, 247, 0.3);
  opacity: 0.9;
}

.window-header { 
  display: flex; 
  gap: 0.5rem; 
  padding: 0.9rem; 
  background: var(--surface-2); 
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca3f; }
.code-content { 
  padding: 1.2rem 1.4rem; 
  font-family: 'JetBrains Mono', 'Fira Code', monospace; 
  font-size: 0.92rem; 
  line-height: 1.6; 
  color: var(--muted);
}
.keyword { color: #a855f7; }
.class, .function { color: #c084fc; }
.string { color: #c3e88d; }

/* Section headers */
.section-header { text-align: center; margin-bottom: 2.2rem; }
.section-header h2, .section-header h3 { 
  margin: 0 0 0.6rem 0; 
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #fff 0%, #a855f7 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.section-header p { margin: 0; color: var(--muted); }
.section-header.compact { margin-bottom: 1.5rem; }

/* Ensure gallery title/subtitle share same tone */
.project-gallery .section-header h3,
.project-section .project-gallery .section-header h3 { 
  background: linear-gradient(180deg, #fff 0%, #a855f7 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.95; 
}
.project-gallery .section-header p,
.project-section .project-gallery .section-header p { color: var(--muted); opacity: 0.95; }

/* Project/Gallery Section */
.project-section {
  background: linear-gradient(160deg, #0c0c14 0%, #0a0a0f 100%);
  padding: 4.5rem 0 5rem;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.project-section::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(10,10,15,0) 0%, rgba(10,10,15,0.45) 70%, rgba(10,10,15,0.85) 100%);
  pointer-events: none;
}
.project-gallery {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
}

/* Lila Ecken für Gallery */
.project-gallery::before, .project-gallery::after {
  content: "";
  position: absolute;
  width: 28px; 
  height: 28px;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
}
.project-gallery::before {
  top: -1px; 
  left: -1px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-top-left-radius: 4px;
  filter: drop-shadow(0 0 2px rgba(168, 85, 247, 0.3));
}
.project-gallery::after {
  bottom: -1px; 
  right: -1px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-bottom-right-radius: 4px;
  filter: drop-shadow(0 0 2px rgba(168, 85, 247, 0.3));
}
.project-gallery:hover::before, .project-gallery:hover::after {
  width: 100%; 
  height: 100%;
  border-color: rgba(168, 85, 247, 0.25);
  opacity: 0.8;
  filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.4));
}

.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.3rem; }
.filter-btn {
  padding: 0.55rem 1rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
}
.filter-btn:hover { 
  border-color: var(--accent); 
  color: var(--text);
  background: rgba(168, 85, 247, 0.1);
}
.filter-btn.active { 
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.95), rgba(168, 85, 247, 0.65));
  color: #fff; 
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.25);
}

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

/* Lila Ecken für Cards */
.gallery-card::before, .gallery-card::after {
  content: "";
  position: absolute;
  width: 16px; 
  height: 16px;
  transition: all 0.4s ease;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}
.gallery-card::before {
  top: -1px; 
  left: -1px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.gallery-card::after {
  bottom: -1px; 
  right: -1px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.gallery-card:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 16px 40px rgba(0,0,0,0.4); 
  border-color: rgba(168, 85, 247, 0.3);
}
.gallery-card:hover::before, .gallery-card:hover::after {
  opacity: 0.8;
  width: 24px;
  height: 24px;
}

.gallery-media { 
  position: relative; 
  aspect-ratio: 16 / 9;
  background: #0a0a0f; 
  overflow: hidden;
}
.gallery-media video, .gallery-media img { 
  width: 100%; 
  height: 100%; 
  object-fit: contain;
  display: block; 
  background: #0a0a0f;
}
.gallery-overlay { 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.7) 100%); 
  display: flex; 
  align-items: flex-end; 
  padding: 0.75rem; 
  color: #fff; 
  font-weight: 700;
  font-family: 'Cinzel', serif;
}
.gallery-body { padding: 0.95rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.gallery-body h4 { margin: 0; font-size: 1rem; font-family: 'Cinzel', serif; color: var(--text); }
.gallery-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.gallery-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.gallery-tag { 
  padding: 0.25rem 0.6rem; 
  border-radius: 3px;
  background: rgba(168, 85, 247, 0.1);
  color: var(--accent);
  border: 1px solid rgba(168, 85, 247, 0.2);
  font-size: 0.8rem;
  font-weight: 600;
}
.gallery-card.hidden { display: none; }

@media (max-width: 960px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { 
  .gallery-grid { grid-template-columns: 1fr; } 
  .hero-content { grid-template-columns: 1fr; text-align: center; } 
  .hero-visual { order: -1; } 
  .hero-actions { justify-content: center; }
  .hero-badge, .soon-badge { margin: 0 auto; }
  .logo-dominant { width: 240px; height: 320px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 0.8rem; }
  .cookie-content { flex-direction: column; text-align: center; }
  .cookie-actions { width: 100%; justify-content: center; }
}

/* Diagonal Transition */
.diagonal-cut {
  height: 80px;
  background: linear-gradient(170deg, transparent 49.5%, var(--bg) 50%);
  margin-top: -40px;
  position: relative;
  z-index: 1;
}

/* Services */
.services-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #0a0a0f 0%, #0c0c14 100%);
  border-top: 1px solid var(--border);
}
.services-grid-clean {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  max-width: 1180px;
  margin: 2.2rem auto 0;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

/* Lila Ecken für Service Cards */
.service-card::before, .service-card::after {
  content: "";
  position: absolute;
  width: 20px; 
  height: 20px;
  transition: all 0.5s ease;
  pointer-events: none;
  z-index: 2;
  opacity: 0.5;
}
.service-card::before {
  top: -1px; 
  left: -1px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.service-card::after {
  bottom: -1px; 
  right: -1px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.service-card:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 14px 36px rgba(0,0,0,0.35); 
  border-color: rgba(168, 85, 247, 0.3);
}
.service-card:hover::before, .service-card:hover::after {
  opacity: 0.9;
  width: 100%;
  height: 100%;
  border-color: rgba(168, 85, 247, 0.25);
}

.service-card.featured, .service-card.primary {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(255,255,255,0.03));
  border-color: rgba(168, 85, 247, 0.25);
}

.service-card h3 { 
  margin: 0 0 0.6rem 0; 
  color: var(--text); 
  font-size: 1.2rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
}
.service-card p { margin: 0 0 1rem 0; color: var(--muted); }
.tech-tags { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.tech-tags span { 
  padding: 0.3rem 0.75rem; 
  border-radius: 3px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.pill {
  padding: 0.4rem 0.9rem;
  border-radius: 3px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
}

@media (max-width: 1024px) { .services-grid-clean { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .services-grid-clean { grid-template-columns: 1fr; } }

/* Pricing */
.pricing-section {
  margin-top: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
}

/* Lila Ecken für Pricing */
.pricing-section::before, .pricing-section::after {
  content: "";
  position: absolute;
  width: 24px; 
  height: 24px;
  transition: all 0.5s ease;
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
}
.pricing-section::before {
  top: -1px; 
  left: -1px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.pricing-section::after {
  bottom: -1px; 
  right: -1px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.pricing-block {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem 1.1rem;
}
.pricing-block h4 { 
  margin: 0 0 0.7rem 0; 
  font-size: 1.05rem;
  font-family: 'Cinzel', serif;
  color: var(--accent);
  letter-spacing: 0.5px;
}
.pricing-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.pricing-list li { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.55rem 0.75rem;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pricing-list li:hover {
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(168, 85, 247, 0.05);
}
.pricing-list strong { 
  color: var(--accent); 
  font-weight: 700;
  font-family: 'Cinzel', serif;
}
.pricing-note { text-align: center; margin-top: 1.1rem; color: var(--muted); font-size: 0.95rem; }
.pricing-note.small-note { font-size: 0.85rem; opacity: 0.8; }
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-section { 
  padding: 4.5rem 0; 
  background: linear-gradient(180deg, #0c0c14 0%, #0a0a0f 100%);
}
.faq-container { max-width: 820px; margin: 2rem auto 0; }
.faq-item { 
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

/* Lila Ecken für FAQ */
.faq-item::before, .faq-item::after {
  content: "";
  position: absolute;
  width: 16px; 
  height: 16px;
  transition: all 0.4s ease;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}
.faq-item::before {
  top: -1px; 
  left: -1px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.faq-item::after {
  bottom: -1px; 
  right: -1px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.faq-item:hover { 
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 10px 28px rgba(0,0,0,0.3);
}
.faq-item:hover::before, .faq-item:hover::after {
  opacity: 0.7;
}
.faq-item.active::before, .faq-item.active::after {
  opacity: 1;
  width: 24px;
  height: 24px;
}

.faq-question { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 1rem 1.2rem; 
  cursor: pointer;
  transition: background 0.2s ease;
}
.faq-question:hover {
  background: rgba(168, 85, 247, 0.05);
}
.faq-question h3 { 
  margin: 0; 
  font-size: 1.05rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.3px;
}
.faq-icon { 
  color: var(--accent); 
  font-size: 1.4rem; 
  font-weight: 300;
  transition: transform 0.3s ease;
}
.faq-answer { 
  max-height: 0; 
  overflow: hidden; 
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.2rem;
}
.faq-item.active .faq-answer { 
  max-height: 200px; 
  padding: 0 1.2rem 1rem;
}
.faq-answer p { margin: 0; color: var(--muted); line-height: 1.55; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-item.active {
  border-color: rgba(168, 85, 247, 0.4);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), transparent);
}

/* Contact */
.contact-modern { 
  padding: 4.5rem 0; 
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.single-contact { display: grid; grid-template-columns: 1fr; justify-items: center; }
.center-contact { text-align: center; }
.center-contact h2 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #fff 0%, #a855f7 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 0.5rem 0;
}
.center-contact p {
  color: var(--muted);
  margin: 0 0 1rem 0;
}

.discord-avatar-card { 
  margin-top: 1rem; 
  display: inline-flex; 
  align-items: center; 
  gap: 0.85rem; 
  padding: 0.85rem 1rem; 
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

/* Lila Ecken für Discord Card */
.discord-avatar-card::before, .discord-avatar-card::after {
  content: "";
  position: absolute;
  width: 16px; 
  height: 16px;
  transition: all 0.4s ease;
  pointer-events: none;
  z-index: 2;
  opacity: 0.5;
}
.discord-avatar-card::before {
  top: -1px; 
  left: -1px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}
.discord-avatar-card::after {
  bottom: -1px; 
  right: -1px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
}

.discord-avatar-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.discord-avatar-card:hover::before, .discord-avatar-card:hover::after {
  opacity: 1;
  width: 100%;
  height: 100%;
  border-color: rgba(168, 85, 247, 0.25);
}

.avatar-ring { 
  width: 56px; 
  height: 64px; 
  display: grid; 
  place-items: center;
}
.avatar-ring img { width: 100%; height: 100%; object-fit: contain; }
.avatar-meta { display: flex; flex-direction: column; gap: 0.15rem; text-align: left; }
.avatar-name { 
  font-weight: 700;
  font-family: 'Cinzel', serif;
  color: var(--accent);
}
.avatar-note { color: var(--muted); font-size: 0.92rem; }

/* Footer */
.site-footer { 
  border-top: 1px solid var(--border); 
  background: var(--bg-2);
}
.footer-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 1rem; 
  padding: 1rem 0;
}
.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-nav { display: flex; gap: 1rem; align-items: center; }
.footer-nav a, .footer-nav .link { 
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--accent); }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.95), rgba(168, 85, 247, 0.7));
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.25);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { 
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.35);
  transform: translateY(-2px);
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; 
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-2));
  z-index: 50;
  transition: width 0.05s linear;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* Modals & cookie banner */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 60; }
.modal-backdrop { 
  position: absolute; 
  inset: 0; 
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}
.modal-card { 
  position: relative; 
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  width: min(680px, 94vw);
  margin: 8vh auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.modal-header, .modal-footer { 
  display: flex; 
  align-items: center; 
  gap: 0.8rem; 
  padding: 0.9rem 1rem; 
  border-bottom: 1px solid var(--border);
}
.modal-header h3 {
  margin: 0;
  font-family: 'Cinzel', serif;
  color: var(--accent);
}
.modal-footer { border-top: 1px solid var(--border); border-bottom: none; }
.modal-body { padding: 1rem; }
.icon-btn { 
  background: transparent; 
  color: var(--text); 
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 2rem; 
  height: 2rem; 
  display: grid; 
  place-items: center; 
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  margin-left: auto;
}
.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cookie-banner { 
  position: fixed; 
  left: 220px; 
  right: 0; 
  bottom: 0; 
  z-index: 50; 
  padding: 0.8rem; 
  display: block;
  visibility: visible;
  opacity: 1;
}
@media (max-width: 1024px) {
  .cookie-banner {
    left: 0;
  }
}
.cookie-banner[hidden] { 
  display: none !important; 
  visibility: hidden !important;
  opacity: 0 !important;
}
.cookie-content { 
  display: flex; 
  gap: 1rem; 
  align-items: center; 
  justify-content: space-between; 
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow);
}
.cookie-text h3 {
  margin: 0 0 0.3rem 0;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--accent);
}
.cookie-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.cookie-actions { display: flex; gap: 0.6rem; }

.btn { 
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: .7rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.3px;
}
.btn:hover { 
  transform: translateY(-1px); 
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  border-color: var(--accent);
}
.btn.primary { 
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.95), rgba(168, 85, 247, 0.7));
  border-color: transparent; 
  color: #fff;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2);
}
.btn.primary:hover {
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}
.btn.ghost { background: transparent; }
.link { 
  background: none; 
  border: none; 
  color: var(--accent); 
  cursor: pointer; 
  text-decoration: underline; 
  font: inherit;
  transition: opacity 0.2s ease;
}
.link:hover { opacity: 0.8; }
.link.small { font-size: 0.85rem; }

/* Cookie modal extras */
.cookie-group { display: flex; flex-direction: column; gap: 1rem; }
.cookie-group .row { 
  display: flex; 
  justify-content: space-between; 
  align-items: flex-start; 
  gap: 1rem;
  padding: 0.8rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.cookie-group .row strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.3rem;
}
.cookie-group .row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.switch input { opacity: 0; width: 0; height: 0; }
.switch span {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--border);
  border-radius: 24px;
  transition: background 0.2s ease;
}
.switch span::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--text);
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.switch input:checked + span {
  background: var(--accent);
}
.switch input:checked + span::before {
  transform: translateX(20px);
}
.switch input:disabled + span {
  opacity: 0.5;
  cursor: not-allowed;
}
.spacer { flex: 1; }

/* Gallery modal */
.gallery-modal .modal-body {
  padding: 0;
  background: #000;
}
.gallery-modal video {
  width: 100%;
  max-height: 80vh;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
  background: #000;
}

/* Responsive misc */
@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; }
  .hero-actions { justify-content: center; }
  .logo-dominant { width: 300px; height: 400px; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.8), rgba(168, 85, 247, 0.5));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(168, 85, 247, 1), rgba(168, 85, 247, 0.7));
}

/* Legal Pages (Privacy, Terms) */
.legal-page {
  padding: 3rem 0 4rem;
  position: relative;
  z-index: 1;
}
.legal-page h1 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #fff 0%, #a855f7 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 1rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(168, 85, 247, 0.3);
}
.legal-page h2 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
  margin: 2rem 0 0.8rem 0;
  letter-spacing: 0.5px;
}
.legal-page h3 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin: 1.5rem 0 0.6rem 0;
}
.legal-page p {
  color: var(--muted);
  margin: 0 0 1rem 0;
}
.legal-page ul {
  color: var(--muted);
  padding-left: 1.5rem;
  margin: 0 0 1rem 0;
}
.legal-page li {
  margin-bottom: 0.5rem;
}
.legal-page strong {
  color: var(--text);
}
.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}
.legal-page a:hover {
  opacity: 0.8;
}
.legal-page em {
  color: var(--muted);
  opacity: 0.9;
}

