/* Nexnor Website – Gestaltung nach docs.nexnor.de/_intern/DESIGNRICHTLINIE.md
   (dieselben Tokens wie die Hilfe, assets/css/docs.css): iOS-Grau als Grund, weiße Karten, Indigo als
   Bedienfarbe, Orange nur für die Verbindung Textstelle → Aufgabe, der tiefe Markenverlauf für Flächen mit
   weißem Text, der Lila-Verlauf ausschließlich für Nexnor Pro. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("../fonts/inter-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("../fonts/inter-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --nx-indigo: #5856D6; --nx-indigo-deep: #4240B8; --nx-blue: #0A84FF;
  --nx-brand-blue: #1436C7; --nx-brand-green: #30BB6C;
  --nx-green: #34C759; --nx-orange: #FF9500; --nx-red: #FF3B30; --nx-teal: #30B0C7;
  --nx-grad: linear-gradient(135deg, #1436C7 0%, #1B57B0 38%, #2E9E82 76%, #30BB6C 100%);
  --nx-grad-deep: linear-gradient(135deg, #1230B0 0%, #174C9C 45%, #217A66 100%);   /* weißer Text ≥ 5:1 */
  --nx-focus-grad: linear-gradient(120deg, #5E5CE6 0%, #0A84FF 100%);
  --nx-pro-grad: linear-gradient(120deg, #6A3FE0 0%, #9B3BD1 100%);                 /* nur Nexnor Pro */
  --nx-bg: #F2F2F7; --nx-card: #FFFFFF; --nx-card-2: #F7F7FA; --nx-line: #E5E5EA;
  --nx-text: #111114; --nx-text-2: #6B6B73; --nx-text-3: #8E8E93;
  --nx-link: #4F4CC9; --nx-mark: #E2E1FB; --nx-anchor: #FFE3C2; --nx-anchor-line: #F08A00;
  --nx-r-hero: 24px; --nx-r-card: 20px; --nx-r-tile: 16px; --nx-r-group: 14px;
  --nx-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 2px 8px rgba(0, 0, 0, .04);
  --nx-shadow-shot: 0 24px 48px -20px rgba(16, 24, 64, .35);
  --nx-card-ring: transparent;
  --nx-bezel: #1D1D1F; --nx-bezel-ring: rgba(0, 0, 0, .08);
  --nx-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nx-font-round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  --wrap: 72rem; --gutter: clamp(1rem, 4vw, 2.5rem); --top: 3.75rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --nx-bg: #000000; --nx-card: #1C1C1E; --nx-card-2: #2C2C2E; --nx-line: #38383A;
    --nx-text: #F5F5F7; --nx-text-2: #A1A1AA; --nx-text-3: #8E8E93; --nx-link: #A5A4FF; --nx-mark: #2E2C6B;
    --nx-anchor: #4A3218; --nx-anchor-line: #FF9F0A; --nx-indigo: #5E5CE6;
    --nx-shadow-1: none; --nx-shadow-shot: 0 24px 48px -24px rgba(0, 0, 0, .8); --nx-card-ring: #2C2C2E;
    --nx-bezel: #0B0B0C; --nx-bezel-ring: rgba(255, 255, 255, .14);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --nx-bg: #000000; --nx-card: #1C1C1E; --nx-card-2: #2C2C2E; --nx-line: #38383A;
  --nx-text: #F5F5F7; --nx-text-2: #A1A1AA; --nx-text-3: #8E8E93; --nx-link: #A5A4FF; --nx-mark: #2E2C6B;
  --nx-anchor: #4A3218; --nx-anchor-line: #FF9F0A; --nx-indigo: #5E5CE6;
  --nx-shadow-1: none; --nx-shadow-shot: 0 24px 48px -24px rgba(0, 0, 0, .8); --nx-card-ring: #2C2C2E;
  --nx-bezel: #0B0B0C; --nx-bezel-ring: rgba(255, 255, 255, .14);
  color-scheme: dark;
}

/* Grundlagen --------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 1rem); }
body { margin: 0; background: var(--nx-bg); color: var(--nx-text); font-family: var(--nx-font); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nx-link); text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
p, ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--nx-indigo); outline-offset: 3px; border-radius: 6px; }
.on-grad :focus-visible { outline-color: #fff; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--nx-indigo); color: #fff; padding: .5rem .9rem; border-radius: 999px; }
kbd { font-family: var(--nx-font); font-size: .875em; border: 1px solid var(--nx-line); border-bottom-width: 2px; border-radius: .35rem; padding: 0 .35rem; background: var(--nx-card); }

/* Knöpfe ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.75rem; padding: .6rem 1.25rem; border-radius: 999px; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn-primary { background: var(--nx-indigo); color: #fff; }
.btn-primary:hover { background: var(--nx-indigo-deep); }
.btn-secondary { background: var(--nx-card); color: var(--nx-text); border-color: var(--nx-line); }
.btn-secondary:hover { border-color: var(--nx-text-3); }
.btn-white { background: #fff; color: var(--nx-brand-blue); }
.btn-white:hover { background: #EEF1FF; }
.btn-sm { min-height: 2.25rem; padding: .35rem .95rem; font-size: .9375rem; }
.btn-store small { display: block; font-size: .75rem; font-weight: 500; opacity: .85; line-height: 1.1; }
.btn-store span { display: block; text-align: left; line-height: 1.2; }
.btn-store img { width: 1.9rem; height: 1.9rem; border-radius: .45rem; }
/* Hinweis „Freigabe ausstehend“ (app.js, solange APP_STORE_URLS Platzhalter sind) */
.store-notice { width: min(26rem, calc(100vw - 2rem)); border: 0; border-radius: var(--nx-r-tile); padding: 1.5rem 1.5rem 1.25rem; background: var(--nx-card); color: var(--nx-text); box-shadow: 0 20px 60px rgba(0, 0, 0, .35), 0 0 0 1px var(--nx-card-ring); }
.store-notice::backdrop { background: rgba(10, 12, 30, .5); }
.store-notice h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: .6rem; }
.store-notice p { color: var(--nx-text-2); font-size: .9688rem; }
.store-notice p + p { margin-top: .5rem; }
.sn-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; margin-top: 1.25rem; }
.btn-store { padding-left: .55rem; min-height: 3.25rem; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.on-grad .text-link { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); }
.icon-btn { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border: 1px solid var(--nx-line); border-radius: 999px; background: var(--nx-card); color: var(--nx-text); cursor: pointer; flex: none; padding: 0; }
.icon-btn svg { width: 1.05rem; height: 1.05rem; }

