/* ============================================================
   SKA & A Int. GmbH  ·  Design System
   Light corporate-clean · Broadcast Blue accent
   Type: Archivo Variable (wdth axis) + IBM Plex Mono
   ============================================================ */

@font-face {
  font-family: 'Archivo Var';
  src: url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Archivo Var';
  src: url('../fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plex Mono';
  src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FAFBFD;
  --surface: #FFFFFF;
  --surface-2: #F1F4F8;
  --ink: #0D1726;
  --ink-2: #4A5A70;
  --ink-3: #7A8899;
  --line: #DEE4EC;
  --accent: #0B48D0;
  --accent-deep: #093AA8;
  --accent-soft: #E9EFFC;
  --accent-wash: #F4F7FE;
  --ok: #0E7A4E;
  --radius: 14px;
  --radius-s: 10px;
  --sans: 'Archivo Var', 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Plex Mono', 'IBM Plex Mono', ui-monospace, 'Courier New', monospace;
  --nav-h: 72px;
  --wrap: 1240px;
  --shadow-1: 0 1px 2px rgba(13, 23, 38, .05), 0 8px 28px rgba(13, 23, 38, .07);
  --shadow-2: 0 2px 6px rgba(11, 72, 208, .10), 0 16px 44px rgba(13, 23, 38, .12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
ul, ol { padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
a, button, input, select, textarea, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(11, 72, 208, .12); }
[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--ink); color: #fff; padding: .6rem 1.1rem; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .95rem;
}
.skip-link:focus { left: 8px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 630; line-height: 1.05; letter-spacing: -0.018em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-stretch: 116%; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.7rem); font-stretch: 114%; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; line-height: 1.35; }
p { max-width: 68ch; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--ink-2); }
.small { font-size: .92rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.1rem;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-wash { background: var(--accent-wash); border-block: 1px solid #E3EAF8; }

.sec-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head p { margin-top: 1.1rem; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-weight: 620; font-size: 1rem; line-height: 1; letter-spacing: .003em;
  text-decoration: none; border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .18s cubic-bezier(.16,1,.3,1), background .18s, color .18s, border-color .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(11,72,208,.28); }
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 8px 24px rgba(11,72,208,.34); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-lg { padding: 1.1rem 2.1rem; font-size: 1.06rem; }
.btn .arr { transition: transform .18s cubic-bezier(.16,1,.3,1); }
.btn:hover .arr { transform: translateX(3px); }

.textlink {
  color: var(--accent); font-weight: 620; text-decoration: none;
  border-bottom: 1.5px solid transparent; transition: border-color .15s;
}
.textlink:hover { border-color: var(--accent); }
.textlink svg { display: inline-block; vertical-align: -3px; width: 16px; height: 16px; }
.nowrap { white-space: nowrap; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 251, 253, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.92); }
.nav-inner { display: flex; align-items: center; gap: 2rem; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.brand-name { font-weight: 660; font-stretch: 112%; font-size: 1.02rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand-name small { display: block; font-weight: 480; font-stretch: 100%; font-size: .68rem; letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }

.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .85rem; border-radius: 999px;
  font-weight: 560; font-size: .98rem; text-decoration: none; color: var(--ink-2);
  transition: color .15s, background .15s;
  background: none; border: 0;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link.is-open { color: var(--ink); background: var(--surface-2); }
.nav-link .chev { transition: transform .2s; }
.nav-link.is-open .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 300px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-2); padding: .5rem;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
  list-style: none;
}
.dropdown.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: block; padding: .6rem .85rem; border-radius: var(--radius-s);
  text-decoration: none; font-size: .95rem; font-weight: 540; color: var(--ink);
}
.dropdown a small { display: block; font-weight: 420; color: var(--ink-3); font-size: .8rem; }
.dropdown a:hover { background: var(--accent-wash); color: var(--accent); }
.dropdown .dd-all { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .45rem; }
.dropdown .dd-all a { color: var(--accent); font-weight: 620; }

