/* ============================================================
   SummitX — Design System
   Gemeinsam Gipfel erreichen.
   Dark Mode = primäre Markenwelt · Light Mode via [data-theme=light]
   ============================================================ */

/* ---------- Fonts (self-hosted, DSGVO-sauber; Fallback system-ui) ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-v26-latin-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-v26-latin-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-v26-latin-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v13-latin-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v13-latin-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v13-latin-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0D1B2A;
  --bg-2: #1B263B;
  --bg-3: #243447;
  --bg-4: #2A3B55;
  --ink: #F5F6F7;
  --ink-2: #A7B0BC;
  --ink-3: #7D8B9E;
  --gold: #D4AF37;
  --gold-2: #E6C97A;
  --gold-dim: rgba(212, 175, 55, .14);
  --green: #3DBE7B;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, .30);
  --font-head: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1160px;
  --header-h: 72px;
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #F5F7FA;        /* gebrochenes Weiß — Seitenhintergrund */
  --bg-2: #FFFFFF;      /* Weiß — Karten & abgesetzte Sektionen */
  --bg-3: #EDF1F6;      /* kühles Hellgrau — Chips/Insets */
  --bg-4: #E0E6EF;
  --ink: #10233B;       /* tiefes Dunkelblau — Primärtext */
  --ink-2: #4A5A70;     /* neutrales Schiefergrau — Sekundärtext */
  --ink-3: #6E7D91;
  --gold: #9C7618;      /* dunkler für AA-Kontrast auf Weiß (Text/Linien) */
  --gold-2: #C9A038;
  --gold-dim: rgba(156, 118, 24, .10);
  --line: rgba(16, 35, 59, .09);   /* kühles Hellgrau */
  --line-2: rgba(16, 35, 59, .16);
  --shadow: 0 20px 50px rgba(16, 35, 59, .10);
  --shadow-soft: 0 8px 24px rgba(16, 35, 59, .07);
  color-scheme: light;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .35s ease, color .35s ease;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--ink-2); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
