/* ═══════════════════════════════════════════════════════════
   Sylexo.com — Stylesheet für Content-/Landingpages
   Leichtgewichtig: kein three.js, kein GSAP.
   © 2026 Sylexo.com e.U.
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #020818;
  --fg: #e8eaf0;
  --cyan: #00d4aa;
  --blue: #1a5cff;
  --purple: #7b2fff;
  --red: #c8102e;
  --dim: #5a6a8a;
  --surf: rgba(0, 212, 170, .035);
  --brd: rgba(0, 212, 170, .09);
  --font: 'Outfit', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 25% 12%, rgba(26, 92, 255, .06), transparent),
    radial-gradient(ellipse 55% 35% at 78% 72%, rgba(0, 212, 170, .045), transparent);
  pointer-events: none;
  z-index: 0;
}

::selection { background: var(--cyan); color: var(--bg); }

a { color: var(--cyan); text-decoration: none; transition: opacity .25s; }
a:hover { opacity: .72; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--cyan); color: #020818;
  padding: .6rem 1rem; border-radius: 0 0 8px 0;
  font-size: .8rem; font-weight: 600;
}
.skip:focus { left: 0; }

/* ═══ NAVIGATION ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: .9rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(2, 8, 24, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--brd);
}
.nav-logo { font-weight: 900; font-size: 1.15rem; color: var(--cyan); }
.nav-logo i { opacity: .4; font-weight: 400; font-size: .68em; font-style: normal; color: var(--fg); }
.nav-menu { display: flex; gap: 1.4rem; list-style: none; align-items: center; }
.nav-menu a {
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg); opacity: .6; transition: opacity .25s, color .25s;
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { opacity: 1; color: var(--cyan); }
.nav-cta {
  padding: .5rem 1rem; border-radius: 100px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff !important; opacity: 1 !important; font-weight: 700;
}
.nav-toggle {
  display: none; background: none; border: 0; color: var(--fg);
  font-size: 1.4rem; cursor: pointer; line-height: 1;
}

/* ═══ LAYOUT ═══ */
.wrap { position: relative; z-index: 1; max-width: 880px; margin: 0 auto; padding: 7.5rem 2rem 3rem; }

.crumbs { font-size: .68rem; color: var(--dim); margin-bottom: 1.8rem; }
.crumbs a { color: var(--dim); }
.crumbs a:hover { color: var(--cyan); opacity: 1; }
.crumbs span { opacity: .45; margin: 0 .4rem; }

.eyebrow {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .35em;
  text-transform: uppercase; color: var(--cyan);
  display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--cyan); }

h1 {
  font-size: clamp(2rem, 5.2vw, 3.1rem);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.12;
  margin-bottom: 1.1rem;
}
h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.lede { font-size: 1.05rem; color: #aab6cc; line-height: 1.75; max-width: 62ch; }

h2 {
  font-size: clamp(1.4rem, 3.2vw, 1.85rem); font-weight: 700;
  letter-spacing: -.015em; margin: 3rem 0 1rem;
  padding-bottom: .55rem; border-bottom: 1px solid var(--brd);
  display: flex; align-items: flex-start; gap: .75rem;
}
h2::before {
  content: ''; flex: none; width: 4px; height: .95em; border-radius: 2px;
  margin-top: .22em;
  background: linear-gradient(to bottom, var(--blue), var(--cyan));
}
h3 { font-size: 1.02rem; font-weight: 700; margin: 1.8rem 0 .55rem; color: var(--fg); }

p { color: #93a1ba; margin-bottom: .95rem; }
p strong, li strong { color: var(--fg); font-weight: 600; }

.wrap ul, .wrap ol { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.wrap ul li, .wrap ol li {
  color: #93a1ba; padding-left: 1.5rem; position: relative; margin-bottom: .5rem;
}
.wrap ul li::before { content: '→'; position: absolute; left: 0; color: var(--cyan); font-size: .82rem; }
.wrap ol { counter-reset: n; }
.wrap ol li::before {
  counter-increment: n; content: counter(n);
  position: absolute; left: 0; color: var(--cyan);
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
}

/* ═══ KOMPONENTEN ═══ */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 1.4rem 0; }

.card {
  background: var(--surf); border: 1px solid var(--brd);
  border-radius: 14px; padding: 1.3rem;
}
.card h3 { margin-top: 0; font-size: .95rem; }
.card p { font-size: .84rem; margin-bottom: 0; }
.card .ico { font-size: 1.5rem; display: block; margin-bottom: .55rem; }

.callout {
  background: linear-gradient(135deg, rgba(26, 92, 255, .07), rgba(0, 212, 170, .05));
  border: 1px solid rgba(0, 212, 170, .2);
  border-radius: 16px; padding: 1.6rem; margin: 2rem 0;
}
.callout h3 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 100px;
  background: rgba(200, 16, 46, .1); border: 1px solid rgba(200, 16, 46, .28);
  color: #ff5a6e; margin-bottom: .8rem;
}

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 100px;
  font-size: .85rem; font-weight: 700; transition: transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); opacity: 1; }