/* Hilfe-Link (führt in die Nexnor-Hilfe) */
.help-link { display: inline-flex; align-items: center; gap: .45rem; font-size: .9375rem; font-weight: 600; color: var(--nx-link); text-decoration: none; }
.help-link::before { content: "?"; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--nx-mark); color: var(--nx-link); font-size: .8125rem; font-weight: 700; flex: none; }
.help-link:hover span { text-decoration: underline; }
.help-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.25rem; }

/* PRO-Abzeichen (Lila-Verlauf nur hier) */
.pro { display: inline-block; vertical-align: .12em; margin-left: .3rem; padding: .05rem .42rem; border-radius: 999px; background: var(--nx-pro-grad); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .04em; line-height: 1.5; }

/* Kopf --------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--nx-bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--nx-line); }
.top .wrap { display: flex; align-items: center; gap: 1rem; height: var(--top); }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.1rem; color: var(--nx-text); text-decoration: none; flex: none; }
.brand img { width: 2rem; height: 2rem; border-radius: .5rem; box-shadow: 0 0 0 1px var(--nx-card-ring); }
.nav { display: flex; align-items: center; gap: .15rem; margin-left: 1rem; }
.nav a { padding: .4rem .7rem; border-radius: 999px; color: var(--nx-text-2); text-decoration: none; font-size: .9375rem; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--nx-text); background: color-mix(in srgb, var(--nx-card) 70%, transparent); }
.nav a[aria-current="page"] { color: var(--nx-text); background: var(--nx-card); box-shadow: var(--nx-shadow-1); }
.nav .nav-help { color: var(--nx-link); }
.tools { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.menu-btn { display: none; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; font-size: .8125rem; font-weight: 600; height: 2.25rem; padding: 0 .75rem; border: 1px solid var(--nx-line); border-radius: 999px; background: var(--nx-card); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + .45rem); margin: 0; padding: .4rem; list-style: none; background: var(--nx-card); border: 1px solid var(--nx-line); border-radius: var(--nx-r-group); min-width: 11rem; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .25); z-index: 50; }
.lang button { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .5rem .7rem; border: 0; border-radius: .6rem; background: none; font: inherit; font-size: .9375rem; color: var(--nx-text); cursor: pointer; text-align: left; }
.lang button b { font-weight: 500; flex: 1; }
.lang button span { font-size: .75rem; color: var(--nx-text-2); }
.lang button:hover, .lang button[aria-current="true"] { background: var(--nx-card-2); }
.flag { width: 20px; height: 14px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); flex: none; }
:root[data-theme="dark"] .flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); } }
/* Drei-Stufen-Umschalter: Symbol zeigt den aktuellen Zustand */
.theme-btn .ti { display: none; }
html:not([data-theme-mode]) .theme-btn .ti-system, html[data-theme-mode="system"] .theme-btn .ti-system,
html[data-theme-mode="light"] .theme-btn .ti-light, html[data-theme-mode="dark"] .theme-btn .ti-dark { display: block; }
.mobile-nav { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .mobile-nav:not([hidden]) { display: block; border-top: 1px solid var(--nx-line); padding: .5rem var(--gutter) 1rem; }
  .mobile-nav a { display: block; padding: .7rem .25rem; color: var(--nx-text); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--nx-line); }
  .mobile-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  .top .tools .btn-store-top { display: none; }
  .brand span { font-size: 1.05rem; }
}