::selection { background: var(--gold); color: #0D1B2A; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: #0D1B2A; padding: .6rem 1rem; border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--header-h);
}
.nav-logo { display: flex; align-items: center; gap: .65rem; flex: 0 0 auto; }
.nav-logo svg { height: 34px; width: auto; }
.logo-mark { height: 38px; width: auto; display: block; }
.footer-brand .logo-mark { height: 30px; }
/* Light Mode: dunkles Badge, damit das silberne Zeichen lesbar bleibt (wie Software-Logo im CI) */
html[data-theme="light"] .nav-logo .logo-mark { background: #0D1B2A; padding: 4px 8px; border-radius: 9px; box-sizing: content-box; }
html[data-theme="light"] .footer-brand .logo-mark { background: #0D1B2A; padding: 4px 8px; border-radius: 9px; box-sizing: content-box; }
.nav-logo .wordmark {
  font-family: var(--font-head); font-weight: 700; font-size: 1.18rem;
  letter-spacing: .14em; color: var(--ink);
}
.nav-logo .wordmark b { color: var(--gold); font-weight: 700; }
.nav-links {
  display: flex; align-items: center; gap: .25rem;
  list-style: none; margin: 0 0 0 auto; padding: 0;
}
.nav-links > li { position: relative; }
.nav-links a {
  display: block; padding: .55rem .8rem; border-radius: 8px;
  color: var(--ink-2); font-size: .95rem; font-weight: 500;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--line); }
.nav-cta { margin-left: .5rem; }

/* Dropdown (Lösungen) */
.has-sub > button {
  display: flex; align-items: center; gap: .35rem;
  background: none; border: 0; cursor: pointer;
  padding: .55rem .8rem; border-radius: 8px;
  color: var(--ink-2); font-size: .95rem; font-weight: 500; font-family: var(--font-body);
  transition: color .2s, background .2s;
}
.has-sub > button:hover, .has-sub.open > button { color: var(--ink); background: var(--line); }
.has-sub > button svg { transition: transform .2s; }
.has-sub.open > button svg { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px;
  padding: .5rem; box-shadow: var(--shadow-soft);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  list-style: none; margin: 0;
}
.has-sub.open .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { padding: .6rem .8rem; border-radius: 8px; display: block; }

.theme-toggle {
  background: none; border: 1px solid var(--line-2); border-radius: 999px;
  width: 38px; height: 38px; cursor: pointer; color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center;
  transition: color .2s, border-color .2s;
  flex: 0 0 auto;
}
.theme-toggle:hover { color: var(--gold-2); border-color: var(--gold); }
.theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav-burger {
  display: none; background: none; border: 0; cursor: pointer; color: var(--ink);
  padding: .5rem; margin-left: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #0D1B2A;
  box-shadow: 0 6px 24px rgba(212, 175, 55, .25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(212, 175, 55, .35); }
.btn-ghost {
  border-color: var(--line-2); color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden;
}
.hero-bg svg { position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%); min-width: 1600px; width: 110vw; }
.hero-bg .sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 70% 110%, rgba(212, 175, 55, .16), transparent 60%),
    radial-gradient(900px 500px at 20% -10%, rgba(42, 59, 85, .8), transparent 65%),
    linear-gradient(180deg, #0A1520 0%, var(--bg) 100%);
}
html[data-theme="light"] .hero-bg .sky {
  background:
    radial-gradient(1200px 600px at 70% 110%, rgba(212, 175, 55, .18), transparent 60%),
    linear-gradient(180deg, #EDF1F6 0%, var(--bg) 100%);
}
/* Foto-Bergpanorama im Hero (CI-Mockup) */
.hero-photo {
  position: absolute; inset: 0; background-color: #0A1520;
  background-image: url(../img/hero-mountains.jpg);
  background-image: image-set(url(../img/hero-mountains.webp) type("image/webp"), url(../img/hero-mountains.jpg) type("image/jpeg"));
  background-position: center 38%; background-size: cover; background-repeat: no-repeat;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13,27,42,.70) 0%, rgba(13,27,42,.26) 46%, rgba(13,27,42,0) 100%),
    linear-gradient(180deg, rgba(13,27,42,.18) 0%, rgba(13,27,42,0) 48%, rgba(10,21,32,.80) 100%);
}
html[data-theme="light"] .hero-photo::after {
  background:
    linear-gradient(90deg, rgba(245,247,250,.95) 0%, rgba(245,247,250,.64) 46%, rgba(245,247,250,.16) 100%),
    linear-gradient(180deg, rgba(245,247,250,.12) 0%, rgba(245,247,250,0) 52%, var(--bg) 100%);
}
/* Lesbarkeit der Headline über dem kräftigeren Bergbild */
.hero-claim, .hero-sub { text-shadow: 0 2px 22px rgba(10,21,32,.55); }
html[data-theme="light"] .hero-claim, html[data-theme="light"] .hero-sub { text-shadow: 0 1px 14px rgba(245,247,250,.9); }
.hero-inner { padding: 7rem 0 9rem; max-width: 780px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2);
  margin-bottom: 1.5rem;
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero-claim { margin-bottom: .4em; }
.hero-claim .gold { color: var(--gold-2); }
.hero-sub {
  font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--ink-2);
  max-width: 34em; margin-bottom: 2.2rem;
}
.hero-triple {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--ink); margin-bottom: 2.6rem;
}
.hero-triple span { display: inline-flex; align-items: center; gap: .6rem; }
.hero-triple svg { color: var(--gold); flex: 0 0 auto; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: var(--ink-3); animation: floaty 2.6s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* Sub-Hero für Unterseiten */
.page-hero {
  position: relative; overflow: hidden;
  padding: 5.5rem 0 4rem;
  background:
    radial-gradient(900px 420px at 80% 120%, var(--gold-dim), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg-2) 60%, var(--bg)) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 18em; }
