/* Xebtec – Visitenkarte, Software-Seite, Rechtstexte. Keine externen Schriften/Skripte. */
:root {
  --bg: #0a0c0f;
  --bg2: #10141a;
  --card: #141a21;
  --line: #222b35;
  --text: #edf2f7;
  --sub: #9aa7b5;
  --faint: #6a7685;
  --petrol: #14b8a6;
  --petrol-hi: #5eead4;
  --petrol-lo: #0f766e;
  /* X1-Autoteile – Markengrün vom Shop (= XebVox-Grün) */
  --x1: #99cc33;
  --x1-hi: #b8e05a;
  --x1-text: #4f7a0f;
  --lime: #99cc33;
  --heart: #ff5a6e;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--petrol-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.heart { color: var(--heart); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; font-size: 22px; letter-spacing: .01em; }
.logo:hover { text-decoration: none; }
.mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 17px; color: #04201d;
  background: linear-gradient(135deg, var(--petrol-hi), var(--petrol) 55%, var(--petrol-lo)); box-shadow: 0 0 24px rgba(20,184,166,.4); }

/* ---------------- Software-Seite ---------------- */
nav.top { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(10,12,15,.75); border-bottom: 1px solid rgba(255,255,255,.05); }
nav.top .wrap { display: flex; align-items: center; height: 68px; gap: 26px; }
nav.top .links { margin-left: auto; display: flex; gap: 24px; }
nav.top .links a { color: var(--sub); font-size: 15px; }
nav.top .links a:hover { color: var(--text); text-decoration: none; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 12px; font-weight: 650; font-size: 15.5px;
  border: 1px solid transparent; transition: transform .15s, box-shadow .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn.primary { color: #04201d; background: linear-gradient(135deg, var(--petrol-hi), var(--petrol) 55%, var(--petrol-lo)); box-shadow: 0 8px 28px rgba(20,184,166,.28); }
.btn.ghost { color: var(--text); background: rgba(255,255,255,.04); border-color: var(--line); }
.btn.small { padding: 9px 16px; font-size: 14.5px; }

.sw-hero { position: relative; padding: 110px 0 90px; overflow: hidden; }
.sw-hero .glow.a { width: 720px; height: 720px; background: rgba(20,184,166,.18); top: -300px; left: -180px; }
.sw-hero .glow.b { width: 520px; height: 520px; background: rgba(94,234,212,.08); top: 60px; right: -160px; }
.sw-hero .wrap { position: relative; z-index: 1; max-width: 900px; text-align: center; }
.kicker { color: var(--petrol); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.sw-hero h1 { font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -.02em; margin: 18px 0 18px; font-weight: 760; }
.sw-hero h1 .grad { background: linear-gradient(120deg, #fff 15%, var(--petrol-hi) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sw-hero p { color: var(--sub); font-size: 19px; max-width: 680px; margin: 0 auto 32px; }
.sw-hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

section { padding: 90px 0; position: relative; }
h2.sec { font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; margin: 10px 0 14px; letter-spacing: -.015em; }
.lead { color: var(--sub); font-size: 18px; max-width: 680px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.tile { padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--card), var(--bg2)); transition: border-color .2s, transform .2s; }
.tile:hover { border-color: rgba(20,184,166,.4); transform: translateY(-2px); }
.tile .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; color: var(--petrol-hi);
  background: rgba(20,184,166,.12); border: 1px solid rgba(20,184,166,.28); }
.tile .ic svg { width: 22px; height: 22px; }
.tile h3 { font-size: 17.5px; margin-bottom: 6px; }
.tile p { color: var(--sub); font-size: 15px; }

.products { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 42px; }
.product { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; padding: 34px; border-radius: 24px; overflow: hidden;
  color: var(--text); border: 1px solid rgba(153,204,51,.3); background: radial-gradient(120% 140% at 0% 0%, rgba(153,204,51,.16), transparent 55%), var(--bg2);
  transition: transform .25s, box-shadow .25s; }
.product:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 24px 70px rgba(153,204,51,.14); }
.product .badge { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; font-size: 20px; }
.product .xv { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #04201d;
  background: linear-gradient(135deg, var(--petrol-hi), var(--petrol) 55%, var(--petrol-lo)); box-shadow: 0 0 22px rgba(20,184,166,.45); }
.product h3 { font-size: 26px; margin: 16px 0 6px; }
.product .claim { color: var(--petrol-hi); font-weight: 650; }
.product p { color: var(--sub); margin-top: 10px; font-size: 15.5px; }
.product .go { margin-top: 18px; color: var(--petrol-hi); font-weight: 650; display: inline-block; }
.product .shot { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 50px rgba(0,0,0,.5); }

.story { background: linear-gradient(180deg, transparent, rgba(20,184,166,.04) 40%, transparent); }
.story-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.story .lead { margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 26px 24px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--card), var(--bg2)); }
.stat b { display: block; font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: 34px; line-height: 1.1; font-weight: 760;
  background: linear-gradient(120deg, #fff 10%, var(--petrol-hi) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; color: var(--sub); font-size: 14.5px; margin-top: 6px; }
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; counter-reset: w; }
.way { padding: 24px; border-left: 2px solid var(--petrol); background: linear-gradient(90deg, rgba(20,184,166,.06), transparent); border-radius: 0 14px 14px 0; }
.way h3 { font-size: 17px; margin-bottom: 4px; }
.way p { color: var(--sub); font-size: 15px; }

.contact { text-align: center; padding: 100px 0; overflow: hidden; }
.contact .glow.a { width: 600px; height: 600px; background: rgba(20,184,166,.14); top: -240px; left: 30%; }
.contact .wrap { position: relative; z-index: 1; }
.contact h2 { font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: clamp(32px, 4.5vw, 50px); margin-bottom: 12px; }
.contact p { color: var(--sub); font-size: 18px; margin-bottom: 30px; }

footer { border-top: 1px solid rgba(255,255,255,.06); padding: 30px 0 40px; color: var(--faint); font-size: 14px; position: relative; z-index: 1; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer a { color: var(--sub); }

/* ---------------- Rechtstexte ---------------- */
.legal { padding: 70px 0 90px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: 40px; margin-bottom: 26px; }
.legal h2 { font-size: 22px; margin: 34px 0 8px; }
.legal p, .legal li { color: var(--sub); margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal .back { margin-top: 40px; }
.legal h3 { font-size: 17px; margin: 24px 0 6px; color: var(--text); }
.legal b { color: var(--text); }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0 10px; }
.legal .note { margin-top: 36px; font-size: 14px; color: var(--faint); }
.legal .form-box { border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; background: var(--card); }
.legal .small { font-size: 13px; }
/* Links in Rechtstexten und Footer immer sichtbar unterstrichen (Vorgabe Händlerbund) */
.legal a, footer a { text-decoration: underline; text-underline-offset: 3px; }
.legal-links { display: inline-flex; flex-wrap: wrap; gap: 6px 16px; }

@media (max-width: 960px) {
  .grid4, .ways { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .products, .product { grid-template-columns: 1fr; }
  nav.top .links { display: none; }
  nav.top .btn { margin-left: auto; }
}
@media (max-width: 720px) {
}
@media (max-width: 560px) {
  .grid4, .ways { grid-template-columns: 1fr; }
  section { padding: 66px 0; }
}
