:root {
  --navy: #0c245a;
  --royal: #21489a;
  --gold: #e9b83f;
  --gold-bg: rgba(233,184,63,0.16);
  --text: #16181d;
  --text2: #64708b;
  --text3: #8891a0;
  --border: rgba(12,36,90,0.12);
  --surface: #ffffff;
  --bg: #f3f6fa;
  --bg-alt: #e8eff8;
  --radius: 20px;
  --radius-lg: 26px;
  --shadow: 0 10px 30px rgba(12,36,90,0.09);
  --max-width: 1200px;
  --line-blue: rgba(33,72,154,0.12);
  --line-gold: rgba(233,184,63,0.35);
  --dot-blue: rgba(33,72,154,0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--royal); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---------- Header/Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; object-fit: contain; }
.brand-word { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--text); font-weight: 600; font-size: 14.5px; }
.site-nav a:hover { color: var(--royal); text-decoration: none; }
.nav-cta {
  background: var(--gold); color: var(--navy) !important; padding: 10px 20px; border-radius: 999px;
  font-weight: 700 !important; transition: filter .15s, transform .12s;
}
.nav-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
.site-nav a.active { color: var(--royal); }
.nav-toggle-input, .nav-toggle-btn { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: none; transition: filter .15s, transform .12s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { filter: brightness(1.15); transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--navy); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section-tight { padding: 48px 0; }
.section-compact { padding: 36px 0; }
.eyebrow { color: var(--royal); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
h1 { font-size: 42px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: 1.12; margin: 0 0 20px; }
h2 { font-size: 28px; font-weight: 800; letter-spacing: -.01em; color: var(--navy); line-height: 1.18; margin: 0 0 14px; }
h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.lede { font-size: 16.5px; color: var(--text2); max-width: 600px; line-height: 1.6; }
.section-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.text-gold { color: var(--gold); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-text .lede { margin-bottom: 28px; }
.hero-bg {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 55%, var(--surface) 100%);
}
.hero > .container { position: relative; z-index: 1; }

/* ---------- Dezente Linien-/Punkte-Grafik (Marken-Element) ---------- */
.line-art {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.line-art svg { width: 100%; height: 100%; display: block; }
.line-art .lg-blue { stroke: var(--line-blue); }
.line-art .lg-gold { stroke: var(--line-gold); }
.line-art .dot-blue { fill: var(--dot-blue); }
.line-art .dot-gold { fill: var(--gold); }
.line-art--dark .lg-blue { stroke: rgba(255,255,255,0.09); }
.line-art--dark .lg-gold { stroke: rgba(233,184,63,0.22); }
.line-art--dark .dot-blue { fill: rgba(255,255,255,0.22); }
.line-art--dark .dot-gold { fill: rgba(233,184,63,0.55); }

/* ---------- Info-Strip (kompakte 3er-Reihe unter dem Hero) ---------- */
.info-strip-section { padding: 32px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.info-strip-item { display: flex; align-items: flex-start; gap: 14px; position: relative; }
.info-strip-item:not(:last-child)::after {
  content: ""; position: absolute; top: 2px; bottom: 2px; right: -16px; width: 1px; background: var(--border);
}
.info-icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--bg-alt); color: var(--royal);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-icon svg { width: 19px; height: 19px; }
.info-strip-item h4 { margin: 0 0 3px; font-size: 14.5px; font-weight: 700; color: var(--navy); }
.info-strip-item p { margin: 0; font-size: 13px; color: var(--text2); line-height: 1.5; }

/* ---------- Software-Vorschau-Karte (Bezug zur echten App) ---------- */
.software-preview {
  background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 20px 48px rgba(12,36,90,0.14);
  overflow: hidden; display: flex; min-height: 340px;
}
.sp-sidebar { width: 36%; background: var(--navy); color: #fff; padding: 20px 14px; display: flex; flex-direction: column; }
.sp-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--gold); font-size: 14.5px; margin-bottom: 20px; }
.sp-brand svg { width: 18px; height: 18px; }
.sp-nav-label { font-size: 9.5px; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,0.38); margin: 14px 0 5px; }
.sp-nav-item { padding: 8px 10px; border-radius: 9px; font-size: 12px; color: rgba(255,255,255,0.72); margin-bottom: 2px; }
.sp-nav-item.active { background: rgba(255,255,255,0.14); color: #fff; font-weight: 600; }
.sp-user { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 10.5px; color: rgba(255,255,255,0.68); }
.sp-main { flex: 1; padding: 18px; background: var(--bg); }
.sp-topbar { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 14px; }
.sp-topbar span {
  width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--royal);
}
.sp-topbar svg { width: 13px; height: 13px; }
.sp-welcome h4 { margin: 0 0 3px; color: var(--navy); font-size: 14.5px; }
.sp-welcome p { margin: 0 0 14px; color: var(--text2); font-size: 11.5px; }
.sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sp-card { background: #fff; border: 1px solid var(--border); border-radius: 13px; padding: 12px; }
.sp-card-icon {
  width: 26px; height: 26px; border-radius: 8px; background: var(--bg-alt); color: var(--royal);
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.sp-card-icon svg { width: 14px; height: 14px; }
.sp-card h5 { margin: 0 0 2px; font-size: 11.5px; color: var(--navy); font-weight: 700; }
.sp-card p { margin: 0; font-size: 10px; color: var(--text3); line-height: 1.4; }

/* ---------- Placeholder-Bilder ---------- */
.shot {
  border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow);
  overflow: hidden; background: var(--surface);
}
.shot img { width: 100%; height: auto; }
.shot-placeholder {
  aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; background: repeating-linear-gradient(135deg, var(--bg-alt), var(--bg-alt) 12px, #fff 12px, #fff 24px);
  border: 2px dashed var(--border); color: var(--text3); text-align: center; padding: 24px;
}
.shot-placeholder svg { width: 40px; height: 40px; opacity: .6; }
.shot-placeholder strong { color: var(--text2); font-size: 14px; }
.shot-placeholder span { font-size: 12.5px; }

/* ---------- Situationen/Karten-Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--gold-bg); color: var(--gold);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex-shrink: 0;
}
.card-icon svg { width: 22px; height: 22px; }
.card p { color: var(--text2); font-size: 14.5px; margin: 0; }

/* ---------- Beispielprozess (3 Schritte) ---------- */
.process-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.process-step { position: relative; }
.process-step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px;
  margin-bottom: 14px;
}
.process-step h3 { margin-bottom: 6px; }
.process-step p { color: var(--text2); font-size: 14px; margin: 0 0 14px; }
.process-tag {
  display: inline-block; background: var(--gold-bg); color: #92720f; font-size: 11.5px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}

/* ---------- Zwei-Spalten ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }

/* ---------- Testzugang-CTA (zentrale, wiederverwendbare Signature-Komponente) ---------- */
.tcta-section { padding: 64px 0; }
.tcta-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(110deg, #0c245a 0%, #153a84 55%, var(--royal) 100%);
  border-radius: 30px; padding: 72px; min-height: 440px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.tcta-lines { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tcta-lines svg { width: 100%; height: 100%; display: block; }

.tcta-content { position: relative; z-index: 1; flex: 0 1 600px; }
.tcta-content h2 {
  color: #fff; font-size: 48px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em;
  max-width: 620px; margin: 0 0 22px;
}
.tcta-content p {
  color: rgba(255,255,255,0.82); font-size: 19px; line-height: 1.55; max-width: 520px; margin: 0 0 34px;
}
.tcta-btn {
  display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 16px; padding: 17px 32px; border-radius: 999px; border: none;
  transition: filter .15s, transform .15s, box-shadow .15s;
}
.tcta-btn:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(4,14,40,0.3); text-decoration: none; }

.tcta-icons { position: relative; z-index: 1; flex: 0 0 300px; max-width: 40%; height: 260px; }
.tcta-icon {
  position: absolute; display: flex; align-items: center; justify-content: center;
  border-radius: 24px; box-shadow: 0 18px 40px rgba(4,14,40,0.32);
}
.tcta-icon svg { width: 42%; height: 42%; }
.tcta-icon-bubble { width: 124px; height: 124px; top: 0; right: 60px; z-index: 3; background: #fff; color: var(--navy); }
.tcta-icon-people { width: 80px; height: 80px; bottom: 10px; right: 210px; z-index: 2; background: #fff; color: var(--navy); }
.tcta-icon-chart { width: 76px; height: 76px; bottom: 44px; right: 0; z-index: 2; background: var(--royal); color: #fff; }

@media (max-width: 1150px) {
  .tcta-card { padding: 56px 48px; min-height: 400px; }
  .tcta-content h2 { font-size: 38px; }
  .tcta-icons { flex-basis: 240px; height: 220px; }
  .tcta-icon-bubble { width: 100px; height: 100px; right: 40px; }
  .tcta-icon-people { width: 68px; height: 68px; right: 160px; }
  .tcta-icon-chart { width: 64px; height: 64px; }
}

@media (max-width: 700px) {
  .tcta-card { flex-direction: column; text-align: center; padding: 40px 32px; gap: 28px; min-height: auto; }
  .tcta-content { text-align: center; flex: none; max-width: 480px; }
  .tcta-content h2, .tcta-content p { max-width: none; }
  .tcta-content p { margin-left: auto; margin-right: auto; }
  .tcta-icons {
    position: static; display: flex; justify-content: center; align-items: flex-end; gap: 16px;
    flex: none; width: auto; height: auto; max-width: none;
  }
  .tcta-icon { position: static; }
}

@media (max-width: 480px) {
  .tcta-section { padding: 40px 0; }
  .tcta-card { padding: 32px 24px; border-radius: 22px; gap: 22px; }
  .tcta-content h2 { font-size: 30px; }
  .tcta-content p { font-size: 16px; }
  .tcta-btn { padding: 14px 26px; font-size: 15px; }
  .tcta-icon-bubble { width: 64px; height: 64px; }
  .tcta-icon-people, .tcta-icon-chart { width: 52px; height: 52px; }
}

/* ---------- Vertrauen/Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card {
  position: relative; overflow: hidden; text-align: center; background: #fff; border: 1px solid #dde5f0;
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 24px;
}
.team-card > * { position: relative; z-index: 1; }
.team-photo {
  width: 108px; height: 108px; border-radius: 50%; margin: 0 auto 16px; background: var(--bg-alt);
  border: 2px dashed var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--text3); font-size: 11px; text-align: center; padding: 8px; overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-card h3 { margin-bottom: 2px; }
.team-role { color: var(--royal); font-weight: 600; font-size: 12.5px; margin: 0 0 10px; }
.team-card p { color: var(--text2); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item summary {
  cursor: pointer; font-weight: 700; color: var(--navy); font-size: 16px; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--royal); font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--text2); margin: 14px 0 0; font-size: 14.5px; }

/* ---------- Anwendungsfälle ---------- */
.usecase { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--border); }
.usecase:first-child { border-top: none; }
.usecase-num { color: var(--gold); font-weight: 800; font-size: 22px; flex-shrink: 0; width: 40px; }
.usecase h3 { margin-bottom: 4px; }
.usecase p { color: var(--text2); font-size: 14.5px; margin: 0; }

/* ---------- Formular ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px; max-width: 560px;
}
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; color: var(--text); }
.form-field .optional { color: var(--text3); font-weight: 500; }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 14.5px; background: var(--bg); color: var(--text);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(22,62,154,0.14);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-error { color: #b3261e; font-size: 12.5px; margin-top: 6px; }
.form-banner {
  background: #fdecea; border: 1px solid #f3c2bd; color: #7a271a; border-radius: 10px;
  padding: 14px 16px; font-size: 13.5px; margin-bottom: 22px;
}
.form-note {
  font-size: 12.5px; color: var(--text3); margin-top: 18px; line-height: 1.6;
}
.pilot-steps { list-style: none; margin: 20px 0 0; padding: 0; counter-reset: step; }
.pilot-steps li {
  counter-increment: step; position: relative; padding-left: 34px; margin-bottom: 14px;
  color: var(--text2); font-size: 14.5px;
}
.pilot-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 24px; height: 24px;
  border-radius: 50%; background: var(--gold-bg); color: #92720f; font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.success-box {
  max-width: 560px; margin: 0 auto; text-align: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px;
}
.success-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--gold-bg); color: var(--gold);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.success-icon svg { width: 28px; height: 28px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy); color: rgba(255,255,255,0.72); margin-top: 32px; }
.site-footer-inner {
  position: relative; z-index: 1;
  max-width: var(--max-width); margin: 0 auto; padding: 32px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.footer-mark { width: 26px; height: 26px; object-fit: contain; }
.footer-tagline {
  font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin: 3px 0 0; font-weight: 600;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.72); font-size: 13.5px; }
.footer-links a:hover { color: #fff; }

/* ---------- Legal-Seiten (schmaler Fliesstext) ---------- */
.legal-content { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.legal-content h1 { font-size: 28px; }
.legal-content h2 { font-size: 17px; margin-top: 32px; }
.legal-content p { color: var(--text2); font-size: 14.5px; }
.legal-hint {
  background: var(--gold-bg); border: 1px solid rgba(224,179,74,0.4); border-radius: 10px;
  padding: 14px 16px; font-size: 13.5px; color: #6b530b;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-3, .grid-4, .process-flow, .team-grid { grid-template-columns: 1fr; }
  .info-strip { grid-template-columns: 1fr; gap: 20px; }
  .info-strip-item::after { display: none; }
  .software-preview { min-height: auto; }
  .sp-sidebar { width: 40%; }
  .sp-grid { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  h2 { font-size: 23px; }
  .section { padding: 48px 0; }
  .hero { padding: 40px 0 48px; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle-btn {
    display: flex; flex-direction: column; gap: 4px; cursor: pointer; padding: 6px; z-index: 110;
  }
  .nav-toggle-btn span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px;
    display: none;
  }
  .site-nav a { padding: 12px 0; border-top: 1px solid var(--border); }
  .site-nav a:first-child { border-top: none; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .nav-toggle-input:checked ~ .site-nav { display: flex; }
  .form-card { padding: 26px; }
  .cta-banner { padding: 40px 24px; }
  .software-preview { flex-direction: column; }
  .sp-sidebar { width: 100%; }
}
