/* ============================================
   x-odos Website — Dark & Elegant Theme
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-bg: #0a0a0a;
  --color-bg-secondary: #111111;
  --color-bg-card: #161616;
  --color-bg-card-hover: #1c1c1c;
  --color-text: #c8c8c8;
  --color-text-light: #999999;
  --color-text-heading: #ffffff;
  --color-accent: #c9a96e;
  --color-accent-hover: #dbbe85;
  --color-border: #222222;
  --color-border-light: #2a2a2a;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.6);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-heading);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p {
  margin-bottom: 1rem;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 3rem;
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--color-accent);
  margin: 2rem 0;
}

.text-center { text-align: center; }
.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: background var(--transition);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--color-text-heading);
  letter-spacing: 0.08em;
  text-decoration: none;
}

.nav-logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text-light);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text-heading);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-lang {
  font-size: 0.8rem;
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  transition: all var(--transition);
}

.nav-lang:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-heading);
  margin: 5px 0;
  transition: all var(--transition);
}

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

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

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

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-weight: 200;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-text {
  font-size: 1.15rem;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  transition: all var(--transition);
}

.hero-cta:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-light);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Product Cards --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.product-card h3 {
  margin-bottom: 0.75rem;
}

.product-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.product-card-link .arrow {
  transition: transform var(--transition);
}

.product-card:hover .product-card-link .arrow {
  transform: translateX(4px);
}

/* --- Product Detail Page --- */
.product-hero {
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
}

.product-hero h1 {
  font-weight: 200;
  margin-bottom: 1rem;
}

.product-hero h1 span {
  color: var(--color-accent);
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.spec-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 1.5rem;
}

.spec-item .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.spec-item .value {
  color: var(--color-text-heading);
  font-size: 1rem;
}

/* --- Feature List --- */
.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.features-list .icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 0.85rem;
}

.features-list .text h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.features-list .text p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* --- Technology Section --- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.tech-item {
  padding: 2rem;
  border-left: 2px solid var(--color-border);
  transition: border-color var(--transition);
}

.tech-item:hover {
  border-left-color: var(--color-accent);
}

.tech-item h3 {
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.tech-item p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* --- Quote / Highlight --- */
.quote-section {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.quote-text {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 200;
  color: var(--color-text-heading);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.quote-text em {
  font-style: normal;
  color: var(--color-accent);
}

/* --- Footer --- */
.footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .nav-logo {
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  font-weight: 500;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-text-light);
  font-size: 0.875rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* --- About Page --- */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.value-card .number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 200;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.value-card h3 {
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* --- App Section --- */
.app-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.app-feature {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.app-feature:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.app-feature .emoji {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.app-feature h3 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.app-feature p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* --- Streaming Services --- */
.streaming-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.streaming-badge {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
}

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg-secondary);
    border-left: 1px solid var(--color-border);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: block;
  }

  .section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero {
    min-height: 90vh;
  }

  .footer-inner {
    flex-direction: column;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-specs {
    grid-template-columns: 1fr 1fr;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
  border: 1px solid var(--color-accent);
}

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

.btn-secondary {
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-text-heading);
  color: var(--color-text-heading);
}

.btn-light {
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn-light:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto 1.5rem;
  line-height: 1.8;
}

/* --- Quote subtitle --- */
.quote-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-top: 1rem;
  letter-spacing: 0.06em;
}

/* --- Product Card Icon SVG --- */
.product-card-icon svg {
  width: 24px;
  height: 24px;
}

/* --- Footer columns layout --- */
.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: var(--color-text-light);
  font-size: 0.875rem;
}

.footer-column a:hover {
  color: var(--color-text-heading);
}

.footer-column h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--color-text-heading);
}

/* --- Page Header (for sub-pages) --- */
.page-header {
  padding: calc(var(--nav-height) + 4rem) 0 3rem;
  text-align: center;
}

.page-header .section-label {
  display: block;
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .product-specs {
    grid-template-columns: 1fr;
  }

  .streaming-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   Legal Pages (Impressum, Datenschutz)
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 2rem;
}

.legal-block {
  margin-bottom: 2.5rem;
}

.legal-block h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.legal-block p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-block a {
  color: var(--color-gold);
  text-decoration: none;
  transition: opacity 0.2s;
}

.legal-block a:hover {
  opacity: 0.8;
}
