@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --bg: #040b1a;
  --fg: #f0f4f8;
  --primary: #ff9d00;
  --secondary: #3df2ff;
  --muted: #1a2236;
  --muted-fg: #8892b0;
  --card-bg: rgba(26, 34, 54, 0.5);
  --card-border: rgba(255, 255, 255, 0.05);
  --radius: 0.75rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(61, 242, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 157, 0, 0.03) 0%, transparent 30%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection {
  background: rgba(255, 157, 0, 0.3);
  color: #000;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.025em;
  font-weight: 700;
}

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switch {
  position: fixed;
  top: 2rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: none;
  border: none;
  padding: 0;
}

.lang-switch a,
.lang-switch span {
  padding: 0.2rem 0.5rem;
  border-radius: 0.375rem;
  transition: background 0.2s, color 0.2s;
}

.lang-switch a {
  color: var(--muted-fg);
}

.lang-switch a:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.12);
}

.lang-switch .lang-active {
  color: var(--primary);
  background: rgba(255, 157, 0, 0.15);
}

.lang-switch .lang-sep {
  color: rgba(255, 255, 255, 0.25);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 3rem;
  overflow: hidden;
}

.hero-honeycomb {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(4,11,26,0.7), var(--bg));
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 30%, rgba(255,157,0,0.08), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 36rem;
  margin: 0 auto;
}

.hero-content > * + * {
  margin-top: 1.25rem;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInScale 0.6s ease-out both;
}

.comb-logo {
  filter: drop-shadow(0 0 6px rgba(61, 242, 255, 0.3));
}

/* Title */
.hero-title-group {
  animation: fadeInUp 0.5s ease-out 0.15s both;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.hero-subtitle {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted-fg);
  font-weight: 500;
}

/* Mini hexagons */
.hex-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  animation: fadeIn 0.5s ease-out 0.2s both;
}

/* Headline */
.hero-headline {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  animation: fadeInUp 0.5s ease-out 0.25s both;
}

.hero-headline .hl-primary { color: var(--primary); }
.hero-headline .hl-purple { color: #c084fc; }

/* Subline */
.hero-subline {
  color: var(--muted-fg);
  font-size: 0.875rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.5s ease-out 0.3s both;
}

/* CTA Button */
.cta-wrap {
  padding-top: 0.5rem;
  animation: fadeInUp 0.5s ease-out 0.4s both;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn-yellow {
  background-color: #fde68a;
  color: #000;
}

.btn-cyan {
  background-color: #3df2ff;
  color: #000;
}

/* ===== FEATURES ===== */
.features {
  padding: 2rem 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(255, 157, 0, 0.3);
}

.feature-card h3 {
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===== STATEMENT ===== */
.statement {
  padding: 4rem 1.5rem;
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.statement-text {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
.spacer { flex: 1; }

footer {
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--muted-fg);
  transition: color 0.2s ease;
}

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

.footer-links .sep {
  color: rgba(255,255,255,0.2);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ===== SUBPAGES (Impressum, Datenschutz) ===== */
.page {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.page h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.content > * + * {
  margin-top: 1.5rem;
}

.content h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.content p {
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.6;
}

.content p + p {
  margin-top: 0.5rem;
}

.content ul {
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.6;
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.content ul li + li {
  margin-top: 0.25rem;
}

.content ul strong {
  color: var(--fg);
  font-weight: 600;
}

.link-primary {
  color: var(--primary);
  transition: opacity 0.2s;
}

.link-primary:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  margin-top: 3rem;
  color: var(--primary);
  transition: opacity 0.2s;
}

.back-link:hover {
  text-decoration: underline;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 3rem;
  }
  .hero-headline {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
