/* ═══════════════════════════════════════════════════════════
   wblbr. – Stylesheet für Unterseiten
   Design-Tokens identisch zu index.html. Wird von
   fachanwendungen.html und ki-automatisierung.html genutzt.
   ═══════════════════════════════════════════════════════════ */

@font-face { font-family:'Geist Sans'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/geist-400.woff2') format('woff2'); }
@font-face { font-family:'Geist Sans'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/geist-500.woff2') format('woff2'); }
@font-face { font-family:'Geist Sans'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/geist-600.woff2') format('woff2'); }
@font-face { font-family:'Geist Sans'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/geist-700.woff2') format('woff2'); }

:root {
  --bg:#090810; --fg:#f2f0ec; --green:#7bff5f; --green-fg:#0a0a0a;
  --border:#2e2e3a; --heading:#f5f3f0; --sub:#d0cdc5;
  --card:#111116; --muted-fg:#96979e; --radius:.75rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Geist Sans', 'Inter', system-ui, sans-serif;
  background: var(--bg); color: var(--fg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.lg {
  background: rgba(255,255,255,.01);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.07);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.narrow    { max-width: 780px; margin: 0 auto; }

/* ─── Navbar ─── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(9,8,16,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: .9rem 1.5rem;
  display: flex; align-items: center; gap: 1.25rem;
}
.nav-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.nav-logo-box {
  width: 32px; height: 32px; border-radius: .55rem;
  background: rgba(123,255,95,.1); border: 1px solid rgba(123,255,95,.22);
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-text { font-size: 1.05rem; font-weight: 700; color: var(--heading); letter-spacing: -.03em; }
.nav-links { list-style: none; display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a { font-size: .85rem; color: var(--muted-fg); text-decoration: none; transition: color .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--fg); }
.nav-cta {
  flex: none; font-size: .82rem; padding: .48rem 1.05rem;
  border-radius: 99px; background: var(--green); color: var(--green-fg);
  font-weight: 600; text-decoration: none; transition: opacity .2s;
}
.nav-cta:hover { opacity: .85; }
@media (max-width: 860px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* ─── Bausteine ─── */
.badge {
  display: inline-flex; align-items: center; gap: .55rem;
  border-radius: 99px; padding: .42rem .95rem;
  font-size: .78rem; color: var(--sub);
}
.badge-dot {
  background: var(--green); color: var(--green-fg);
  font-size: .66rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; border-radius: 99px; padding: .16rem .5rem;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 99px; padding: .8rem 1.6rem; font-size: .9rem;
  font-weight: 600; text-decoration: none; transition: opacity .2s, background .2s;
}
.btn-primary { background: var(--green); color: var(--green-fg); }
.btn-primary:hover { opacity: .85; }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--fg); border: 1px solid rgba(255,255,255,.1); }
.btn-ghost:hover { background: rgba(255,255,255,.09); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ─── Hero ─── */
.hero { position: relative; padding: 5.5rem 0 4.5rem; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; width: 760px; height: 420px;
  top: -220px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(123,255,95,.13), transparent);
  pointer-events: none;
}
.hero-inner { position: relative; }
.crumb { font-size: .78rem; color: var(--muted-fg); margin-bottom: 1.5rem; }
.crumb a { color: var(--muted-fg); text-decoration: none; }
.crumb a:hover { color: var(--fg); }
h1 {
  font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 600;
  color: var(--heading); letter-spacing: -.045em; line-height: 1.04;
  margin: 1.25rem 0 0; max-width: 15ch;
}
h1 .accent { color: var(--green); }
.lead { font-size: 1.08rem; color: var(--sub); line-height: 1.7; margin-top: 1.5rem; max-width: 62ch; }

/* ─── Sektionen ─── */
section { padding: 4.5rem 0; }
section.tight { padding: 3rem 0; }
h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.4rem); font-weight: 600;
  color: var(--heading); letter-spacing: -.035em; line-height: 1.12;
}
h3 { font-size: 1.05rem; font-weight: 600; color: var(--heading); letter-spacing: -.015em; }
.sec-head { margin-bottom: 2.75rem; }
.sec-head .badge { margin-bottom: 1.1rem; }
.sec-head p { font-size: .98rem; color: var(--sub); line-height: 1.7; margin-top: .9rem; max-width: 64ch; }
p, li { color: var(--sub); line-height: 1.75; }
a { color: var(--green); }

/* ─── Problem-Block ─── */
.quote {
  border-left: 2px solid var(--green); padding: .35rem 0 .35rem 1.5rem;
  font-size: 1.15rem; color: var(--heading); line-height: 1.6;
  letter-spacing: -.015em; margin: 2rem 0;
}

/* ─── Fallbeispiele ─── */
.cases { display: grid; gap: 1.25rem; }
.case { border-radius: 1.35rem; padding: 2rem 2.15rem; }
.case-tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--green); display: block; margin-bottom: .8rem;
}
.case h3 { margin-bottom: 1rem; font-size: 1.18rem; }
.case dl { display: grid; gap: .85rem; margin-top: .25rem; }
.case dt {
  font-size: .74rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted-fg); margin-bottom: .28rem;
}
.case dd { font-size: .93rem; color: var(--sub); line-height: 1.7; }
@media (min-width: 900px) { .cases.two { grid-template-columns: 1fr 1fr; } }

