
:root {
  --charcoal: #0E0E12;
  --charcoal-2: #16161C;
  --charcoal-3: #1E1E26;
  --cyan: #00C8FF;
  --cyan-soft: rgba(0,200,255,0.12);
  --cyan-glow: rgba(0,200,255,0.28);
  --text: #ECECF0;
  --muted: #9A9AA6;
  --line: rgba(255,255,255,0.08);
  --radius: 18px;
  --font: 'Inter', 'InterLocal', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max: 1100px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--charcoal);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main { flex: 1; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,14,18,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0.85rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: 0.55rem;
  font-weight: 700; letter-spacing: -0.03em;
}
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  color: var(--cyan); font-size: 0.72rem; font-weight: 800;
  box-shadow: 0 0 18px rgba(0,200,255,0.12);
}
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem; }
.nav-links a {
  font-size: 0.86rem; font-weight: 500; color: var(--muted);
  padding: 0.4rem 0.7rem; border-radius: 999px; transition: 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active { background: rgba(255,255,255,0.05); }
.nav-cta {
  background: var(--cyan) !important; color: var(--charcoal) !important;
  font-weight: 700 !important; margin-left: 0.25rem;
}
.nav-cta:hover { filter: brightness(1.06); }

/* TYPO */
.section-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 0.65rem;
}
h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.05;
  margin-bottom: 1rem;
}
h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #fff 20%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.75rem;
}
h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.4rem; letter-spacing: -0.02em; }
.lead { color: var(--muted); max-width: 36rem; font-size: 1.05rem; margin-bottom: 1.75rem; }
.muted { color: var(--muted); }

/* BUTTONS */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  border: 1px solid transparent; transition: 0.2s;
}
.btn-primary {
  background: var(--cyan); color: var(--charcoal);
  box-shadow: 0 0 28px rgba(0,200,255,0.22);
}
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,0.16); color: #fff; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* LAYOUT */
.page-hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: -30% -10% auto;
  height: 120%;
  background: radial-gradient(ellipse 55% 50% at 50% -10%, rgba(0,200,255,0.16), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
section { padding: 3.25rem 0; }
.band { background: var(--charcoal-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: start; }

.card {
  background: var(--charcoal-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  transition: 0.22s;
}
.card:hover {
  border-color: rgba(0,200,255,0.3);
  box-shadow: 0 14px 40px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}
.card p, .card li { font-size: 0.92rem; color: var(--muted); }
.card ul { margin-top: 0.7rem; padding-left: 1.05rem; }
.card li { margin-bottom: 0.25rem; }
.icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--cyan-soft); color: var(--cyan);
  display: grid; place-items: center; font-weight: 800; font-size: 0.8rem;
  margin-bottom: 0.85rem; border: 1px solid rgba(0,200,255,0.18);
}

/* VISUAL BLOCKS (image-poor but not empty) */
.visual-panel {
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(0,200,255,0.09), transparent 45%),
    linear-gradient(var(--charcoal-3), var(--charcoal-2));
  min-height: 240px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.visual-panel::after {
  content: "";
  position: absolute; right: -20%; bottom: -30%;
  width: 60%; height: 80%;
  background: radial-gradient(circle, rgba(0,200,255,0.2), transparent 65%);
  pointer-events: none;
}
.visual-frame {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(0,0,0,0.25);
  height: 140px;
  margin-bottom: 1rem;
  display: grid; place-items: center;
  color: var(--muted); font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.bars { display: grid; gap: 0.45rem; }
.bars span {
  display: block; height: 8px; border-radius: 99px;
  background: rgba(255,255,255,0.08);
}
.bars span:nth-child(1) { width: 88%; background: rgba(0,200,255,0.35); }
.bars span:nth-child(2) { width: 64%; }
.bars span:nth-child(3) { width: 74%; }
.bars span:nth-child(4) { width: 42%; }

/* PROCESS */
.steps { display: grid; gap: 0.75rem; }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: var(--charcoal-3);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid rgba(0,200,255,0.3);
  color: var(--cyan); display: grid; place-items: center;
  font-weight: 800; font-size: 0.8rem;
}

/* FAQ */
details {
  background: var(--charcoal-3); border: 1px solid var(--line);
  border-radius: 12px; padding: 0.95rem 1.1rem; margin-bottom: 0.55rem;
}
details[open] { border-color: rgba(0,200,255,0.22); }
summary {
  cursor: pointer; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan); }
