/* NICØ – Website-Styles */

/* Schriften: liegen lokal im Ordner /fonts (keine Verbindung zu Google).
   Fehlen die Dateien, wird automatisch eine Ersatzschrift genutzt. */
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/Unbounded-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #0B0B0C;
  --surface: #151517;
  --line: #222226;
  --line-strong: #3A3A3E;
  --text: #F2F2F0;
  --text-soft: #B8B8B4;
  --text-mute: #8A8A86;
  --accent: #22C912;
  --accent-ink: #0B0B0C;
  --font-display: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--text); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; }

/* Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 16px; padding-top: 16px; padding-bottom: 16px;
}
.brand img { height: 30px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase; padding: 10px 0;
}

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 17px;
  padding: 16px 32px; border-radius: 999px; border: 2px solid transparent;
  font-family: inherit; cursor: pointer; line-height: 1.2;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); background: #2BDF19; }
.btn-ghost { border-color: var(--text); color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.nav .btn { font-size: 15px; padding: 11px 22px; text-transform: uppercase; letter-spacing: 1px; }

/* Hero */
.hero { text-align: center; padding: 110px 0 130px; }
.hero h1 { margin: 0; }
.hero h1 img { width: min(680px, 86vw); height: auto; margin: 0 auto; }
.hero .lead { margin: 40px auto 0; max-width: 660px; font-size: 22px; color: var(--text-soft); }
.hero .actions { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* Abschnitte */
.section { border-top: 1px solid var(--line); padding: 100px 0; }
.eyebrow {
  display: block; font-size: 14px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
h2 {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 4vw, 48px); line-height: 1.15;
}
h3 { margin: 0; }
.section p { margin: 0; }
.soft { color: var(--text-soft); }
.stack > * + *, .section .stack > * + * { margin-top: 20px; }
.intro { max-width: 760px; }

.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > :first-child { flex: 1 1 320px; }
.split > :last-child { flex: 999 1 420px; min-width: 0; }

.grid { display: grid; gap: 20px; margin-top: 48px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 28px 24px;
}
.card .bar { width: 36px; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 14px; }
.card h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.2; }
.card p { margin-top: 10px; font-size: 16px; color: var(--text-mute); }

.tags { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 12px; list-style: none; margin: 0; padding: 0; }
.tags li {
  padding: 12px 22px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 17px; font-weight: 500; background: var(--surface);
}

.step { border-top: 2px solid var(--line-strong); padding-top: 24px; }
.step .nr { display: block; font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--accent); }
.step h3 { margin-top: 14px; font-size: 22px; font-weight: 700; }
.step p { margin-top: 10px; font-size: 17px; color: var(--text-soft); }

.faq { padding: 28px; }
.faq h3 { font-family: var(--font-body); font-size: 20px; font-weight: 700; }
.faq p { font-size: 17px; color: var(--text-soft); }

/* Formular */
.mail-link { font-weight: 700; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full, .form .full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--text-soft); }
.field input, .field select, .field textarea {
  padding: 14px 16px; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 10px; color: var(--text); font: inherit; font-size: 16px; width: 100%;
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: 14px; color: var(--text-mute); }
.note a { color: var(--text-soft); }
.status { grid-column: 1 / -1; padding: 16px 20px; border-radius: 10px; font-weight: 500; }
.status[hidden] { display: none; }
.status.ok { background: rgba(34, 201, 18, 0.12); border: 1px solid var(--accent); }
.status.err { background: rgba(255, 90, 90, 0.12); border: 1px solid #FF6B6B; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 15px; color: var(--text-mute); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--text-soft); }

/* Unterseiten (Impressum, Datenschutz) */
.legal { padding: 80px 0 100px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 5vw, 52px); line-height: 1.15; margin: 0 0 40px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; }
.legal p, .legal ul { color: var(--text-soft); margin: 0 0 14px; }
.legal li + li { margin-top: 6px; }
.todo { background: rgba(255, 196, 0, 0.18); color: #FFD54A; padding: 0 4px; border-radius: 4px; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .site-header { position: static; }
  .hero { padding: 72px 0 90px; }
  .hero .lead { font-size: 19px; }
  .section { padding: 72px 0; }
  .nav { gap: 2px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
