/* ===========================================================
   GTSH Beyond Gaming – Main Stylesheet 1.3
   - Layout
   - Header & Navigation (+ Theme & Audio)
   - Hero, Sections, Cards
   - Carousel & Video
   - Kontakt & Modal
   - Theme Engine: Cyber, Dark, Light, Outrun
   =========================================================== */

/* ------------------------------
   Reset & Basics
------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  background: #020617;
  color: #e5e7eb;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

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

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

button {
  font-family: inherit;
}

/* ------------------------------
   Layout
------------------------------ */

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.section {
  padding: 4rem 0 3.5rem;
}

.section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.section-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #38bdf8;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: 2rem;
  color: #f9fafb;
}

.section-subtitle {
  max-width: 580px;
  color: #cbd5f5;
}

/* Simple 2-Spalten-Grid für Desktop */
.section-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .section-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: flex-start;
  }

  .projects-grid {
    grid-template-columns: minmax(0, 1.2fr);
  }
}

/* Card-Liste im About-Bereich */
.card-list {
  display: grid;
  gap: 1rem;
}

/* ------------------------------
   Header & Navigation
------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30, 64, 175, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo {
  height: 60px;
  width: auto;
  transform-origin: center;
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.site-logo:hover {
  transform: translateY(-2px) rotateX(7deg);
  filter: brightness(1.12);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.logo-subtitle {
  font-size: 0.8rem;
  color: #9ca3af;
}

.main-nav {
  margin-left: 2rem;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.main-nav a {
  font-size: 0.95rem;
  color: #e5e7eb;
  position: relative;
  padding-bottom: 0.1rem;
  text-decoration: none;
  white-space: nowrap; /* verhindert 'Über mich'-Umbruch */
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #0ea5e9, #6366f1);
  transition: width 0.2s ease;
}

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

/* Actions rechts (Theme + Audio + CTA) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

/* Block, in dem Theme-Switcher & Audio untereinander sitzen */
.header-tools {
  display: flex;
  flex-direction: column;
  align-items: center;        /* Theme + Audio mittig */
  justify-content: center;
  gap: 0.35rem;

  width: 200px;               /* einheitliche Breite */
  min-width: 200px;
  margin: 0 1rem 0 0.5rem;    /* Abstand zur Navigation und zum Button */
}

/* Burger Toggle */
.nav-toggle {
  display: none;
  margin-left: 0.5rem;
  background: none;
  border: none;
  padding: 0.3rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}
.nav-toggle span + span {
  margin-top: 4px;
}

/* ------------------------------
   Theme Switcher
------------------------------ */

.theme-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #9ca3af;
  width: 100%;
}

.theme-label {
  margin-right: 0.2rem;
}

.theme-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

/* Farbcodes für Punkte */
.theme-cyber {
  background: radial-gradient(circle at 30% 0, #22d3ee, #0f172a);
}

.theme-dark {
  background: radial-gradient(circle at 30% 0, #020617, #111827);
}

.theme-light {
  background: radial-gradient(circle at 30% 0, #f9fafb, #cbd5f5);
}

.theme-outrun {
  background: radial-gradient(circle at 30% 0, #f97316, #7c3aed);
}

.theme-dot.active {
  transform: translateY(-1px) scale(1.1);
  border-color: #e5e7eb;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.5);
}

/* ------------------------------
   GLOBAL AUDIO CONTROL (Header)
------------------------------ */

.audio-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;

  width: 100%; /* = 200px durch header-tools */
  padding: 0.35rem 0.6rem;

  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.28), transparent 55%),
              rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.55);
}

.audio-control audio {
  display: none;
}

/* Mute-Button */
.audio-btn {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.7);
  color: #38bdf8;
  padding: 0.35rem 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.audio-btn:hover {
  background: #0ea5e9;
  color: #f9fafb;
  transform: translateY(-1px);
  box-shadow: 0 0 14px #0ea5e9;
}

.audio-visual {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Neon-Volume-Slider */
.audio-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 110px;               /* kompakt für 200px Gesamtbreite */
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  outline: none;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5),
              0 0 16px rgba(56, 189, 248, 0.6);
}

/* Track */
.audio-slider::-webkit-slider-runnable-track,
.audio-slider::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #22c55e, #a855f7);
}

/* Thumb */
.audio-slider::-webkit-slider-thumb,
.audio-slider::-moz-range-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f9fafb;
  box-shadow:
    0 0 10px #0ea5e9,
    0 0 20px #22c55e,
    0 0 30px #a855f7;
  margin-top: -6px; /* mittig über dem Track (für WebKit) */
}

/* Mini-Visualizer */
.audio-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  width: 60px;
  height: 18px;
  overflow: hidden;
}