details[open] summary::after { content: "–"; }
details p { margin-top: 0.65rem; color: var(--muted); font-size: 0.92rem; }

/* FORM */
.form-panel {
  background: var(--charcoal-3);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem;
}
label {
  display: block; font-size: 0.8rem; font-weight: 600;
  color: var(--muted); margin-bottom: 0.3rem;
}
input, select, textarea {
  width: 100%; padding: 0.72rem 0.9rem; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--charcoal-2); color: var(--text);
  font: inherit; margin-bottom: 0.85rem;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: rgba(0,200,255,0.45);
  box-shadow: 0 0 0 3px rgba(0,200,255,0.1);
}
textarea { min-height: 110px; resize: vertical; }

/* FOOTER */
footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: #0A0A0E;
  padding: 2.75rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.75rem;
  margin-bottom: 1.75rem;
}
.footer-grid h4 {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.7rem;
}
.footer-grid a {
  display: block; color: var(--muted); font-size: 0.88rem; margin-bottom: 0.35rem;
}
.footer-grid a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 1.1rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between;
  font-size: 0.78rem;
}

.note { font-size: 0.86rem; color: var(--muted); margin-top: 1rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.1rem; }
.pill {
  font-size: 0.75rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); padding: 0.3rem 0.65rem; border-radius: 999px;
}
.price-line {
  margin-top: 0.9rem; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em;
}
.price-line span { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cyan); background: var(--cyan-soft);
  padding: 0.22rem 0.5rem; border-radius: 6px; margin-bottom: 0.55rem;
}

@media (max-width: 900px) {
  .grid-3, .grid-2, .split, .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 3.25rem 0 2.25rem; }
}


/* ============================================================
   ERGAENZUNGEN (Konsolidierung 23.08.2026)
   ============================================================ */

/* Inter, falls lokal installiert oder spaeter selbst gehostet.
   Kein externer Google-Fonts-Aufruf mehr (DSGVO: keine IP-Uebertragung
   an Dritte beim Seitenaufruf). Zum Selbst-Hosten die woff2-Dateien
   nach fonts/ legen und die auskommentierte src-Zeile aktivieren. */
@font-face {
  font-family: 'InterLocal';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: local('Inter'), local('Inter var'), local('Inter-Regular');
  /* src: url('fonts/Inter-var.woff2') format('woff2-variations'); */
}

/* Screenreader-only (fuer Ueberschriften-Hierarchie) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Skip-Link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--cyan); color: var(--charcoal);
  padding: 0.7rem 1.1rem; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Sichtbarer Fokus (Tastaturbedienung) */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Burger-Menue */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer;
  padding: 0; place-items: center; gap: 4px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text); transition: 0.22s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Footer-Spaltenueberschriften (semantisch h2, optisch wie zuvor h4) */
.footer-grid h2 {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.7rem; font-weight: 700;
}

/* Kontrast: Footer-Bottom war #6A6A74 (3,6:1 - unter WCAG AA) */
.footer-bottom { color: var(--muted); }

/* Einwilligungs-Checkbox in Formularen */
.check {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.84rem; font-weight: 400; color: var(--muted);
  line-height: 1.5; margin: 0.35rem 0 1rem;
}
.check input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px; margin: 0.15rem 0 0;
  accent-color: var(--cyan); flex: none;
}
.check a { color: var(--cyan); text-decoration: underline; }

/* Hinweisbox fuer offene Punkte vor Go-Live */
.callout {
  border: 1px solid rgba(0,200,255,0.28);
  background: var(--cyan-soft);
  border-radius: 14px; padding: 1rem 1.15rem; margin-top: 1.25rem;
}
.callout p { font-size: 0.88rem; color: var(--text); }
.callout strong { color: var(--cyan); }

