/* ==========================================================================
   Digitale Zeitkapsel – duisport / Moving the Next 100
   Fonts: Gilroy (UI, Headlines) · Novela (Wunsch-Zitate)
   Farben aus dem duisport Brandboard. Keine abgerundeten Ecken.
   ========================================================================== */

@font-face { font-family: "Gilroy"; src: url("../fonts/gilroy-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/gilroy-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/gilroy-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/gilroy-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/gilroy-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Gilroy"; src: url("../fonts/gilroy-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Novela"; src: url("../fonts/novela-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Novela"; src: url("../fonts/novela-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Novela"; src: url("../fonts/novela-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Novela"; src: url("../fonts/novela-600i.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }

:root {
  --blue: #002EFF;          /* Electric Blue */
  --blue-dark: #0025CC;
  --bright: #00CCFF;        /* Bright Blue */
  --midnight: #000041;      /* Midnight Blue */
  --tint: #EBF0FF;
  --ink: #0A0A14;
  --grey: #73788C;
  --line: #D1D9F2;
  --placeholder: #999EB2;
  --white: #FFFFFF;
  --error: #D0021B;

  --font-ui: "Gilroy", "Helvetica Neue", Arial, sans-serif;
  --font-quote: "Novela", Georgia, "Times New Roman", serif;

  --container: 1320px;
  --gutter: 60px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typo ---------- */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  line-height: 1.4;
}
.h1 { font-size: clamp(38px, 5.2vw, 72px); font-weight: 800; line-height: 1.02; letter-spacing: -0.015em; }
.h2 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; }
.h3 { font-size: 26px; font-weight: 800; line-height: 1.15; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; font-weight: 500; }
.muted { color: var(--grey); }
.on-blue .muted { color: rgba(255,255,255,0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 32px; min-height: 56px;
  font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none;
  border: 2px solid var(--blue); background: var(--blue); color: var(--white);
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn:focus-visible { outline: 3px solid var(--bright); outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { background: var(--tint); }
.btn--white { background: var(--white); border-color: var(--white); color: var(--blue); }
.btn--white:hover { background: var(--tint); border-color: var(--tint); }
.btn--outline-white { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--block { width: 100%; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  padding-bottom: 6px; border-bottom: 2px solid currentColor;
}
.textlink:hover { opacity: .8; }

/* ---------- Header (angelehnt an moving-the-next-100.com) ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  color: var(--white);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.site-header__brand { display: flex; align-items: center; gap: 28px; }
.site-header__brand a { display: inline-flex; }
.site-header__brand svg { height: 30px; width: auto; }
.site-header__logo100 { height: 30px; width: auto; }
.site-nav { display: flex; gap: 32px; }
.site-nav a { font-size: 16px; font-weight: 500; text-decoration: none; opacity: .9; }
.site-nav a:hover, .site-nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--blue { background: var(--blue); color: var(--white); }
.section--tint { background: var(--tint); }
.section--tight { padding: 80px 0; }

/* ---------- 01 Hero ---------- */
.hero { position: relative; background: var(--blue); color: var(--white); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 800px; }
.hero__copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 60px) 60px 60px var(--gutter);
  max-width: calc(var(--container) / 2 + var(--gutter));
  margin-left: auto; width: 100%;
}
.hero__copy .eyebrow { color: var(--bright); margin-bottom: 28px; }
.hero__copy .h1 { max-width: 12ch; margin-bottom: 28px; }
.hero__copy .lead { max-width: 46ch; margin-bottom: 56px; }
.hero__media { position: relative; background: #062dd0; min-height: 520px; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* weiche Kanten, damit das Video mit dem Blau der Seite verschmilzt */
.hero__media::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--blue) 0%, rgba(0,46,255,0) 18%),
    linear-gradient(180deg, var(--blue) 0%, rgba(0,46,255,0) 16%),
    linear-gradient(0deg, var(--blue) 0%, rgba(0,46,255,0) 14%);
}
.only-mobile { display: none; }
.hero__caption {
  position: absolute; left: 40px; bottom: 40px;
  background: var(--white); color: var(--ink);
  font-size: 12px; font-weight: 500; padding: 10px 14px; letter-spacing: .01em;
}

/* ---------- 02 Dreischritt ---------- */
.steps__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.steps__head .h2 { color: var(--ink); }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step__visual { aspect-ratio: 27 / 20; overflow: hidden; background: var(--tint); }
.step__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.step__visual--card { display: flex; align-items: center; justify-content: center; padding: 32px; }
.step__num { display: block; margin: 28px 0 10px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.step .h3 { margin-bottom: 12px; }
.step p { color: var(--grey); font-size: 16px; font-weight: 500; }
.steps__head .muted { font-weight: 500; }

/* ---------- Wunschkarte ---------- */
.card {
  background: var(--white); color: var(--ink);
  padding: 22px 24px 26px; min-height: 150px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.card__meta { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.card__quote { font-family: var(--font-ui); font-style: italic; font-weight: 400; font-size: 19px; line-height: 1.4; overflow-wrap: anywhere; }
.card--sealed { background: var(--blue); color: var(--white); justify-content: space-between; }
.card--sealed .card__meta { color: var(--white); }
.card--sealed .card__quote { font-family: var(--font-ui); font-style: normal; font-size: 14px; font-weight: 500; }
.card--tilt { transform: rotate(3deg); max-width: 300px; box-shadow: 0 18px 40px rgba(0,0,0,.14); }

/* ---------- 03 Wunschband ---------- */
.band__count { font-size: clamp(64px, 8vw, 104px); font-weight: 800; line-height: 1; color: var(--blue); letter-spacing: -0.02em; }
.band__label { font-size: 22px; font-weight: 600; margin-top: 8px; margin-bottom: 48px; }
.band__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.band__track .card:nth-child(n+5) { display: none; }

/* ---------- 04 Formular ---------- */
.wish { position: relative; }
.wish__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.wish__intro .eyebrow { color: var(--bright); margin-bottom: 28px; }
.wish__intro .h2 { max-width: 14ch; margin-bottom: 24px; }
.wish__intro .lead { max-width: 46ch; margin-bottom: 40px; }
.wish__preview-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.wish__preview { max-width: 480px; }
.wish__photo { margin-top: 40px; max-width: 560px; aspect-ratio: 7 / 4; overflow: hidden; }
.wish__photo img { width: 100%; height: 100%; object-fit: cover; }

.form { background: var(--white); color: var(--ink); padding: 48px; }
.form .h3 { margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  border: 1.5px solid var(--blue); color: var(--blue); background: var(--white);
  font-size: 13px; font-weight: 500; padding: 8px 12px; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.chip:focus-visible { outline: 3px solid var(--bright); outline-offset: 2px; }

.field { margin-bottom: 22px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); background: var(--white); padding: 14px 16px;
  border-radius: 0; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,46,255,.15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field__hint { font-size: 12px; color: var(--grey); margin-top: 8px; }
.field__count { text-align: right; font-size: 12px; color: var(--grey); margin-top: 6px; }
.field__error { display: none; font-size: 13px; color: var(--error); margin-top: 8px; font-weight: 600; }
.field.is-invalid .field__error { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin: 8px 0 28px; font-size: 13px; color: var(--grey); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); border-radius: 0; }
.consent a { color: var(--blue); }
.field.is-invalid .consent { color: var(--error); }

.form__status { display: none; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--error); }
.form__status.is-visible { display: block; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; opacity: 0; }

/* Sende-Zustand */
.sent { display: none; background: var(--white); color: var(--ink); padding: 48px; }
.sent.is-visible { display: block; }
.form.is-hidden { display: none; }
.sent .eyebrow { color: var(--blue); margin-bottom: 20px; }
.sent .h2 { margin-bottom: 18px; font-size: clamp(28px, 2.6vw, 36px); }
.sent p { color: var(--grey); font-size: 16px; margin-bottom: 28px; }
.wish__preview.is-sealed { background: var(--tint); }
.sent__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.sent__actions .btn { min-height: 52px; }

/* ---------- 05 Brücke ---------- */
.bridge { background: var(--blue); color: var(--white); }
.bridge__grid { display: grid; grid-template-columns: 1fr 1fr; }
.bridge__photo { aspect-ratio: 720 / 760; overflow: hidden; }
.bridge__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.bridge__copy { display: flex; flex-direction: column; justify-content: center; padding: 80px; max-width: calc(var(--container) / 2 + var(--gutter)); }
.bridge__copy .eyebrow { color: var(--bright); margin-bottom: 24px; }
.bridge__copy .h2 { margin-bottom: 24px; max-width: 14ch; font-size: clamp(30px, 2.9vw, 40px); }
.bridge__copy p { max-width: 44ch; opacity: .85; }

/* ---------- Footer (wie moving-the-next-100.com) ---------- */
.site-footer { background: var(--midnight); color: var(--white); padding: 40px 0; font-size: 14px; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer__socials { display: flex; gap: 18px; }
.site-footer__socials a { display: inline-flex; width: 24px; height: 24px; opacity: .9; }
.site-footer__socials a:hover { opacity: 1; }
.site-footer__socials svg { width: 24px; height: 24px; }
.site-footer__legal { display: flex; gap: 24px; }
.site-footer__legal a { text-decoration: none; opacity: .85; }
.site-footer__legal a:hover { opacity: 1; text-decoration: underline; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .hero__copy { padding-right: 40px; }
  .steps__grid { gap: 24px; }
  .wish__grid { gap: 48px; }
  .bridge__copy { padding: 56px 48px; }
  .form { padding: 36px; }
}
@media (max-width: 860px) {
  :root { --gutter: 24px; --header-h: 64px; }
  body { font-size: 17px; }
  .section { padding: 72px 0; }
  .site-nav { gap: 20px; }
  .site-nav a { font-size: 15px; }
  .site-header__brand { gap: 18px; }
  .site-header__brand svg, .site-header__logo100 { height: 24px; }

  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { padding: calc(var(--header-h) + 40px) var(--gutter) 48px; max-width: none; }
  .hero__copy .lead { margin-bottom: 36px; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 4.2; }
  .hero__media::before {
    background:
      linear-gradient(180deg, var(--blue) 0%, rgba(0,46,255,0) 22%),
      linear-gradient(90deg, var(--blue) 0%, rgba(0,46,255,0) 12%),
      linear-gradient(270deg, var(--blue) 0%, rgba(0,46,255,0) 12%);
  }
  .hero__caption { left: var(--gutter); bottom: 24px; }
  .only-desktop { display: none; }
  .only-mobile { display: inline; }

  .steps__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .steps__grid { grid-template-columns: 1fr; gap: 40px; }
  .step__num { margin-top: 20px; }

  .band__track { grid-template-columns: 1fr 1fr; }
  .band__label { margin-bottom: 32px; }

  .wish__grid { grid-template-columns: 1fr; gap: 40px; }
  .wish__photo { display: none; }
  .form, .sent { padding: 28px 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }

  .bridge__grid { grid-template-columns: 1fr; }
  .bridge__photo { aspect-ratio: 4 / 5; }
  .bridge__copy { padding: 56px var(--gutter); max-width: none; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 520px) {
  .band__track { grid-template-columns: 1fr; }
  .band__track .card:nth-child(n+4) { display: none; }
  .site-nav { display: none; }
  .card--tilt { max-width: 260px; }
  .sent__actions .btn { width: 100%; }
}
