/* Schmalfilm – Produktseite. Dunkel, warm, Akzent in Kodak-Gelb wie die App. */
:root {
  --bg: #0b0a09;
  --bg-alt: #13110e;
  --surface: #1b1814;
  --line: rgba(242, 236, 226, 0.10);
  --text: #f2ece2;
  --muted: #a89f92;
  --accent: #e8b94a;
  --accent-ink: #1a1305;
  --red: #b0453a;
  --radius: 18px;
  --wrap: 1180px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* feines Filmkorn über der ganzen Seite */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: 0.06;
  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='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.08; font-weight: 700; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin: 18px 0 8px; }
p { margin: 0 0 14px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.sub { color: var(--muted); font-size: 1.12rem; }
.sub.small { font-size: 0.98rem; }
.fineprint { color: var(--muted); font-size: 0.85rem; opacity: 0.85; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--accent-ink); font: 600 1rem var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(232, 185, 74, 0.28); }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-ghost { background: rgba(242, 236, 226, 0.08); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: rgba(242, 236, 226, 0.14); box-shadow: inset 0 0 0 1px rgba(242,236,226,.2); }
.btn-ghost[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.btn-small { padding: 9px 18px; font-size: 0.92rem; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 28px;
  padding: 14px 28px; transition: background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { background: rgba(11, 10, 9, 0.78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; font-size: 1.08rem; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.95rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,10,9,.55) 0%, rgba(11,10,9,.08) 35%, rgba(11,10,9,.55) 70%, var(--bg) 100%),
              radial-gradient(ellipse at 30% 80%, rgba(11,10,9,.65), transparent 60%);
}
.hero-inner { position: relative; max-width: var(--wrap); width: 100%; margin: 0 auto; padding: 0 28px 13vh; }
.hero h1 { max-width: 15ch; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #e2d9cc; max-width: 36rem; margin: 22px 0 32px; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 13px; box-shadow: inset 0 0 0 2px rgba(242,236,226,.4); }
.scroll-hint span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: wheel 1.8s ease infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(90px, 12vw, 150px) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section .center + .wrap { margin-top: 54px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-rev { grid-template-columns: 1fr 1.05fr; }

/* ---------- Vorher/Nachher ---------- */
.compare {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; cursor: ew-resize; user-select: none;
  touch-action: pan-y; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px var(--line); --pos: 50%;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--text); box-shadow: 0 0 18px rgba(0,0,0,.5); }
.compare-handle span {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: var(--text); box-shadow: 0 6px 24px rgba(0,0,0,.45);
}
.compare-handle span::before, .compare-handle span::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; margin-top: -6px;
}
.compare-handle span::before { left: 8px; border-right-color: var(--bg); }
.compare-handle span::after { right: 8px; border-left-color: var(--bg); }
.compare-label { position: absolute; top: 18px; padding: 6px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(11,10,9,.62); backdrop-filter: blur(8px); }
.compare-label.left { left: 18px; } .compare-label.right { right: 18px; color: var(--accent); }

/* ---------- Looks ---------- */
.looks { display: grid; grid-template-columns: 1fr 330px; gap: 22px; align-items: stretch; }
.look-player { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px var(--line); }
.look-player video { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sound-toggle {
  position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border: 0; border-radius: 999px;
  background: rgba(11,10,9,.66); color: var(--text); font: 600 0.9rem var(--sans); cursor: pointer; backdrop-filter: blur(10px);
}
.sound-toggle .ico { width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat;
  --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 9v6h4l5 4V5L7 9H3zm13.6 3 2.7-2.7-1.4-1.4-2.7 2.7-2.7-2.7-1.4 1.4 2.7 2.7-2.7 2.7 1.4 1.4 2.7-2.7 2.7 2.7 1.4-1.4z'/></svg>"); }
.sound-toggle[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.sound-toggle[aria-pressed="true"] .ico { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 9v6h4l5 4V5L7 9H3zm13.5 3A4.5 4.5 0 0 0 14 8v8a4.5 4.5 0 0 0 2.5-4zM14 3.2v2.1a7 7 0 0 1 0 13.4v2.1a9 9 0 0 0 0-17.6z'/></svg>"); }
.look-tabs { display: flex; flex-direction: column; gap: 12px; }
.look-tab {
  flex: 1; display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; text-align: left; align-items: start;
  padding: 12px; border-radius: 14px; border: 0; background: var(--surface); color: var(--text); cursor: pointer; font: inherit;
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s, transform .2s;
}
.look-tab img { grid-row: 1 / 3; width: 96px; height: 64px; object-fit: cover; border-radius: 8px; }
.look-tab strong { font-size: 1.02rem; }
.look-tab span { color: var(--muted); font-size: 0.86rem; line-height: 1.4; }
.look-tab:hover { background: #221e18; }
.look-tab.active { box-shadow: inset 0 0 0 2px var(--accent); background: #221d14; }

/* ---------- Film-Look ---------- */
.checks { list-style: none; padding: 0; margin: 26px 0 0; }
.checks li { position: relative; padding: 9px 0 9px 34px; border-top: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.stat { background: var(--bg); padding: 26px 24px; }
.stat b { display: block; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.92rem; }

/* ---------- Kamera ---------- */
.phones { position: relative; height: 640px; }
.phone {
  position: absolute; margin: 0; width: 290px; border-radius: 42px; padding: 10px; background: #050505; left: 12%; top: 0; z-index: 2;
  box-shadow: 0 0 0 2px #2c2923, 0 50px 90px -30px rgba(0,0,0,.9);
}
.phone img { border-radius: 33px; width: 100%; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: #111; box-shadow: inset 0 0 0 2px #222; z-index: 3; }
.phone-back { left: 46%; top: 70px; z-index: 1; transform: rotate(4deg); opacity: .92; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 32px 0 0; }
.features dt { font-weight: 700; margin-bottom: 4px; }
.features dt::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 2px; }
.features dd { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Ton ---------- */
.decades { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(7, 1fr); position: relative; }
.decades::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent) 8%, var(--accent) 92%, transparent); opacity: .5; }
.decades li { position: relative; padding: 38px 10px 0; text-align: center; }
.decades li::before { content: ""; position: absolute; top: 5px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 3px var(--accent); }
.decades b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.45rem; color: var(--accent); margin-bottom: 10px; }
.decades span { display: block; color: var(--muted); font-size: 0.84rem; line-height: 1.35; margin-bottom: 6px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 80px !important; }
.card { background: var(--surface); border-radius: var(--radius); padding: 14px 14px 22px; box-shadow: inset 0 0 0 1px var(--line); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 10px; }
.card h3, .card p { padding: 0 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Demo ---------- */
.section-demo { background: radial-gradient(ellipse at 50% 0%, #1d1810 0%, var(--bg) 60%); }
.demo { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.demo-stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px var(--line); }
.demo-stage canvas { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.demo-msg { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; text-align: center; background: rgba(11,10,9,.85); color: var(--muted); }
.demo-msg[hidden] { display: none; }
.demo-badge { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(11,10,9,.6); font: 600 0.78rem var(--sans); letter-spacing: .06em; backdrop-filter: blur(6px); }
.demo-panel { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 18px; }
.ctl-label { display: block; font-size: 0.75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.ctl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg#lookSeg { display: grid; grid-template-columns: 1fr 1fr; }
.seg button { flex: 1 1 auto; padding: 8px 12px; border: 0; border-radius: 999px; background: rgba(242,236,226,.07); color: var(--text); font: 500 0.88rem var(--sans); cursor: pointer; transition: background .2s; }
.seg button:hover { background: rgba(242,236,226,.13); }
.seg button.active { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.sliders { display: grid; gap: 10px; }
.sliders label { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--v, 50%), rgba(242,236,226,.15) var(--v, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(242,236,226,.15); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--text); border: 0; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--text); border: 0; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.92rem; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 40px; height: 24px; border-radius: 12px; background: rgba(242,236,226,.18); position: relative; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text); transition: transform .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(16px); background: var(--accent-ink); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.section-demo .fineprint { margin-top: 26px; }

/* ---------- Geschichte ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), rgba(232,185,74,.1)); }
.timeline li { position: relative; padding: 0 0 26px; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 3px var(--accent); }
.timeline b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; color: var(--accent); }
.timeline span { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 50px 0 60px; color: var(--muted); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; margin-bottom: 14px; }
.footer p { margin: 0 0 8px; }

/* ---------- Einblenden beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav .btn-small { margin-left: auto; }
  .split, .split-rev, .looks, .demo { grid-template-columns: 1fr; }
  .look-tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .look-tab { min-width: 250px; scroll-snap-align: start; }
  .phones { height: 560px; max-width: 460px; margin: 0 auto; width: 100%; }
  .phone { width: 250px; left: 2%; }
  .phone-back { left: 38%; }
  .decades { grid-template-columns: repeat(4, 1fr); row-gap: 30px; }
  .decades::before { display: none; }
  .cards3 { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav { padding: 12px 18px; }
  .hero-inner { padding: 0 18px 14vh; }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; }
  .phones { height: 480px; }
  .phone { width: 210px; border-radius: 34px; padding: 8px; }
  .phone img { border-radius: 27px; }
  .decades { grid-template-columns: repeat(2, 1fr); }
  .sliders label { grid-template-columns: 82px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after, .scroll-hint span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