@media (max-width: 900px) {
  /* Burger-Navigation. Die alte Regel, die auf Mobil alle Links ausser
     dem aktiven und dem CTA per display:none entfernt hat, ist geloescht. */
  .nav-toggle { display: grid; }
  .nav-inner { flex-wrap: wrap; }
  .nav-links {
    display: none;
    flex-direction: column; align-items: stretch;
    width: 100%; order: 3; gap: 0.15rem;
    padding: 0.5rem 0 0.35rem;
    border-top: 1px solid var(--line); margin-top: 0.6rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: flex; align-items: center;
    min-height: 44px; padding: 0.55rem 0.8rem;
    border-radius: 10px; font-size: 0.95rem;
  }
  .nav-links .nav-cta { justify-content: center; margin: 0.35rem 0 0.1rem; }
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em; background: rgba(255,255,255,0.06);
  padding: 0.1em 0.35em; border-radius: 5px; color: var(--text);
}
.callout ul, .card ul { padding-left: 1.05rem; }
.callout li { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.4rem; }

/* Honeypot: fuer Menschen unsichtbar, fuer Bots ein Koeder.
   Bewusst nicht display:none - manche Bots ignorieren das. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Fehlerhinweis nach fehlgeschlagenem Absenden */
.form-error {
  border: 1px solid rgba(255,120,120,0.4);
  background: rgba(255,120,120,0.08);
  color: #FFC9C9; border-radius: 12px;
  padding: 0.8rem 1rem; margin-bottom: 1rem; font-size: 0.88rem;
}
.check > span { flex: 1; }

/* ============================================================
   MOTION-SCHICHT (23.08.2026)
   Grundsatz: nur transform und opacity animieren. Alles andere
   erzwingt Layout-Neuberechnung und ruckelt auf schwacher Hardware.
   ============================================================ */

/* Scroll-Choreografie. Startzustand wird per JS gesetzt (.js-motion am
   html-Element), damit ohne JavaScript nichts unsichtbar bleibt. */
.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 340ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js-motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.js-motion [data-reveal].is-in { will-change: auto; }

/* Hero-Canvas: das Layout baut sich selbst */
.hero-stage {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(0,200,255,0.09), transparent 45%),
    linear-gradient(var(--charcoal-3), var(--charcoal-2));
  overflow: hidden;
  min-height: 240px;
}
.hero-stage canvas { display: block; width: 100%; height: auto; }
.hero-stage .note {
  position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.1rem;
  margin: 0; z-index: 2;
}
/* Statischer Ersatz, solange kein JS läuft */
.hero-stage-fallback { padding: 1.5rem; }
.js-motion .hero-stage-fallback { display: none; }

/* Kinetische Typografie im Hero */
.js-motion .kin { display: block; overflow: hidden; }
.js-motion .kin > span {
  display: block;
  transform: translateY(105%);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}
.js-motion .kin.is-in > span { transform: none; }
.js-motion .kin:nth-of-type(2) > span { transition-delay: 110ms; }

/* Lichtwanderung über den Cyan-Verlauf, einmalig nach dem Setzen */
@keyframes sheen { from { background-position: 200% 0; } to { background-position: -60% 0; } }
.js-motion h1 em.lit {
  background: linear-gradient(100deg, #fff 18%, var(--cyan) 42%, #fff 58%, var(--cyan) 78%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 2.6s cubic-bezier(0.4, 0, 0.2, 1) 1 both;
}

/* Prozesslinie auf ablauf.html */
.steps { position: relative; }
.js-motion .steps::before {
  content: "";
  position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--cyan), rgba(0,200,255,0.15));
  transform: scaleY(0); transform-origin: top;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}
.js-motion .steps.is-in::before { transform: scaleY(1); }
.step { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .js-motion .steps::before { display: none; }
}

/* Bewegung ist ein Angebot, keine Bedingung.
   Wer sie abbestellt hat, bekommt die Seite vollständig und still. */
@media (prefers-reduced-motion: reduce) {
  .js-motion [data-reveal],
  .js-motion [data-reveal].is-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .js-motion .kin > span { transform: none !important; transition: none !important; }
  .js-motion h1 em.lit { animation: none !important; }
  .js-motion .steps::before { transform: scaleY(1) !important; transition: none !important; }
  .hero-stage canvas { display: none; }
  .hero-stage-fallback { display: block !important; }
}
