/* weblichter – Design System 2026 */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

:root {
  --bg: #09090d;
  --surface: #101116;
  --surface-2: #16181f;
  --border: rgba(255,255,255,0.07);
  --border-md: rgba(255,255,255,0.11);
  --text: #edeef5;
  --muted: #7878a0;
  --dim: #3e3e58;
  --orange: #FF6B35;
  --orange-soft: rgba(255,107,53,0.10);
  --orange-hover: #e55a24;
  --blue: #4f8ef7;
  --blue-soft: rgba(79,142,247,0.10);
  --green: #22c55e;
  --yellow: #eab308;
  --red: #ef4444;
  --radius: 10px;
  --radius-lg: 16px;
  --max-w: 1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.15;
  font-weight: 700;
  text-wrap: balance;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; }

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

/* ── Navigation ── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(9,9,13,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; height: 64px; gap: 0.25rem;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 1.15rem;
  color: var(--text); margin-right: auto;
  flex-shrink: 0;
}
.logo img { height: 26px; width: auto; }
.logo-text { color: var(--text); }

.main-nav { display: flex; align-items: center; gap: 0.1rem; }
.nav-link {
  font-size: 0.875rem; color: var(--muted);
  padding: 0.4rem 0.8rem; border-radius: 6px;
  transition: color 0.15s, background 0.15s; white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--text); }
.nav-cta {
  background: var(--orange); color: #fff !important;
  padding: 0.4rem 1rem; font-weight: 600; margin-left: 0.5rem;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--orange-hover) !important; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border-md);
  color: var(--text); padding: 0.35rem 0.6rem; border-radius: 6px; cursor: pointer;
  font-size: 1.1rem; margin-left: 1rem;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; align-items: center; }
  .main-nav {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
  }
  .main-nav.open { display: flex; }
  .nav-cta { margin-left: 0; margin-top: 0.5rem; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem; font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 600; border-radius: var(--radius);
  border: none; cursor: pointer; transition: all 0.15s; white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,107,53,0.25); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border-md); }
.btn-secondary:hover { background: var(--surface); border-color: var(--muted); }
.btn-outline-orange { background: transparent; color: var(--orange); border: 1px solid var(--orange); }
.btn-outline-orange:hover { background: var(--orange-soft); }
.btn-lg { padding: 0.85rem 1.9rem; font-size: 1rem; }

/* ── Cards ── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
}
.card-orange { border-color: var(--orange); background: var(--orange-soft); }
.card-blue { border-color: var(--blue); background: var(--blue-soft); }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }

@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── Typography helpers ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 1rem;
}
.eyebrow-blue { color: var(--blue); }
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 640px; line-height: 1.7; margin-bottom: 2rem; }
.label { font-size: 0.75rem; color: var(--muted); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.text-muted { color: var(--muted); }
.text-orange { color: var(--orange); }
.text-blue { color: var(--blue); }

/* ── Pills ── */
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.8rem; border: 1px solid var(--border-md);
  border-radius: 999px; font-size: 0.8rem; color: var(--muted);
}
.pill-orange { border-color: rgba(255,107,53,0.3); color: var(--orange); background: var(--orange-soft); }

/* ── Divider ── */
hr { border: none; border-top: 1px solid var(--border); }

/* ── Steps ── */
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange-soft); border: 1px solid rgba(255,107,53,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 0.9rem; color: var(--orange); flex-shrink: 0;
}

/* ── Ampel badges ── */
.badge { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.1rem; }
.badge-green { color: var(--green); }
.badge-yellow { color: var(--yellow); }
.badge-red { color: var(--red); }

/* ── Forms ── */
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.45rem; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border-md);
  border-radius: var(--radius); color: var(--text);
  padding: 0.75rem 1rem; font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  outline: none; transition: border-color 0.15s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--orange); }
.form-field textarea { height: 140px; resize: vertical; }

fieldset { border: none; margin-bottom: 1.75rem; }
fieldset legend { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.95rem; line-height: 1.5; margin-bottom: 0.6rem; color: var(--text); }
.hint-text { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.6rem; }
.radio-group { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.radio-group label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.95rem; color: var(--muted); }
.radio-group input[type="radio"] { accent-color: var(--orange); width: 1.1rem; height: 1.1rem; }

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  max-width: 680px; background: var(--surface-2);
  border: 1px solid var(--border-md); border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem; z-index: 9999; box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.cookie-banner.hidden { display: none; }
.cookie-inner { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.cookie-inner p { font-size: 0.875rem; color: var(--muted); line-height: 1.5; flex: 1; min-width: 200px; }
.cookie-inner a { color: var(--orange); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 0.5rem; flex-shrink: 0; }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.85rem; color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.85rem; color: var(--dim); }

/* ── Pricing toggle ── */
.pricing-toggle { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2.5rem; }
.toggle-label { font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.toggle-label.active { color: var(--text); font-weight: 600; }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider-track {
  position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--surface-2); border: 1px solid var(--border-md); border-radius: 999px; transition: 0.2s;
}
.slider-track::before {
  position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px;
  background: var(--muted); border-radius: 50%; transition: 0.2s;
}
input:checked + .slider-track { background: var(--orange-soft); border-color: var(--orange); }
input:checked + .slider-track::before { transform: translateX(20px); background: var(--orange); }
.save-badge { font-size: 0.7rem; font-weight: 700; color: var(--green); background: rgba(34,197,94,0.1); padding: 0.15rem 0.4rem; border-radius: 4px; margin-left: 0.3rem; }
.hidden { display: none !important; }

/* ── Check form hint box ── */
.hint-box {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-md);
  border-radius: var(--radius); padding: 0.85rem 1rem;
  font-size: 0.85rem; color: var(--muted); line-height: 1.55; margin-bottom: 1.5rem;
}

/* ── Responsive helpers ── */
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .hide-mobile { display: none; }
}
