/* Dexpermatos – Produktseite. Farben wie im Programm: Navy, Blau bis Cyan. Keine externen Schriften. */
:root {
  --bg: #040b1a;
  --bg-2: #071530;
  --navy: #01122a;
  --card: rgba(12, 30, 62, .72);
  --card-strong: rgba(14, 36, 74, .9);
  --border: rgba(110, 170, 255, .16);
  --text: #e8f0fd;
  --muted: #9aaccb;
  --blue: #009cff;
  --cyan: #00e6ef;
  --accent: linear-gradient(90deg, var(--blue), var(--cyan));
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(0, 156, 255, .22), transparent 60%),
    radial-gradient(900px 600px at -10% 20%, rgba(0, 230, 239, .10), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 40%);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #7ff6fb; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code { font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: .9em; background: rgba(0, 0, 0, .3); padding: .1em .4em; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
mark.todo { background: #ffd54a; color: #241a00; padding: 0 .3em; border-radius: 4px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }

/* ---------- Kopf ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(4, 11, 26, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: .01em; }
.brand img { width: 44px; height: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--text); }

/* ---------- Knöpfe ---------- */
.button {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.4em;
  border-radius: 12px;
  background: var(--accent);
  color: #001020; font-weight: 650; text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 170, 255, .28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { color: #001020; transform: translateY(-1px); box-shadow: 0 14px 36px rgba(0, 200, 255, .38); }
.button-small { padding: .5em 1em; font-size: .92rem; border-radius: 10px; }
.button-ghost { background: rgba(255, 255, 255, .04); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.button-ghost:hover { color: var(--text); background: rgba(255, 255, 255, .08); box-shadow: none; }

/* ---------- Start ---------- */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(110, 170, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 170, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 48px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; color: var(--cyan); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .9em; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 750; letter-spacing: -.02em; margin-bottom: .45em; }
.gradient { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: #c9d6ee; max-width: 36em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .92rem; }
.facts li { display: inline-flex; align-items: center; gap: .4em; }
.facts .icon { color: var(--cyan); }

.hero-shot { margin: 0; }
.browser {
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(140, 190, 255, .22);
  background: #0a1730;
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, .3), 0 0 80px rgba(0, 156, 255, .18);
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
}
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #0d1d3a; border-bottom: 1px solid rgba(140, 190, 255, .14); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #2c3e5f; }
.dots i:first-child { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.address { flex: 1; font-size: .8rem; color: var(--muted); background: rgba(0, 0, 0, .28); padding: 4px 12px; border-radius: 999px; font-family: "Cascadia Mono", Consolas, monospace; }

/* ---------- Leiste mit Kurzfakten ---------- */
.trust { border-block: 1px solid var(--border); background: rgba(1, 18, 42, .55); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 26px; padding: 18px 0; color: #c9d6ee; font-size: .95rem; }
.trust-inner span { display: inline-flex; align-items: center; gap: .55em; }
.trust .icon { color: var(--cyan); width: 1.3em; height: 1.3em; }

/* ---------- Abschnitte ---------- */
.section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, rgba(1, 18, 42, .55), rgba(1, 18, 42, .2)); border-block: 1px solid rgba(110, 170, 255, .08); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.feature { transition: transform .2s ease, border-color .2s ease; }
.feature:hover { transform: translateY(-3px); border-color: rgba(0, 230, 239, .35); }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.feature-icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px;
  border-radius: 12px; color: #001020; background: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 170, 255, .3);
}
.feature-icon .icon { width: 24px; height: 24px; stroke-width: 2; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.shot { margin: 0; }
.shot img, .shot a img {
  border-radius: 12px; border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .4);
  transition: transform .2s ease;
}
.shot a:hover img { transform: scale(1.015); }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: .92rem; }
.shot figcaption strong { display: block; color: var(--text); font-size: 1rem; }

.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps p { color: var(--muted); margin: 0; }
.step-no {
  display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px;
  border-radius: 50%; border: 2px solid var(--cyan); color: var(--cyan); font-weight: 700;
}
.duo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: #c9d6ee; }
.checklist .icon { color: var(--cyan); width: 1.35em; height: 1.35em; margin-top: .15em; }
.checklist.compact { gap: 8px; margin-top: 10px; }
.checklist.compact li { font-size: .95rem; }

/* ---------- Download ---------- */
.download { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding: 36px; background: var(--card-strong); border-color: rgba(0, 230, 239, .28); }
.download-main { display: grid; gap: 22px; }
.download-logo { border-radius: 12px; border: 1px solid var(--border); }
.download h2 { margin-bottom: .2em; }
.download h3 { font-size: 1rem; margin-top: 4px; }
.download-side h3 + .hash { margin-top: 6px; }
.hash { display: block; word-break: break-all; padding: 10px 12px; font-size: .82rem; line-height: 1.5; margin-bottom: 8px; }
.notice { padding: 12px 14px; border-radius: 10px; background: rgba(255, 213, 74, .12); border: 1px solid rgba(255, 213, 74, .35); }
.requirements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.requirements > div { padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(1, 18, 42, .45); }
.requirements p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Fragen ---------- */
.faq { border: 1px solid var(--border); border-radius: 14px; background: var(--card); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--cyan); font-size: 1.3rem; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

.closing { text-align: center; }
.closing-inner { max-width: 640px; }

/* ---------- Rechtliches ---------- */
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal p, .legal li { color: #c9d6ee; }

/* ---------- Fuß ---------- */
.site-footer { border-top: 1px solid var(--border); background: rgba(1, 10, 24, .8); padding: 36px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 14px 30px; align-items: center; }
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { width: 44px; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); }
.site-footer p { grid-column: 1 / -1; margin: 0; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero-inner, .split, .duo, .download { grid-template-columns: 1fr; }
  .browser { transform: none; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .requirements { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero { padding-top: 44px; }
  .section { padding: 64px 0; }
  .gallery { grid-template-columns: 1fr; }
  .download { padding: 22px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .browser { transform: none; }
}
