/* Kühlbär — Redesign «Kino + Woche»: nachts am Kühlschrank, dann eine Woche mit der App.
   Bewegung nach Emil Kowalski: ease-out, nur transform/opacity, Hover nur bei feinem Zeiger. */

@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/jakarta-latin.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/jakarta-latin-ext.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #1b1b18;
  --ink-soft: #4a514c;
  --white: #ffffff;
  --stone: #f1f1ee;
  --night: #0b0d0c;
  --night-2: #141816;
  --moon: #f2efe8;          /* Schrift auf Nacht */
  --moon-soft: #b9b4aa;
  --deep: #14532d;          /* Tiefgrün (ADR 0002) */
  --accent: #15803d;        /* Aktion, dunkel genug für weisse Schrift */
  --fresh: #16a34a;

  --margin: clamp(16px, 4vw, 64px);
  --section: clamp(88px, 9vw, 152px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --t-hero: clamp(3rem, 1.2rem + 4.6vw, 6.25rem);
  --t-h2: clamp(2.25rem, 1.2rem + 2.4vw, 3.75rem);
  --t-h3: clamp(1.75rem, 1.2rem + 1.2vw, 2.5rem);
  --t-lead: 1.1875rem;
  --t-body: 1.125rem;
  --t-small: 0.9375rem;
}

*, *::before, *::after { 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(--night); color: var(--ink); font-family: "Jakarta", system-ui, -apple-system, sans-serif; font-size: var(--t-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--fresh); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 12px 16px; background: var(--white); color: var(--ink); font-weight: 700; }
.skip:focus { top: 12px; }

h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
h3 { font-size: var(--t-h3); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.small { font-size: var(--t-small); color: var(--ink-soft); }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--fresh); }

/* Knöpfe: drücken = 0.97, Hover nur mit Maus */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; font-weight: 800; font-size: 1.0625rem; text-decoration: none; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn--moon { background: var(--moon); color: var(--ink); }
.btn--green { background: var(--accent); color: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .btn--moon:hover { background: var(--white); }
  .btn--green:hover { background: var(--deep); }
}

/* Einblenden (nur mit JS, sonst sofort sichtbar) */
.in { animation: rise 560ms var(--ease-out) both; animation-delay: calc(var(--d, 0) * 60ms + 120ms); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 560ms var(--ease-out), transform 640ms var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .in { animation-name: fade; }
  @keyframes fade { from { opacity: 0; } }
  .js [data-reveal] { transform: none; transition: opacity 400ms ease; }
}

/* ── Kopfzeile ── */
.bar { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 32px; padding: 22px var(--margin); color: var(--moon); }
.bar a { text-decoration: none; }
.bar__mark { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.bar__mark img { width: 30px; height: 30px; border-radius: 8px; }
.bar__links { display: flex; gap: 28px; font-size: var(--t-small); font-weight: 600; }
.bar__get { font-size: var(--t-small); font-weight: 800; padding-bottom: 2px; border-bottom: 2px solid currentColor; }
@media (hover: hover) and (pointer: fine) { .bar__links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 5px; } }

