:root {
  --bg: #0b1220;
  --bg-elevated: #131c2e;
  --bg-card: #17223a;
  --border: #263351;
  --text: #e6ebf5;
  --text-dim: #9aa7c2;
  --text-faint: #6b7794;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-dim: rgba(37, 99, 235, 0.12);
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --radius: 14px;
  --max-width: 1180px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue-light); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.brand .mark svg { width: 100%; height: 100%; display: block; }

.brand small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 1px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.main-nav a {
  color: var(--text-dim);
  font-size: 14.5px;
  font-weight: 600;
}

nav.main-nav a:hover { color: var(--text); text-decoration: none; }
nav.main-nav a.active { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 0 0 1px rgba(59,130,246,0.4) inset;
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--blue-light); background: var(--blue-dim); }

.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 64px;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(37, 99, 235, 0.25), transparent),
    radial-gradient(ellipse 700px 400px at 100% 0%, rgba(37, 99, 235, 0.12), transparent);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blue-dim);
  border: 1px solid rgba(37, 99, 235, 0.35);
  color: #93c5fd;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}

h1 {
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 800;
}
h1 .accent { color: var(--blue-light); }

.lead {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-faint);
}
.hero-trust strong { color: var(--text-dim); font-weight: 700; }

.hero-shot {
  position: relative;
  min-width: 0;
}
.hero-shot .chip {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(11,18,32,0.85);
  border: 1px solid var(--border);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  backdrop-filter: blur(6px);
  z-index: 2;
}
.hero-shot .chip .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
  70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* ---------- Sections ---------- */

section { padding: 84px 0; }
section.tight { padding: 56px 0; }
section.alt { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin: 0 0 10px;
}

h2 { font-size: 32px; letter-spacing: -0.015em; margin: 0 0 14px; font-weight: 800; }
h3 { font-size: 19px; margin: 0 0 8px; font-weight: 700; }

.section-head p { color: var(--text-dim); font-size: 16px; margin: 0; }

/* Feature grid */

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-2px); }

.feature-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--blue-dim);
  border: 1px solid rgba(59,130,246,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg {
  width: 21px;
  height: 21px;
  stroke: var(--blue-light);
}

.card p { color: var(--text-dim); font-size: 14.5px; margin: 0; }

/* Feature showcase (image + text alternating) */

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.showcase:first-of-type { border-top: none; }
.showcase.reverse .showcase-media { order: 2; }
.showcase.reverse .showcase-copy { order: 1; }

.showcase-media, .showcase-copy { min-width: 0; }

.showcase-media img { width: 100%; display: block; }

/* Browser-chrome mockup wrapper for product screenshots */

.browser-mockup {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-elevated);
}
.browser-mockup .browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.browser-mockup .browser-dots { display: flex; gap: 6px; flex-shrink: 0; }
.browser-mockup .browser-dots span { width: 9px; height: 9px; border-radius: 50%; display: block; }
.browser-mockup .browser-dots span:nth-child(1) { background: #ef4444; }
.browser-mockup .browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-mockup .browser-dots span:nth-child(3) { background: #22c55e; }
.browser-mockup .browser-url {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11.5px;
  color: var(--text-faint);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-mockup img { display: block; width: 100%; }

.showcase-copy .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.showcase-copy h3 { font-size: 24px; margin-bottom: 12px; }
.showcase-copy p { color: var(--text-dim); font-size: 15.5px; }

.checklist { list-style: none; margin: 18px 0 0; padding: 0; }
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.checklist li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}

/* Comparison table */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
.compare-table th, .compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: var(--bg-elevated);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-faint);
  font-weight: 800;
}
.compare-table th.col-kel {
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.15);
}
.compare-table td.col-kel { background: rgba(37, 99, 235, 0.06); font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { color: var(--text); font-weight: 600; width: 30%; }

.yes { color: var(--green); font-weight: 800; }
.no { color: var(--text-faint); }
.partial { color: var(--amber); font-weight: 700; }

.table-scroll { overflow-x: auto; border-radius: var(--radius); }

/* Pricing / service tiers */

.tier {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.tier.highlight {
  border-color: rgba(37, 99, 235, 0.5);
  background: linear-gradient(180deg, rgba(37,99,235,0.1), var(--bg-card) 40%);
  position: relative;
}
.tier.highlight::before {
  content: "Für Krankenhäuser, die Rundum-Sorglos wollen";
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--blue);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 999px;
}
.tier h3 { font-size: 22px; }
.tier .tier-sub { color: var(--text-dim); font-size: 14.5px; margin-bottom: 22px; }
.tier .checklist { flex: 1; margin-bottom: 26px; }
.tier .checklist li { color: var(--text); }

/* Stats strip */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats .num { font-size: 34px; font-weight: 800; color: #93c5fd; letter-spacing: -0.02em; }
.stats .label { font-size: 13px; color: var(--text-faint); margin-top: 4px; }

/* Trust bar */

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.trust-item {
  background: var(--bg-card);
  padding: 24px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.trust-item .feature-icon { margin-bottom: 0; flex-shrink: 0; }
.trust-item h4 { font-size: 14.5px; margin: 0 0 4px; font-weight: 700; }
.trust-item p { font-size: 13px; color: var(--text-faint); margin: 0; line-height: 1.5; }

/* CTA band */

.cta-band {
  border-radius: 20px;
  background: linear-gradient(135deg, #1e3a8a, #1e40af 60%, #2563eb);
  padding: 56px;
  text-align: center;
  border: 1px solid rgba(59,130,246,0.4);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbeafe; max-width: 520px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: #fff; color: #1e3a8a; }
.cta-band .btn-primary:hover { background: #f1f5f9; }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.1); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Forms */

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-faint);
  margin: 0 0 6px;
}
input, textarea, select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue-light);
}
textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Footer */

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  background: var(--bg-elevated);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-grid h4 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-faint);
  margin: 0 0 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-dim); font-size: 14px; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-faint);
}
.footer-bottom nav { display: flex; gap: 18px; }
.footer-bottom a { color: var(--text-faint); }

/* Badge row */
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 7px 13px;
  border-radius: 999px;
}

/* Page hero (non-home pages) */
.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--border); }
.page-hero .kicker { margin-bottom: 12px; }
.page-hero h1 { font-size: 38px; }
.page-hero p { color: var(--text-dim); font-size: 17px; max-width: 640px; }

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal li { color: var(--text-dim); font-size: 15px; }

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 36px; }
}

@media (max-width: 720px) {
  nav.main-nav { position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: var(--bg); flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px; transform: translateX(100%); transition: transform 0.2s ease; overflow-y: auto; }
  nav.main-nav.open { transform: translateX(0); }
  .trust-bar { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; gap: 24px; }
  .showcase.reverse .showcase-media, .showcase.reverse .showcase-copy { order: initial; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  .cta-band { padding: 36px 22px; }
  section { padding: 56px 0; }
}
