/* NASlab – Website (neu gestaltet 07.11.2026). Gleiche Welt wie die App («Glut»): warme, dunkle Flächen,
   Orange als einziger Akzent. Alle Handy-Bilder sind dunkle App-Bilder im selben CSS-Rahmen (.phone).
   Keine Schriften oder Skripte von Dritten. Unterseiten (Agent, Hilfe, Datenschutz) nutzen .doc. */
:root {
  --bg: #141113; --bg-2: #181315; --surface: #1d1719; --surface-2: #2a1e1b; --line: #33272a; --line-2: #4a3933;
  --fg: #f5eeea; --fg-2: #ddd1cb; --muted: #b3a59f; --accent: #ff8a3d; --accent-2: #ffb07a; --accent-ink: #1a1210;
  --glow: rgba(255, 138, 61, .16); --ok: #5fcf80; --alt: #191315;
  --card: linear-gradient(160deg, #2e211c 0%, #221a1a 55%, #1c1618 100%);
  --font-display: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --radius: 20px; --radius-sm: 12px;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .04) inset;
  --sec: clamp(64px, 9vw, 112px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--font-body); overflow-x: hidden; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; height: auto; display: block; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: 1160px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.read { max-width: 68ch; }

/* Kopfzeile */
header.top { position: sticky; top: 0; z-index: 30; background: rgba(20, 17, 19, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 12px 20px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font: 700 20px var(--font-display); letter-spacing: -.01em; }
.brand .lab { color: var(--accent); font-weight: 400; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
nav.links { margin-left: auto; display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; font-size: 15px; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a[aria-current="page"], nav.links a:hover { color: var(--fg); }
nav.links .btn { padding: 7px 14px; font-size: 14px; color: var(--accent-ink); }
@media (max-width: 560px) {
  header.top .wrap { gap: 6px 14px; }
  nav.links { gap: 4px 14px; font-size: 14px; }
  nav.links .wide, nav.links a[href="./"][aria-current="page"] { display: none; }
}

/* Knöpfe */
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 650; text-decoration: none; line-height: 1.2; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.primary { background: linear-gradient(180deg, #ff9a52, var(--accent)); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(255, 138, 61, .55); }
.btn.primary:hover { transform: translateY(-1px); }
.btn.ghost { border: 1px solid var(--line-2); color: var(--fg); background: rgba(255, 255, 255, .02); }
.btn.ghost:hover { border-color: var(--accent); }
.note { font-size: 14px; color: var(--muted); }

/* Handy-Rahmen: für alle App-Bilder gleich */
.phone { margin: 0; position: relative; --pad: 7px; --r: 30px; }
.phone > .zoom, .phone > img { padding: var(--pad); border-radius: var(--r); background: linear-gradient(160deg, #4b4246, #1c181a 60%, #2a2326); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .07) inset; }
.phone img { border-radius: calc(var(--r) - var(--pad)); background: #141113; width: 100%; }
.phone > .zoom > img { padding: 0; box-shadow: none; }
.phone.sm { --pad: 5px; --r: 22px; }
.zoom { display: block; border: 0; cursor: zoom-in; width: 100%; color: inherit; font: inherit; transition: transform .2s ease; }
.zoom:hover { transform: translateY(-3px); }
.zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

/* Hero */
.hero { position: relative; padding-block: clamp(36px, 7vw, 88px) clamp(48px, 7vw, 96px); background:
  radial-gradient(700px 420px at 85% 40%, rgba(255, 138, 61, .20), transparent 70%),
  radial-gradient(900px 400px at 0% -20%, rgba(255, 138, 61, .10), transparent 70%); overflow: hidden; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--fg-2); background: rgba(255, 255, 255, .03); }
.eyebrow svg { width: 16px; height: 16px; color: var(--accent); }
.hero h1 { font: 800 clamp(36px, 6.4vw, 64px)/1.03 var(--font-display); letter-spacing: -.03em; margin: 0 0 18px; text-wrap: balance; max-width: 15ch; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ffb07a, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: var(--fg-2); margin: 0 0 28px; max-width: 46ch; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--fg-2); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.hero .note { margin: 18px 0 0; }
.hero-phone { justify-self: center; width: min(300px, 76vw); position: relative; }
.hero-phone::before { content: ""; position: absolute; inset: 8% -18% -6%; background: radial-gradient(closest-side, rgba(255, 138, 61, .32), transparent); filter: blur(20px); z-index: -1; }
.hero-phone .phone { --pad: 9px; --r: 40px; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; }
  .hero-phone { width: 330px; }
}
@media (max-width: 899px) { .hero-phone { margin-top: 4px; } }

/* Abschnitte */
section.block { padding-block: var(--sec); position: relative; }
section.block + section.block::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(1120px, calc(100% - 40px)); height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
section.block.alt { background: var(--bg-2); }
.kicker { display: block; font: 700 13px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
section.block h2 { font: 780 clamp(28px, 4.2vw, 42px)/1.1 var(--font-display); letter-spacing: -.025em; margin: 0 0 16px; text-wrap: balance; max-width: 22ch; }
.sub { font-size: 18px; color: var(--muted); margin: 0 0 40px; max-width: 60ch; }
.center { text-align: center; }
.center h2, .center .sub { margin-left: auto; margin-right: auto; }

/* Das kann NASlab: Kacheln */
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); margin: 0; padding: 0; list-style: none; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 20px; box-shadow: var(--shadow); }
.tile h3 { margin: 16px 0 6px; font: 700 18px/1.25 var(--font-display); letter-spacing: -.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(150deg, rgba(255, 138, 61, .28), rgba(255, 138, 61, .08)); border: 1px solid rgba(255, 138, 61, .3); color: var(--accent-2); }
.ico svg { width: 22px; height: 22px; }
@media (min-width: 1000px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Showcase-Reihen */
.rows { display: grid; gap: clamp(64px, 9vw, 120px); }
.row { display: grid; gap: 32px; align-items: center; }
.row .shots { display: flex; justify-content: center; align-items: flex-end; gap: 0; position: relative; }
.row .shots::before { content: ""; position: absolute; inset: 10% 5% 0; background: radial-gradient(closest-side, rgba(255, 138, 61, .18), transparent); z-index: 0; }
.row .shots .phone { width: min(270px, 66vw); z-index: 1; }
.row .shots .phone + .phone { width: min(210px, 50vw); margin-left: -16%; margin-bottom: -6%; z-index: 2; }
.row .shots.pair .phone:first-child { margin-bottom: 6%; }
.row h3 { font: 780 clamp(24px, 3.2vw, 34px)/1.12 var(--font-display); letter-spacing: -.02em; margin: 0 0 14px; text-wrap: balance; }
.row .copy > p { color: var(--fg-2); font-size: 17px; margin: 0 0 22px; max-width: 52ch; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: var(--fg-2); font-size: 16px; }
.checks svg { width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
.checks b { color: var(--fg); font-weight: 650; }
@media (min-width: 900px) {
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .row.flip .shots { order: 2; }
  .row .shots .phone { width: 290px; }
  .row .shots .phone + .phone { width: 220px; }
}

/* Mehr Ansichten: Bildband */
.strip { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 22px; margin-top: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.strip .phone { flex: 0 0 172px; scroll-snap-align: start; }
.strip figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; line-height: 1.35; }
@media (min-width: 900px) { .strip { justify-content: center; } .strip .phone { flex-basis: 190px; } }

/* Funktioniert mit */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--fg-2); }
.chips li.key { border-color: rgba(255, 138, 61, .55); background: rgba(255, 138, 61, .1); color: var(--fg); font-weight: 650; }
.center .chips { justify-content: center; max-width: 900px; margin-inline: auto; }

/* Agent und Datenschutz: zwei Karten nebeneinander */
.duo { display: grid; gap: 18px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 22px; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.panel h2 { font-size: clamp(24px, 3vw, 30px) !important; margin-bottom: 12px !important; }
.panel > p { color: var(--fg-2); margin: 0 0 20px; }
.panel .checks { margin-bottom: 26px; }
.panel .cta { margin-top: auto; }

/* Im Detail: Bereiche und alle Funktionen zum Aufklappen */
.areas { display: grid; gap: 10px; }
.area-d { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.area-d > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding: 16px 18px; border-radius: 16px; }
.area-d > summary::-webkit-details-marker { display: none; }
.area-d > summary .num { font: 700 13px var(--font-mono); color: var(--accent); background: rgba(255, 138, 61, .12); border-radius: 999px; padding: 4px 9px; }
.area-d > summary .t { font: 700 17px/1.3 var(--font-display); }
.area-d > summary .t small { display: block; font: 400 14px/1.45 var(--font-body); color: var(--muted); margin-top: 2px; }
.area-d > summary::after, .more > summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin: -4px 4px 0; transition: transform .2s ease; }
.area-d[open] > summary::after, .more[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.area-d[open] > summary { border-bottom: 1px solid var(--line); border-radius: 16px 16px 0 0; }
.area-d > .grid { padding: 18px; }
.area-d > .grid + .note { padding: 0 18px 16px; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; align-items: start; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; min-width: 0; }
.feature h3 { margin: 0 0 6px; font: 650 17px/1.3 var(--font-display); }
.feature p { margin: 0; color: #c9bcb6; font-size: 15px; }
.feature .tag { display: inline-block; font: 600 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; background: rgba(255, 138, 61, .12); border-radius: 999px; padding: 4px 9px; }
.feature ul.ex { margin: 10px 0 0; padding-left: 1.1em; color: #e6dcd8; font-size: 14px; }
.feature ul.ex li + li { margin-top: 3px; }
.feature ul.ex li::marker { color: var(--accent); }
.beta { display: inline-block; font: 600 11px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; border: 1px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 3px 7px; vertical-align: 2px; margin-left: 4px; }
.more { margin-top: 26px; border: 1px solid var(--line-2); border-radius: 16px; background: linear-gradient(160deg, rgba(255, 138, 61, .07), transparent 60%); }
.more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; font: 700 17px var(--font-display); }
.more > summary::-webkit-details-marker { display: none; }
.more > summary small { display: block; font: 400 14px var(--font-body); color: var(--muted); margin-top: 2px; }
.more > .inner { padding: 0 20px 18px; }
.cols { columns: 2 340px; column-gap: 28px; }
.cols details { break-inside: avoid; }

/* FAQ und allgemeine Aufklapper */
details { border-top: 1px solid var(--line); padding-block: 14px; }
.area-d, .more { padding-block: 0; }
details summary { cursor: pointer; font-weight: 650; min-height: 28px; }
details[open] > summary { color: var(--accent); }
.area-d[open] > summary, .more[open] > summary { color: var(--fg); }
details p { color: var(--muted); margin: 8px 0 0; }
details ul.list { margin: 10px 0 4px; padding-left: 1.2em; color: var(--muted); font-size: 15px; }
details ul.list li + li { margin-top: 4px; }
details ul.list li::marker { color: var(--accent); }
.faq { max-width: 760px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.center .faq { margin-inline: auto; text-align: left; }

/* Schluss-Band */
.cta-end { text-align: center; background: radial-gradient(700px 320px at 50% 120%, rgba(255, 138, 61, .25), transparent 70%), var(--bg-2); }
.cta-end h2 { margin-inline: auto; }
.cta-end .sub { margin-inline: auto; margin-bottom: 30px; }
.cta-end .cta { justify-content: center; }

/* Fuss */
footer.bottom { border-top: 1px solid var(--line); }
footer.bottom .wrap { padding-block: 26px; display: flex; gap: 10px 20px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
footer.bottom a { color: var(--muted); }
footer.bottom a:hover { color: var(--fg); }
footer.bottom .marks { flex-basis: 100%; margin: 0; font-size: 12px; }

/* Unterseiten (Agent, Hilfe, Datenschutz, Nutzungsbedingungen) */
.doc { padding-bottom: 56px; }
.doc h1 { font: 800 clamp(30px, 5vw, 44px)/1.1 var(--font-display); letter-spacing: -.02em; margin: 44px 0 6px; text-wrap: balance; }
.doc h2 { font: 700 21px/1.3 var(--font-display); margin: 36px 0 10px; text-wrap: balance; }
.doc .stand { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }
.doc code { font: 0.92em var(--font-mono); background: var(--surface-2); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
.doc pre { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; font: 13px/1.5 var(--font-mono); }
.doc pre code { background: none; padding: 0; overflow-wrap: normal; }
.doc ol.steps { padding-left: 1.4em; }
.doc ol.steps li::marker { color: var(--accent); font-weight: 700; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); font-weight: 650; }
tr:last-child td { border-bottom: 0; }
.summary { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--ok); border-radius: 12px; padding: 14px 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.facts li { background: var(--surface-2); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.jump a { display: inline-block; background: var(--surface-2); border-radius: 999px; padding: 6px 14px; font-size: 14px; text-decoration: none; color: var(--fg); }
.jump a:hover { color: var(--accent); }
section[id], details[id], h2[id] { scroll-margin-top: 76px; }

/* Bilder gross ansehen (Lightbox): eigenes kleines Skript in der Seite, keine Bibliothek */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(10, 8, 8, .95); display: none; align-items: center; justify-content: center; touch-action: pan-y; }
.lb.open { display: flex; }
.lb img { max-width: calc(100vw - 32px); max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); width: auto; height: auto; border-radius: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); background: #141113; }
.lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lb figcaption { color: #e9dfdb; font-size: 14px; text-align: center; padding-inline: 60px; }
.lb button { position: absolute; border: 0; border-radius: 999px; width: 48px; height: 48px; background: rgba(255,255,255,.14); color: #fff; font: 600 24px/1 var(--font-body); cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,.26); }
.lb button:focus-visible { outline: 3px solid #ff8a3d; outline-offset: 2px; }
.lb .lb-close { top: max(12px, env(safe-area-inset-top, 0px)); right: 12px; }
.lb .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb .lb-count { position: absolute; top: max(24px, env(safe-area-inset-top, 0px)); left: 16px; color: #cdbfb9; font-size: 14px; }
.lb[data-single] .lb-prev, .lb[data-single] .lb-next { display: none; }
html.lb-lock, html.lb-lock body { overflow: hidden; }
.row, .hero .wrap { grid-template-columns: minmax(0, 1fr); }
.row > *, .hero .wrap > * { min-width: 0; }
@media (min-width: 900px) {
  .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}
.brand .lab { margin-left: -10px; }
@media (max-width: 560px) {
  .hero .lead { font-size: 17px; margin-bottom: 24px; }
  .hero .cta .btn { flex: 1 1 100%; }
  .trust { gap: 6px 14px; font-size: 13px; margin-top: 20px; }
  .hero .note { font-size: 13px; }
}
section.block .center h2, section.block .center .sub { margin-left: auto; margin-right: auto; }
.area-d > summary .t small { max-width: 78ch; }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .tile { padding: 16px 14px; } .tile h3 { font-size: 16px; margin-top: 12px; } .tile p { font-size: 14px; } .ico { width: 38px; height: 38px; border-radius: 11px; } }
