/* Einsatzmonitor v2 — Marketing-Landingpage */
:root {
  --bg-deep: #0a0c10;
  --bg-card: #12151c;
  --bg-elevated: #1a1e28;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaef;
  --muted: #8b92a5;
  --accent: #e85d2c;
  --accent-soft: rgba(232, 93, 44, 0.15);
  --green: #22c55e;
  --blue: #3b82f6;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 12, 16, 0.85);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.logo:hover {
  text-decoration: none;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #b91c1c);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(232, 93, 44, 0.35);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #c2410c);
  color: #fff;
  box-shadow: 0 4px 24px rgba(232, 93, 44, 0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(232, 93, 44, 0.45);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% 20% auto -20%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(232, 93, 44, 0.12), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 800;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Mock browser / screenshot frame */
.mock-frame {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.mock-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.mock-dots {
  display: flex;
  gap: 6px;
}
.mock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
}
.mock-dots span:nth-child(1) {
  background: #ef4444;
}
.mock-dots span:nth-child(2) {
  background: #eab308;
}
.mock-dots span:nth-child(3) {
  background: #22c55e;
}
.mock-url {
  flex: 1;
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
  font-family: ui-monospace, monospace;
  opacity: 0.85;
}

.mock-body {
  padding: 0.75rem;
  min-height: 280px;
  background: linear-gradient(180deg, #0d0f14 0%, #0a0c10 100%);
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 6px;
  height: 100%;
  min-height: 260px;
}

.mock-cell {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(26, 30, 40, 0.9);
  padding: 8px;
  font-size: 0.65rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mock-cell strong {
  color: #cbd5e1;
  font-size: 0.68rem;
}
.mock-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.mock-bar > i {
  display: block;
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--accent), #f97316);
  border-radius: 2px;
}
.mock-map {
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(59, 130, 246, 0.12)),
    #1a1e28;
  position: relative;
}
.mock-map::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  top: 45%;
  left: 48%;
  box-shadow: 0 0 0 3px rgba(232, 93, 44, 0.4);
}

.col-4 {
  grid-column: span 4;
}
.col-5 {
  grid-column: span 5;
}
.col-7 {
  grid-column: span 7;
}
.col-12 {
  grid-column: span 12;
}
.row-span-2 {
  grid-row: span 2;
  min-height: 120px;
}

/* Sections */
section {
  padding: 4rem 0;
}
.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.section-lead {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.features-more {
  margin: 2.25rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 65ch;
  line-height: 1.65;
}

.features-more strong {
  color: #a8b0c4;
  font-weight: 600;
}

.feature-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(232, 93, 44, 0.35);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
}

.feature-icon--fill svg {
  stroke: none;
  fill: currentColor;
}

.inline-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 0.35rem;
}

.inline-icon svg {
  width: 1em;
  height: 1em;
  color: var(--muted);
  fill: none;
  stroke: currentColor;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Two column feature detail */
.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.detail-block:nth-child(even) .detail-visual {
  order: -1;
}
@media (max-width: 900px) {
  .detail-block {
    grid-template-columns: 1fr;
  }
  .detail-block:nth-child(even) .detail-visual {
    order: 0;
  }
}
.detail-block h2 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}
.detail-block p {
  color: var(--muted);
  margin: 0 0 1rem;
}
.detail-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.detail-list li {
  margin-bottom: 0.4rem;
}

.mini-mock {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 1rem;
  min-height: 200px;
}

/* Echte Screenshots */
.screenshot {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  line-height: 0;
}

.screenshot img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.screenshot-caption {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.65rem 0.25rem 0;
  line-height: 1.45;
}

.technik-admin {
  margin-bottom: 2.5rem;
}

.technik-admin .screenshot-caption {
  text-align: center;
  padding-top: 0.85rem;
}

/* Alarm mock */
.alarm-mock {
  background: linear-gradient(160deg, #1c1410 0%, #0a0c10 100%);
  border: 1px solid rgba(232, 93, 44, 0.35);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.alarm-mock h4 {
  margin: 0 0 0.5rem;
  color: #fca5a5;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.alarm-mock .title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.alarm-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* CTA */
.cta {
  text-align: center;
  padding: 4rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  border: 1px solid rgba(232, 93, 44, 0.25);
}
.cta h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}
.cta p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

/* Footer */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}
footer .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* Impressum */
.impressum {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.impressum-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.impressum-lead {
  margin: 0 0 1.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.55;
}

.impressum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 720px;
}

.impressum-h {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.impressum-p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.impressum-p a {
  color: var(--accent);
  text-decoration: none;
}
.impressum-p a:hover {
  text-decoration: underline;
}

.screenshot-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
  text-align: center;
}
