/* Anchor & Ledger – Website */
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url(fonts/Nunito-700.ttf) format("truetype"); }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url(fonts/Nunito-800.ttf) format("truetype"); }
@font-face { font-family: Nunito; font-weight: 900; font-display: swap; src: url(fonts/Nunito-900.ttf) format("truetype"); }

:root {
  --navy: #0B1A33; --navy-2: #102542; --ink: #102542; --muted: #4C6680; --muted-dark: #BFD3EA;
  --sky: #F4F8FC; --sand: #FFF4E6; --sun: #FF9A3C; --sun-2: #FFB15E; --sun-text: #A65508;
  --sea: #1F7AC6; --green: #2FB46B; --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: #fff; font-family: Nunito, system-ui, -apple-system, sans-serif; font-weight: 700; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--sun-2); }
a:hover { color: #FFD39E; }
:focus-visible { outline: 3px solid var(--sun-2); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 14px; font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; color: var(--sun-text); }
.dark .eyebrow { color: var(--sun); }
h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.07; }
p { margin: 0; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
.dark .lead { color: var(--muted-dark); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; }

/* Fortschritt: Schiff fährt über die Seite */
.voyage { position: fixed; top: 0; left: 0; right: 0; height: 6px; z-index: 60; pointer-events: none; }
.voyage__track { position: absolute; inset: 0; background: rgba(255,255,255,.08); }
.voyage__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--sea), var(--sun)); }
.voyage__ship { position: absolute; top: 4px; left: 0; width: 30px; height: 16px; transform: translateX(-50%); filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }

/* Navigation */
.nav { position: fixed; top: 6px; left: 0; right: 0; z-index: 50; transition: background .3s, box-shadow .3s, padding .3s; padding: 18px 0; }
.nav.is-scrolled { background: rgba(11,26,51,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(0,0,0,.25); padding: 10px 0; }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-size: 21px; font-weight: 900; }
.brand img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.nav__links { display: flex; gap: 26px; align-items: center; }
.nav__links a.txt { color: #E4EEFA; text-decoration: none; font-weight: 800; font-size: 16px; }
.nav__links a.txt:hover { color: #fff; }
.lang { color: #E4EEFA; text-decoration: none; font-weight: 900; font-size: 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 12px; }

/* Buttons */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px; border-radius: 16px; font-weight: 900; font-size: 17px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn:hover::after { left: 140%; }
.btn--store { background: #000; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn--store:hover { color: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.btn--store small { display: block; font-size: 12px; font-weight: 700; opacity: .85; }
.btn--store b { display: block; font-size: 21px; line-height: 1.1; }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn--ghost:hover { color: #fff; background: rgba(255,255,255,.2); }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: 0 16px 36px rgba(0,0,0,.35); }
.btn--sun:hover { color: var(--ink); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 999px; background: #fff; color: var(--ink); }
.btn--small:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: -6% 0 0 0; background: url(img/hero.jpg) 62% center / cover; transform: scale(1.08); animation: kenburns 18s ease-out forwards; will-change: transform; }
@media (max-width: 700px) { .hero__bg { background-image: url(img/hero-sm.jpg); } }
@keyframes kenburns { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(95deg, rgba(11,26,51,.88) 0%, rgba(11,26,51,.55) 40%, rgba(11,26,51,0) 64%); }
.hero__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255,177,94,.28), transparent 65%); pointer-events: none; transform: translate(-50%, -50%); left: 70%; top: 55%; transition: left .4s ease-out, top .4s ease-out; }
.hero__content { position: relative; padding: 140px 0 110px; max-width: 660px; display: flex; flex-direction: column; gap: 22px; }
.pill { align-self: flex-start; background: var(--sun); color: var(--ink); font-size: 14px; font-weight: 900; letter-spacing: 1.4px; padding: 7px 16px; border-radius: 999px; }
.hero h1 { font-size: clamp(44px, 6vw, 74px); line-height: 1.02; letter-spacing: -0.025em; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lead { color: #DCE7F5; font-size: clamp(18px, 1.6vw, 21px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; font-weight: 800; color: #DCE7F5; }
.checks li { display: flex; align-items: center; gap: 8px; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 13px; font-weight: 800; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.hero__scroll span { width: 2px; height: 34px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 900px) {
  .hero { align-items: flex-end; }
  .hero__shade { background: linear-gradient(0deg, rgba(11,26,51,.94) 0%, rgba(11,26,51,.62) 55%, rgba(11,26,51,.12) 100%); }
  .nav__links .txt { display: none; }
  .hero__scroll { display: none; }
  .brand { font-size: 17px; }
  .brand img { width: 38px; height: 38px; }
  .lang { display: none; }
}

/* Laufband mit Häfen */
.marquee { background: var(--navy-2); border-block: 1px solid rgba(255,255,255,.08); overflow: hidden; padding: 18px 0; }
.marquee__row { display: flex; gap: 40px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__row span { display: flex; align-items: center; gap: 40px; font-size: 20px; font-weight: 900; color: #DCE7F5; white-space: nowrap; }
.marquee__row svg { color: var(--sun); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Zahlen */
.stats { background: var(--navy-2); padding: 56px 0 64px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat b { display: block; font-size: clamp(44px, 5vw, 64px); line-height: 1; font-weight: 900; color: var(--sun); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; font-size: 16px; font-weight: 800; color: var(--muted-dark); }

/* Wellen-Trenner */
.waves { display: block; width: 100%; height: 70px; margin-bottom: -1px; }
.waves path { animation: sway 9s ease-in-out infinite alternate; }
.waves path:nth-child(2) { animation-duration: 12s; animation-direction: alternate-reverse; }
@keyframes sway { from { transform: translateX(-40px); } to { transform: translateX(40px); } }

/* Features */
.light { background: var(--sky); color: var(--ink); }
.white { background: #fff; color: var(--ink); }
.section { padding: 110px 0; }
.section__head { max-width: 760px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; }
.showcase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 52px; align-items: center; }
.tabs { display: flex; flex-direction: column; gap: 8px; }
.tab { position: relative; display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; border: 0; background: transparent; color: var(--ink); font: inherit; padding: 16px 18px; border-radius: 18px; cursor: pointer; transition: background .25s, box-shadow .25s; overflow: hidden; }
.tab:hover { background: rgba(255,255,255,.6); }
.tab.is-active { background: #fff; box-shadow: 0 14px 30px rgba(16,37,66,.10); }
.tab__num { flex: none; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; background: #E2EAF3; transition: background .25s; }
.tab.is-active .tab__num { background: var(--sun); }
.tab__title { display: block; font-size: 19px; font-weight: 900; padding-top: 8px; }
.tab__text { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.tab__text > span { overflow: hidden; font-size: 15px; line-height: 1.5; color: var(--muted); }
.tab.is-active .tab__text { grid-template-rows: 1fr; }
.tab.is-active .tab__text > span { padding-top: 6px; }
.tab__bar { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 3px; border-radius: 3px; background: #E2EAF3; opacity: 0; }
.tab.is-active .tab__bar { opacity: 1; }
.tab__bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--sun); }
.device { position: relative; perspective: 1400px; }
.device__frame { position: relative; border: 14px solid var(--navy); border-radius: 34px; overflow: hidden; background: var(--navy); aspect-ratio: 4 / 3; box-shadow: 0 40px 80px rgba(16,37,66,.28); transform-style: preserve-3d; transition: transform .2s ease-out; }
.device__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .6s ease, transform 1.2s ease; }
.device__frame img.is-active { opacity: 1; transform: scale(1); }
.device__badge { position: absolute; left: -18px; bottom: -22px; background: var(--sun); color: var(--ink); font-weight: 900; font-size: 16px; padding: 12px 20px; border-radius: 999px; box-shadow: 0 14px 30px rgba(16,37,66,.25); transition: transform .3s; }
.device__badge.pop { animation: pop .45s ease; }
@keyframes pop { 40% { transform: scale(1.12) rotate(-3deg); } }

/* Spielweise */
.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--sky); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(16,37,66,.12); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.card h3 { font-size: 23px; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* Geräte */
.dark { background: var(--navy-2); color: #fff; overflow: hidden; }
.devices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.1); font-weight: 900; font-size: 15px; }
.stack { position: relative; min-height: 440px; }
.stack__tab { border: 12px solid #050D1C; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; width: 88%; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.stack__phone { position: absolute; right: 0; bottom: 0; width: 62%; border: 9px solid #050D1C; border-radius: 34px; overflow: hidden; aspect-ratio: 2.17 / 1; box-shadow: 0 30px 60px rgba(0,0,0,.5); animation: bob 6s ease-in-out infinite; }
.stack__tab img, .stack__phone img { width: 100%; height: 100%; object-fit: cover; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-1deg); } }

/* Fair */
.sand { background: var(--sand); color: var(--ink); }
.fair { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fair div { background: #fff; border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.fair b { font-size: 22px; font-weight: 900; }
.fair span { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.faq details { border-radius: 18px; background: var(--sky); margin-bottom: 12px; }
.faq summary { list-style: none; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-size: 18px; font-weight: 900; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 22px; background: #E2EAF3; transition: transform .3s, background .3s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--sun); }
.faq details p { padding: 0 22px 20px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Abschluss mit Containern */
.final { position: relative; overflow: hidden; padding: 120px 0 110px; text-align: center; }
.final__bg { position: absolute; inset: 0; background: url(img/hero.jpg) center 70% / cover; }
.final__shade { position: absolute; inset: 0; background: rgba(11,26,51,.74); }
.final__in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final h2 { max-width: 780px; }
.final p { font-size: 19px; color: #DCE7F5; }
.boxes { display: grid; grid-template-columns: repeat(5, 46px); grid-auto-rows: 22px; gap: 3px; margin-bottom: 6px; }
.boxes i { border-radius: 3px; box-shadow: inset 0 -4px 0 rgba(0,0,0,.18), inset 0 0 0 1px rgba(0,0,0,.12); background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 2px, transparent 2px 7px); opacity: 0; transform: translateY(-160px); }
.final.is-in .boxes i { animation: drop .7s cubic-bezier(.3,1.4,.6,1) forwards; }
@keyframes drop { to { opacity: 1; transform: none; } }

/* Footer */
.foot { background: #071226; padding: 40px 0; color: #9FB3CC; font-size: 14px; font-weight: 800; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot a { color: #C9D7E8; text-decoration: none; }
.foot a:hover { color: #fff; }

/* Rechtstexte */
.legal { background: #fff; color: var(--ink); padding: 150px 0 90px; min-height: 80vh; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 26px; }
.legal h2 { font-size: 24px; margin: 34px 0 10px; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: #34506B; }
.legal p + p { margin-top: 12px; }
.legal a { color: #1F6FB2; font-weight: 900; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .stats__grid, .fair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase, .devices, .faq, .modes { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 80px 0; }
  .stack { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .boxes i { opacity: 1 !important; transform: none !important; }
  .hero__bg { transform: none; }
}
