/* SEMCO MCP Landing – Gestaltung. Systemschriften, keine externen Anfragen. */

:root {
  --ink: #0b1220;
  --ink-2: #1c2740;
  --muted: #5a667f;
  --line: #e4e9f2;
  --bg: #ffffff;
  --tint: #f4f7fc;
  --navy: #0a1226;
  --navy-2: #121e3d;
  --brand: #3b6cff;
  --brand-2: #19c3b1;
  --grad: linear-gradient(120deg, #6d8dff 0%, #3dd6c4 100%);
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 12px 32px -12px rgba(11, 18, 32, .18);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
code { font-family: var(--mono); }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.35em; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #04101f; box-shadow: 0 8px 24px -8px rgba(61, 214, 196, .55); }
.btn-primary:hover { box-shadow: 0 12px 28px -8px rgba(61, 214, 196, .7); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .05); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-small { padding: .5em 1.1em; font-size: .95rem; background: var(--grad); color: #04101f; }
.btn-large { font-size: 1.1rem; padding: 1em 1.9em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 18, 38, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; letter-spacing: .01em; }
.brand-logo { display: block; height: 44px; width: auto; }
.brand-text { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .22); line-height: 1.2; }
.brand-text b { font-weight: 700; color: #9fb4ff; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a:not(.btn) { text-decoration: none; font-size: .95rem; color: rgba(255, 255, 255, .78); transition: color .15s; }
.main-nav a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; margin: auto; transition: transform .2s, opacity .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 88px 0 96px; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(900px 480px at 85% -10%, rgba(61, 214, 196, .28), transparent 60%),
  radial-gradient(800px 520px at 5% 10%, rgba(88, 118, 255, .35), transparent 60%),
  linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: .85rem; color: #c9d6ff; margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(25, 195, 177, .22); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; font-size: 1.18rem; color: #b8c4e4; max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-facts b { display: block; font-size: 1.9rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.hero-facts span { display: block; margin-top: 6px; font-size: .86rem; color: #93a2c9; line-height: 1.45; }

/* Chat-Mockup */
.chat { background: rgba(14, 24, 50, .85); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .03) inset; overflow: hidden; transform: rotate(.6deg); }
.chat-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); font-size: .8rem; color: #8798c4; }
.chat-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3b4a70; }
.chat-bar i:nth-child(1) { background: #ff6b6b; } .chat-bar i:nth-child(2) { background: #ffcf5a; } .chat-bar i:nth-child(3) { background: #46d38a; }
.chat-bar span { margin-left: 10px; }
.chat-body { display: grid; gap: 14px; padding: 20px; }
.msg { max-width: 92%; padding: 12px 16px; border-radius: 14px; font-size: .95rem; line-height: 1.5; }
.msg-user { justify-self: end; background: linear-gradient(120deg, #3b6cff, #4f86ff); color: #fff; border-bottom-right-radius: 4px; }
.msg-bot { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: #dbe4ff; border-bottom-left-radius: 4px; display: grid; gap: 10px; }
.call { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: rgba(61, 214, 196, .1); border: 1px solid rgba(61, 214, 196, .25); font-size: .78rem; color: #8fe9dd; }
.call code { font-weight: 600; }
.call em { font-style: normal; color: #7fb9b3; }
.call-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2); }
.mini { width: 100%; border-collapse: collapse; font-size: .85rem; }
.mini th, .mini td { text-align: left; padding: 6px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mini th { font-weight: 600; color: #8fa2d6; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.ok { display: flex; gap: 8px; align-items: flex-start; color: #8fe9dd; }
.chat figcaption { padding: 10px 16px 14px; font-size: .75rem; color: #6f80aa; text-align: center; }

/* ---------- Abschnitte ---------- */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 90% 0%, rgba(88, 118, 255, .25), transparent 60%), radial-gradient(600px 360px at 0% 100%, rgba(61, 214, 196, .15), transparent 60%); }
.section-dark .wrap { position: relative; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.kicker { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin-bottom: 12px; }
.section-dark .kicker { color: var(--brand-2); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.section-head p:not(.kicker) { margin-top: 16px; font-size: 1.1rem; color: var(--muted); }
.section-dark .section-head p:not(.kicker) { color: #a9b7da; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 700; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card, .area { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover, .area:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd9ee; }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: .98rem; }
.card-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, rgba(59, 108, 255, .12), rgba(25, 195, 177, .16)); color: var(--brand); font-size: 1.3rem; }
.card-icon .icon { width: 24px; height: 24px; }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 28px; }
.step-no { position: absolute; top: 18px; right: 20px; font-size: 2.6rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #d4def2; }
.step h3 { margin: 18px 0 8px; }
.step p { color: var(--muted); font-size: .98rem; }

/* Datenbereiche */
.area-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 5px 12px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); font-size: .86rem; color: var(--ink-2); }

/* Beispiele */
.prompt { position: relative; padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: background .2s, transform .2s; }
.prompt:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.prompt-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #04101f; background: var(--grad); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }
.prompt p { font-size: 1.12rem; line-height: 1.5; color: #eaf0ff; }

/* Sicherheit */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.lead-dark { margin-top: 18px; font-size: 1.1rem; color: var(--muted); }
.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 16px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(11, 18, 32, .03); }
.checks .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--grad); color: #04101f; margin-top: 2px; }
.checks b { display: block; font-size: 1.02rem; }
.checks span { display: block; margin-top: 3px; color: var(--muted); font-size: .95rem; }

/* Werkzeuge */
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 22px; }
.tool { display: flex; align-items: baseline; gap: 16px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.tool code { flex: none; min-width: 11.5ch; font-size: .88rem; font-weight: 600; color: var(--brand); background: rgba(59, 108, 255, .08); padding: 3px 9px; border-radius: 7px; }
.tool span { color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--navy); color: #fff; text-align: center; padding: 104px 0; }
.cta-bg { position: absolute; inset: 0; background: radial-gradient(700px 360px at 50% 0%, rgba(61, 214, 196, .3), transparent 65%), radial-gradient(600px 400px at 90% 100%, rgba(88, 118, 255, .3), transparent 60%); }
.cta-inner { position: relative; max-width: 700px; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta p { margin: 18px 0 34px; font-size: 1.15rem; color: #b8c4e4; }

/* Footer */
.site-footer { background: #070d1d; color: #8d9bbf; padding: 56px 0 28px; font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.brand-footer { color: #fff; }
.footer-note { margin-top: 12px; max-width: 42ch; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; color: #66749a; }

/* Einblenden (nur mit Skript; ohne Skript ist alles sichtbar) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsiv ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .chat { transform: none; max-width: 560px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; background: #0a1226; border-bottom: 1px solid rgba(255, 255, 255, .08); display: none; }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 1.02rem; }
  .main-nav .btn { margin-top: 14px; justify-content: center; }
  .tools { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 56px 0 64px; }
  .section { padding: 72px 0; }
  .cta { padding: 76px 0; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr; gap: 16px; }
  .hero-facts li { display: flex; align-items: baseline; gap: 14px; }
  .hero-facts b { min-width: 3.2ch; }
  .hero-facts span { margin-top: 0; }
  .tool { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .area, .prompt { transition: none; }
}
