/* SHIFTGURU – shiftguru.imes.secitx.cloud. Handgeschrieben (Quelle), von build.py nur eingepackt.
   Farben aus shift-handover.com: Navy #242e3b/#1c2230, Gelb #fbba00, Blau #0069b4,
   Beige #f1efe6, Gruen #2d6650. Schrift Inter (selbst gehostet, OFL). */
@font-face {
  font-family: "Inter";
  src: url("/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --navy-0: #141a24;
  --navy: #1c2230;
  --navy-2: #242e3b;
  --navy-3: #2f3b4c;
  --line-d: rgba(255, 255, 255, .1);
  --text-d: #e9edf3;
  --muted-d: #a7b1c0;
  --yellow: #fbba00;
  --yellow-2: #ffd24d;
  --blue: #0069b4;
  --blue-2: #2b8fe0;
  --green: #2d6650;
  --green-2: #3fae7f;
  --red: #e5484d;
  --beige: #f1efe6;
  --beige-2: #e7e3d6;
  --ink: #1c2230;
  --muted: #5b6575;
  --line: #ddd8c8;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 26, 36, .08), 0 18px 40px -18px rgba(20, 26, 36, .35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--navy); color: var(--text-d);
  font: 16px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg, video { display: block; max-width: 100%; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; color: var(--ink); padding: .5rem .8rem; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
.y { color: var(--yellow); }
.b { color: var(--blue-2); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.sec-head { max-width: 48rem; margin-bottom: 3rem; }
.sec-head p { color: var(--muted-d); font-size: 1.1rem; margin: 1rem 0 0; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* helle Abschnitte */
.light { background: var(--beige); color: var(--ink); color-scheme: light; }
.light .sec-head p { color: var(--muted); }
.light .eyebrow { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .75rem 1.25rem; border-radius: 12px; font-weight: 700; font-size: .96rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s, background-color .15s, border-color .15s, box-shadow .15s; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-y { background: var(--yellow); color: #1c2230; box-shadow: 0 10px 28px -10px rgba(251, 186, 0, .7); }
.btn-y:hover { background: var(--yellow-2); }
.btn-b { background: var(--blue); color: #fff; box-shadow: 0 10px 28px -10px rgba(0, 105, 180, .8); }
.btn-b:hover { background: #0a78c8; }
.btn-o { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); color: #fff; }
.btn-o:hover { border-color: rgba(255, 255, 255, .5); }
.light .btn-o { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-lg { padding: .95rem 1.5rem; font-size: 1.02rem; }
.btn svg { flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(28, 34, 48, .72); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line-d); background: rgba(20, 26, 36, .88); }
.site-header .wrap { display: flex; align-items: center; gap: 1.4rem; height: 70px; }
.brand { display: flex; align-items: center; }
.brand img { height: 24px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted-d); font-weight: 600; font-size: .94rem; transition: color .15s; }
.nav a:hover { color: #fff; }
.lang { display: flex; border: 1px solid var(--line-d); border-radius: 9px; overflow: hidden; font-size: .78rem; font-weight: 700; }
.lang a, .lang span { padding: .3rem .55rem; text-decoration: none; color: var(--muted-d); }
.lang span { background: var(--navy-3); color: #fff; }
.nav .nav-cta { display: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-d); border-radius: 10px; width: 42px; height: 42px; color: #fff; cursor: pointer; }
.menu-btn svg { margin: auto; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .site-header .hdr-cta { display: none; }
  .nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; left: 0; right: 0; top: 70px; background: var(--navy-0); border-bottom: 1px solid var(--line-d); padding: .4rem 16px 1rem; }
  .nav.open a { padding: .8rem 0; border-bottom: 1px solid var(--line-d); color: #fff; font-size: 1rem; }
  .nav.open .lang { margin-top: .8rem; align-self: flex-start; }
  .nav.open .lang a, .nav.open .lang span { border: 0; padding: .35rem .7rem; }
  .nav.open .nav-cta { display: flex; margin-top: .8rem; border: 0; color: #1c2230; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem); overflow: hidden; background: radial-gradient(70rem 40rem at 90% -20%, rgba(0, 105, 180, .35), transparent 60%), radial-gradient(40rem 30rem at 0% 110%, rgba(251, 186, 0, .12), transparent 60%), var(--navy); }
.hero .lines { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5; }
.hero .lines line { stroke: rgba(170, 190, 215, .35); stroke-width: 1; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 .grad { background: linear-gradient(90deg, var(--yellow) 0%, var(--yellow-2) 30%, var(--blue-2) 70%, var(--yellow) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .tag { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--muted-d); margin: 1.4rem 0 .6rem; font-weight: 500; }
.hero .tag b { color: #fff; }
.hero .lead { color: var(--muted-d); max-width: 34rem; margin: 0 0 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.4rem; }
.hero-facts div b { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-facts div span { color: var(--muted-d); font-size: .85rem; }
@media (max-width: 980px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Schicht-Uhr */
.clockbox { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.dial { position: relative; aspect-ratio: 1; }
.clock { width: 100%; height: 100%; }
.clock .ring { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 26; }
.clock .arc { fill: none; stroke-width: 26; stroke-linecap: butt; }
.clock .arc.f { stroke: var(--yellow); }
.clock .arc.s { stroke: var(--blue); }
.clock .arc.n { stroke: var(--green-2); }
.clock .tick { stroke: rgba(255, 255, 255, .25); stroke-width: 2; }
.clock .tick.big { stroke: rgba(255, 255, 255, .55); stroke-width: 3; }
.clock .hr { fill: var(--muted-d); font-size: 13px; font-weight: 600; text-anchor: middle; dominant-baseline: middle; font-family: inherit; }
.clock .hand { stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.clock .hub { fill: #fff; }
.clock .glow { fill: none; stroke: #fff; stroke-width: 26; opacity: .18; }
.clock-center { position: absolute; inset: 30%; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, rgba(36, 46, 59, .95), rgba(28, 34, 48, .9)); box-shadow: inset 0 0 0 1px var(--line-d); }
.clock-center small { color: var(--muted-d); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.clock-center b { font-size: clamp(1.2rem, 2.6vw, 1.75rem); font-weight: 800; line-height: 1.2; }
.clock-center span { color: var(--muted-d); font-size: .82rem; font-variant-numeric: tabular-nums; }
.feed { position: absolute; right: -4%; bottom: 4%; width: min(300px, 62%); display: grid; gap: .55rem; }
.ev { display: grid; grid-template-columns: 30px 1fr; gap: .65rem; align-items: center; padding: .65rem .8rem; border-radius: 13px; background: rgba(36, 46, 59, .92); border: 1px solid var(--line-d); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .8); backdrop-filter: blur(8px); font-size: .8rem; }
.ev i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; }
.ev i svg { width: 16px; height: 16px; }
.ev.alarm i { background: rgba(229, 72, 77, .18); color: #ff7b7f; }
.ev.done i { background: rgba(63, 174, 127, .18); color: #6ee0ad; }
.ev.hand i { background: rgba(43, 143, 224, .2); color: #7cc0ff; }
.ev b { display: block; color: #fff; font-weight: 600; line-height: 1.3; }
.ev span { color: var(--muted-d); font-size: .74rem; }
@media (max-width: 520px) { .feed { position: static; width: 100%; margin-top: 1rem; } }

/* ---------- Laufband ---------- */
.dup { display: contents; }
.ticker { background: var(--yellow); color: #1c2230; overflow: hidden; padding: .85rem 0; font-weight: 700; font-size: .95rem; }
.ticker .track { display: flex; width: max-content; gap: 0; }
.ticker .track span { display: inline-flex; align-items: center; gap: 1.1rem; padding-right: 1.1rem; white-space: nowrap; }
.ticker .track span::after { content: "◆"; font-size: .6rem; opacity: .6; }

/* ---------- Feature-Kacheln ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }
.feat {
  position: relative; padding: 1.4rem 1.3rem 1.5rem; border-radius: var(--radius); background: linear-gradient(160deg, var(--navy-2), var(--navy-0));
  border: 1px solid var(--line-d); transform-style: preserve-3d; transition: transform .25s ease, border-color .25s, box-shadow .25s; overflow: hidden;
}
.feat::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: radial-gradient(18rem 12rem at var(--mx, 50%) var(--my, 0%), rgba(43, 143, 224, .28), transparent 60%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.feat:hover { border-color: rgba(43, 143, 224, .55); box-shadow: 0 24px 50px -24px rgba(0, 105, 180, .7); }
.feat:hover::before { opacity: 1; }
.feat img { width: 64px; height: auto; border-radius: 10px; margin-bottom: 1.1rem; position: relative; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .7); transition: transform .3s ease; }
.feat:hover img { transform: translateY(-4px) rotate(-3deg); }
.feat h3 { position: relative; }
.feat p { position: relative; margin: .4rem 0 0; color: var(--muted-d); font-size: .93rem; }
.feat .num { position: absolute; top: 1rem; right: 1.1rem; font-size: .75rem; font-weight: 700; color: rgba(255, 255, 255, .22); font-variant-numeric: tabular-nums; }

/* ---------- Schichtuebergabe ---------- */
.handover { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-0) 100%); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }
.split p { color: var(--muted-d); }
.ho { position: relative; display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; gap: .4rem; }
.crew { background: var(--navy-2); border: 1px solid var(--line-d); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); }
.crew small { color: var(--muted-d); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.crew h3 { margin: .25rem 0 .1rem; font-size: 1.05rem; }
.crew .time { color: var(--muted-d); font-size: .8rem; font-variant-numeric: tabular-nums; }
.crew ul { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: .45rem; font-size: .8rem; }
.crew li { display: flex; gap: .5rem; align-items: center; padding: .45rem .55rem; border-radius: 9px; background: rgba(255, 255, 255, .04); }
.crew li i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.crew .sig { margin-top: .9rem; display: flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; color: var(--green-2); }
.crew.to .sig { color: var(--muted-d); }
.crew.to.signed .sig { color: var(--green-2); }
.bridge { position: relative; height: 100%; display: grid; place-items: center; }
.bridge::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(255, 255, 255, .2); }
.bridge .dot { position: absolute; top: calc(50% - 5px); left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); opacity: 0; }
.bridge .sync { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: #1c2230; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(251, 186, 0, .15); }
.bridge .sync svg { width: 24px; height: 24px; }
@media (max-width: 620px) {
  .ho { grid-template-columns: 1fr; }
  .bridge { height: 70px; }
  .bridge::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed rgba(255, 255, 255, .2); }
}

/* ---------- Vorteile ---------- */
.benefits { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.2rem; }
@media (max-width: 980px) { .benefits { grid-template-columns: 1fr; } }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.box h3 { margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.box h3 i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; background: var(--blue); color: #fff; }
.box h3 i svg { width: 18px; height: 18px; }
.box.bx-y h3 i { background: var(--yellow); color: #1c2230; }
.box.bx-g h3 i { background: var(--green); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; color: #2d3644; font-size: .96rem; }
.checks svg { width: 22px; height: 22px; margin-top: 1px; }
.checks svg circle { fill: rgba(0, 105, 180, .12); }
.checks svg path { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.box.bx-y .checks svg circle { fill: rgba(251, 186, 0, .22); }
.box.bx-y .checks svg path { stroke: #b07f00; }
.box.bx-g .checks svg circle { fill: rgba(45, 102, 80, .14); }
.box.bx-g .checks svg path { stroke: var(--green); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.6rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1.4rem 1rem; border-radius: var(--radius); background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--yellow), var(--blue-2)); }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted-d); font-size: .88rem; display: block; margin-top: .5rem; }

/* ---------- Einblicke (Viewer) ---------- */
.viewer { display: grid; grid-template-columns: 290px 1fr; gap: 1.6rem; align-items: start; }
@media (max-width: 980px) { .viewer { grid-template-columns: 1fr; } }
.tabs { display: grid; gap: .55rem; }
@media (max-width: 980px) { .tabs { grid-template-columns: repeat(2, 1fr); } }
.tab { position: relative; text-align: left; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .03); color: var(--text-d); padding: .9rem 1rem; border-radius: 13px; cursor: pointer; font: inherit; overflow: hidden; transition: background-color .2s, border-color .2s; }
.tab b { display: block; font-size: .98rem; }
.tab span { display: block; color: var(--muted-d); font-size: .82rem; margin-top: .15rem; }
.tab[aria-selected="true"] { background: rgba(0, 105, 180, .2); border-color: rgba(43, 143, 224, .6); }
.tab .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--yellow); }
@media (max-width: 520px) { .tabs { grid-template-columns: 1fr; } .tab span { display: none; } }
.frame { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line-d); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.frame-bar { display: flex; align-items: center; gap: .45rem; padding: .6rem .9rem; background: #0e131b; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4556; }
.frame-bar i:nth-child(1) { background: #ff5f57; } .frame-bar i:nth-child(2) { background: #febc2e; } .frame-bar i:nth-child(3) { background: #28c840; }
.frame-bar span { margin-left: .6rem; color: #8a96a8; font-size: .75rem; }
.slides { position: relative; aspect-ratio: 1600 / 789; background: #f4f6f9; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease, transform .6s ease; transform: scale(1.01); }
.slide.on { opacity: 1; transform: none; }
.slide a { display: block; height: 100%; cursor: zoom-in; }
.slide img { width: 100%; height: 100%; object-fit: contain; object-position: top center; background: #fff; }
.viewer figcaption { margin-top: .9rem; color: var(--muted-d); font-size: .92rem; min-height: 1.5em; }

/* ---------- Rollen ---------- */
.roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 1100px) { .roles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .roles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .roles { grid-template-columns: 1fr; } }
.role { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 360px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; box-shadow: var(--shadow); }
.role img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; filter: saturate(.9); }
.role::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 26, 36, 0) 25%, rgba(20, 26, 36, .78) 60%, rgba(20, 26, 36, .96) 100%); }
.role:hover img { transform: scale(1.07); }
.role div { padding: 1.2rem; }
.role h3 { font-size: 1.05rem; }
.role h3::before { content: ""; display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--yellow); margin-bottom: .6rem; transition: width .3s; }
.role:hover h3::before { width: 48px; }
.role p { margin: .45rem 0 0; font-size: .86rem; color: #d3dae4; }

/* ---------- FAQ ---------- */
.faq { max-width: 54rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.4rem 1.2rem 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .95rem; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 600; font-size: 1.2rem; transition: transform .25s, background-color .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); color: #1c2230; }
.faq details p { margin: 0 0 1.3rem; color: var(--muted); max-width: 48rem; }

/* ---------- Referenzen ---------- */
.refs { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.refs .track { display: flex; width: max-content; gap: 1.2rem; }
.refs .logo { flex: none; width: 190px; height: 96px; border-radius: 14px; background: #fff; display: grid; place-items: center; padding: 1rem 1.4rem; box-shadow: var(--shadow); }
.refs .logo img { max-height: 58px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.refs .logo:hover img { filter: none; opacity: 1; }
.partner { margin-top: 1.6rem; display: flex; align-items: center; justify-content: center; gap: .8rem; color: var(--muted); font-size: .9rem; }
.partner img { height: 26px; width: auto; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(2.2rem, 5vw, 4rem); background: radial-gradient(40rem 22rem at 100% 0%, rgba(0, 105, 180, .55), transparent 60%), radial-gradient(30rem 20rem at 0% 100%, rgba(251, 186, 0, .2), transparent 60%), var(--navy-2); border: 1px solid var(--line-d); }
.cta h2 { max-width: 40rem; }
.cta p { color: var(--muted-d); max-width: 44rem; margin: 1rem 0 2rem; }
.cta .ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.4rem; }
@media (max-width: 760px) { .cta .ways { grid-template-columns: 1fr; } }
.way { display: grid; grid-template-columns: 44px 1fr; gap: .8rem; align-items: center; padding: 1rem; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); text-decoration: none; transition: background-color .2s, border-color .2s, transform .2s; }
.way:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .25); transform: translateY(-2px); }
.way i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(251, 186, 0, .15); color: var(--yellow); font-style: normal; }
.way i svg { width: 20px; height: 20px; }
.way small { display: block; color: var(--muted-d); font-size: .78rem; }
.way b { font-size: .98rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-0); padding: 3.4rem 0 2.2rem; color: var(--muted-d); font-size: .9rem; border-top: 1px solid var(--line-d); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }
.foot img { height: 22px; width: auto; margin-bottom: 1rem; }
.foot h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .8rem; }
.foot a { display: block; text-decoration: none; padding: .15rem 0; }
.foot a:hover { color: #fff; }
.foot p { margin: 0; }
.copy { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line-d); font-size: .82rem; }

/* ---------- Dialoge (Screenshot, Video) ---------- */
.dlg { border: 0; padding: 0; background: transparent; color: #fff; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; display: none; place-items: center; }
.dlg[open] { display: grid; }
.dlg::backdrop { background: rgba(14, 18, 26, .9); backdrop-filter: blur(5px); }
.dlg figure { margin: 0; padding: 64px 72px 24px; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: .9rem; pointer-events: none; }
.dlg img, .dlg video { max-width: min(1600px, 100%); max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); background: #fff; pointer-events: auto; }
.dlg video { background: #000; width: min(1280px, 100%); }
.dlg figcaption { max-width: 60rem; text-align: center; font-size: .95rem; color: #c9d1dc; pointer-events: auto; }
.dlg figcaption b { color: #fff; margin-right: .4rem; }
.dlg-btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(28, 34, 48, .8); color: #fff; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.dlg-btn:hover { background: var(--yellow); border-color: var(--yellow); color: #1c2230; }
.dlg-close { top: 16px; right: 16px; }
.dlg-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.dlg-next { right: 16px; top: 50%; transform: translateY(-50%); }
body.dlg-open { overflow: hidden; }
@media (max-width: 640px) {
  .dlg figure { padding: 72px 12px 84px; }
  .dlg-prev, .dlg-next { top: auto; bottom: 20px; transform: none; }
  .dlg-prev { left: calc(50% - 58px); }
  .dlg-next { right: calc(50% - 58px); }
}

/* ---------- Bewegung (nur ohne reduced-motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
  .js .rv.in { opacity: 1; transform: none; }
  .hero h1 .grad { animation: shimmer 6s linear infinite; }
  @keyframes shimmer { to { background-position: -200% 0; } }
  .hero .lines line { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s cubic-bezier(.3, .6, .2, 1) forwards, drift 14s ease-in-out 2.4s infinite alternate; animation-delay: calc(var(--i) * 60ms), calc(2.4s + var(--i) * 60ms); }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes drift { to { transform: translate(40px, -18px); } }
  .clock .arc { stroke-dasharray: var(--len) 2000; stroke-dashoffset: var(--len); animation: arc 1.4s cubic-bezier(.3, .6, .2, 1) forwards; animation-delay: var(--d); }
  @keyframes arc { to { stroke-dashoffset: 0; } }
  .clock .handg { transform-origin: 260px 260px; animation: spin 24s linear infinite; }
  @keyframes spin { from { transform: rotate(var(--start, 0deg)); } to { transform: rotate(calc(var(--start, 0deg) + 360deg)); } }
  .clockbox { animation: float 7s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-10px); } }
  .ev { animation: pop .6s cubic-bezier(.2, .9, .3, 1.3) both; }
  .ev.out { animation: popout .45s ease forwards; }
  @keyframes pop { from { opacity: 0; transform: translateX(30px) scale(.94); } }
  @keyframes popout { to { opacity: 0; transform: translateX(-20px) scale(.96); } }
  .ticker .track { animation: marquee 38s linear infinite; }
  .refs .track { animation: marquee 30s linear infinite; }
  .refs:hover .track, .ticker:hover .track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
  .bridge .sync svg { animation: rot 3s linear infinite; }
  @keyframes rot { to { transform: rotate(360deg); } }
  .bridge .dot { animation: travel 2.6s ease-in-out infinite; }
  @keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
  .crew li { opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .5s; transition-delay: calc(var(--i) * 140ms + .2s); }
  .in .crew li, .crew.in li { opacity: 1; transform: none; }
  .checks svg path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .6s ease; transition-delay: calc(var(--i) * 120ms + .3s); }
  .in .checks svg path { stroke-dashoffset: 0; }
  .tab[aria-selected="true"] .bar { animation: fill var(--dur, 6s) linear forwards; }
  .viewer.paused .tab[aria-selected="true"] .bar, .viewer.hold .tab[aria-selected="true"] .bar { animation-play-state: paused; }
  @keyframes fill { to { width: 100%; } }
}
@media (prefers-reduced-motion: reduce) {
  .ticker .track, .refs .track { flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker .track .dup, .refs .track .dup, .refs .track > .logo:nth-child(n+5) { display: none; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .refs .logo { width: 150px; }
  .ticker .track span { white-space: normal; text-align: center; }
  .ticker .track { padding: 0 16px; }
}

/* ---------- 404 ---------- */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.nf p { color: var(--muted-d); }
