/* ============================================================
   11to1 UG haftungsbeschränkt — Company Homepage Styles
   ============================================================ */

/* --- Fonts --- */
/* System font stack — no external font loading for DSGVO compliance */

/* --- Theme Variables --- */
:root {
  /* Dark theme (default) */
  --bg-primary: #0a0a14;
  --bg-secondary: #12121f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --bg-nav: rgba(10, 10, 20, 0.85);
  --text-primary: #f0e6ff;
  --text-secondary: #a893c0;
  --text-muted: #6b5a80;
  --accent: #7B2FBE;
  --accent-light: #C084FC;
  --accent-glow: rgba(123, 47, 190, 0.3);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(192, 132, 252, 0.3);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] {
  --bg-primary: #faf8ff;
  --bg-secondary: #f0ebf7;
  --bg-card: rgba(123, 47, 190, 0.05);
  --bg-card-hover: rgba(123, 47, 190, 0.09);
  --bg-nav: rgba(250, 248, 255, 0.9);
  --text-primary: #1a1025;
  --text-secondary: #5a4870;
  --text-muted: #8a7a9a;
  --accent: #7B2FBE;
  --accent-light: #9b5fe0;
  --accent-glow: rgba(123, 47, 190, 0.15);
  --border: rgba(123, 47, 190, 0.12);
  --border-hover: rgba(123, 47, 190, 0.3);
  --shadow: 0 8px 32px rgba(100, 60, 140, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

/* --- Logo Theme Switching --- */
/* Dark theme: show dark logos, hide light */
.logo-dark  { display: inline-block; }
.logo-light { display: none; }

/* Light theme: show light logos, hide dark */
[data-theme="light"] .logo-dark  { display: none; }
[data-theme="light"] .logo-light { display: inline-block; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  text-decoration: none;
  color: var(--text-primary);
  height: 100%;
  padding: 0.25rem 0;
}

.nav-brand-logo img {
  height: 26px;
  width: auto;
}

.nav-brand-legal {
  font-size: 0.55rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-top: 0.05rem;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle-btn:hover {
  border-color: var(--border-hover);
  color: var(--accent-light);
}

.lang-toggle {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Mobile menu button */
.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* --- Main Content --- */
main {
  flex: 1;
  padding-top: 72px;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Hero Section --- */
.hero {
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.hero-logo {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.hero-logo img {
  height: 80px;
  width: auto;
  transform: translateX(-12px);
}

.hero-legal {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.hero-tagline {
  font-size: 1.35rem;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}

/* --- Section --- */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* --- Product Card --- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-2px);
}

.product-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--accent-light);
}

.product-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.product-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.product-features li {
  color: var(--text-secondary);
  padding: 0.3rem 0;
  font-size: 0.95rem;
}

.product-features li::before {
  content: "\2192  ";
  color: var(--accent-light);
  font-weight: 600;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-1px);
}

/* --- About Page --- */
.about-content {
  max-width: 720px;
}

.about-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.about-content h2:first-child {
  margin-top: 0;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.about-origin {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin: 2rem 0;
}

/* --- Impressum Page --- */
.impressum-content {
  max-width: 720px;
}

.impressum-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent-light);
}

.impressum-content h2:first-child {
  margin-top: 0;
}

.impressum-content p {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.impressum-content a {
  word-break: break-all;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  text-align: center;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.8rem;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
}

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

/* --- Mobile --- */
@media (max-width: 768px) {
  .nav-brand-logo img {
    height: 26px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0.75rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-mobile-btn {
    display: block;
  }

  main {
    padding-top: 90px;
  }

  .hero {
    padding: 2rem 1.5rem;
    min-height: calc(100vh - 90px);
  }

  .hero-logo img {
    height: 60px;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

  .product-card {
    padding: 1.5rem;
  }

  .container {
    padding: 0 1.25rem;
  }

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