/* ─── Ablauf ─── */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step {
  border-radius: 1.15rem; padding: 1.6rem 1.8rem;
  display: flex; gap: 1.3rem; align-items: flex-start;
}
.step::before {
  counter-increment: step; content: counter(step);
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(123,255,95,.1); border: 1px solid rgba(123,255,95,.25);
  color: var(--green); font-size: .85rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; margin-top: .1rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { font-size: .92rem; }

/* ─── Listen ─── */
.checks { list-style: none; display: grid; gap: .85rem; margin-top: 1.75rem; }
.checks li { display: flex; gap: .85rem; font-size: .95rem; align-items: flex-start; }
.checks li::before {
  content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); margin-top: .62rem;
}

/* ─── Kacheln ─── */
.tiles { display: grid; gap: 1.15rem; margin-top: 2.5rem; }
@media (min-width: 720px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { border-radius: 1.2rem; padding: 1.75rem 1.9rem; }
.tile-icon {
  width: 38px; height: 38px; border-radius: .65rem;
  background: rgba(123,255,95,.1); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.1rem;
}
.tile h3 { margin-bottom: .55rem; }
.tile p { font-size: .91rem; }

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: .8rem; margin-top: 2.5rem; }
.faq-item { border-radius: 1.05rem; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.25rem 1.5rem;
  font-size: .99rem; font-weight: 500; color: var(--heading);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; flex: none; width: 9px; height: 9px;
  border-right: 1.8px solid var(--green); border-bottom: 1.8px solid var(--green);
  transform: rotate(45deg); transition: transform .25s ease; margin-top: -4px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
.faq-item summary:hover { color: var(--green); }
.faq-answer { padding: 0 1.5rem 1.4rem; font-size: .93rem; line-height: 1.75; }
.faq-answer p + p { margin-top: .7rem; }

/* ─── CTA ─── */
.cta { position: relative; overflow: hidden; padding: 5rem 0 6rem; }
.cta::before {
  content: ''; position: absolute; width: 700px; height: 340px;
  bottom: -180px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(123,255,95,.12), transparent);
  pointer-events: none;
}
.cta-card { position: relative; border-radius: 1.6rem; padding: 3rem 2.5rem; text-align: center; }
.cta-card p { margin: 1rem auto 0; max-width: 52ch; }
.cta-card .btn-row { justify-content: center; }

/* ─── Footer ─── */
footer { border-top: 1px solid rgba(255,255,255,.06); padding: 3rem 0 2.5rem; }
.foot-grid { display: grid; gap: 2.25rem; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.foot-brand { font-size: 1.15rem; font-weight: 700; color: var(--heading); letter-spacing: -.03em; }
.foot-tag { font-size: .86rem; color: var(--muted-fg); margin-top: .7rem; line-height: 1.65; max-width: 38ch; }
.foot-title {
  font-size: .74rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted-fg); margin-bottom: .9rem;
}
.foot-links { list-style: none; display: grid; gap: .55rem; }
.foot-links a { font-size: .87rem; color: var(--sub); text-decoration: none; }
.foot-links a:hover { color: var(--green); }
.foot-bottom {
  margin-top: 2.75rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}
.foot-bottom p, .foot-bottom a { font-size: .8rem; color: rgba(242,240,236,.35); text-decoration: none; }
.foot-bottom a:hover { color: var(--fg); }
.foot-legal { display: flex; gap: 1.25rem; }