.page-hero .lede { max-width: 40em; }
.page-hero .ridge {
  position: absolute; right: -60px; bottom: -8px; width: 520px; opacity: .18; pointer-events: none;
}

/* ---------- Sections ---------- */
.section { padding: 6rem 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2);
  margin: 0 0 .9rem; display: block;
}
.lede { font-size: 1.2rem; color: var(--ink-2); }

/* ---------- Grids & Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.section-alt .card { background: var(--bg); }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-soft); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gold-dim); color: var(--gold-2);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .more { color: var(--gold-2); font-weight: 500; font-size: .92rem; display: inline-flex; align-items: center; gap: .35rem; }
a.card { display: block; }

/* ---------- Chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1.05rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-2);
  font-family: var(--font-head); font-size: .88rem; font-weight: 500; color: var(--ink);
  transition: border-color .25s, transform .25s;
}
.section-alt .chip { background: var(--bg); }
.chip:hover { border-color: var(--gold); transform: translateY(-2px); }

/* Status-Badge (Integrationen/Kommunikation): verfügbar/Pilot/geplant/in Prüfung/in Klärung */
.sx-status {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .01em;
  padding: .28rem .65rem; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--bg-3); color: var(--ink-2); white-space: nowrap;
}
.sx-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.sx-status.is-live::before  { background: var(--green); }
.sx-status.is-pilot::before { background: var(--gold); }
.sx-status.is-plan::before  { background: var(--gold-2); }
.chip svg { color: var(--gold-2); }

/* ---------- Stats ---------- */
.stat { text-align: left; }
.stat-value {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--ink);
  line-height: 1.1;
}
.stat-value .gold { color: var(--gold-2); }
.stat-label { color: var(--ink-3); font-size: .92rem; margin-top: .3rem; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-2); }
.checklist li strong { color: var(--ink); font-weight: 600; }
.checklist svg { color: var(--gold); flex: 0 0 auto; margin-top: .25rem; }

