/* ── Nupera – Produktseite ── */
:root {
  color-scheme: dark;
  --bg: #121311;
  --bg2: #171816;
  --surface: #1D1F1C;
  --surface2: #252724;
  --border: rgba(255,255,255,0.07);
  --text: #F1F2EE;
  --muted: #8E948D;
  --sage: #8CA58A;
  --sage-l: #A9C3A6;
  --sage-d: #607960;
  --warn: #D4A95B;
  --err: #D0675F;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 16px 60px; background: rgba(18,19,17,0.78); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.nav-logo img { height: 32px; width: auto; display: block; }
.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ── HERO ── */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 60px; max-width: 1200px; margin: 0 auto; padding: 120px 60px 80px; position: relative; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 75% 45%, rgba(140,165,138,0.10), transparent 70%); pointer-events: none; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(140,165,138,0.10); border: 1px solid rgba(140,165,138,0.25); color: var(--sage-l); padding: 6px 16px; border-radius: 99px; font-size: 13px; font-weight: 500; margin-bottom: 28px; }
.hero-title { font-size: clamp(46px, 6.4vw, 88px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.0; margin-bottom: 26px; }
.hero-title em { font-style: normal; color: var(--sage); }
.hero-sub { font-size: 18px; color: var(--muted); line-height: 1.7; max-width: 480px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.wip-badge { display: inline-flex; align-items: center; background: var(--surface); color: var(--muted); padding: 12px 22px; border-radius: 12px; border: 1px dashed rgba(255,255,255,0.12); font-size: 14px; font-weight: 600; }
.btn-ghost { color: var(--text); padding: 12px 22px; border-radius: 12px; border: 1px solid var(--border); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); background: var(--surface); }
.hero-visual { position: relative; display: flex; justify-content: center; text-align: left; }
.hero-visual .phone { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.chip-float { position: absolute; z-index: 3; background: rgba(29,31,28,0.92); border: 1px solid var(--border); backdrop-filter: blur(12px); border-radius: 16px; padding: 12px 16px; box-shadow: 0 18px 40px rgba(0,0,0,0.35); font-size: 13px; white-space: nowrap; opacity: 0; animation: chipIn 0.8s cubic-bezier(0.16,1,0.3,1) forwards; }
.chip-float b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }
.chip-float span { color: var(--muted); }
.chip-float.c1 { top: 12%; left: -4%; animation-delay: 0.6s; }
.chip-float.c2 { top: 46%; right: -6%; animation-delay: 0.9s; }
.chip-float.c3 { bottom: 12%; left: 0; animation-delay: 1.2s; }
.chip-float.c3 b { color: var(--err); }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── FEATURE-SEKTIONEN (scrollgesteuert) ── */
.feat { position: relative; min-height: 210vh; }
.feat-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.feat-inner { width: 100%; max-width: 1200px; padding: 60px 60px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feat-visual { display: flex; justify-content: center; position: relative; }
.feat-num { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--sage); margin-bottom: 14px; }
.feat-title { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 18px; text-wrap: balance; }
.feat-desc { font-size: 17px; color: var(--muted); line-height: 1.75; margin-bottom: 24px; max-width: 460px; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feat-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #B9BEB7; }
.feat-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }
.feat-bar { margin-top: 32px; width: 160px; height: 3px; border-radius: 99px; background: var(--surface2); overflow: hidden; }
.feat-bar i { display: block; height: 100%; width: 0; background: var(--sage); border-radius: 99px; }

/* ── PHONE ── */
.phone { --pw: min(300px, 78vw, calc((100vh - 150px) * 0.484)); width: var(--pw); max-width: 100%; aspect-ratio: 300 / 620; font-size: calc(var(--pw) / 30); background: #0B0B0A; border-radius: 4.6em; padding: 0.9em; box-shadow: 0 0 0 1px rgba(255,255,255,0.10), 0 40px 80px rgba(0,0,0,0.55), 0 0 120px rgba(140,165,138,0.08); position: relative; flex-shrink: 0; }
.phone::before { content: ''; position: absolute; top: 1.7em; left: 50%; transform: translateX(-50%); width: 8.4em; height: 2.4em; background: #000; border-radius: 99px; z-index: 5; }
.phone-screen {
  --p-bg: #1B1C1A; --p-card: #262825; --p-card2: #30322E; --p-text: #F2F2EF; --p-muted: #9A9E98; --p-line: rgba(255,255,255,0.07);
  position: relative; width: 100%; height: 100%; border-radius: 4.63em; overflow: hidden; font-size: 0.82em; background: var(--p-bg); color: var(--p-text);
  transition: background 0.6s, color 0.6s;
}
.phone-screen.light { --p-bg: #F8F5EE; --p-card: #FFFFFF; --p-card2: #EFEAE0; --p-text: #252925; --p-muted: #6E746F; --p-line: #E5E7E1; }
.phone-screen * { transition: background-color 0.6s, color 0.6s, border-color 0.6s; }
.ps-status { display: flex; justify-content: space-between; align-items: center; padding: 1.8em 2.6em 0; font-size: 1.35em; font-weight: 600; height: 4.4em; }
.ps-status .bat { width: 2.2em; height: 1.05em; border-radius: 0.3em; background: #4CD964; }
.ps-body { padding: 0 1.8em; }
.ps-top { display: flex; justify-content: space-between; height: 3.8em; align-items: center; }
.ps-round { width: 3.6em; height: 3.6em; border-radius: 50%; background: var(--p-card2); display: flex; align-items: center; justify-content: center; font-size: 1em; color: var(--sage-l); }
.ps-round .ico { font-size: 1.8em; }
.ps-h1 { font-size: 3em; font-weight: 700; letter-spacing: -0.02em; margin: 0.5em 0 0.45em; }
.ps-top + .ps-h1 { margin-top: 0.1em; }
.ps-label { font-size: 1.4em; font-weight: 600; color: var(--p-muted); margin: 1.2em 0 0.6em 0.9em; }
.ps-card { background: var(--p-card); border-radius: 1.8em; border: 1px solid var(--p-line); overflow: hidden; }
.ps-row { display: flex; align-items: center; gap: 1.1em; padding: 1.25em 1.4em; position: relative; }
.ps-row + .ps-row::before { content: ''; position: absolute; top: 0; left: 5.5em; right: 1.4em; height: 1px; background: var(--p-line); }
.ps-ico { width: 3.9em; height: 3.9em; border-radius: 50%; background: var(--p-card2); color: var(--sage-l); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ps-ico .ico { font-size: 1.9em; }
.ps-main { flex: 1; min-width: 0; }
.ps-name { font-size: 1.55em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-sub { font-size: 1.25em; color: var(--p-muted); margin-top: 0.15em; }
.ps-warn { font-size: 1.2em; color: var(--warn); margin-top: 0.15em; }
.ps-right { text-align: right; }
.ps-tlbl { font-size: 1.15em; color: var(--p-muted); }
.ps-time { font-size: 2.1em; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ps-chev { color: var(--p-muted); font-size: 1.5em; }
.ps-chips { display: flex; gap: 0.7em; margin: 0 -1.8em 1.6em; padding: 0 1.8em; overflow: hidden; }
.ps-chip { flex-shrink: 0; padding: 0.7em 1.3em; border-radius: 1.2em; background: var(--p-card2); font-size: 1.35em; }
.ps-chip.on { background: var(--sage-l); color: #1B1C1A; font-weight: 600; }
.ps-tabbar { position: absolute; left: 1.2em; right: 1.2em; bottom: 1.6em; height: 6em; border-radius: 3em; background: rgba(58,60,56,0.92); border: 1px solid rgba(255,255,255,0.08); display: grid; grid-template-columns: repeat(4, 1fr); padding: 0.4em; }
.phone-screen.light .ps-tabbar { background: rgba(255,255,255,0.92); border-color: #E5E7E1; }
.ps-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2em; border-radius: 2.6em; font-size: 1.05em; font-weight: 500; color: var(--p-text); }
.ps-tab .ico { font-size: 2.2em; }
.ps-tab.on { background: rgba(0,0,0,0.28); color: var(--sage-l); }
.phone-screen.light .ps-tab.on { background: var(--p-card2); color: var(--sage-d); }

/* Heute-Karte */
.ps-due-card { padding: 1.5em; display: flex; gap: 1.1em; align-items: flex-start; position: relative; }
.ps-big { font-size: 4em; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0.1em 0 0.12em; position: relative; height: 1.1em; }
.ps-big span { position: absolute; left: 0; top: 0; white-space: nowrap; }
.ps-done-btn { position: absolute; top: 1.4em; right: 1.4em; display: grid; background: var(--sage-l); color: #1B1C1A; border-radius: 2em; padding: 0.7em 1em; font-size: 1.25em; white-space: nowrap; font-weight: 600; transform-origin: center; }
.ps-done-btn .ico { font-size: 1.2em; stroke-width: 2.4; }
.ps-done-btn .lbl { grid-area: 1 / 1; display: flex; align-items: center; justify-content: center; gap: 0.45em; }
.ps-due-card .ps-name { white-space: normal; padding-right: 8.6em; line-height: 1.25; }
.ps-due-card .ps-big { font-size: 3.4em; }
.ps-mini { display: flex; align-items: center; gap: 1em; padding: 1em 1.4em; font-size: 1.5em; }
.ps-mini + .ps-mini { border-top: 1px solid var(--p-line); }
.ps-mini .ok { width: 1.45em; height: 1.45em; border-radius: 50%; background: var(--sage-l); color: #1B1C1A; display: flex; align-items: center; justify-content: center; }
.ps-mini .ok .ico { font-size: 0.8em; stroke-width: 3; }
.ps-mini .when { margin-left: auto; color: var(--p-muted); font-size: 0.85em; }
.tap-ring { position: absolute; width: 4.4em; height: 4.4em; border-radius: 50%; border: 0.25em solid rgba(255,255,255,0.85); background: rgba(255,255,255,0.18); pointer-events: none; opacity: 0; z-index: 6; }

/* Detailseite / Rhythmus */
.ps-dhead { text-align: center; margin: 0.6em 0 1.6em; }
.ps-dhead .ps-ico { margin: 0 auto 0.8em; width: 5.2em; height: 5.2em; }
.ps-dhead .ps-ico .ico { font-size: 2.5em; }
.ps-dname { font-size: 2.1em; font-weight: 700; }
.ps-dcat { font-size: 1.3em; color: var(--p-muted); margin-top: 0.2em; }
.ps-hero-card { padding: 1.8em; text-align: center; margin-bottom: 1.2em; }
.ps-hero-num { font-size: 6.2em; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ps-hero-unit { font-size: 2em; font-weight: 700; }
.ps-rhythm { padding: 1.5em 1.6em; }
.ps-rhythm-top { display: flex; justify-content: space-between; font-size: 1.4em; margin-bottom: 1em; }
.ps-rhythm-top b { font-weight: 600; transition: color 0.3s; }
.ps-track { height: 0.9em; border-radius: 99px; background: var(--p-card2); position: relative; overflow: hidden; }
.ps-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 99px; background: var(--sage); transition: background 0.3s; }
.ps-ticks { display: flex; justify-content: space-between; font-size: 1.1em; color: var(--p-muted); margin-top: 0.6em; }
.st-ok { color: var(--p-muted); }
.st-warn { color: var(--warn); }
.st-err { color: var(--err); }

/* Sperrbildschirm */
.lock { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, #5E7A5C 0%, #2C3A2B 45%, #121611 100%); color: #fff; text-align: center; }
.lock-date { font-size: 1.6em; font-weight: 500; margin-top: 5.2em; opacity: 0.85; }
.lock-time { font-size: 8.4em; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.notif { position: absolute; left: 1.2em; right: 1.2em; background: rgba(245,245,240,0.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #1B1C1A; border-radius: 2em; padding: 1.3em 1.4em; display: flex; gap: 1.1em; text-align: left; opacity: 0; box-shadow: 0 1em 3em rgba(0,0,0,0.25); }
.notif-app { width: 3.8em; height: 3.8em; border-radius: 0.9em; flex-shrink: 0; display: block; }
.notif-meta { display: flex; justify-content: space-between; font-size: 1.15em; color: #5C615B; margin-bottom: 0.2em; }
.notif-title { font-size: 1.45em; font-weight: 700; }
.notif-body { font-size: 1.35em; color: #3A3F39; margin-top: 0.1em; }

/* Formular */
.ps-field { background: var(--p-card); border-radius: 1.5em; padding: 1.3em 1.5em; font-size: 1.55em; display: flex; justify-content: space-between; align-items: center; min-height: 2.9em; }
.ps-field .ph { color: var(--p-muted); }
.ps-field .val { color: var(--sage-l); }
.phone-screen.light .ps-field .val { color: var(--sage-d); }
.ps-caret { display: inline-block; width: 1px; height: 1.1em; background: var(--sage-l); vertical-align: -0.15em; margin-left: 1px; }
.ps-icons-row { display: flex; gap: 0.8em; padding: 1.2em 1.3em; background: var(--p-card); border-radius: 1.8em; }
.ps-icons-row .ps-ico { width: 3.9em; height: 3.9em; border: 0.15em solid transparent; transition: border-color 0.3s; }
.ps-icons-row .ps-ico.sel { border-color: var(--sage-l); }
.ps-options { margin-top: 0.8em; background: var(--p-card); border-radius: 1.6em; overflow: hidden; }
.ps-opt { padding: 0.95em 1.5em; font-size: 1.4em; display: flex; justify-content: space-between; }
.ps-opt + .ps-opt { border-top: 1px solid var(--p-line); }
.ps-opt .ico { color: var(--sage-l); stroke-width: 2.4; opacity: 0; }
.ps-opt.sel .ico { opacity: 1; }
.ps-save { position: absolute; left: 1.8em; right: 1.8em; bottom: 2em; background: var(--sage-l); color: #1B1C1A; text-align: center; border-radius: 1.6em; padding: 1.2em; font-size: 1.6em; font-weight: 600; opacity: 0.45; transition: opacity 0.3s; }
.ps-save.ready { opacity: 1; }

/* Segmented Control */
.ps-seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--p-card2); border-radius: 1.4em; padding: 0.35em; font-size: 1.4em; font-weight: 600; }
.ps-seg span { position: relative; z-index: 1; text-align: center; padding: 0.55em 0; }
.ps-seg-pill { position: absolute; top: 0.35em; bottom: 0.35em; left: 0.35em; width: calc((100% - 0.7em) / 3); border-radius: 1.1em; background: rgba(255,255,255,0.22); transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), background 0.6s; }
.phone-screen.light .ps-seg-pill { background: #fff; box-shadow: 0 0.1em 0.4em rgba(0,0,0,0.12); }

/* Einblend-Hilfe für JS */
.js-in { opacity: 0; transform: translateY(1.2em); }

/* ── ALLE FUNKTIONEN ── */
.section { max-width: 1200px; margin: 0 auto; padding: 120px 60px; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--sage); text-transform: uppercase; margin-bottom: 14px; }
.section-title { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 56px; max-width: 700px; }
.cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cell { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 30px 28px; transition: border-color 0.3s, transform 0.3s; }
.cell:hover { border-color: rgba(140,165,138,0.35); transform: translateY(-2px); }
.cell .ico { font-size: 26px; color: var(--sage); margin-bottom: 18px; }
.cell h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.cell p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Anwendungsfälle */
.uses { padding: 20px 0 40px; overflow: hidden; }
.uses .section-label { text-align: center; }
.uses h2 { text-align: center; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 40px; }
.marquee { display: flex; width: max-content; gap: 14px; animation: marquee 40s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.use { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 14px 20px; white-space: nowrap; font-size: 15px; }
.use b { color: var(--sage-l); font-weight: 600; }
.use.late b { color: var(--err); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Status */
.status-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, rgba(140,165,138,0.10), rgba(140,165,138,0.02)); border: 1px solid rgba(140,165,138,0.22); border-radius: 28px; padding: 56px; }
.status-card h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.status-icon { display: block; width: 72px; height: 72px; margin-bottom: 22px; border-radius: 16px; box-shadow: 0 14px 34px rgba(0,0,0,0.4); }
.status-card p { color: var(--muted); font-size: 16px; line-height: 1.75; margin-bottom: 26px; max-width: 520px; }
.btn-sage { display: inline-block; background: var(--sage); color: #10140F; padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.btn-sage:hover { background: var(--sage-l); transform: translateY(-1px); }
.status-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.status-list li { display: flex; justify-content: space-between; gap: 16px; background: rgba(0,0,0,0.2); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; font-size: 14px; }
.status-list span { color: var(--muted); }
.status-list b { font-weight: 600; }
.status-list b.now { color: var(--warn); }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 36px 60px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-copy { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.footer-copy img { width: 22px; height: 22px; }
.footer-links { list-style: none; display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ── DESKTOP: Zickzack nur hier, damit Mobile nie überstimmt wird ── */
@media (min-width: 901px) {
  .feat--flip .feat-visual { order: -1; }
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 110px 24px 60px; gap: 56px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .chip-float { display: none; }
  .feat { min-height: 0; }
  .feat-sticky { position: static; height: auto; overflow: visible; padding: 70px 0; }
  .feat-inner { grid-template-columns: 1fr; gap: 44px; padding: 0 24px; }
  .feat-bar { display: none; }
  .section { padding: 80px 24px; }
  .cells { grid-template-columns: 1fr; }
  .status-card { grid-template-columns: 1fr; padding: 32px 24px; }
  footer { padding: 28px 24px; flex-direction: column; text-align: center; }
  .footer-copy { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual .phone, .marquee { animation: none; }
  .chip-float { animation: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
