/* cab-sites – Stylesheet */
:root {
  --bg: #070b12;
  --bg-2: #0c121c;
  --card: #0f1723;
  --card-hover: #131e2d;
  --line: rgba(160, 200, 255, .12);
  --line-strong: rgba(160, 200, 255, .22);
  --text: #eef3f9;
  --muted: #9aa8ba;
  --dim: #6c7a8d;
  --blue: #0091ff;
  --sky: #80c8ff;
  --radius: 18px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--sky); text-decoration: none; }
a:hover { color: #fff; }
::selection { background: var(--blue); color: #fff; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 18, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.legal-bar { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-weight: 750; font-size: 1.12rem; letter-spacing: -.01em; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line-strong); }
.brand b { color: var(--sky); font-weight: 750; }
.nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 650; font-size: .95rem; line-height: 1;
  background: var(--blue); color: #fff;
  box-shadow: 0 8px 28px -8px rgba(0, 145, 255, .7);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { color: #fff; background: #1a9cff; transform: translateY(-1px); box-shadow: 0 12px 32px -8px rgba(0, 145, 255, .85); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--sky); }
.nav .btn { color: #fff; padding: 9px 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 130px; isolation: isolate; }
.hero::before {               /* Lichtkegel in Logo-Blau */
  content: ""; position: absolute; z-index: -2;
  left: 50%; top: -20%; width: 1300px; height: 900px; transform: translateX(-30%);
  background:
    radial-gradient(closest-side, rgba(0, 145, 255, .32), transparent 70%),
    radial-gradient(closest-side at 70% 60%, rgba(128, 200, 255, .14), transparent 70%);
  filter: blur(10px);
}
.hero::after {                /* Horizont-Linie wie im Logo */
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(128, 200, 255, .5) 30%, rgba(0, 145, 255, .9) 70%, transparent);
}
.hero-arc { position: absolute; z-index: -1; right: max(24px, calc(50% - 580px)); top: 40px; width: min(560px, 52vw); opacity: .9; pointer-events: none; }
.hero-arc path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { margin: 0 0 22px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.04; font-weight: 800; letter-spacing: -.035em;
}
.accent {
  background: linear-gradient(100deg, #fff 0%, var(--sky) 35%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { margin: 26px 0 38px; max-width: 34em; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 44px; }
.section-head h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.section-head p { margin: 0; max-width: 30em; color: var(--muted); }

/* Produktkarten */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.product {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--line); color: var(--text); overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.product::before {
  content: ""; position: absolute; inset: -1px -1px auto auto; width: 260px; height: 200px;
  background: radial-gradient(closest-side, var(--glow, rgba(0,145,255,.22)), transparent);
  opacity: .6; transition: opacity .2s ease; pointer-events: none;
}
.product:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-3px); background: linear-gradient(180deg, var(--card-hover), var(--bg-2)); }
.product:hover::before { opacity: 1; }
.product-top { display: flex; align-items: center; justify-content: space-between; }
.badge {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px;
  font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em;
  color: var(--c, var(--sky)); background: color-mix(in srgb, var(--c, #80c8ff) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, #80c8ff) 35%, transparent);
}
.arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: all .2s ease; }
.product:hover .arrow { color: #fff; background: var(--blue); box-shadow: none; transform: rotate(-45deg); }
.product h3 { margin: 8px 0 0; font-size: 1.45rem; font-weight: 750; letter-spacing: -.02em; }
.product p { margin: 0; color: var(--muted); }
.domain { margin-top: auto; padding-top: 10px; font-size: .88rem; color: var(--dim); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c, var(--sky)); }

.p-lime  { --c: #c8f560; --glow: rgba(200, 245, 96, .16); }
.p-rail  { --c: #ffb547; --glow: rgba(255, 181, 71, .15); }
.p-lutx  { --c: #5fe0c0; --glow: rgba(95, 224, 192, .14); }
.p-knx   { --c: #80c8ff; --glow: rgba(0, 145, 255, .22); }

/* Leistungen */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.015); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--sky); background: rgba(0,145,255,.12); margin-bottom: 18px; }
.feature h3 { margin: 0 0 6px; font-size: 1.12rem; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Kontakt */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 72px 28px; border-radius: 28px; border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse 70% 90% at 50% 120%, rgba(0, 145, 255, .45), transparent 70%),
    linear-gradient(180deg, var(--card), var(--bg));
}
.cta h2 { margin: 0 0 12px; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.cta p { margin: 0 auto 30px; max-width: 32em; color: var(--muted); }
.cta .actions { justify-content: center; }


/* Software nach Maß */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.h2 { margin: 0 0 18px; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.muted { margin: 0 0 30px; color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li {
  position: relative; padding: 18px 20px 18px 56px; border-radius: 14px;
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--card), var(--bg-2));
}
.checklist li::before {
  content: ""; position: absolute; left: 20px; top: 21px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
  box-shadow: 0 0 16px rgba(0,145,255,.55);
}
.checklist strong { display: block; font-weight: 700; }
.checklist span { display: block; color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--dim); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* ---------- Rechtstexte ---------- */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { margin: 0 0 8px; font-size: clamp(2.1rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.legal .sub { margin: 0 0 40px; color: var(--dim); }
.legal h2 { margin: 44px 0 10px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.legal h3 { margin: 24px 0 6px; font-size: 1.02rem; font-weight: 700; }
.legal p, .legal li, .legal address { color: #c3cedb; }
.legal address { font-style: normal; }
.legal ul { padding-left: 1.2em; }
.legal .box { padding: 22px 26px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }

/* Platzhalter – vor Livegang ersetzen */
.ph { background: rgba(255, 214, 0, .16); color: #ffe27a; outline: 1px dashed rgba(255, 214, 0, .55); padding: 0 4px; border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .hero-arc { width: 420px; right: -60px; opacity: .4; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding: 72px 0 84px; }
  .section { padding: 80px 0; }
  .products { grid-template-columns: 1fr; }
  .product, .feature { padding: 24px; }
  .cta { padding: 52px 22px; border-radius: 22px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
