/* AMC Black Week · Navigenio 1+1
   Basis: Look der AMC-Xmas-Seite (Off-White, Helvetica Neue, Pill-Buttons).
   Black-Week-Akzente: schwarze Bühnen (Header, Hero, Geschenk-Sektion) und AMC-Rot für Badge + Schleife. */

:root {
  --ink: #1a1a1a;
  --ink-70: rgba(26, 26, 26, .7);
  --ink-12: rgba(26, 26, 26, .12);
  --black: #0a0a0a;
  --white: #fff;
  --white-70: rgba(255, 255, 255, .72);
  --paper: #fafafa;
  --red: #c8102e;
  --font: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --container: 1200px;
  --gutter: 1.25rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 60px;
  --sticky-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.012em; font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(1.7rem, 8.2vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 6.4vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.line { display: block; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.eyebrow {
  display: block; margin-bottom: 1rem;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--ink-70);
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.45; color: var(--ink-70); max-width: 34em; }
.badge {
  display: inline-block; margin: 0 0 1rem; padding: .42rem .7rem .36rem;
  background: var(--red); color: var(--white);
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2;
}

/* Buttons – Pill wie auf at.amc.info */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .9rem 1.9rem;
  background: var(--ink); color: var(--white); border: 1px solid var(--ink); border-radius: 60px;
  font: inherit; font-size: 1rem; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light::before { background: var(--red); }
.btn-small { min-height: 40px; padding: .55rem 1.2rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }
@media (hover: hover) {
  .btn:hover { color: var(--ink); }
  .btn:hover::before { transform: translateY(0); }
  .btn-light:hover { color: var(--white); border-color: var(--red); }
}
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Header – schwarz, auf dem Handy nicht fixiert (dort übernimmt die Leiste unten) */
.site-header { background: var(--black); color: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: inline-flex; }
.logo img { height: 34px; width: auto; }
.header-date { margin: 0; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white-70); }
.header-inner .btn { display: none; }

/* ---------- 1 · Hero ---------- */
.hero { background: var(--black); color: var(--white); overflow: hidden; }
.hero-main { display: flex; flex-direction: column; }
.hero-media { position: relative; height: min(100vw, 46svh); min-height: 240px; background: #161616; }
.hero-media picture, .hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media video { position: absolute; inset: 0; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.2) 0%, rgba(10,10,10,0) 25%, rgba(10,10,10,0) 68%, var(--black) 100%);
}
.hero-copy { position: relative; z-index: 1; margin-top: -2.2rem; padding: 0 var(--gutter) 2.6rem; }
.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin: 0 0 1rem; }
.hero-tags .badge { margin: 0; font-size: .92rem; padding: .5rem .8rem .44rem; }
.hero-date { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.hero-copy h1 { margin-bottom: .8rem; }
.hero-lead { font-size: 1.08rem; color: rgba(255,255,255,.86); margin-bottom: 1.4rem; max-width: 26em; }
.hero-copy .btn { width: 100%; }
.hero-note { margin: .9rem 0 0; font-size: .8rem; color: var(--white-70); text-align: center; }
.hero-form { display: none; }
/* Einblendung per CSS – startet mit dem ersten Paint, unabhängig vom JS */
.hero-copy > * { animation: heroIn .6s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(12px); } }