/* ── 1 · Nachts am Kühlschrank ── */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--night); color: var(--moon); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: 40% 50%; transform-origin: 45% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, transparent 38%, rgba(5, 7, 6, 0.62) 72%); } /* Lesbarkeit über dem Video */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero { view-timeline: --hero block; }
    .hero__video { animation: push linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
    @keyframes push { to { transform: scale(1.08); } }
  }
}
.hero__text { position: absolute; z-index: 2; right: var(--margin); bottom: clamp(56px, 11vh, 132px); width: min(540px, 40vw); }
.hero__title { font-size: var(--t-hero); line-height: 0.95; letter-spacing: -0.045em; font-weight: 800; }
.hero h1 { margin-top: 18px; font-size: var(--t-lead); line-height: 1.35; letter-spacing: -0.01em; font-weight: 700; color: #e6e1d8; }
.hero__lead { margin-top: 22px; font-size: var(--t-lead); color: #ddd8cf; max-width: 34ch; }
.hero .btn { margin-top: 32px; }
.hero__small { margin-top: 14px; font-size: var(--t-small); color: #cfc9bf; }

/* ── 2 · Schau rein ── */
.look { background: var(--night); color: var(--moon); padding-bottom: var(--section); }
.look__media { position: relative; }
.look__media video { width: 100%; aspect-ratio: 16 / 9; max-height: 82svh; object-fit: cover; object-position: 50% 55%; }
.look__shot { position: absolute; right: var(--margin); bottom: -22%; width: clamp(190px, 17vw, 270px); }
.look__text { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; padding: clamp(48px, 5vw, 80px) var(--margin) 0; }
.look h2, .look p { grid-column: 1 / 8; }
.look h2 { max-width: 16ch; }
.look p { margin-top: 24px; color: #ddd8cf; max-width: 46ch; }
.shot { border-radius: 28px; }

/* ── 3 · Eine Woche ── */
.week { background: var(--white); padding: var(--section) 0; }
.week__head { padding: 0 var(--margin); display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: end; }
.week__head h2 { grid-column: 1 / 8; }
.week__head p { grid-column: 9 / 13; font-size: var(--t-lead); color: var(--ink-soft); }
.days { position: sticky; top: 0; z-index: 4; display: flex; gap: clamp(14px, 2.4vw, 36px); margin-top: 56px; padding: 18px var(--margin); background: var(--white); font-size: var(--t-small); font-weight: 700; color: #9a9f9b; }
.days li { transition: color 200ms ease; }
.days .has { color: var(--ink-soft); }
.days [aria-current="true"] { color: var(--accent); }
.moments { display: grid; gap: clamp(120px, 12vw, 200px); padding: clamp(56px, 6vw, 96px) var(--margin) 0; }
.moment { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: center; scroll-margin-top: 80px; }
.moment__media { grid-column: 1 / 8; position: relative; }
.moment__text { grid-column: 9 / 13; }
.moment--flip .moment__media { grid-column: 6 / 13; grid-row: 1; }
.moment--flip .moment__text { grid-column: 1 / 5; grid-row: 1; }
.moment__pic { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.moment p { margin-top: 20px; max-width: 38ch; }
.moment .small { margin-top: 14px; }
.moment .link { display: inline-block; margin-top: 22px; }
.moment__shot { position: absolute; width: 30%; right: -5%; bottom: -10%; border-radius: 24px; }
.moment--flip .moment__shot { right: auto; left: -5%; }
.moment__shot--wide { width: 38%; border-radius: 22px; }
.moment__detail { position: absolute; width: 34%; right: -4%; top: -9%; aspect-ratio: 4 / 3; object-fit: cover; }
.moment--sat .moment__shot { right: auto; left: -4%; }
.toast { position: absolute; left: 7%; right: 7%; bottom: 8%; display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 16px; border-radius: 22px; background: #fafaf8; font-size: var(--t-small); line-height: 1.35; }
.toast img { width: 40px; height: 40px; border-radius: 10px; }
.toast b { display: block; }
.toast .app { color: var(--ink-soft); }

/* ── 4 · Zahlen + Gründer (Nacht) ── */
.ledger { background: var(--night); color: var(--moon); padding: var(--section) var(--margin); }
.ledger h2 { max-width: 14ch; }
.ledger__rows { margin-top: 64px; display: grid; gap: 40px; }
.fig { display: grid; grid-template-columns: minmax(200px, 4fr) 8fr; gap: 0 24px; align-items: baseline; }
.fig b { font-size: clamp(3rem, 1.6rem + 3.6vw, 5.5rem); line-height: 1; letter-spacing: -0.04em; font-weight: 800; font-variant-numeric: tabular-nums; }
.fig p { color: #ddd8cf; max-width: 52ch; }
.fig--ours b { color: #86d9a4; }
.founder { background: var(--night); color: var(--moon); padding: 0 var(--margin) var(--section); display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
.founder blockquote { grid-column: 3 / 12; font-size: clamp(1.5rem, 1rem + 1vw, 2rem); line-height: 1.3; letter-spacing: -0.025em; font-weight: 700; }
.founder figcaption { grid-column: 3 / 12; margin-top: 28px; color: var(--moon-soft); font-size: var(--t-small); }
.founder figcaption b { color: var(--moon); }

/* ── 5 · Vergleich ── */
.compare { background: var(--stone); padding: var(--section) var(--margin); }
.compare__wrap { margin-top: 48px; overflow-x: auto; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--t-small); }
th, td { padding: 16px 18px 16px 0; text-align: left; vertical-align: top; }
thead th { font-size: var(--t-small); color: var(--ink-soft); font-weight: 700; padding-bottom: 20px; }
tbody th { font-weight: 600; }
tbody tr:nth-child(odd) { background: rgba(0, 0, 0, 0.035); }
tbody th, thead th:first-child { padding-left: 16px; }
td:nth-child(2) { font-weight: 800; color: var(--deep); }
.compare .small { margin-top: 24px; max-width: 70ch; }

/* ── 6 · Preise ── */
.plans { background: var(--white); padding: var(--section) var(--margin); }
.plans__grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { padding: clamp(28px, 3.4vw, 48px); background: var(--stone); display: grid; align-content: start; }
.plan--premium { background: var(--deep); color: var(--moon); }
.plan h3 { font-size: var(--t-lead); letter-spacing: -0.01em; }
.plan__price { margin-top: 18px; font-size: clamp(2.5rem, 1.6rem + 2vw, 3.5rem); line-height: 1; letter-spacing: -0.04em; font-weight: 800; }
.plan__price small { display: block; margin-top: 10px; font-size: var(--t-small); letter-spacing: 0; font-weight: 600; opacity: 0.8; }
.plan ul { margin-top: 28px; display: grid; gap: 10px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--fresh); }
.plan .btn { margin-top: 32px; justify-self: start; }
.plan--premium .btn { background: var(--moon); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .plan--premium .btn:hover { background: var(--white); } }
.plans .small { margin-top: 24px; }

/* ── 7 · In Kürze + Fragen ── */
.facts { background: var(--stone); padding: var(--section) var(--margin); display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
.facts h2 { grid-column: 1 / 5; }
.facts dl { grid-column: 6 / 13; display: grid; grid-template-columns: 9rem 1fr; gap: 14px 24px; }
.facts dt { font-weight: 800; }
.faq { background: var(--white); padding: var(--section) var(--margin); display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
.faq h2 { grid-column: 1 / 5; }
.faq__list { grid-column: 6 / 13; display: grid; gap: 32px; }
.faq h3 { font-size: var(--t-lead); letter-spacing: -0.01em; line-height: 1.3; }
.faq__list p { margin-top: 8px; color: var(--ink-soft); }
@media (min-width: 1101px) { .facts h2, .faq h2 { position: sticky; top: 96px; align-self: start; } }

/* ── 8 · Schluss (Nacht) ── */
.end { background: var(--night); color: var(--moon); display: grid; grid-template-columns: 7fr 5fr; align-items: stretch; }
.end__text { padding: var(--section) var(--margin); align-self: center; }
.end h2 { font-size: var(--t-hero); line-height: 0.95; letter-spacing: -0.045em; }
.end p { margin-top: 24px; font-size: var(--t-lead); color: #ddd8cf; max-width: 36ch; }
.end .btn { margin-top: 32px; }
.end__pic { min-height: 560px; position: relative; overflow: hidden; }
.end__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* ── Fuss ── */
.foot { background: var(--night-2); color: var(--moon-soft); padding: 72px var(--margin) 40px; font-size: var(--t-small); }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.foot__cols p { color: var(--moon); font-weight: 800; margin-bottom: 12px; }
.foot__cols a, .foot__cols span { display: block; padding: 4px 0; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--moon); text-decoration: underline; } }
.foot__legal { margin-top: 56px; line-height: 1.7; }

/* ── Tablet ── */
@media (max-width: 1100px) {
  .bar__links { display: none; }
  .hero__text { width: min(520px, 56vw); }
  .look h2, .look p { grid-column: 1 / 9; }
  .week__head h2, .week__head p { grid-column: 1 / -1; }
  .week__head p { margin-top: 18px; }
  .moment__media, .moment--flip .moment__media { grid-column: 1 / 12; grid-row: auto; }
  .moment--flip .moment__media { grid-column: 2 / 13; }
  .moment__text, .moment--flip .moment__text { grid-column: 1 / -1; grid-row: auto; margin-top: 88px; }
  .founder blockquote, .founder figcaption { grid-column: 1 / -1; }
  .facts h2, .facts dl, .faq h2, .faq__list { grid-column: 1 / -1; }
  .facts dl, .faq__list { margin-top: 40px; }
  .end { grid-template-columns: 1fr; }
  .end__pic { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
}

/* ── Handy ── */
@media (max-width: 760px) {
  .bar { gap: 16px; padding-top: 16px; }
  .hero { min-height: 600px; }
  .hero__video { object-position: 24% 50%; transform-origin: 24% 50%; }
  .hero::after { inset: 35% 0 0; background: linear-gradient(transparent, rgba(5, 7, 6, 0.86) 45%); }
  .hero__text { left: var(--margin); right: var(--margin); width: auto; bottom: 36px; }
  .look__media video { aspect-ratio: 4 / 5; object-position: 52% 55%; }
  .look__shot { width: 36%; bottom: 5%; }
  .look h2, .look p { grid-column: 1 / -1; }
  .look__text { padding-top: 40px; }
  .days { position: static; flex-wrap: wrap; gap: 10px 16px; }
  .moment__media, .moment--flip .moment__media { grid-column: 1 / -1; }
  .moment__pic { aspect-ratio: 4 / 5; }
  .moment__shot, .moment--flip .moment__shot { width: 42%; right: -2%; left: auto; bottom: -12%; }
  .moment__shot--wide { width: 54%; }
  .moment__detail { width: 40%; right: -2%; top: -7%; }
  .moment--sat .moment__shot { left: -2%; right: auto; }
  .toast { left: 4%; right: 4%; }
  .moment__text, .moment--flip .moment__text { margin-top: 72px; }
  .fig { grid-template-columns: 1fr; gap: 10px; }
  .plans__grid { grid-template-columns: 1fr; }
  .facts dl { grid-template-columns: 1fr; gap: 4px; }
  .facts dd { margin-bottom: 14px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}