.lang-switch {
  display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  font-size: .82rem; font-weight: 620;
}
.lang-switch a, .lang-switch span { padding: .35rem .65rem; text-decoration: none; color: var(--ink-3); }
.lang-switch [aria-current] { background: var(--ink); color: #fff; }
.lang-switch a:hover { color: var(--accent); }

.nav-cta { margin-left: .25rem; }

.nav-burger {
  display: none; background: none; border: 0; padding: .5rem; border-radius: 8px;
  flex-direction: column; gap: 5px;
}
.nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92dvh, 880px);
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + clamp(1.5rem, 4vh, 3.5rem));
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
  overflow: hidden;
}
.hero-canvas {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-canvas canvas { width: 100%; height: 100%; }
.hero-fade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(250,251,253,.94) 30%, rgba(250,251,253,.55) 52%, rgba(250,251,253,0) 78%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7.2fr) minmax(0, 4.8fr); gap: 2rem; align-items: center; width: 100%; }
.hero-copy h1 { margin: 0 0 1.4rem; font-size: clamp(2.6rem, 5vw, 4rem); }
.hero-copy .lead { margin-bottom: 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

.hero-panel { justify-self: end; align-self: end; }
.hero-facts {
  display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-1); overflow: hidden; min-width: 300px;
}
.hero-facts > div { padding: 1.05rem 1.4rem; display: flex; align-items: baseline; gap: .9rem; }
.hero-facts > div + div { border-top: 1px solid var(--line); }
.hero-facts b { font-size: 1.55rem; font-stretch: 112%; font-weight: 660; letter-spacing: -0.02em; color: var(--accent); min-width: 3.2ch; font-variant-numeric: tabular-nums; }
.hero-facts span { color: var(--ink-2); font-size: .95rem; line-height: 1.35; }

/* ---------- Logo / brand strip ---------- */
.brandstrip { border-block: 1px solid var(--line); background: var(--surface); }
.brandstrip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; padding-block: 1.6rem; }
.brandstrip .bs-label { font-size: .9rem; color: var(--ink-3); }
.wordmark {
  font-weight: 660; font-stretch: 118%; letter-spacing: .01em; font-size: 1.12rem; color: var(--ink-2);
  opacity: .75; transition: opacity .15s, color .15s; text-decoration: none; white-space: nowrap;
}
.wordmark:hover { opacity: 1; color: var(--accent); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; position: relative;
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s, border-color .22s;
}
a.card { display: block; text-decoration: none; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #C7D5F1; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--ink-2); font-size: .97rem; }
.card .card-go {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem;
  color: var(--accent); font-weight: 620; font-size: .95rem;
}
.card:hover .card-go .arr { transform: translateX(3px); }
.card .arr { transition: transform .18s; }

.card-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft);
  display: grid; place-items: center; margin-bottom: 1.2rem; color: var(--accent);
}
.card-icon svg { width: 24px; height: 24px; }

.card-img { padding: 0; overflow: hidden; }
.card-img figure { aspect-ratio: 3 / 2; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.card-img:hover img { transform: scale(1.04); }
.card-img .card-body { padding: 1.5rem 1.8rem 1.8rem; }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-bottom: 1.1rem; }
.split .lead { margin-bottom: 1.4rem; }

.checklist { list-style: none; display: grid; gap: .85rem; margin-top: 1.4rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-2); }
.checklist li b { color: var(--ink); font-weight: 620; }
.checklist .tick {
  flex: none; width: 22px; height: 22px; margin-top: .15rem; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); display: grid; place-items: center;
}
.checklist .tick svg { width: 12px; height: 12px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem 1.5rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-size: .8rem; color: var(--accent); font-weight: 500;
  display: block; margin-bottom: .9rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.step p { font-size: .93rem; color: var(--ink-2); }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: left; padding: 1.6rem 1.8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.stat b { display: block; font-size: clamp(2.1rem, 3.4vw, 2.9rem); font-stretch: 114%; font-weight: 660; letter-spacing: -0.02em; color: var(--accent); line-height: 1; margin-bottom: .5rem; }
.stat span { color: var(--ink-2); font-size: .95rem; }

/* FAQ */
.faq { display: grid; gap: .8rem; max-width: 780px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 1.15rem 1.5rem; font-weight: 620; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--accent); font-weight: 400; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.5rem 1.25rem; color: var(--ink-2); }

