/* Punkti · Seite. Ethereal Glass: tiefes Schwarz, Glasscheiben mit Doppelrand, Punktringe. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #050507;
  --ink: #f4f3f8;
  --ink-2: rgba(244, 243, 248, 0.66);
  --ink-3: rgba(244, 243, 248, 0.42);
  --hair: rgba(255, 255, 255, 0.10);
  --glass: rgba(255, 255, 255, 0.045);
  --accent: #b69cff;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* Hintergrund: Canvas (Shaders) über statischem Verlauf als Rückfall */
.bg {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(120, 80, 255, 0.28), transparent 70%),
    radial-gradient(50% 45% at 12% 30%, rgba(40, 110, 255, 0.16), transparent 70%),
    var(--bg);
}
.bg canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease); }
.bg.live canvas { opacity: 0.9; }
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

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

/* Navigation: schwebende Glaskapsel */
.nav-wrap { position: fixed; top: 20px; left: 0; right: 0; z-index: 10; display: flex; justify-content: center; pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 28px;
  padding: 8px 10px 8px 14px; border-radius: 999px;
  background: rgba(14, 14, 20, 0.6);
  border: 1px solid var(--hair);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color .5s var(--ease), background .5s var(--ease); }
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,0.07); }

/* Typografie */
.eyebrow {
  display: inline-block; margin: 0 0 22px; padding: 6px 14px; border-radius: 999px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-2); background: var(--glass); border: 1px solid var(--hair);
}
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.04; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.2; }
.lead { margin: 26px 0 0; max-width: 34em; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); }
.mut { color: var(--ink-3); }

.section { padding: clamp(96px, 14vw, 176px) 0; }
.hero { min-height: 100dvh; display: flex; align-items: center; padding: 140px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 32px 0 0; font-size: 14px; color: var(--ink-2); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }

/* Doppelrand: äußere Schale + innerer Kern */
.shell {
  padding: 8px; border-radius: 2rem;
  background: rgba(255,255,255,0.035); border: 1px solid var(--hair);
}
.core {
  border-radius: calc(2rem - 8px); padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.14);
}

/* Uhr im Hero */
.hero-visual { max-width: 400px; justify-self: end; width: 100%; }
.clock-core { position: relative; aspect-ratio: 1; padding: 20px; display: grid; place-items: center; }
.clock-core svg { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); }
.clock-time { position: relative; font-size: clamp(2.6rem, 6vw, 3.8rem); font-weight: 300; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.clock-sub { position: absolute; bottom: 27%; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.caption { margin: 18px 6px 0; font-size: 13px; color: var(--ink-3); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 64px; }
.b-uhr { grid-column: span 7; }
.b-datum { grid-column: span 5; }
.b-akku { grid-column: span 5; }
.b-kal { grid-column: span 7; }
.bento .core { display: grid; grid-template-columns: 148px 1fr; gap: 28px; align-items: center; min-height: 220px; }
.bento .w-text p { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); }
.ring { width: 148px; height: 148px; }
.more { margin-top: 36px; color: var(--ink-3); font-size: 15px; }

/* Zweispalter */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.tick { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; color: var(--ink-2); }
.tick li { position: relative; padding-left: 28px; }
.tick li::before { content: ""; position: absolute; left: 4px; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* Starter */
.st-grid { margin: 0; padding: 4px 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 8px; }
.st-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); text-align: center; }
.st-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,0.08); border: 0.5px solid rgba(255,255,255,0.2); }
.st-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; color: var(--ink); }

.limits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.limits .core { min-height: 190px; }
.limits p { margin: 12px 0 0; font-size: 15px; color: var(--ink-2); }

/* Knopf: Kapsel mit Symbol in eigener Insel */
.pill {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 28px;
  padding: 8px 8px 8px 24px; border-radius: 999px;
  background: var(--ink); color: #0a0a10; font-weight: 600; font-size: 15px;
  transition: transform .6s var(--ease);
}
.pill:active { transform: scale(0.98); }
.pill-ico {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,0.08); font-style: normal; font-size: 16px;
  transition: transform .6s var(--ease);
}
.pill:hover .pill-ico { transform: translate(2px, -2px) scale(1.06); }

.foot { border-top: 1px solid var(--hair); padding: 36px 0 48px; color: var(--ink-3); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot .brand { color: var(--ink-2); font-size: 15px; }
.foot a:hover { color: var(--ink); }

/* Erscheinen beim Scrollen: nur transform, opacity, filter */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(10px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }

/* Rechtliche Seiten */
body.legal { font-size: 16px; }
.legal main { padding: 120px 0 80px; }
.legal .wrap { width: min(720px, 100% - 48px); }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-top: 28px; }
.legal h2 { font-size: 1.25rem; margin: 40px 0 12px; letter-spacing: -0.02em; }
.legal .lead { margin-top: 12px; font-size: 1.05rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal a:not(.brand) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 3px; }
.legal .card { padding: 18px 22px; border-radius: 1.2rem; background: var(--glass); border: 1px solid var(--hair); }
.legal .card p { margin: 0; }
.legal .small { font-size: 14px; color: var(--ink-3); margin-top: 10px; }
.legal ul { padding-left: 20px; }
.legal code { font-size: 0.92em; padding: 1px 6px; border-radius: 6px; background: var(--glass); }

@media (max-width: 767px) {
  .wrap { width: calc(100% - 32px); }
  .nav { gap: 12px; padding-left: 12px; }
  .nav-links a { padding: 8px 9px; font-size: 13px; }
  .nav-links a:nth-child(n+3) { display: none; }
  .hero { padding-top: 120px; min-height: auto; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-self: center; }
  .bento, .limits { grid-template-columns: 1fr; }
  .b-uhr, .b-datum, .b-akku, .b-kal { grid-column: auto; }
  .bento .core { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 88px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .bg canvas { display: none; }
}
