:root {
  --navy: #0b2f57;
  --navy-deep: #061a30;
  --blue: #0b74d1;
  --blue-light: #38bdf8;
  --green: #16a34a;
  --green-soft: #22c55e;
  --gold: #d4a853;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f8fafc;
  --muted: #94a3b8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --font: "Outfit", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 10% -10%, rgba(11, 116, 209, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(22, 163, 74, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(212, 168, 83, 0.12), transparent 55%),
    linear-gradient(180deg, #061a30 0%, #0b2f57 45%, #061a30 100%);
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 90%);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--green-soft));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(11, 116, 209, 0.35);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-desktop a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--text);
  background: var(--surface);
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  padding: 0 20px 20px;
}

.nav-mobile.open {
  display: grid;
  gap: 8px;
}

.nav-mobile a {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #2563eb);
  color: #fff;
  box-shadow: 0 12px 32px rgba(11, 116, 209, 0.35);
}

.btn-secondary {
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-green {
  background: linear-gradient(135deg, var(--green), var(--green-soft));
  color: #fff;
  box-shadow: 0 12px 32px rgba(22, 163, 74, 0.3);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 0.875rem;
}

/* Hero */
.hero {
  padding: 88px 0 72px;
}

.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: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--blue-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.hero h1 span {
  background: linear-gradient(135deg, #fff 20%, var(--blue-light) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 32px;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.phone-mock {
  position: relative;
  padding: 18px;
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.phone-mock::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(11, 116, 209, 0.25), transparent 65%);
  z-index: -1;
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: #12141a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 520px;
  padding: 20px 16px;
}

.phone-notch {
  width: 110px;
  height: 28px;
  background: #000;
  border-radius: 999px;
  margin: 0 auto 18px;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.app-header strong {
  font-size: 1.1rem;
}

.app-pill {
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.2);
  color: #86efac;
}

.app-job {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
}

.app-job small {
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.app-job-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.app-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.app-tag {
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(11, 116, 209, 0.2);
  color: #93c5fd;
}

.app-tag.green {
  background: rgba(22, 163, 74, 0.2);
  color: #86efac;
}

.app-tag.amber {
  background: rgba(212, 168, 83, 0.2);
  color: #fcd34d;
}

/* Sections */
section {
  padding: 72px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.35);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(11, 116, 209, 0.25), rgba(22, 163, 74, 0.15));
  color: var(--blue-light);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.panel {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.panel h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.panel p {
  margin: 0 0 20px;
  color: var(--muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #cbd5e1;
}

.check-list li::before {
  content: "✓";
  color: var(--green-soft);
  font-weight: 700;
}

.dashboard-preview {
  background:
    linear-gradient(145deg, rgba(11, 116, 209, 0.15), rgba(6, 26, 48, 0.9)),
    var(--surface);
  position: relative;
  overflow: hidden;
}

.dashboard-preview::after {
  content: "Demnächst";
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(212, 168, 83, 0.2);
  color: #fcd34d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dash-rows {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.dash-row {
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.dash-row.w60 { width: 60%; }
.dash-row.w80 { width: 80%; }
.dash-row.w45 { width: 45%; }

.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.dash-card {
  height: 72px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-band {
  padding: 48px;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(11, 116, 209, 0.22), rgba(22, 163, 74, 0.12));
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

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

.contact-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.contact-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.contact-card a,
.contact-card p {
  margin: 0;
  font-size: 1.05rem;
}

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

/* Subpages */
.page-hero {
  padding: 72px 0 32px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}

.content-card {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.content-card h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.content-card p,
.content-card li {
  color: #cbd5e1;
}

.content-card ul {
  padding-left: 1.2rem;
}

.coming-soon {
  min-height: 50vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0;
}

.coming-soon .badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(212, 168, 83, 0.15);
  color: #fcd34d;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.coming-soon h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.coming-soon p {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 520px;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: min(440px, 100%);
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}

.auth-card h1 {
  margin: 16px 0 10px;
  font-size: 1.6rem;
}

.auth-card p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.55;
}

.auth-card .btn {
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .hero-grid,
  .split-panel,
  .feature-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .phone-mock {
    max-width: 360px;
    margin-inline: auto;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .dash-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cta-band {
    padding: 28px;
  }

  .dash-cards {
    grid-template-columns: 1fr;
  }
}
