/* ===================== Nevolox e.U. – Stylesheet ===================== */
/* Farben hier zentral anpassbar */
:root {
  --bg:        #ffffff;
  --bg-alt:    #f5f7fa;
  --ink:       #1a2230;
  --ink-soft:  #56657d;
  --accent:    #2f6df6;
  --accent-dk: #1e51c9;
  --border:    #e3e8ef;
  --radius:    14px;
  --maxw:      1080px;
  --shadow:    0 10px 30px rgba(26, 34, 48, .08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-size: 1.4rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-dot { color: var(--accent); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); font-weight: 500; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  background: var(--accent); color: #fff !important; padding: 9px 18px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--accent-dk); text-decoration: none; }
.nav-toggle, .nav-burger { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; padding: 13px 26px;
  border-radius: 999px; cursor: pointer; border: 1px solid transparent;
  transition: transform .08s ease, background .2s ease;
  font-size: 1rem;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1200px 500px at 70% -10%, #e8f0ff 0%, transparent 60%), var(--bg);
  padding: 96px 0 88px;
}
.hero-eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -.03em; margin: 14px 0 18px; }
.hero-lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 620px; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -.02em; margin: 8px 0 16px; }
.section-intro { color: var(--ink-soft); max-width: 640px; margin-bottom: 44px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
}
.card-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: #e8f0ff; color: var(--accent); border-radius: 12px;
  font-weight: 700; margin-bottom: 18px;
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--ink-soft); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.about-text p { color: var(--ink-soft); margin-top: 14px; }
.about-facts { list-style: none; display: grid; gap: 14px; }
.about-facts li {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 20px; display: flex; flex-direction: column;
}
.about-facts strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.about-facts span { font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info p { color: var(--ink-soft); margin-top: 12px; }
.contact-list { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.contact-label { display: inline-block; min-width: 72px; font-weight: 600; color: var(--ink); }
.contact-note { font-size: .9rem; }

.contact-form {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 10px; background: #fcfdff; resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,109,246,.15);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-weight: 500; }
.form-status.success { color: #1a7f44; }
.form-status.error { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--ink-soft); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--ink-soft); }

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 80px; }
.legal h1 { font-size: 2rem; letter-spacing: -.02em; margin-bottom: 24px; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { margin: 10px 0 10px 22px; }
.legal .back { display: inline-block; margin-bottom: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .about, .contact { grid-template-columns: 1fr; }
  .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
  .nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-links li { padding: 0 24px; }
  .nav-links li a { display: block; padding: 14px 0; border-top: 1px solid var(--border); }
  .nav-cta { text-align: center; margin: 12px 24px; }
  .nav-toggle:checked ~ .nav-links { max-height: 320px; }
}