/* Abschnitte --------------------------------------------------------- */
section { scroll-margin-top: var(--top); }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-card { background: var(--nx-card); border-block: 1px solid var(--nx-line); }
.crumb { display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--nx-text-2); margin-bottom: .85rem; }
.crumb .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--nx-grad); flex: none; }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 700; }
.sec-head .lead { margin-top: 1rem; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: var(--nx-text-2); max-width: 44rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }

/* Bildschirmfotos und Geräte ---------------------------------------- */
/* .shot enthält ein <img data-shot="<gerät>/<motiv>">. app.js setzt data-kind:
   3d (Gerät mit Alpha, nur Schatten), screen/alt (Rohbild → CSS-Rahmen), crop (Ausschnitt).
   Fehlt jedes Bild, bekommt .shot die Klasse is-missing und zeigt eine neutrale Geräteskizze. */
.shot { position: relative; container-type: inline-size; margin: 0; }
.shot img { width: 100%; }
.shot[data-kind="3d"] img { filter: drop-shadow(0 18px 30px rgba(16, 24, 64, .28)); }
.shot[data-kind="screen"] img, .shot[data-kind="alt"] img {
  border: 2.1cqi solid var(--nx-bezel); border-radius: 4.6cqi; background: var(--nx-bezel);
  box-shadow: 0 0 0 1px var(--nx-bezel-ring), var(--nx-shadow-shot);
}
.shot[data-orient="port"][data-kind="screen"] img, .shot[data-orient="port"][data-kind="alt"] img { border-width: 3.4cqi; border-radius: 13cqi; }
.shot[data-orient="tall"][data-kind="screen"] img, .shot[data-orient="tall"][data-kind="alt"] img { border-width: 3cqi; border-radius: 8cqi; }
.shot[data-kind="crop"] img { border-radius: var(--nx-r-tile); box-shadow: 0 0 0 1px var(--nx-line), var(--nx-shadow-shot); }
.shot.is-missing img { display: none; }
.shot.is-missing::before {
  content: ""; display: block; aspect-ratio: 4 / 3; border-radius: 4.6cqi;
  border: 2.1cqi solid var(--nx-bezel); box-shadow: 0 0 0 1px var(--nx-bezel-ring), var(--nx-shadow-shot);
  background: url("../img/app-icon-128.webp") center / clamp(48px, 16cqi, 96px) no-repeat, linear-gradient(160deg, var(--nx-card-2), var(--nx-bg));
}
.shot.is-missing[data-ph="iphone"]::before { aspect-ratio: 1320 / 2868; border-width: 3.4cqi; border-radius: 13cqi; }
.shot.is-missing[data-ph="duo-auf"]::before { aspect-ratio: 2007 / 2853; border-width: 3cqi; border-radius: 7cqi; }
.shot.is-missing[data-ph="duo-zu"]::before { aspect-ratio: 1398 / 2034; border-width: 3.4cqi; border-radius: 10cqi; }