/* ---------- 2 · Einer für dich ---------- */
.uses { padding: clamp(3.2rem, 8vw, 7rem) 0; }
.section-head { margin-bottom: clamp(1.6rem, 4vw, 3rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-head .lead { margin: 0; }
.tiles { display: grid; gap: .75rem; }
.tile { position: relative; margin: 0; overflow: hidden; background: #161616; color: var(--white); }
.tile img, .tile video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tile video { position: absolute; inset: 0; height: 100%; }
.tile-text {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 5rem 1.25rem 1.3rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.62) 45%, rgba(0,0,0,.86) 100%);
}
.tile h3 { margin-bottom: .35rem; }
.tile p { margin: 0; color: rgba(255,255,255,.9); max-width: 24em; }
.uses-cta { margin-top: 1.5rem; }
.uses-cta .btn { width: 100%; }

/* ---------- 3 · Einer zum Verschenken ---------- */
.gift { background: var(--black); color: var(--white); padding: clamp(3rem, 8vw, 7rem) 0 clamp(3.2rem, 8vw, 7rem); overflow: hidden; }
.gift-grid { display: grid; gap: 2rem; align-items: center; }
.gift-copy h2 { margin-bottom: 1rem; }
.gift-copy .badge { font-size: .92rem; padding: .5rem .8rem .44rem; }
.gift-copy .gift-text { margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.45; color: rgba(255,255,255,.82); max-width: 30em; }

/* Zwei Navigenios, einer mit Schleife */
.duo { position: relative; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 1 / .92; }
.duo-glow {
  position: absolute; inset: -12% -20%; z-index: 0; will-change: transform;
  background: radial-gradient(closest-side, rgba(255,255,255,.14), rgba(255,255,255,0) 100%);
}
/* Parallax: Position kommt per JS (transform), siehe main.js */
.duo-item { position: absolute; width: 68%; will-change: transform; }
.duo-item img { width: 100%; filter: drop-shadow(0 22px 26px rgba(0,0,0,.6)); }
.duo-a { left: 0; top: 0; z-index: 1; }
.duo-b { right: 0; bottom: 0; z-index: 2; }
/* Schleifenband: per Alpha-Maske exakt auf die Geräteform beschnitten */
.ribbon {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(../images/web/navigenio-oben.webp) center / 100% 100% no-repeat;
          mask: url(../images/web/navigenio-oben.webp) center / 100% 100% no-repeat;
}
.ribbon::before, .ribbon::after { content: ""; position: absolute; box-shadow: 0 0 14px rgba(0,0,0,.45); }
.ribbon::before {
  left: 62%; top: -5%; bottom: -5%; width: 8.5%;
  background: linear-gradient(90deg, #8d0b20 0%, #c8102e 22%, #e2334d 50%, #c8102e 78%, #8d0b20 100%);
}
.ribbon::after {
  top: 27%; left: -5%; right: -5%; height: 11%;
  background: linear-gradient(180deg, #8d0b20 0%, #c8102e 22%, #e2334d 50%, #c8102e 78%, #8d0b20 100%);
}
.bow { position: absolute; left: 66.25%; top: 32.5%; width: 40%; height: auto; transform: translate(-50%, -46%); filter: drop-shadow(0 8px 10px rgba(0,0,0,.5)); }

/* ---------- 4 · So geht's ---------- */
.steps { padding: clamp(3.2rem, 8vw, 6.5rem) 0 clamp(2.4rem, 5vw, 4rem); }
.steps h2 { margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; }
.steps-list li { display: flex; align-items: baseline; gap: 1.1rem; padding: 1.05rem 0; border-top: 1px solid var(--ink-12); }
.steps-list li:last-child { border-bottom: 1px solid var(--ink-12); }
.step-num { flex: none; width: 1.6rem; font-size: 2.1rem; line-height: 1; font-weight: 300; letter-spacing: -.02em; }
.steps-list p { margin: 0; font-size: 1.12rem; font-weight: 500; }

/* ---------- 5 · Formular ---------- */
.signup { padding: clamp(1.6rem, 5vw, 4rem) 0 clamp(3.2rem, 8vw, 7rem); scroll-margin-top: .5rem; }
.signup-grid { display: grid; gap: 1.6rem; }
.signup-copy h2 { margin-bottom: 1rem; }
.signup-copy > p strong, .form-intro strong { color: var(--ink); }
.signup-copy > p:not(.badge) { color: var(--ink-70); font-size: 1.08rem; margin: 0; max-width: 28em; }
.pair { display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; max-width: 460px; }
.pair img { flex: 1 1 0; min-width: 0; filter: drop-shadow(0 8px 10px rgba(0,0,0,.18)); }
.pair span { flex: none; font-size: 1.9rem; font-weight: 300; line-height: 1; color: var(--red); }

.form-card { background: var(--white); color: var(--ink); border: 1px solid var(--ink-12); padding: 1.4rem 1.15rem 1.5rem; }
.form-intro { margin: 0 0 1.2rem; font-size: .98rem; color: var(--ink-70); }
.form-row { display: grid; gap: .75rem; }
.form-row.two { grid-template-columns: 1fr 1fr; }
.form-row.mail { grid-template-columns: 1fr 6.2rem; }
.field { margin-bottom: .95rem; min-width: 0; }
.field label { display: block; font-weight: 500; font-size: .86rem; margin-bottom: .35rem; }
.field input:not([type="checkbox"]) {
  width: 100%; height: 50px; padding: 0 .85rem;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid rgba(26,26,26,.28); border-radius: 2px; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--ink-12); }
.field.invalid input:not([type="checkbox"]) { border-color: var(--red); }
.error { display: block; color: var(--red); font-size: .82rem; margin-top: .3rem; }
.error:empty { display: none; }
.field-consent { margin: .3rem 0 1.15rem; }
.field .checkbox { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400 !important; font-size: .86rem !important; line-height: 1.45; color: var(--ink-70); cursor: pointer; margin: 0 !important; }
.checkbox input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ink); }
.checkbox a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: .85rem 0 0; font-size: .8rem; color: var(--ink-70); text-align: center; }
.form-status { margin: .8rem 0 0; font-size: .9rem; color: var(--red); }
.form-status:empty { display: none; }
.form-success { padding: 1.6rem 0 1rem; text-align: center; animation: pop .5s var(--ease); }
.form-success h3 { margin-bottom: .5rem; }
.form-success p { margin: 0; color: var(--ink-70); }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }

/* ---------- FAQ ---------- */
.faq { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--white); border-top: 1px solid var(--ink-12); }
.faq-inner { max-width: 820px; }
.faq h2 { margin-bottom: 1.6rem; }
.faq-list details { border-top: 1px solid var(--ink-12); }
.faq-list details:last-child { border-bottom: 1px solid var(--ink-12); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 1.1rem 2.6rem 1.1rem 0; font-weight: 500; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.plus { position: absolute; right: 2px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--ink); transition: transform .35s var(--ease); }
.plus::before { left: 0; top: 7px; width: 16px; height: 1.5px; }
.plus::after { left: 7px; top: 0; width: 1.5px; height: 16px; }
details[open] .plus::after { transform: rotate(90deg); }
.faq-content { padding: 0 0 1.3rem; color: var(--ink-70); max-width: 42em; }
.faq-content p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding: 3rem 0 calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px)); font-size: .92rem; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.4rem; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--white-70); margin: 0; }
.footer-col h3 { font-size: .95rem; letter-spacing: 0; margin-bottom: .8rem; }
.footer-col a, .footer-col button {
  display: block; padding: .28rem 0; font: inherit; text-align: left; text-decoration: none;
  color: var(--white-70); background: none; border: 0; cursor: pointer; transition: color .2s;
}
.footer-col a:hover, .footer-col button:hover { color: var(--white); }
.footer-col p { color: var(--white-70); margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 1.2rem 0; color: rgba(255,255,255,.6); font-size: .84rem; }
.footer-bottom p { margin: 0; }

/* ---------- Fixe Leiste unten (Handy) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(10,10,10,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.12);
  transform: translateY(105%); visibility: hidden;
  transition: transform .4s var(--ease), visibility 0s .4s;
}
.sticky-cta.show { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.sticky-cta .btn { width: 100%; }

/* ---------- Cookie-Banner ---------- */
.consent {
  position: fixed; left: .6rem; right: .6rem; bottom: calc(.6rem + env(safe-area-inset-bottom, 0px)); z-index: 80;
  max-width: 460px; padding: .85rem .9rem .8rem;
  background: var(--white); color: var(--ink); border: 1px solid var(--ink-12); box-shadow: 0 14px 40px rgba(0,0,0,.28);
}
.consent[hidden] { display: none; }
.consent p { font-size: .8rem; line-height: 1.4; color: var(--ink-70); margin-bottom: .7rem; }
.consent p strong { color: var(--ink); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.consent-actions .btn { min-height: 40px; padding: .4rem .6rem; font-size: .86rem; }

/* ---------- Rechtsseiten ---------- */
.legal { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.legal-inner { max-width: 760px; }
.legal h1 { margin-bottom: 1.5rem; font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .6rem; }
.legal h3 { font-size: 1.05rem; margin: 1.6rem 0 .4rem; }
.legal p, .legal li { color: var(--ink-70); }
.legal ul { padding-left: 1.2rem; }
.legal a { word-break: break-word; }
.back-link { display: inline-block; margin-bottom: 2rem; font-size: .9rem; }

/* ---------- Einblenden beim Scrollen (nur mit JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (min-width: 700px) {
  :root { --gutter: 2rem; }
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .tile-text { padding: 4rem 1.1rem 1.2rem; }
  .tile h3 { font-size: 1.3rem; }
  .tile p { font-size: .95rem; }
  .uses-cta .btn, .hero-copy .btn { width: auto; }
  .hero-note { text-align: left; }
  .steps-list { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .steps-list li { flex-direction: column; gap: .9rem; padding: 1.2rem 0 0; border-bottom: 0 !important; }
  .step-num { width: auto; font-size: 3.2rem; }
  .steps-list p { font-size: 1.15rem; }
  .form-card { padding: 2rem; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .gift-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .signup-grid { grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
}

/* ---------- Desktop: Formular direkt neben dem Hero ---------- */
@media (min-width: 960px) {
  :root { --header-h: 68px; }
  .site-header { position: sticky; top: 0; z-index: 50; }
  .logo img { height: 40px; }
  .header-inner .btn { display: inline-flex; }
  .header-date { display: none; }
  .sticky-cta { display: none; }
  .site-footer { padding-bottom: 0; }

  .hero-grid {
    width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(380px, .8fr); gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center; padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  }
  .hero-copy { order: -1; margin: 0; padding: 0 0 2rem; }
  .hero-copy h1 { margin-bottom: 1rem; }
  .hero-lead { font-size: 1.25rem; margin-bottom: 1.6rem; max-width: none; }
  .hero-note { margin-top: 1rem; }
  .hero-media { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .hero-tags { margin-bottom: 1.2rem; }
  .hero-media::after { display: none; }
  .hero-form { display: block; }
  .hero-form .form-card { border: 0; }

  .duo { width: 100%; }
  .signup { padding-top: clamp(2rem, 4vw, 3.5rem); }
  .signup-copy { position: sticky; top: calc(var(--header-h) + 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-copy > * { animation: none; }
  .sticky-cta { transition: none; }
}