.audio-bars span {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(to top, #0ea5e9, #22c55e, #a855f7);
  transform-origin: bottom;
  transform: scaleY(0.25);
  opacity: 0.35;
  transition: opacity 0.1s linear;
}

/* ------------------------------
   Buttons
------------------------------ */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(to right, #0ea5e9, #6366f1);
  color: #fff;
  box-shadow:
    0 10px 25px rgba(59, 130, 246, 0.45),
    0 0 20px rgba(56, 189, 248, 0.65);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.03);
  filter: brightness(1.05);
  box-shadow:
    0 18px 35px rgba(37, 99, 235, 0.6),
    0 0 26px rgba(45, 212, 191, 0.8);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.4);
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
}

.btn-secondary:hover {
  background: rgba(30, 64, 175, 0.35);
  border-color: rgba(129, 140, 248, 0.9);
  transform: translateY(-1px);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #f9fafb;
  border: none;
}

/* ------------------------------
   Hero
------------------------------ */

.hero {
  padding: 4.2rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #38bdf8;
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw + 1.5rem, 3rem);
  margin-bottom: 1rem;
}

.hero h1 .accent {
  display: block;
  color: #f97316;
}

.hero-text {
  color: #cbd5e1;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.12rem 0.6rem;
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(15, 23, 42, 0.9);
  color: #fde68a;
}

/* Karten im Hero */
.hero-media {
  display: grid;
  gap: 1.25rem;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.35), transparent 55%),
              radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.35), transparent 55%),
              rgba(15, 23, 42, 0.94);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(129, 140, 248, 0.4);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.9);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
}

.hero-card li {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.hero-note {
  font-size: 0.85rem;
  color: #e5e7eb;
  opacity: 0.9;
}

/* ------------------------------
   Cards, Checklists, Contact Box
------------------------------ */

.card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 18px;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(30, 64, 175, 0.6);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

.card h3 {
  font-size: 1.15rem;
  color: #e5e7eb;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
}

.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.86rem;
  color: #22c55e;
}

.contact-box {
  margin-top: 1.75rem;
}

.enhanced-contact {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(55, 65, 81, 0.8);
}

.enhanced-contact h3 {
  margin-bottom: 0.8rem;
}

.enhanced-contact p {
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
}

.enhanced-contact a:hover {
  text-decoration: underline;
}

.contact-actions {
  margin: 0.9rem 0 0.5rem;
}

.contact-hint {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* ------------------------------
   Kontaktformular
------------------------------ */

.contact-form {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 18px;
  padding: 1.6rem 1.7rem;
  border: 1px solid rgba(30, 64, 175, 0.6);
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #e5e7eb;
}

input,
select,
textarea {
  border-radius: 10px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  padding: 0.6rem 0.7rem;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.9rem;
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* ------------------------------
   Carousel (Bilder & Video)
------------------------------ */

.carousel {
  margin: 2rem 0 1.5rem;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

/* fester Rahmen für Slides */
.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-item {
  flex: 0 0 100%;
  position: relative;
  height: 420px;             /* einheitliche Höhe Desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Bild-Caption-Overlay */
.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #f9fafb;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.0)
  );
}

/* Bilder im Slide (Image-Carousel) */
.image-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Video-Slides (Video-Carousel) */
.video-carousel .carousel-item {
  height: 420px; /* gleiche Höhe wie Bilder */
}

.video-carousel video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: #020617;
}

/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.8);
  color: #f9fafb;
  font-size: 1.3rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.7);
  z-index: 2; /* über Bild/Video & Caption */
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.carousel-btn:hover {
  background: rgba(59, 130, 246, 0.95);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.7);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Dots / Thumbnail-Leiste */
.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Standard-Punkt – wird für das VIDEO-Carousel benutzt */
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin: 0 4px;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    border-color 0.18s ease;
}

.carousel-dot.active {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

/* IMAGE-CAROUSEL: Thumbnails statt Punkte */
.image-carousel .carousel-dot {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 0.6rem;
  outline: none;
  width: auto;
  height: auto;
  margin: 0;
}

.image-carousel .carousel-thumb-img {
  display: block;
  width: 64px;
  height: 42px;
  object-fit: cover;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  opacity: 0.55;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.image-carousel .carousel-dot.active .carousel-thumb-img {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(91, 141, 239, 0.9);
  box-shadow: 0 0 0 1px rgba(91, 141, 239, 0.6);
}

.image-carousel .carousel-dot:focus-visible .carousel-thumb-img {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

/* Video-Textkarte (unter dem Video-Carousel, falls genutzt) */
.video-card {
  margin-top: 1.5rem;
}

/* Mobile: geringere Höhe & kleinere Buttons */
@media (max-width: 640px) {
  .carousel-item,
  .video-carousel .carousel-item {
    height: 260px;
  }

  .carousel-btn {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }
}


/* ------------------------------
   Footer & Impressum-Modal
------------------------------ */

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(30, 64, 175, 0.6);
  background: rgba(15, 23, 42, 0.96);
  margin-top: 1.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.legal-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #e5e7eb;
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* Modal */
.legal-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 60;
}

/* NEU: sowohl .is-open als auch .open akzeptieren */
.legal-modal.is-open,
.legal-modal.open {
  pointer-events: auto;
  opacity: 1;
}

.legal-modal.is-open {
  pointer-events: auto;
  opacity: 1;
}

.legal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
}

.legal-modal-panel {
  position: relative;
  z-index: 1;
  max-width: 500px;
  width: 90%;
  background: #020617;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.95);
}

.legal-modal-panel h1 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.legal-modal-panel p {
  font-size: 0.9rem;
}

.legal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #9ca3af;
}