/* Hero --------------------------------------------------------------- */
.on-grad { background: var(--nx-grad-deep); color: #fff; }
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem) 0; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 18%; background: var(--nx-bg); }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 48rem; margin-inline: auto; text-align: center; }
.hero .crumb { color: rgba(255, 255, 255, .9); }
.hero .crumb .dot { background: #fff; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.9rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.hero h1 .hl { background: linear-gradient(transparent 62%, rgba(255, 149, 0, .55) 62%, rgba(255, 149, 0, .55) 92%, transparent 92%) no-repeat left / 100% 100%; padding-inline: .05em; }
@media (prefers-reduced-motion: no-preference) { .hero h1 .hl { animation: hl-mark .9s .35s cubic-bezier(.3, .7, .3, 1) both; } @keyframes hl-mark { from { background-size: 0 100%; } } }
.hero .lead { color: rgba(255, 255, 255, .92); margin: 1.25rem auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.5rem; margin-top: 2rem; }
.hero-note { margin-top: .9rem; font-size: .9375rem; color: rgba(255, 255, 255, .85); }
.hero-stage { position: relative; max-width: 62rem; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; padding-right: 9%; padding-bottom: 2%; }
.hero-stage .shot-ipad { width: 100%; }
.hero-stage .shot-iphone { position: absolute; right: 0; bottom: 0; width: 23%; }
.hero-stage .shot-iphone[data-kind="3d"] { width: 25%; }

/* Kernidee: Aufgabe an der Textstelle ---------------------------------- */
.idea-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.steps { list-style: none; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2.25rem 1fr; gap: .25rem .9rem; }
.steps li::before { counter-increment: step; content: counter(step); grid-row: span 2; width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--nx-indigo); color: #fff; font-family: var(--nx-font-round); font-weight: 700; }
.steps-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem 1.75rem; }
.steps-row li { grid-template-columns: 1fr; gap: .6rem; align-content: start; }
.steps-row li::before { grid-row: auto; }
.steps h3 { font-size: 1.0625rem; font-weight: 600; align-self: center; letter-spacing: -.01em; }
.steps p { color: var(--nx-text-2); font-size: 1rem; }
.idea-more { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.idea-more > div { background: var(--nx-card); border-radius: var(--nx-r-tile); padding: 1.1rem 1.2rem; box-shadow: var(--nx-shadow-1), 0 0 0 1px var(--nx-card-ring); font-size: .9688rem; color: var(--nx-text-2); }
.idea-more strong { display: block; color: var(--nx-text); margin-bottom: .25rem; font-size: 1rem; }
.idea-shots { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.idea-shots figcaption, .feature figcaption { margin-top: .9rem; font-size: .9375rem; color: var(--nx-text-2); text-align: center; }

/* Einstieg: drei echte Aufnahmen im iPad übereinander (vorher · Auswahl mit Menü · nachher). Die Auswahl läuft
   über die Zeile, das Menü erscheint, ein Tipp trifft „Aufgabe erstellen“, dann blenden Markierung und Karte ein.
   Ohne Skript oder bei reduzierter Bewegung steht das Endbild. Lage von Zeile und Menü als Anteil der Bildgröße. */
.hero-demo { --sx0: .1023; --sx1: .5058; --sy0: .3858; --sy1: .4289; --tx: .212; --ty: .4445; }
:root:lang(en) .hero-demo { --sx1: .5196; --sy1: .4309; --tx: .205; --ty: .4478; }
.hero-demo .hd-layer { position: absolute; inset: 0; width: 100%; height: auto; pointer-events: none; filter: none !important; }
.hero-demo .hd-sel, .hero-demo .hd-menu { opacity: 0; }
.hero-demo.is-armed:not(.is-playing) .hd-done { opacity: 0; }
.hd-sel { clip-path: inset(calc(var(--sy0) * 100%) calc((1 - var(--sx)) * 100%) calc((1 - var(--sy1)) * 100%) calc(var(--sx0) * 100%)); }
.hd-tap { position: absolute; left: calc(var(--tx) * 100%); top: calc(var(--ty) * 100%); width: 3.6%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: rgba(255, 255, 255, .5); box-shadow: 0 0 0 2px rgba(20, 20, 40, .22), 0 6px 16px rgba(0, 0, 0, .28); opacity: 0; pointer-events: none; }
.hero-replay { position: relative; z-index: 1; text-align: center; margin-top: .25rem; min-height: 2rem; }
.demo-replay { font: inherit; font-size: .8125rem; font-weight: 600; color: var(--nx-link); background: var(--nx-card); border: 1px solid var(--nx-line); border-radius: 999px; padding: .3rem .8rem; cursor: pointer; }
@property --sx { syntax: "<number>"; inherits: false; initial-value: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-demo.is-playing .hd-sel { animation: hd-sel 6s linear both; }
  .hero-demo.is-playing .hd-menu { animation: hd-menu 6s ease both; }
  .hero-demo.is-playing .hd-tap { animation: hd-tap 6s ease both; }
  .hero-demo.is-playing .hd-done { animation: hd-done 6s ease both; }
  @keyframes hd-sel { 0%, 8% { opacity: 1; --sx: var(--sx0); } 30%, 76% { opacity: 1; --sx: var(--sx1); } 84%, 100% { opacity: 0; --sx: var(--sx1); } }
  @keyframes hd-menu { 0%, 33% { opacity: 0; } 38%, 76% { opacity: 1; } 84%, 100% { opacity: 0; } }
  @keyframes hd-tap { 0%, 45% { opacity: 0; scale: 1.5; } 50% { opacity: 1; scale: 1; } 55% { opacity: 1; scale: .82; } 62%, 100% { opacity: 0; scale: .82; } }
  @keyframes hd-done { 0%, 66% { opacity: 0; } 80%, 100% { opacity: 1; } }
}

/* Funktionen --------------------------------------------------------- */
.features { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; background: var(--nx-card); border-radius: var(--nx-r-hero); padding: clamp(1.25rem, 3.5vw, 2.75rem); box-shadow: var(--nx-shadow-1), 0 0 0 1px var(--nx-card-ring); }
.feature.flip > figure { order: 2; }
.feature h3 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 700; margin-bottom: .75rem; }
.feature .eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--nx-indigo-deep); margin-bottom: .5rem; }
:root[data-theme="dark"] .feature .eyebrow { color: var(--nx-link); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .feature .eyebrow { color: var(--nx-link); } }
.feature > div > p { color: var(--nx-text-2); }
.points { list-style: none; padding: 0; margin-top: 1.1rem; display: grid; gap: .55rem; }
.points li { position: relative; padding-left: 1.6rem; font-size: 1rem; }
.points li::before { content: ""; position: absolute; left: 0; top: .42em; width: 1rem; height: .62rem; border-left: 2.2px solid var(--nx-indigo); border-bottom: 2.2px solid var(--nx-indigo); transform: rotate(-45deg) scale(.8); transform-origin: 30% 60%; }
.more-grid { margin-top: clamp(1.25rem, 3vw, 2rem); display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1rem; }
.tile { background: var(--nx-card); border-radius: var(--nx-r-card); padding: 1.3rem 1.35rem 1.2rem; box-shadow: var(--nx-shadow-1), 0 0 0 1px var(--nx-card-ring); display: flex; flex-direction: column; gap: .5rem; }
.tile h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }
.tile p { color: var(--nx-text-2); font-size: .9688rem; flex: 1; }
.tile .help-link { margin-top: .4rem; font-size: .875rem; }
.tile .ic { width: 2.4rem; height: 2.4rem; border-radius: .75rem; display: grid; place-items: center; background: var(--nx-mark); color: var(--nx-indigo); }
.tile .ic svg { width: 1.3rem; height: 1.3rem; }
.more-title { font-size: 1.25rem; font-weight: 700; margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* Geräte -------------------------------------------------------------- */
.devices { display: grid; grid-template-columns: 1.6fr 1fr 1.25fr; grid-template-rows: auto auto; column-gap: clamp(1rem, 3vw, 2rem); row-gap: 1.25rem; }
.device-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 1.25rem; }
.device-card .shots { display: flex; align-items: flex-end; justify-content: center; gap: 6%; min-height: 0; }
.device-copy { align-self: start; }
.device-card .shots .shot { flex: 0 1 auto; }
.device-card .shot-ipad { width: 100%; }
.device-card .shot-iphone { width: 62%; }
.device-card .shot-duo-auf { width: 54%; }
.device-card .shot-duo-zu { width: 38%; }
.device-card h3 { font-size: 1.25rem; font-weight: 700; }
.device-card p { color: var(--nx-text-2); font-size: 1rem; }
.device-copy { display: grid; gap: .5rem; }
.keys { margin-top: clamp(2rem, 4vw, 3rem); background: var(--nx-card-2); border-radius: var(--nx-r-card); padding: 1.1rem 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; font-size: .9688rem; box-shadow: 0 0 0 1px var(--nx-line); }
.section-card .keys { background: var(--nx-bg); }
.keys strong { font-weight: 600; }
.keys span { color: var(--nx-text-2); white-space: nowrap; }