/* ---------- Quote band ---------- */
.quote-band {
  position: relative; overflow: hidden; text-align: center;
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, #0A1520 50%, var(--bg) 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
html[data-theme="light"] .quote-band { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.quote-band .ridge { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); min-width: 1400px; opacity: .25; pointer-events: none; }
.quote-band blockquote {
  margin: 0 auto; max-width: 30em;
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.35; color: var(--ink);
}
.quote-band blockquote .gold { color: var(--gold-2); }
.quote-band figcaption { margin-top: 1.4rem; color: var(--ink-3); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  padding: 6rem 0; text-align: center;
  background:
    radial-gradient(700px 340px at 50% 120%, var(--gold-dim), transparent 65%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta-band h2 { max-width: 22em; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 36em; margin: 0 auto 2.2rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Product mock (Dashboard in HTML/CSS) ---------- */
.mock-window {
  background: #101E30; border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden;
  font-size: .8rem;
}
html[data-theme="light"] .mock-window { background: #0D1B2A; }
.mock-titlebar {
  display: flex; align-items: center; gap: .45rem;
  padding: .65rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.mock-titlebar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4a5e; display: block; }
.mock-titlebar i:first-child { background: #C4574E; }
.mock-titlebar i:nth-child(2) { background: #D4AF37; }
.mock-titlebar i:nth-child(3) { background: #3DBE7B; }
.mock-titlebar span { margin-left: .6rem; color: #7D8B9E; font-family: var(--font-head); letter-spacing: .08em; }
.mock-body { display: grid; grid-template-columns: 160px 1fr; min-height: 340px; }
.mock-sidebar { border-right: 1px solid rgba(255,255,255,.08); padding: .9rem .6rem; display: flex; flex-direction: column; gap: .15rem; }
.mock-sidebar b {
  display: flex; align-items: center; gap: .5rem;
  color: #A7B0BC; font-weight: 500; padding: .42rem .6rem; border-radius: 7px;
}
.mock-sidebar b.on { background: rgba(212,175,55,.14); color: #E6C97A; }
.mock-sidebar b svg { width: 13px; height: 13px; }
.mock-main { padding: 1rem 1.1rem; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin-bottom: .9rem; }
.mock-kpi {
  background: #16283C; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; padding: .7rem .8rem;
}
.mock-kpi em { display: block; font-style: normal; color: #7D8B9E; font-size: .68rem; margin-bottom: .2rem; }
.mock-kpi strong { color: #F5F6F7; font-family: var(--font-head); font-size: 1.05rem; }
.mock-kpi u { display: block; text-decoration: none; color: #3DBE7B; font-size: .65rem; margin-top: .15rem; }
.mock-panels { display: grid; grid-template-columns: 3fr 2fr; gap: .7rem; }
.mock-panel { background: #16283C; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; padding: .8rem; }
.mock-panel em { display: block; font-style: normal; color: #A7B0BC; font-size: .72rem; margin-bottom: .55rem; }
.mock-chart { display: flex; align-items: flex-end; gap: 5px; height: 90px; }
.mock-chart i { flex: 1; background: linear-gradient(180deg, #E6C97A, #D4AF37); border-radius: 3px 3px 0 0; opacity: .9; display: block; }
.mock-rows { display: grid; gap: .45rem; }
.mock-rows i {
  display: flex; justify-content: space-between; gap: .6rem;
  color: #A7B0BC; font-style: normal; font-size: .72rem;
  padding: .4rem .5rem; background: rgba(255,255,255,.03); border-radius: 6px;
}
.mock-rows i b { color: #F5F6F7; font-weight: 500; }
.mock-rows i u { text-decoration: none; color: #E6C97A; }

/* ---------- Architecture diagram helpers ---------- */
.arch { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.arch svg text { font-family: var(--font-body); }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.table th { color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .04em; }
.table td:first-child { color: var(--ink); font-weight: 500; }

/* ---------- Steps / timeline ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 2.2rem 3.4rem; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-2);
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}
.steps li::after {
  content: ""; position: absolute; left: 20px; top: 44px; bottom: 4px;
  width: 1px; background: var(--line-2);
}
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin-bottom: 0; }

/* ---------- Forms (Demo) ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .4rem; font-size: .9rem; color: var(--ink); font-weight: 500; }
.form input, .form select, .form textarea {
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: .8rem 1rem; color: var(--ink); font: inherit; font-size: .98rem;
  transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .hint { font-size: .85rem; color: var(--ink-3); }
.form-success {
  display: none; padding: 1.1rem 1.3rem; border: 1px solid var(--green); border-radius: var(--radius-sm);
  color: var(--green); background: rgba(61, 190, 123, .08);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2.5rem;
  background: linear-gradient(180deg, var(--bg) 0%, #0A1520 100%);
  font-size: .95rem;
}
html[data-theme="light"] .footer { background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer h4 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { color: var(--ink-2); transition: color .2s; }
.footer a:hover { color: var(--gold-2); }
.footer-brand p { max-width: 26em; font-size: .92rem; }
.footer-claim { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin: .9rem 0 .4rem; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 1.6rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--ink-3); font-size: .85rem;
}
.footer-bottom nav { display: flex; gap: 1.4rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Navigation früher auf Burger umschalten (9 Menüpunkte) */
@media (max-width: 980px) {
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--bg-2); border-bottom: 1px solid var(--line-2);
    padding: 1rem 1.2rem 1.4rem; margin: 0;
    transform: translateY(-110%); transition: transform .3s ease;
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: none; }
  .nav-burger { display: block; margin-left: 0; }
  .theme-toggle { margin-left: auto; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: transparent; padding-left: 1rem; display: none; }
  .has-sub.open .sub-menu { display: block; }
}
@media (max-width: 820px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .hero-inner { padding: 4.5rem 0 8rem; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-panels { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-triple { flex-direction: column; gap: .9rem; }
}