/* ------------------------------
   Responsive Navigation / Layout
------------------------------ */

@media (max-width: 960px) {
  .logo-text {
    display: none;
  }

  .main-nav {
    margin-left: 0;
  }

  .main-nav ul {
    position: absolute;
    inset: calc(100% + 0.2rem) 0 auto 0;
    padding: 0.9rem 1.5rem 1.2rem;
    flex-direction: column;
    gap: 0.8rem;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(30, 64, 175, 0.6);
    transform-origin: top;
    transform: scaleY(0.8);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
  }

  .header-actions {
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header.nav-open .main-nav ul {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .hero {
    padding-top: 3.2rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0.7rem 0;
  }

  /* Wenn du Theme/Audiocontrol auch mobil anzeigen willst,
     diesen Block entfernen */
  .header-tools {
    display: none;
  }

  .hero-inner {
    gap: 2rem;
  }

  .section {
    padding: 3rem 0 2.7rem;
  }

  .contact-form {
    padding: 1.3rem 1.4rem;
  }

  .hero-card,
  .card {
    padding: 1.3rem 1.4rem;
  }
}

/* ------------------------------
   Themes
------------------------------ */

/* Base: dark neutral, wird von Themes überschrieben, wo nötig */

body.theme-cyber {
  background:
    radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.25), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(236, 72, 153, 0.22), transparent 55%),
    #020617;
  color: #e5e7eb;
}

body.theme-dark {
  background: #020617;
  color: #e5e7eb;
}

body.theme-light {
  background: #f9fafb;
  color: #020617;
}

/* Light-Theme Overrides */
body.theme-light .site-header {
  background: rgba(249, 250, 251, 0.9);
  border-bottom-color: rgba(209, 213, 219, 0.9);
}

body.theme-light .logo-title {
  color: #111827;
}

body.theme-light .logo-subtitle {
  color: #4b5563;
}

body.theme-light .main-nav a {
  color: #111827;
}

body.theme-light .btn-primary {
  box-shadow:
    0 12px 24px rgba(37, 99, 235, 0.4),
    0 0 0 transparent;
}

body.theme-light .hero-card,
body.theme-light .card,
body.theme-light .contact-form,
body.theme-light .enhanced-contact {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 14px 35px rgba(148, 163, 184, 0.4);
}

body.theme-light .section-header h2 {
  color: #111827;
}

body.theme-light .section-subtitle,
body.theme-light p {
  color: #374151;
}

body.theme-light input,
body.theme-light select,
body.theme-light textarea {
  background: #f9fafb;
  color: #111827;
  border-color: #d1d5db;
}

body.theme-light .site-footer {
  background: #f9fafb;
  border-top-color: #e5e7eb;
}

/* OUTRUN THEME – mit deinem Hintergrundbild */

body.theme-outrun {
  position: relative;
  color: #e5e7eb;
  background: #020617 url("assets/bg/outrun-bg.jpg") center / cover fixed no-repeat;
}

/* dunkler Overlay für Lesbarkeit */
body.theme-outrun::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top, rgba(244, 114, 182, 0.42), transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(45, 212, 191, 0.28), transparent 55%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.94));
}

/* Karten leicht glasig */
body.theme-outrun .hero-card,
body.theme-outrun .card,
body.theme-outrun .contact-form,
body.theme-outrun .enhanced-contact {
  background: rgba(15, 23, 42, 0.86);
  border-color: rgba(248, 250, 252, 0.16);
  backdrop-filter: blur(10px);
}

/* Header leicht transparent */
body.theme-outrun .site-header {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.8));
  border-bottom-color: rgba(248, 250, 252, 0.2);
}
/* footer style */
.footer-links {
  display: flex;
  gap: 0.75rem;
}

.footer-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: #e5e7eb;
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* Light-Theme-Variante */
body.theme-light .footer-link {
  color: #111827;
}