:root {
  --bg: #f5f7fb; --bg-2: #ffffff; --ink: #121826; --ink-2: #4b5565; --ink-3: #6f7889;
  --accent: #1f3fc4; --accent-2: #2f4fe0; --accent-soft: #e8edfb; --ok: #1f9d78; --line: #e2e6ef; --line-2: #cfd6e4;
  --dark: #0f1522; --dark-2: #182036; --dark-ink: #f4f6f8; --dark-ink-2: #b9c2d6; --dark-line: rgba(142, 168, 255, 0.22);
  --max: 1180px; --radius: 18px; --shadow: 0 10px 30px rgba(18, 24, 38, 0.06);
}
* { box-sizing: border-box; min-width: 0; }
html, body { overflow-x: hidden; }
h1, h2, h3, p, li, dt, dd, summary { overflow-wrap: break-word; hyphens: auto; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
main { max-width: var(--max); margin: 0 auto; padding: 0 20px 80px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 6px 18px rgba(47, 79, 224, 0.28); }
.brand-name { font-family: "Open Sans", Inter, system-ui, sans-serif; font-size: 1.55rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.brand-name span { color: var(--accent-2); }
.top nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px 22px; }
.top nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a:hover { color: var(--ink); }
.top nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.top nav { margin-left: auto; }
.top .top-cta { padding: 10px 18px 10px 15px; margin-left: 22px; }
.menu-btn { display: none; }
.cta { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff !important; padding: 12px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 22px rgba(31, 63, 196, 0.28); font-size: 1rem; line-height: 1.2; border: 1px solid transparent; }
.cta:hover { background: var(--accent-2); }
.ghost { display: inline-flex; align-items: center; color: var(--ink); padding: 12px 22px; border-radius: 12px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 600; background: #fff; line-height: 1.2; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 0.95rem; margin-top: 10px; text-decoration: none; }
.more:hover { text-decoration: underline; }
.tag { display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; font-weight: 700; margin-bottom: 6px; }

/* hero */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero.solo .wrap { grid-template-columns: 1fr; max-width: 860px; }
.hero.dark { background: radial-gradient(900px 500px at 10% -20%, rgba(47, 79, 224, 0.35), transparent 60%), radial-gradient(700px 400px at 100% 0%, rgba(142, 168, 255, 0.18), transparent 60%), var(--dark); color: var(--dark-ink); }
.hero.dark .lead { color: var(--dark-ink-2); }
.hero.dark .ghost { color: var(--dark-ink); background: rgba(255, 255, 255, 0.06); border-color: var(--dark-line); }
.hero.light { background: #fff; border-bottom: 1px solid var(--line); }
.hero .kicker { color: var(--accent-2); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; margin-bottom: 16px; }
.hero.light .kicker { color: var(--accent); }
.hero .lead { font-size: 1.2rem; color: var(--ink-2); max-width: 46ch; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(142, 168, 255, 0.12); border: 1px solid var(--dark-line); color: var(--dark-ink-2); font-size: 0.86rem; font-weight: 600; }
.hero.light .badge { background: var(--accent-soft); border-color: transparent; color: var(--ink-2); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.hero-art .player { box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--dark-line); }

/* player */
.player { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; outline: none; }
.player video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.player .big { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; border: 0; background: rgba(47, 79, 224, 0.92); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 20px 50px rgba(47, 79, 224, 0.5); transition: transform 0.15s ease, opacity 0.2s ease; }
.player .big:hover { transform: scale(1.06); }
.player.playing .big { opacity: 0; pointer-events: none; }
.player .ctrl { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); display: flex; align-items: center; gap: 12px; transition: opacity 0.25s ease; }
.player.idle .ctrl { opacity: 0; }
.player .ctrl button { border: 0; background: transparent; color: #fff; width: 36px; height: 36px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.player .ctrl button:hover { background: rgba(255, 255, 255, 0.14); }
.player .bar { position: relative; flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); cursor: pointer; }
.player .bar .buf { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: rgba(255, 255, 255, 0.3); }
.player .bar .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: #8ea8ff; }
.player .bar .fill::after { content: ""; position: absolute; right: -7px; top: -4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.player .time { font-variant-numeric: tabular-nums; font-size: 0.86rem; color: #fff; min-width: 92px; text-align: center; }
.player .pp .ic-pause, .player.playing .pp .ic-play { display: none; }
.player.playing .pp .ic-pause { display: block; }
.player .mute .ic-off, .player.muted .mute .ic-on { display: none; }
.player.muted .mute .ic-off { display: block; }

/* bands and cards */
.band { padding: 56px 0 8px; }
.band + .band { border-top: 1px solid var(--line); }
.band .intro { max-width: 72ch; color: var(--ink-2); font-size: 1.08rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; margin: 28px 0 48px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-top: 4px; }
.card p { color: var(--ink-2); margin: 0 0 0.6em; font-size: 0.98rem; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 6px 0 0; padding-left: 1.1em; color: var(--ink-2); font-size: 0.96rem; }
.card li { margin-bottom: 4px; }
.card img.ico { width: 64px; height: 64px; margin-bottom: 12px; }
.card.sit p { font-size: 1.04rem; color: var(--ink); }
.card.aud { display: flex; gap: 18px; text-decoration: none; color: var(--ink); transition: transform 0.15s ease, border-color 0.15s ease; }
.card.aud:hover { transform: translateY(-3px); border-color: var(--accent); }
.card.aud img.ico { flex: 0 0 64px; margin: 0; }
.card.info { display: flex; gap: 18px; }
.card.info img.ico { flex: 0 0 56px; width: 56px; height: 56px; margin: 0; }
.cards.infos { grid-template-columns: 1fr; max-width: 900px; }
.mod { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform 0.15s ease, border-color 0.15s ease; }
.mod:hover { transform: translateY(-3px); border-color: var(--accent); }
.mod .card-shot { display: block; }
.mod .card-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.mod .body { padding: 18px 20px 20px; display: flex; gap: 14px; align-items: flex-start; }
.mod .body img.ico { width: 52px; height: 52px; flex: 0 0 52px; margin: 0; }
.mod h3 a { color: var(--ink); text-decoration: none; }
.cards.mods { grid-template-columns: repeat(4, 1fr); }

/* story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0 48px; }
.story-step { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 0; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.story-step .num { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; }
.story-step .txt p { color: var(--ink-2); font-size: 0.98rem; }
.story-shot { margin: auto -22px 0; border-top: 1px solid var(--line); }
.story-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }

/* module areas */
.areas { display: grid; gap: 18px; margin: 28px 0 48px; }
.area { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.area dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; }
.area dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 700; padding-top: 3px; }
.area dd { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.area dd:last-child { color: var(--ink); font-weight: 600; }
.area-shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.area-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* pillars, references, replace table, split */
.card.pillar p { color: var(--ink-2); }
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0 48px; }
.ref { margin: 0; background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.ref p { margin: 0; color: var(--ink); font-size: 1rem; }
.replace { width: 100%; border-collapse: separate; border-spacing: 0; margin: 28px 0 48px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.replace th, .replace td { text-align: left; padding: 14px 18px; vertical-align: top; }
.replace th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); background: var(--bg); border-bottom: 1px solid var(--line); }
.replace td { border-bottom: 1px solid var(--line); color: var(--ink-2); width: 50%; }
.replace td + td { color: var(--ink); font-weight: 600; }
.replace tr:last-child td { border-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 48px; }
.split h2 { font-size: 1.4rem; }

/* steps, architecture */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 28px 0 48px; counter-reset: s; }
.step { position: relative; padding: 26px 20px 20px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -14px; left: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; }
.step h3 { margin-top: 6px; font-size: 1.02rem; }
.step p { color: var(--ink-2); margin: 0; font-size: 0.94rem; }
.arch { display: grid; grid-template-columns: 1fr 40px 1.1fr 40px 1fr; align-items: stretch; gap: 0; margin: 28px 0 48px; }
.arch .box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.arch .box.main { border-color: var(--accent); background: var(--accent-soft); }
.arch .box ul { padding-left: 1.1em; margin: 8px 0; color: var(--ink-2); font-size: 0.95rem; }
.arch .box p { margin: 10px 0 0; font-weight: 600; font-size: 0.92rem; }
.arch .link { position: relative; }
.arch .link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--line-2); }