/* Use-case pills */
.pillrow { display: flex; flex-wrap: wrap; gap: .7rem; }
.pill {
  padding: .55rem 1.05rem; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); font-weight: 560; font-size: .93rem; color: var(--ink-2);
}
.pill b { color: var(--ink); font-weight: 620; }

/* ---------- Contact band (on every page) ---------- */
.contact-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.contact-band::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(720px 340px at 85% 20%, rgba(11, 72, 208, .40), transparent 65%),
    radial-gradient(560px 300px at 8% 90%, rgba(11, 72, 208, .22), transparent 60%);
  pointer-events: none;
}
.contact-band .wrap { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 3rem; align-items: center; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.contact-band h2 { color: #fff; margin-bottom: 1rem; }
.contact-band p { color: #B9C4D6; max-width: 46ch; }
.contact-band .btn-primary { box-shadow: 0 8px 26px rgba(11,72,208,.5); }
.contact-quick { display: grid; gap: .9rem; }
.contact-quick a {
  display: flex; align-items: center; gap: 1rem; text-decoration: none;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  padding: 1rem 1.3rem; border-radius: var(--radius); color: #fff;
  transition: background .18s, border-color .18s, transform .18s;
}
.contact-quick a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.contact-quick .cq-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; flex: none; }
.contact-quick .cq-ico svg { width: 20px; height: 20px; }
.contact-quick b { display: block; font-size: 1.02rem; }
.contact-quick span { color: #B9C4D6; font-size: .85rem; }
.contact-band .cb-ctas { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: 3.5rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; margin-bottom: 3rem; }
.site-footer .ft-h { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 1rem; font-weight: 620; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; color: var(--ink-2); font-size: .95rem; }
.site-footer a:hover { color: var(--accent); }
.footer-about p { color: var(--ink-2); font-size: .95rem; margin-top: 1rem; max-width: 34ch; }
.footer-legal { border-top: 1px solid var(--line); padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; color: var(--ink-3); font-size: .87rem; }
.footer-legal a { color: var(--ink-3); }

/* ---------- Floating contact ---------- */
.fab {
  position: fixed;
  right: calc(clamp(1rem, 3vw, 1.8rem) + env(safe-area-inset-right, 0px));
  bottom: calc(clamp(1rem, 3vw, 1.8rem) + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex; flex-direction: column-reverse; align-items: flex-end; gap: .7rem;
}
.fab-main {
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-2);
  transition: transform .2s cubic-bezier(.16,1,.3,1), background .2s;
}
.fab-main:hover { transform: scale(1.07); background: var(--accent-deep); }
.fab-main svg { width: 22px; height: 22px; transition: transform .25s; }
.fab.open .fab-main svg { transform: rotate(135deg); }
.fab-items { display: grid; gap: .6rem; }
.fab-items a {
  display: flex; align-items: center; gap: .7rem; text-decoration: none;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  padding: .65rem 1.05rem .65rem .7rem; border-radius: 999px; font-weight: 600; font-size: .93rem;
  box-shadow: var(--shadow-1);
  opacity: 0; transform: translateY(8px) scale(.95); pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.fab.open .fab-items a { opacity: 1; transform: none; pointer-events: auto; }
.fab-items a:hover { border-color: var(--accent); color: var(--accent); }
.fab-items .fi { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.fab-items .fi svg { width: 17px; height: 17px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero .crumbs { margin-bottom: 1.6rem; }
.page-hero h1 { max-width: 20ch; margin-bottom: 1.3rem; font-size: clamp(2.2rem, 4vw, 3.4rem); }
.page-hero .lead { max-width: 62ch; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-hero-grid figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); aspect-ratio: 4 / 3; }
.page-hero-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-ctas { margin-top: 2rem; }

.crumbs { font-size: .88rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; list-style: none; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: .6; }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 620; font-size: .93rem; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink);
  padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-s);
  background: var(--bg); width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11,72,208,.14);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--ink-3); }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--accent); }
