@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --clr-bg:        #0d1117;
  --clr-surface:   #161b22;
  --clr-border:    #30363d;
  --clr-accent:    #e8a020;
  --clr-accent-dim:#b87d18;
  --clr-text:      #e6edf3;
  --clr-muted:     #8b949e;
  --clr-nav-bg:    rgba(13,17,23,0.92);
  --clr-hero-grad: linear-gradient(135deg, #e6edf3 0%, #8b949e 100%);
  --radius:        10px;
  --max-w:         1100px;
}

/* ── Light Mode ─────────────────────────────────────────────── */
[data-theme="light"] {
  --clr-bg:        #ffffff;
  --clr-surface:   #f6f8fa;
  --clr-border:    #d0d7de;
  --clr-text:      #1f2328;
  --clr-muted:     #636c76;
  --clr-nav-bg:    rgba(255,255,255,0.92);
  --clr-hero-grad: linear-gradient(135deg, #1f2328 0%, #636c76 100%);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--clr-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout Helper ─────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Test-Umgebungs-Banner ───────────────────────────────────── */
.test-banner {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #b45309;
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-bottom: 2px solid #92400e;
}

/* ── Navbar ────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--clr-nav-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--clr-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-logo span {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--clr-text);
}
.lang-switcher {
  display: flex;
  gap: 0.25rem;
}
.lang-btn {
  background: transparent;
  border: 1px solid var(--clr-border);
  color: var(--clr-muted);
  border-radius: 6px;
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.lang-btn:hover,
.lang-btn.active {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}
.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--clr-border);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(232,160,32,0.12);
  color: var(--clr-accent);
  border: 1px solid rgba(232,160,32,0.35);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  background: var(--clr-hero-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  color: var(--clr-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--clr-accent);
  color: #0d1117;
}
.btn-secondary {
  background: transparent;
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
}
.hero-placeholder-img {
  margin: 4rem auto 0;
  max-width: 820px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-muted);
  font-size: 0.9rem;
}

/* ── Section Common ─────────────────────────────────────────── */
section {
  padding: 5rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--clr-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ── Features ───────────────────────────────────────────────── */
.features {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--clr-accent);
  transform: translateY(-3px);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--clr-muted);
  font-size: 0.9rem;
}
.coming-soon {
  display: inline-block;
  margin-top: 1rem;
  background: rgba(139,148,158,0.12);
  color: var(--clr-muted);
  border: 1px solid var(--clr-border);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--clr-border);
  padding: 2rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-inner span {
  font-size: 0.85rem;
  color: var(--clr-muted);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero { padding: 4rem 0 3rem; }
  .hero-placeholder-img { height: 200px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