/* gallery, lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 28px 0 48px; }
.shot { display: block; text-decoration: none; color: var(--ink); }
.gallery .shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); box-shadow: var(--shadow); transition: transform 0.15s ease, border-color 0.15s ease; }
.gallery .shot:hover { transform: translateY(-3px); border-color: var(--accent); }
.gallery .shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.gallery .shot span { display: block; padding: 10px 14px 12px; font-size: 0.92rem; color: var(--ink-2); }
.gallery .shot strong { color: var(--ink); display: block; }
#lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(10, 14, 24, 0.92); display: none; align-items: center; justify-content: center; padding: 30px; }
#lightbox.open { display: flex; }
#lightbox figure { margin: 0; max-width: 1400px; width: 100%; }
#lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 12px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7); }
#lightbox figcaption { text-align: center; color: var(--dark-ink-2); margin-top: 12px; }
#lightbox button { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--dark-line); background: rgba(26, 34, 56, 0.9); color: #fff; font-size: 1.4rem; cursor: pointer; }
#lightbox .prev { left: 18px; } #lightbox .next { right: 18px; }
#lightbox .close { top: 18px; right: 18px; transform: none; }

/* faq, demo, footer */
.faq { padding-bottom: 48px; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }
.demo { padding: 44px 36px; margin-top: 24px; border-radius: 24px; background: radial-gradient(600px 300px at 0% 0%, rgba(47, 79, 224, 0.45), transparent 60%), var(--dark); color: var(--dark-ink); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center; }
.demo p { color: var(--dark-ink-2); }
.demo .actions { margin: 0; justify-content: flex-end; }
footer { background: var(--dark); color: var(--dark-ink-2); padding: 44px 20px 50px; font-size: 0.92rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
footer .brand { color: var(--dark-ink); margin-bottom: 14px; }
footer .brand-name span { color: #8ea8ff; }
footer strong { display: block; color: var(--dark-ink); margin-bottom: 6px; }
footer nav a { color: var(--dark-ink-2); text-decoration: none; display: block; margin-bottom: 4px; }
footer nav a:hover { color: #fff; }
footer p { margin: 0; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal.in { animation: rise 0.5s ease both; }
@media (prefers-reduced-motion: reduce) { .reveal.in { animation: none; } }

@media (max-width: 1000px) {
  .cards.mods { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .refs { grid-template-columns: 1fr; }
  .arch { grid-template-columns: 1fr; gap: 14px; }
  .arch .link { display: none; }
}
@media (max-width: 820px) {
  .hero { padding: 40px 0 36px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .cards.three, .cards.two, .cards.mods, .story, .split, .steps { grid-template-columns: 1fr; }
  .area { grid-template-columns: 1fr; }
  .area dl { grid-template-columns: 1fr; gap: 2px; }
  .area dt { padding-top: 10px; }
  .demo { grid-template-columns: 1fr; padding: 30px 22px; }
  .demo .actions { justify-content: flex-start; }
  footer .cols { grid-template-columns: 1fr; }
  .top .wrap { height: 60px; padding: 0 14px; gap: 10px; }
  .top .brand { margin-right: auto; }
  .top nav { margin-left: 0; }
  .top .top-cta { margin-left: 0; padding: 8px 12px 8px 10px; font-size: 0.9rem; box-shadow: none; white-space: nowrap; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; cursor: pointer; }
  .menu-btn span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }
  .top.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .top.open .menu-btn span:nth-child(2) { opacity: 0; }
  .top.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 60px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .top.open nav { display: block; }
  .top nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0; }
  .top nav a { display: block; padding: 12px 20px; font-size: 1.05rem; border-bottom: 0; }
  .top nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
  .brand img { width: 30px; height: 30px; }
  .brand-name { font-size: 1.3rem; }
  .player .big { width: 68px; height: 68px; }
  .player .big svg { width: 28px; height: 28px; }
  .replace td { width: auto; display: block; }
  .replace td + td { padding-top: 0; }
  .replace thead { display: none; }
  .replace td::before { content: "Heute"; display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
  .replace td + td::before { content: "In Onamus"; }
}
@media (max-width: 400px) {
  .top .wrap { padding: 0 10px; gap: 8px; }
  .brand-name { font-size: 1.15rem; }
  .top .top-cta { padding: 7px 10px 7px 8px; font-size: 0.85rem; }
  .menu-btn { width: 38px; height: 38px; }
}
