/* Richtung E – „Hafen, echt“: Film vom Hamburger Hafen statt gerechnetem Wasser. Kundenseiten als Fächer,
   der beim Scrollen jede Seite einmal groß nach vorn holt. Zweiter Film als Band mit Aussage. */
body { background: #07070f; }
.hero-e { position: relative; min-height: 100svh; display: grid; align-content: center; padding: calc(var(--header-h) + 40px) 0 clamp(64px, 10vh, 120px) !important; color: #fff; background: #07070f; overflow: hidden; isolation: isolate; text-align: left; }
.film { position: absolute; inset: 0; z-index: -1; background: #07070f; }
.film video, .film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,7,15,.4) 0%, rgba(7,7,15,.12) 40%, rgba(7,7,15,.6) 78%, #07070f 100%); }
.hero-e .wrap { justify-items: start; }
.hero-e .eyebrow { color: var(--accent-dark); margin-bottom: 14px; }
.hero-e h1 { max-width: 100%; font-size: clamp(2.9rem, 9vw, 7.4rem); line-height: .92; letter-spacing: -.045em; margin: 0 0 clamp(16px, 2.5vw, 28px); }
.hero-e h1 .ln { display: block; overflow: hidden; padding-top: .04em; margin-top: -.04em; }
.hero-e h1 .ln > span { display: block; transform: translateY(110%); animation: lnIn 1s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-e h1 .ln:nth-child(2) > span { animation-delay: .12s; color: var(--accent-dark); }
.hero-e h1 .ln:nth-child(3) > span { animation-delay: .24s; }
@keyframes lnIn { to { transform: translateY(0); } }
.hero-e .lede { color: #d6d6e0; text-align: left; margin-inline: 0; max-width: 38ch; font-size: clamp(1.05rem, 1.9vw, 1.35rem); opacity: 0; animation: fadeUp .9s .5s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-e .actions { justify-content: start; opacity: 0; animation: fadeUp .9s .65s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-e .btn--primary { background: var(--accent); color: var(--accent-ink); }
.hero-e .btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.hero-e .btn--secondary:hover { border-color: #fff; }
.hero-e .cred, .reel .cred { position: absolute; right: var(--gutter); bottom: 12px; font-size: .75rem; color: rgba(255,255,255,.5); z-index: 2; }

/* Zuletzt gebaut: Karussell */
.works { background: #07070f; color: #fff; padding: 12px 0 clamp(48px, 8vh, 96px) !important; overflow: hidden; scroll-margin-top: var(--header-h); }
.works .head { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.works .head h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: -.03em; margin: 0; }
.works .head p { color: #a8a8b8; margin: 0; }
.ring { position: relative; height: calc(var(--cw, 300px) * .625 * 1.25 + 40px); perspective: 1600px; transform-style: preserve-3d; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: 0; }
.ring:active { cursor: grabbing; }
.ring:focus-visible { box-shadow: 0 0 0 3px var(--accent-dark); border-radius: 12px; }
.ring a { position: absolute; left: 50%; top: 50%; width: var(--cw); height: calc(var(--cw) * .625); margin: calc(var(--cw) * -.3125) 0 0 calc(var(--cw) / -2); border-radius: 10px; overflow: hidden; background: #111; box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); will-change: transform, opacity; backface-visibility: hidden; -webkit-user-drag: none; }
.ring img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.ring a:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 4px; }
.cap { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; min-height: 72px; margin-top: 8px; opacity: 0; will-change: opacity, transform; }
.cap .n { font-size: clamp(1.3rem, 2.8vw, 2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.cap .w { color: #a8a8b8; grid-column: 1; }
.cap .l { grid-column: 2; grid-row: 1 / span 2; }
.cap .btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cap .btn--secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.dots { display: flex; gap: 8px; margin-top: 16px; }
.dots button { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.22); transition: background .3s; }
.dots button:hover::before, .dots button.on::before { background: #fff; }
.dots button:focus-visible { outline: 2px solid var(--accent-dark); border-radius: 6px; }

/* dunkles Band und Statement wie A */
.works + .band { background: #07070f; color: #fff; border: 0; }
.works + .band strong { color: #fff; }
.works + .band span { color: #a8a8b8; }

/* Überschriften bauen sich beim ersten Erscheinen auf (einmalig, nur h2) */

/* Header über dunklem Hero */
.site-header { transition: background .3s, color .3s; }
.site-header.on-dark { background: rgba(7,7,15,.78); border-bottom-color: rgba(255,255,255,.08); }
.site-header.on-dark, .site-header.on-dark .nav a { color: #fff; }
.site-header.on-dark .nav a.btn--primary { color: var(--accent-ink); }
.site-header.on-dark .nav.is-open a { color: var(--ink); }
.site-header.on-dark .nav.is-open a.btn--primary { color: var(--accent-ink); }
body.nav-open .site-header.on-dark { color: var(--ink); background: #fff; }
.site-header.on-dark .brand img { filter: invert(1) brightness(2); }
body.nav-open .site-header.on-dark .brand img { filter: none; }
.site-header.scrolled { background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); }
main { background: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  .hero-e h1 .ln > span, .hero-e .lede, .hero-e .actions { animation: none; transform: none; opacity: 1; }
  .ring { height: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; perspective: none; }
  .ring a { position: static; width: auto; height: auto; margin: 0; transform: none !important; opacity: 1 !important; }
  .cap, .dots { display: none; }
}

/* Film-Band mit Aussage */
.reel { position: relative; min-height: 90svh; display: grid; align-items: end; color: #fff; overflow: hidden; padding: 0 !important; isolation: isolate; }
.reel .film .veil { background: linear-gradient(180deg, rgba(7,7,15,.2) 0%, rgba(7,7,15,.15) 50%, rgba(7,7,15,.85) 100%); }
.reel .wrap { padding-block: clamp(48px, 8vw, 120px); }
.reel h2 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: .95; letter-spacing: -.04em; max-width: 18ch; margin: 0 0 20px; }
.reel h2 em { font-style: normal; color: var(--accent-dark); }
.reel p { color: #d6d6e0; max-width: 46ch; font-size: clamp(1.05rem, 1.8vw, 1.3rem); }
.reel .film video, .reel .film img { object-position: 25% center; }
@media (min-width: 860px) { .reel .film video, .reel .film img { object-position: center; } }
.reel--kontakt { min-height: 70svh; align-items: center; text-align: center; }
.reel--kontakt .wrap { justify-items: center; }
.reel--kontakt h2 { margin-inline: auto; }
.reel--kontakt .actions { justify-content: center; margin-top: 8px; }
.reel--kontakt .btn--primary { background: var(--accent); color: var(--accent-ink); }
.reel--kontakt .btn--secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.reel--kontakt .btn--secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.reel--kontakt .film .veil { background: rgba(7,7,15,.55); }

/* Standbild bewegt sich, solange der Film nicht läuft */
.film.still video { opacity: 0; }
.film.still::before { content: ""; position: absolute; inset: -6%; background: var(--poster) center / cover no-repeat; animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(-2%, 0, 0) scale(1.04); } to { transform: translate3d(2%, -1.5%, 0) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .film.still::before { animation: none; } }

/* rollendes Wort in der Überschrift */
.roll { display: inline-block; position: relative; height: 1em; overflow: hidden; vertical-align: top; line-height: .92; color: var(--accent-dark); }
.roll .ph { visibility: hidden; display: block; }
.roll > span:not(.ph) { position: absolute; left: 0; top: 0; display: block; white-space: nowrap; transform: translateY(110%); opacity: 0; animation: rollIn 12s cubic-bezier(.2,.8,.2,1) infinite; }
.roll > span:nth-child(3) { animation-delay: 3s; }
.roll > span:nth-child(4) { animation-delay: 6s; }
.roll > span:nth-child(5) { animation-delay: 9s; }
@keyframes rollIn { 0% { transform: translateY(110%); opacity: 0; } 4%, 23% { transform: translateY(0); opacity: 1; } 28%, 100% { transform: translateY(-110%); opacity: 0; } }
.hero-e h1 .ln:nth-child(2) > span { color: #fff; }
@media (prefers-reduced-motion: reduce) { .roll > span:not(.ph) { animation: none; transform: none; opacity: 0; } .roll > span:nth-child(2) { opacity: 1; } }

/* Handy: Film oben frei, Text darunter – nichts liegt über Schiff und Kränen */
@media (max-width: 859px) {
  .hero-e { display: block; min-height: 0; padding: 0 0 28px !important; }
  .hero-e .film { position: relative; inset: auto; height: 46svh; min-height: 260px; z-index: 0; }
  .hero-e .film video, .hero-e .film img { object-position: 62% 72%; }
  .hero-e .film .veil { background: linear-gradient(180deg, rgba(7,7,15,.15) 0%, rgba(7,7,15,0) 45%, rgba(7,7,15,.9) 100%); }
  .hero-e .film.still::before { background-position: 62% 72%; }
  .hero-e .wrap { padding-top: 8px; }
  .hero-e h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .hero-e .cred { position: static; display: block; margin: 10px var(--gutter) 0; text-align: right; }
}

/* Preise: Pakete auf dunklem Grund, Module hell */
.preise { padding-top: 0 !important; }
.preise-dark { background: #07070f; color: #fff; padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); margin-bottom: clamp(40px, 6vw, 72px); }
.preise-dark .eyebrow { color: var(--accent-dark); }
.preise-dark h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 16px; }
.preise-dark h2 em { font-style: normal; color: var(--accent-dark); }
.preise-dark .section-intro { color: #c9c9d6; }
.preise-dark .pack { background: #111120; border-color: rgba(255,255,255,.1); color: #fff; }
.preise-dark .pack:hover { box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.preise-dark .pack .pm, .preise-dark .pack .pd { color: #a8a8b8; }
.preise-dark .pack .pick { color: var(--accent-dark); }
.preise-dark .pack:has(input:checked) { border-color: var(--accent-dark); box-shadow: 0 0 0 1px var(--accent-dark), 0 0 60px var(--accent-glow); background: #15153a; }
.preise-dark .pack:has(input:checked) .pick { color: #fff; }
.preise-dark .pack .tag { background: var(--accent-dark); color: #0b0b14; }

/* Kundenstimmen als Laufband */
.ticker { overflow: hidden; margin-top: 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); cursor: grab; touch-action: pan-y; }
.ticker:active { cursor: grabbing; }
.ticker-track { display: flex; gap: 20px; width: max-content; padding-inline: 20px; animation: tick 90s linear infinite; will-change: transform; }
.ticker:hover .ticker-track, .ticker.hold .ticker-track { animation-play-state: paused; }
.ticker figure { flex: none; width: min(78vw, 420px); margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); display: grid; align-content: start; gap: 12px; }
.ticker .stars { color: var(--accent); text-shadow: 0 .5px 0 rgba(0,0,0,.35); letter-spacing: .1em; font-size: .9rem; }
.ticker blockquote { border: 0; padding: 0; margin: 0; font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.5; letter-spacing: -.01em; }
.ticker figcaption { color: var(--muted); font-size: .9rem; }
.ticker figure.ph { border-style: dashed; }
.ticker figure.ph blockquote { color: var(--muted); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker { overflow-x: auto; mask-image: none; -webkit-mask-image: none; } }
.reel--kontakt .cred { left: 0; right: 0; text-align: center; }

/* Pausentasten für Laufendes */
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.pause, .vpause { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.pause[aria-pressed="true"]::before, .vpause[aria-pressed="true"]::before { content: "▶ "; }
.pause[aria-pressed="false"]::before, .vpause[aria-pressed="false"]::before { content: "❚❚ "; font-size: .75em; }
.vpause { color: #fff; border-color: rgba(255,255,255,.35); min-height: 32px; padding: 0 10px; font-size: .75rem; margin-left: 6px; }
.hero-e .cred { display: flex; align-items: center; gap: 4px; }
.ticker.paused .ticker-track { animation-play-state: paused; }
.cl-label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
@media (min-width: 560px) { .checkline form .cl-label { grid-column: 1 / -1; } }
.hero-e .eyebrow { color: var(--accent-dark); }
.hero-e .cred, .reel .cred { color: rgba(255,255,255,.72); }

/* Vorschau in 24 Stunden */
.preview h2 em { font-style: normal; color: var(--ink); background: linear-gradient(transparent 42%, var(--accent) 42%, var(--accent) 88%, transparent 88%); }
.pv { display: grid; gap: 28px; }
.pv-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: pv; border-top: 1px solid var(--line); }
.pv-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); counter-increment: pv; }
.pv-steps li::before { content: counter(pv, decimal-leading-zero); grid-row: 1 / span 2; font-weight: 700; color: var(--ink); background: var(--accent); width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-size: .85rem; font-variant-numeric: tabular-nums; }
.pv-steps b { font-weight: 700; letter-spacing: -.01em; }
.pv-steps span { color: var(--muted); font-size: .95rem; }
.pv-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.pv-form .two { display: grid; gap: 12px; }
.pv-form .muted { margin: 10px 0 0; font-size: .85rem; }
.pv-form .muted a { color: var(--ink); }
@media (min-width: 560px) { .pv-form .two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .pv { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.pv-fehler { margin: 0 0 12px; padding: 12px 14px; border: 1.5px solid #b3261e; border-radius: 12px; color: #b3261e; font-size: .95rem; }

/* Runde 10 */
.band strong { white-space: nowrap; font-size: clamp(1.3rem, 1.8vw, 1.75rem); }
.hero-e .hero-probe { width: 100%; max-width: 600px; display: grid; gap: 8px; margin-bottom: 14px; opacity: 0; animation: fadeUp .9s .5s cubic-bezier(.2,.8,.2,1) forwards; }
.probe-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.probe-switch > * { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; border: 0; border-radius: 999px; font: inherit; font-size: .9rem; font-weight: 600; color: #fff; background: transparent; text-decoration: none; cursor: pointer; text-align: center; line-height: 1.1; }
.probe-switch > *.on { background: #fff; color: var(--ink); }
.probe-switch > *:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hero-probe .field { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 6px; border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.hero-probe input { min-width: 0; min-height: 50px; padding: 0 18px; border: 0; outline: 0; border-radius: 18px; font: inherit; font-size: 1.05rem; color: var(--ink); background: transparent; }
.hero-probe input:focus-visible { outline: 2px solid var(--accent); }
.hero-probe .btn { min-height: 50px; }
.hero-probe small { color: #c9c9d6; padding-left: 10px; font-size: .85rem; }
.hero-probe small a { color: #fff; }
@media (min-width: 480px) { .hero-probe .field { grid-template-columns: 1fr auto; border-radius: 999px; } .hero-probe input { padding-left: 22px; } }
.hero-e .actions--quiet { animation-delay: .75s; }
.hero-e .actions--quiet .btn { font-size: .95rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 859px) { .hero-e .wrap { padding-bottom: 72px; } }
body.preview-visible .stick { display: none !important; }
.stick.on { grid-template-columns: auto 1fr; }
.stick .btn { white-space: nowrap; }
.stick .btn--secondary { flex: 0 0 auto; }
.stick .btn--primary { flex: 1 1 auto; }

/* Module: überall erst vier sichtbar */
.modlist:not(.open) li:nth-child(n+5) { display: none; }
.more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; padding: 0 4px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; cursor: pointer; }
.more::after { content: ""; width: 8px; height: 8px; margin-left: 10px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.modlist.open + .more::after { transform: translateY(2px) rotate(225deg); }

/* Ein Angebot */
.preise-dark .offer { margin-top: 28px; display: grid; gap: 24px; padding: 28px 24px; border-radius: 24px; background: #111120; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 0 0 1px var(--accent-dark), 0 0 60px var(--accent-glow); }
.offer-price { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.offer-price div { display: grid; gap: 2px; }
.offer-price b { white-space: nowrap; font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1; letter-spacing: -.03em; color: var(--accent-dark); }
.offer-price span { color: #a8a8b8; font-size: .95rem; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.offer-list li { position: relative; padding-left: 26px; color: #e6e6ef; line-height: 1.45; }
.offer-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; background: var(--accent-dark); border-radius: 2px; }
.preise-dark .offer .btn { justify-self: start; }
@media (min-width: 860px) {
  .preise-dark .offer { grid-template-columns: 1fr 1.4fr; grid-template-areas: "price list" "btn list"; padding: 40px; align-items: start; }
  .offer-price { grid-area: price; }
  .offer-list { grid-area: list; }
  .preise-dark .offer .btn { grid-area: btn; }
}

/* Schritt-Zahlen als Kachel, wie im Vorschau-Block */
.steps li::before { background: var(--accent); color: var(--ink); font-size: 1rem; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; padding: 0; letter-spacing: 0; font-variant-numeric: tabular-nums; }
/* Schalter im Formular */
.pv-form .probe-switch { background: var(--ink); margin-bottom: 14px; }
.pv-form .probe-switch > * { color: #fff; }
.pv-form .probe-switch > *.on { background: var(--accent); color: var(--ink); }
