/* ─── Crewlo Shared Design System ───────────────────────── */
/* System fonts only — no external requests, DSGVO-konform */
:root {
  --blue:       #2563eb;
  --blue-light: #eff6ff;
  --blue-mid:   #bfdbfe;
  --blue-dark:  #1d4ed8;
  --green:      #16a34a;
  --green-bg:   #dcfce7;
  --red:        #dc2626;
  --text:       #0f172a;
  --muted:      #64748b;
  --subtle:     #94a3b8;
  --border:     #e2e8f0;
  --bg:         #f8fafc;
  --white:      #ffffff;
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(15,23,42,.07);
  --shadow:     0 4px 16px rgba(15,23,42,.08), 0 1px 4px rgba(15,23,42,.04);
  --shadow-lg:  0 20px 60px rgba(15,23,42,.1), 0 4px 16px rgba(15,23,42,.06);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ─── Nav ──────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; height: 60px;
}
.logo {
  font-size: 20px; font-weight: 700; color: var(--blue);
  letter-spacing: -0.5px; flex-shrink: 0;
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
  list-style: none; flex: 1; margin-left: 40px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-actions {
  display: flex; gap: 8px; align-items: center; margin-left: auto;
}

/* ─── Buttons ──────────────────────────────────────────── */
.btn-ghost {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 7px 14px; border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  font-family: inherit; background: none; border: none; cursor: pointer;
}
.btn-ghost:hover { color: var(--text); background: var(--bg); }
.btn-nav {
  font-size: 14px; font-weight: 600; background: var(--blue); color: #fff;
  padding: 8px 18px; border-radius: var(--radius-sm); border: none;
  cursor: pointer; font-family: inherit; transition: background .15s;
}
.btn-nav:hover { background: var(--blue-dark); }

.btn-lg {
  font-size: 15px; font-weight: 600; background: var(--blue); color: #fff;
  padding: 12px 24px; border-radius: var(--radius-sm); border: none;
  cursor: pointer; font-family: inherit;
  transition: background .15s, box-shadow .15s, transform .1s;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.btn-lg:hover { background: var(--blue-dark); box-shadow: 0 6px 20px rgba(37,99,235,.4); transform: translateY(-1px); }
.btn-outline {
  font-size: 15px; font-weight: 500; background: transparent; color: var(--text);
  padding: 12px 24px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  cursor: pointer; font-family: inherit; transition: border-color .15s, background .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--muted); background: var(--bg); }

/* ─── Section ──────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
section { padding: 96px 0; }
.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  color: var(--blue); text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3vw, 40px); font-weight: 700;
  letter-spacing: -1px; line-height: 1.2; margin-bottom: 16px; text-wrap: pretty;
}
.section-sub {
  font-size: 17px; color: var(--muted); line-height: 1.65; max-width: 560px;
}
.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* ─── Footer ───────────────────────────────────────────── */
.site-footer { background: var(--text); padding: 56px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo { color: #fff; font-size: 18px; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.65; max-width: 220px; }
.footer-col h4 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.8px;
  color: rgba(255,255,255,.4); text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.3);
}

/* ─── App mockup base ──────────────────────────────────── */
.app-window {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.app-titlebar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.mac-dot { width: 10px; height: 10px; border-radius: 50%; }
.mac-r { background: #fc5f57; } .mac-y { background: #fdbc2c; } .mac-g { background: #27c840; }
.app-url {
  flex: 1; margin-left: 8px; background: var(--white); border: 1px solid var(--border);
  border-radius: 4px; padding: 3px 10px; font-size: 11px; color: var(--muted);
}
.app-topnav {
  display: flex; align-items: center; padding: 0 18px;
  height: 46px; border-bottom: 1px solid var(--border); gap: 20px; background: var(--white);
}
.app-logo { font-size: 14px; font-weight: 700; color: var(--blue); }
.app-navlinks { display: flex; gap: 16px; margin-left: auto; }
.app-navlink { font-size: 11px; color: var(--muted); font-weight: 500; }
.app-navlink.active { background: var(--blue); color: #fff; padding: 3px 8px; border-radius: 4px; }

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }

  /* Kompaktere Navbar auf Mobile */
  .nav-inner { padding: 0 20px; justify-content: space-between; }
  .nav-actions { margin-left: 0; gap: 6px; }

  /* "Anmelden" auf Mobile: kleiner, subtiler – nur Text ohne Hintergrund */
  .btn-ghost {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 10px;
    color: var(--muted);
  }

  /* "Demo buchen" auf Mobile etwas kompakter */
  .btn-nav {
    font-size: 13px;
    padding: 7px 14px;
  }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}