/* ===== Fonts (self-hosted) ===== */
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-v22-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-v22-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-v20-latin-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-v20-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ===== Tokens ===== */
:root {
  --bg: #0c0e11;
  --panel: #12151a;
  --panel-edge: #1f242c;
  --ink: #eef1f4;
  --muted: #9aa2a8;
  --cyan: #1ec8e0;
  --cyan-soft: rgba(30, 200, 224, 0.12);
  --chrome-hi: #f1f4f6;
  --chrome-lo: #9aa2a8;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 14px;
  --maxw: 1080px;
}

/* ===== Reset & Basis ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--cyan); }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 10vw, 112px); }
.section-head { max-width: 640px; margin-bottom: clamp(28px, 5vw, 48px); }
.eyebrow {
  color: var(--cyan); font-family: var(--font-head); font-weight: 500;
  font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase;
  display: block; margin-bottom: 12px;
}
.muted { color: var(--muted); }

/* Chrom-Text (Wortmarke/Akzente) */
.chrome-text {
  background: linear-gradient(180deg, var(--chrome-hi) 20%, var(--chrome-lo) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--cyan); color: #06272c;
  box-shadow: 0 0 24px rgba(30, 200, 224, 0.35);
}
.btn-primary:hover { box-shadow: 0 0 36px rgba(30, 200, 224, 0.5); }
.btn-ghost { border: 1px solid var(--panel-edge); color: var(--ink); }
.btn-ghost:hover { border-color: var(--cyan); }

/* ===== Karten & Grid ===== */
.grid { display: grid; gap: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--panel-edge);
  border-radius: var(--radius); padding: 28px;
}
.card h3 { margin-top: 0; }
.card .icon { font-size: 1.6rem; margin-bottom: 10px; }

/* ===== Reveal-Animation (JS setzt .in; ohne JS bleibt alles sichtbar) ===== */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(12, 14, 17, 0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--panel-edge); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-cyron { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.3em; }
.brand-intel { color: var(--cyan); font-family: var(--font-head); font-weight: 500; font-size: 0.55rem; letter-spacing: 0.52em; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav > a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav nav > a:not(.btn):hover { color: var(--ink); }
.btn-nav { padding: 9px 20px; font-size: 0.9rem; }
@media (max-width: 640px) { .nav nav > a:not(.btn) { display: none; } }

/* ===== Hero ===== */
.hero { padding-block: clamp(80px, 14vw, 150px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 70%; background: radial-gradient(ellipse at 70% 20%, var(--cyan-soft), transparent 60%); pointer-events: none; }
.hero .container { position: relative; max-width: 780px; }
.hero-sub { font-size: 1.2rem; color: var(--muted); max-width: 620px; margin-bottom: 2em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--panel-edge); padding-block: 40px; }
.footer-inner { display: grid; gap: 8px; font-size: 0.95rem; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--cyan); }

/* ===== Problem & Services ===== */
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.bridge { font-size: 1.25rem; margin-top: 36px; font-family: var(--font-head); }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.card-flagship { grid-column: 1 / -1; border-color: rgba(30, 200, 224, 0.45); background: linear-gradient(160deg, var(--panel) 60%, var(--cyan-soft)); }
.badge { display: inline-block; background: var(--cyan-soft); color: var(--cyan); border: 1px solid rgba(30, 200, 224, 0.4); border-radius: 999px; padding: 4px 12px; font-size: 0.78rem; font-family: var(--font-head); margin-bottom: 12px; }
.services-note { margin-top: 24px; font-size: 0.95rem; }
@media (max-width: 900px) { .grid-3, .services-grid { grid-template-columns: 1fr; } }

/* ===== Ablauf, Warum, Kontakt ===== */
.steps { list-style: none; margin: 0; padding: 0; }
.step-num { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; display: block; margin-bottom: 6px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.checklist { list-style: none; margin: 0; padding: 0; }
.contact { text-align: center; }
.contact .section-head { margin-inline: auto; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.contact-mail { font-size: 0.95rem; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }

/* ===== Rechtsseiten ===== */
.legal .container { max-width: 720px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.15rem; margin-top: 2em; }