.btn-a { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; }
.btn-a:hover { box-shadow: 0 10px 30px rgba(0, 212, 170, .25); }
.btn-o { border: 1px solid var(--brd); color: var(--fg); }
.btn-o:hover { border-color: var(--cyan); color: var(--cyan); }
.btns { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.5rem 0; }

.tags { display: flex; gap: .45rem; flex-wrap: wrap; margin: 1rem 0; }
.tag {
  font-size: .68rem; padding: 4px 11px; border-radius: 100px;
  background: rgba(0, 212, 170, .07); border: 1px solid rgba(0, 212, 170, .15); color: var(--cyan);
}

table { width: 100%; border-collapse: collapse; margin: 1.3rem 0; font-size: .85rem; }
th, td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--brd); }
th { color: var(--cyan); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
td { color: #93a1ba; }
td:first-child { color: var(--fg); font-weight: 600; }

/* ═══ FAQ ═══ */
.faq { border: 1px solid var(--brd); border-radius: 12px; margin-bottom: .7rem; background: var(--surf); }
.faq summary {
  cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; font-size: .92rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--cyan); font-size: 1.3rem; flex: none; line-height: 1; }
.faq[open] summary::after { content: '−'; }
.faq .faq-body { padding: 0 1.2rem 1.1rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ═══ FOOTER ═══ */
.site-footer {
  position: relative; z-index: 1; border-top: 1px solid var(--brd);
  background: var(--bg); padding: 2.5rem 2rem 1.8rem; margin-top: 4rem;
}
.foot-inner { max-width: 1180px; margin: 0 auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-bottom: 2rem; }
.foot-col { display: flex; flex-direction: column; gap: .38rem; list-style: none; min-width: 150px; }
.foot-col li { padding: 0 !important; }
.foot-col li::before { content: none !important; }
.foot-h {
  font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); font-weight: 700; margin-bottom: .2rem;
}
.foot-col a { color: var(--dim); font-size: .74rem; }
.foot-col a:hover { color: var(--cyan); opacity: 1; }
.foot-base {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .8rem; padding-top: 1.4rem; border-top: 1px solid var(--brd);
}
.foot-base b { font-weight: 800; font-size: .9rem; }
.foot-base b i { opacity: .3; font-weight: 400; font-size: .7em; font-style: normal; }
.foot-base small { font-size: .66rem; color: var(--dim); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 820px) {
  .nav { padding: .8rem 1.2rem; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(2, 8, 24, .97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--brd);
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
  }
  .nav-menu.open { max-height: 420px; }
  .nav-menu li { border-top: 1px solid var(--brd); }
  .nav-menu a { display: block; padding: .95rem 1.2rem; }
  .nav-cta { border-radius: 0; text-align: center; }
  .wrap { padding: 6.5rem 1.3rem 2.5rem; }
  .foot-nav { gap: 1.5rem; }
  .foot-col { min-width: 132px; }
  table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