/* Datenschutz --------------------------------------------------------- */
.privacy { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; }
.privacy .tile { border-left: 4px solid var(--nx-green); }

/* Pro ------------------------------------------------------------------ */
.pro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--nx-card); border-radius: var(--nx-r-card); box-shadow: var(--nx-shadow-1), 0 0 0 1px var(--nx-line); overflow: hidden; font-size: .9688rem; }
.compare th, .compare td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--nx-line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--nx-card-2); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--nx-text-2); }
.compare td:nth-child(n+2), .compare th:nth-child(n+2) { width: 24%; }
.compare .yes { color: var(--nx-green); font-weight: 700; }
:root:not([data-theme="dark"]) .compare .yes { color: #1F8A3B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .compare .yes { color: var(--nx-green); } }
.compare .no { color: var(--nx-text-3); }
.plans { display: grid; gap: .75rem; margin-top: 1.25rem; }
.plan { background: var(--nx-card); border-radius: var(--nx-r-tile); padding: .95rem 1.15rem; box-shadow: var(--nx-shadow-1), 0 0 0 1px var(--nx-card-ring); }
.plan strong { display: block; }
.plan span { color: var(--nx-text-2); font-size: .9375rem; }
.pro-note { margin-top: 1rem; font-size: .9375rem; color: var(--nx-text-2); }
.plans-title { font-size: 1.125rem; font-weight: 700; }
.pro-side { background: var(--nx-card); border-radius: var(--nx-r-hero); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--nx-shadow-1), 0 0 0 1px var(--nx-card-ring); border-top: 5px solid #7B3FDE; }
.pro-side .plan { background: var(--nx-bg); box-shadow: none; }

/* Hilfe ---------------------------------------------------------------- */
.help-band { border-radius: var(--nx-r-hero); padding: clamp(1.75rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.help-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; }
.help-band p { color: rgba(255, 255, 255, .9); margin-top: .9rem; }
.help-band .btn { margin-top: 1.5rem; }
.help-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.help-list a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .7rem 1rem; border-radius: var(--nx-r-group); background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-weight: 500; font-size: .9688rem; }
.help-list a::after { content: "›"; font-size: 1.25rem; line-height: 1; opacity: .8; }
.help-list a:hover { background: rgba(255, 255, 255, .2); }

/* Neuigkeiten ---------------------------------------------------------- */
.news-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.news-head .sec-head { margin-bottom: 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1.25rem; }
.news-card { display: flex; flex-direction: column; background: var(--nx-card); border-radius: var(--nx-r-card); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--nx-shadow-1), 0 0 0 1px var(--nx-card-ring); transition: transform .2s ease; }
.news-card:hover { transform: translateY(-2px); }
.news-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.news-card__media { background: var(--nx-card-2); aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 1.25rem; border-bottom: 1px solid var(--nx-line); }
.news-card__media .device-ipad { width: 88%; }
.news-card__media .device-iphone { width: 32%; }
.news-card__body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news-card__body h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.news-card__body p { color: var(--nx-text-2); font-size: .9688rem; flex: 1; }
.news-card__more { color: var(--nx-link); font-weight: 600; font-size: .9375rem; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--nx-text-2); }
.badge { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--nx-mark); color: var(--nx-link); }
.badge-release { background: color-mix(in srgb, var(--nx-green) 18%, transparent); color: #1F7A35; }
.badge-tipp { background: color-mix(in srgb, var(--nx-orange) 20%, transparent); color: #9A4D00; }
:root[data-theme="dark"] .badge-release { color: #6EE38C; }
:root[data-theme="dark"] .badge-tipp { color: #FFC266; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge-release { color: #6EE38C; } :root:not([data-theme="light"]) .badge-tipp { color: #FFC266; } }
.badge-version { background: var(--nx-card-2); color: var(--nx-text-2); }
.news-empty, .news-error { color: var(--nx-text-2); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.chip { font: inherit; font-size: .9375rem; font-weight: 500; padding: .4rem 1rem; border-radius: 999px; border: 1px solid var(--nx-line); background: var(--nx-card); color: var(--nx-text); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--nx-indigo); border-color: var(--nx-indigo); color: #fff; }
.skeleton { background: linear-gradient(90deg, var(--nx-card-2), var(--nx-line), var(--nx-card-2)); background-size: 200% 100%; border-radius: 8px; animation: sk 1.4s infinite linear; }
@keyframes sk { to { background-position: -200% 0; } }
.news-card.is-skeleton { min-height: 22rem; }

/* Alte News-Bilder (flache Screenshots) im CSS-Rahmen; Rahmenstärke in cqw der Gerätebreite */
.device-ipad, .device-iphone { container-type: inline-size; }
.device-ipad img, .device-iphone img { width: 100%; background: var(--nx-bezel); border: 1.8cqw solid var(--nx-bezel); border-radius: 4cqw; box-shadow: 0 0 0 1px var(--nx-bezel-ring), 0 14px 28px -16px rgba(0, 0, 0, .45); }
.device-iphone img { border-width: 3.6cqw; border-radius: 13cqw; }

/* News-Detail */
.article { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.article h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); font-weight: 700; margin-top: .75rem; }
.article .summary { font-size: 1.1875rem; color: var(--nx-text-2); margin-top: 1rem; }
.article-back { display: inline-block; margin-bottom: 1.25rem; font-weight: 600; text-decoration: none; }
.article-back:hover { text-decoration: underline; }
.article-body { margin-top: 1.75rem; max-width: 44rem; }
.article-body h2 { font-size: 1.375rem; font-weight: 700; margin: 2rem 0 .6rem; }
.article-body h3 { font-size: 1.125rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1rem; }
.article-body ul, .article-body ol { padding-left: 1.3rem; }
.article-body li { margin-bottom: .35rem; }
.article-body blockquote { margin: 1.5rem 0; padding: .9rem 1.2rem; border-left: 4px solid var(--nx-indigo); background: var(--nx-card); border-radius: 0 var(--nx-r-group) var(--nx-r-group) 0; font-weight: 500; }
.article-body blockquote p { margin: 0; }
.article-aside { position: sticky; top: calc(var(--top) + 1.5rem); }
.slider-track { display: grid; }
.slider-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; display: grid; place-items: center; }
.slider-slide.is-active { opacity: 1; visibility: visible; }
.slider-slide .device-iphone { width: 46%; }
.slider-slide .device-ipad { width: 100%; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 1.25rem; }
.slider-dots { display: flex; gap: .4rem; }
.slider-dots button { width: .6rem; height: .6rem; border-radius: 50%; border: 0; padding: 0; background: var(--nx-line); cursor: pointer; }
.slider-dots button[aria-current="true"] { background: var(--nx-indigo); width: 1.4rem; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { .slider-slide { transition: none; } .news-card { transition: none; } .skeleton { animation: none; } }

/* Seitenkopf der Unterseiten ---------------------------------------- */
.page-head { padding-block: clamp(2.75rem, 6vw, 4.25rem); }
.page-head .crumb { color: rgba(255, 255, 255, .9); }
.page-head .crumb .dot { background: #fff; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 2.6rem); font-weight: 700; }
.page-head .lead { color: rgba(255, 255, 255, .9); margin-top: .9rem; }

/* Rechtstexte ---------------------------------------------------------- */
.legal { max-width: 46rem; background: var(--nx-card); border-radius: var(--nx-r-hero); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--nx-shadow-1), 0 0 0 1px var(--nx-card-ring); }
.legal h2 { font-size: 1.1875rem; font-weight: 700; margin: 2rem 0 .5rem; letter-spacing: -.01em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal address { color: var(--nx-text); font-style: normal; margin-bottom: .5rem; }
.legal .stand { margin-top: 2rem; color: var(--nx-text-2); }

/* Abschlussband ------------------------------------------------------- */
.cta { border-radius: var(--nx-r-hero); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; display: grid; justify-items: center; gap: 1rem; }
.cta > img { width: 4.5rem; height: 4.5rem; border-radius: 1.05rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.cta h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; }
.cta p { color: rgba(255, 255, 255, .9); max-width: 36rem; }

/* Fuß ------------------------------------------------------------------- */
.foot { background: var(--nx-card); border-top: 1px solid var(--nx-line); padding-block: 3rem 2rem; font-size: .9375rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); gap: 2rem; }
.foot h2 { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--nx-text-2); margin-bottom: .75rem; }
.foot ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.foot a { color: var(--nx-text); text-decoration: none; }
.foot a:hover { color: var(--nx-link); text-decoration: underline; }
.foot .tagline { color: var(--nx-text-2); margin-top: .75rem; max-width: 20rem; }
.foot-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--nx-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; color: var(--nx-text-2); font-size: .8125rem; }

/* Einblenden ------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Schmale Breiten --------------------------------------------------------- */
@media (max-width: 960px) {
  .idea-grid, .pro-grid, .help-band, .article { grid-template-columns: minmax(0, 1fr); }
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); }
  .feature.flip > figure { order: 0; }
  .devices { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto; row-gap: 1.25rem; }
  .devices .device-card:first-child { grid-column: 1 / -1; }
  .devices .device-card:first-child .shot-ipad { width: min(100%, 34rem); }
  .device-card .shot-iphone { width: 46%; }
  .idea-more { grid-template-columns: minmax(0, 1fr); }
  .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .article-aside { position: static; max-width: 34rem; }
}
@media (max-width: 600px) {
  .devices { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 2.5rem; }
  .device-card { grid-row: auto; grid-template-rows: auto auto; }
  .device-card .shot-iphone { width: 50%; }
  .device-card .shot-duo-auf { width: 50%; }
  .device-card .shot-duo-zu { width: 35%; }
  .idea-shots { grid-template-columns: minmax(0, 1fr); }
  .steps-row { grid-template-columns: minmax(0, 1fr); }
  .help-list { grid-template-columns: minmax(0, 1fr); }
  .compare th, .compare td { padding: .6rem .65rem; }
  .compare { font-size: .875rem; }
  .hero-stage { padding-right: 12%; }
  .hero-stage .shot-iphone { width: 28%; }
  .btn-store { width: 100%; max-width: 20rem; }
}
