:root {
  --bg-page: #f5f7fb;
  --bg-card: #ffffff;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --nav-text: #111827;
  --border-soft: #e2e8f0;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 32px 16px;
}

.shell {
  max-width: 1120px;
  width: 100%;
  background: var(--bg-card);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
}

/* Header / Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text-main {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.06em;
}

.logo-text-sub {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 15px;
}

.nav-link {
  text-decoration: none;
  color: var(--nav-text);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.nav-link:hover {
  color: var(--primary);
}

/* Hero / Layout */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  flex: 1;
}

.hero-heading {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
  user-select: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.45);
}

.btn-ghost {
  background: #ffffff;
  border-color: var(--border-soft);
  color: var(--text-main);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Monitor (Landing Right Side) */
.hero-visual-wrapper {
  display: flex;
  justify-content: center;
}

.monitor {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #0f172a, #1e293b);
  padding: 18px 18px 22px;
  position: relative;
  overflow: hidden;
  color: #e5e7eb;
}

.monitor-inner {
  background: #f9fafb;
  border-radius: 18px;
  padding: 14px 14px 18px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.4);
  color: #111827;
}

.monitor-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.monitor-table {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  margin-bottom: 12px;
}

.monitor-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px 10px;
  align-items: center;
  font-size: 13px;
}

.monitor-row:nth-child(even) {
  background: #f9fafb;
}

.monitor-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  margin-right: 8px;
  display: inline-block;
}

.dot-blue {
  background: #2563eb;
}
.dot-gray {
  background: #9ca3af;
}

.monitor-label {
  display: inline-flex;
  align-items: center;
}

.monitor-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 10px;
}

.monitor-bar {
  flex: 1;
  border-radius: 999px;
  background: #d1d5db;
  height: 3px;
}

.monitor-bar:nth-child(3),
.monitor-bar:nth-child(4) {
  height: 6px;
  background: #9ca3af;
}

.monitor-floating-icon {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.35);
}

.monitor-floating-icon-inner {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #2563eb1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.monitor-floating-mark {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid #2563eb;
  border-top-color: transparent;
  transform: rotate(-45deg);
}

/* Formular-Layouts (Login / Kontakt) */
.main-content {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.card {
  background: #f9fafb;
  border-radius: var(--radius-lg);
  padding: 24px 24px 28px;
  border: 1px solid var(--border-soft);
}

.card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-footer {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.link-inline {
  color: var(--primary);
  text-decoration: none;
}
.link-inline:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Responsiv */
@media (max-width: 900px) {
  .shell {
    padding: 20px 18px 24px;
  }

  .hero,
  .main-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual-wrapper {
    order: -1;
  }

  .nav-links {
    gap: 16px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}