.form-note { margin-top: 1rem; font-size: .85rem; color: var(--ink-3); }
.form-status { margin-top: 1rem; font-weight: 600; display: none; padding: .8rem 1rem; border-radius: var(--radius-s); }
.form-status.ok { display: block; background: #E7F6EE; color: var(--ok); }
.form-status.err { display: block; background: #FDEBEC; color: #B4232A; }

.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; }
.info-card + .info-card { margin-top: 1.1rem; }
.info-card h3 { margin-bottom: .9rem; font-size: 1.05rem; }
.info-rows { display: grid; gap: .7rem; }
.info-rows a, .info-rows div { display: flex; gap: .8rem; align-items: center; text-decoration: none; color: var(--ink-2); font-size: .96rem; }
.info-rows a:hover { color: var(--accent); }
.info-rows .fi { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.info-rows .fi svg { width: 17px; height: 17px; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/8; background: var(--surface-2); }

/* ---------- Legal pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin: 2.4rem 0 .8rem; }
.prose h3 { font-size: 1.12rem; margin: 1.6rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { margin: .6rem 0 .6rem 1.2rem; }
.prose a { color: var(--accent); }

/* ---------- Reveal animation base ---------- */
[data-rv] { opacity: 0; transform: translateY(26px); }
.no-js [data-rv], .rv-in { opacity: 1 !important; transform: none !important; }

/* ---------- Europe coverage figure ---------- */
.euro-note { display: flex; gap: .8rem; align-items: center; margin-top: 1.6rem; color: var(--ink-2); font-size: .95rem; }
.euro-note .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { justify-self: start; }
  .hero-facts { min-width: 0; width: 100%; max-width: 460px; }
  .hero-fade { background: linear-gradient(180deg, var(--bg) 0%, rgba(250,251,253,.9) 40%, rgba(250,251,253,.72) 100%); }
}
@media (max-width: 900px) {
  .nav-list {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.4rem;
    box-shadow: 0 24px 40px rgba(13,23,38,.12);
    display: none;
  }
  .nav-list.open { display: flex; overscroll-behavior: contain; max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; }
  .nav-link { width: 100%; justify-content: space-between; padding: .8rem 1rem; border-radius: var(--radius-s); font-size: 1.05rem; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: hidden; height: 0; overflow: hidden; box-shadow: none; border: 0; padding: 0 0 0 .8rem; min-width: 0; transition: none; }
  .dropdown.open { visibility: visible; height: auto; padding-bottom: .6rem; }
  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split, .page-hero-grid, .contact-layout, .contact-band .wrap { grid-template-columns: 1fr; }
  .contact-band .wrap { gap: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .split figure { order: -1; }
}
@media (max-width: 640px) {
  .steps, .stats, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .brand-name small { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-rv] { opacity: 1; transform: none; }
}

/* ---------- CTA tile in service grids ---------- */
.card-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-color: var(--accent-deep);
  display: flex; flex-direction: column; justify-content: center;
}
.card-cta h3, .card-cta p { color: #fff; }
.card-cta p { opacity: .85; }
.card-cta .card-go { color: #fff; }
.card-cta:hover { border-color: var(--accent); box-shadow: 0 16px 44px rgba(11, 72, 208, .35); }

/* ---------- PDLC compare figure ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; max-width: 900px; }
.compare figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); margin: 0; }
.compare img { width: 100%; height: auto; }
.compare figcaption { padding: .75rem 1.1rem; font-weight: 620; font-size: .93rem; color: var(--ink-2); border-top: 1px solid var(--line); }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }

/* dropdown scroll safety for long menus */
@media (min-width: 901px) {
  .dropdown { max-height: calc(100dvh - var(--nav-h) - 24px); overflow-y: auto; }
}

/* ---------- Official SKA logo ---------- */
.brand-mark-img { height: 36px; width: auto; flex: none; }
.footer-logo { height: 96px; width: auto; }
@media (max-width: 640px) { .brand-mark-img { height: 30px; } }

/* ---------- Partner login ---------- */
.nav-login {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .92rem; color: var(--ink-2);
  padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 999px;
  margin-left: .25rem; white-space: nowrap; transition: color .2s, border-color .2s;
}
.nav-login svg { width: 17px; height: 17px; }
.nav-login:hover, .nav-login[aria-current] { color: var(--accent); border-color: var(--accent); }
@media (max-width: 1100px) { .nav-login span { display: none; } .nav-login { padding: .45rem .55rem; } }
@media (max-width: 920px) { .nav-login { display: none; } }

.login-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-1); padding: 1.6rem 1.6rem 1.2rem; max-width: 420px; justify-self: end; width: 100%;
}
.login-card-head { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.1rem; }
.login-card-head h2 { font-size: 1.15rem; margin: 0; }
.login-ico {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); flex: none;
}
.login-ico svg { width: 19px; height: 19px; }
.login-badge { margin-left: auto; background: var(--accent-soft); color: var(--accent-deep); }
.login-card fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .9rem; }
.login-card fieldset[disabled] { opacity: .62; }
.login-card label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.login-card input {
  width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: var(--surface-2); font: inherit; color: var(--ink);
}
.login-card .small { margin-top: 1rem; }
@media (max-width: 920px) { .login-card { justify-self: stretch; max-width: none; } }

/* ---------- Chat widget ---------- */
.fab { z-index: 95; }
.chat-launch {
  position: fixed; z-index: 94;
  right: calc(clamp(1rem, 3vw, 1.8rem) + env(safe-area-inset-right, 0px));
  bottom: calc(clamp(1rem, 3vw, 1.8rem) + env(safe-area-inset-bottom, 0px) + 48px + .9rem);
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.25rem; border-radius: 999px; border: 0; cursor: pointer;
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  font: 600 .95rem/1 var(--sans); letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 10px 28px rgba(11,72,208,.42);
  transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s;
}
.chat-launch:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 34px rgba(11,72,208,.5); }
.chat-launch.open { background: var(--ink); box-shadow: var(--shadow-2); }
.chat-launch svg { width: 20px; height: 20px; }
.chat-launch-txt { display: inline; }
@media (max-width: 640px) {
  .chat-launch { padding: .85rem 1.05rem; }
  .chat-launch-txt { display: none; }
  .chat-launch svg { width: 24px; height: 24px; }
}
.chat-panel {
  position: fixed; z-index: 99;
  right: calc(clamp(1rem, 3vw, 1.8rem) + env(safe-area-inset-right, 0px));
  bottom: calc(clamp(1rem, 3vw, 1.8rem) + env(safe-area-inset-bottom, 0px));
  width: min(380px, calc(100vw - 2rem));
  height: min(560px, calc(100dvh - 7rem));
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-2); overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-head {
  display: flex; align-items: center; gap: .65rem;
  padding: .9rem 1rem; border-bottom: 1px solid var(--line); background: var(--accent-wash);
}
.chat-ava {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; flex: none;
}
.chat-ava svg { width: 19px; height: 19px; }
.chat-head-txt { display: grid; line-height: 1.25; }
.chat-head-txt b { font-size: .98rem; }
.chat-head-txt small { color: var(--ink-3); font-size: .78rem; }
.chat-close {
  margin-left: auto; border: 0; background: none; cursor: pointer; color: var(--ink-3);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
}
.chat-close:hover { background: var(--surface-2); color: var(--ink); }
.chat-close svg { width: 19px; height: 19px; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: grid; gap: .6rem; align-content: start; }
.chat-msg {
  max-width: 85%; padding: .6rem .85rem; border-radius: 14px;
  font-size: .92rem; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word;
}
.chat-bot { background: var(--surface-2); color: var(--ink); justify-self: start; border-bottom-left-radius: 4px; }
.chat-user { background: var(--accent); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.chat-wait { color: var(--ink-3); animation: chatPulse 1.2s ease-in-out infinite; }
.chat-error { background: #FBEDEA; color: #8C2F1F; }
@keyframes chatPulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.chat-form { display: flex; gap: .5rem; padding: .7rem .8rem 0; }
.chat-input {
  flex: 1; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface-2); font: inherit; font-size: .92rem; color: var(--ink);
}
.chat-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.chat-send {
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; flex: none;
  display: grid; place-items: center; background: var(--accent); color: #fff; transition: background .2s;
}
.chat-send:hover { background: var(--accent-deep); }
.chat-send:disabled { opacity: .5; cursor: default; }
.chat-send svg { width: 19px; height: 19px; }
.chat-hint { margin: .45rem .9rem .7rem; font-size: .72rem; color: var(--ink-3); text-align: center; }
@media (prefers-reduced-motion: reduce) { .chat-wait { animation: none; } }
.nav-li-login { display: none; }
@media (max-width: 920px) { .nav-li-login { display: block; border-top: 1px solid var(--line); padding-top: .4rem; margin-top: .4rem; } }
.fab-items { pointer-events: none; }
.fab.open .fab-items { pointer-events: auto; }
.fab { pointer-events: none; }
.fab-main { pointer-events: auto; }

/* ---------- Produkt-Banner (Startseite) ---------- */
.promo-banner {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  color: #fff; box-shadow: var(--shadow-1); isolation: isolate;
}
.promo-banner img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.promo-banner:hover img { transform: scale(1.04); }
.promo-wide { aspect-ratio: 21 / 9; }
.promo-wide img { position: absolute; inset: 0; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.4rem; }
.promo-grid .promo-banner { aspect-ratio: 16 / 10; }
.promo-grid .promo-banner img { position: absolute; inset: 0; }
.pb-grad {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(8, 14, 28, .82) 0%, rgba(8, 14, 28, .38) 42%, rgba(8, 14, 28, .05) 70%);
}
.promo-wide .pb-grad {
  background: linear-gradient(100deg, rgba(8, 14, 28, .82) 0%, rgba(8, 14, 28, .45) 45%, rgba(8, 14, 28, .04) 75%);
}
.pb-body {
  position: absolute; z-index: 2; inset: auto 0 0 0;
  display: grid; gap: .3rem; justify-items: start;
  padding: clamp(1.1rem, 3vw, 2rem);
}
.promo-wide .pb-body { inset: 0 auto 0 0; align-content: center; max-width: min(34rem, 72%); }
.pb-eyebrow {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.pb-h { font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.9rem); line-height: 1.15; font-stretch: 112%; }
.pb-p { font-size: .95rem; color: rgba(255, 255, 255, .88); max-width: 30rem; }
.pb-cta {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .65rem;
  padding: .55rem 1.05rem; border-radius: 999px; font-weight: 600; font-size: .9rem;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(4px); transition: background .2s, border-color .2s;
}
.promo-banner:hover .pb-cta { background: var(--accent); border-color: var(--accent); }
.pb-cta .arr svg { width: 15px; height: 15px; }
@media (max-width: 920px) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo-wide { aspect-ratio: 16 / 10; }
  .promo-wide .pb-body { inset: auto 0 0 0; max-width: none; align-content: end; }
  .promo-wide .pb-grad { background: linear-gradient(to top, rgba(8, 14, 28, .82) 0%, rgba(8, 14, 28, .38) 42%, rgba(8, 14, 28, .05) 70%); }
  .pb-p { display: none; }
}
