/* DriveWaypoints designsystem (Totalplan §5)
   Waypoint-blå #16414F · Navy #0B1727 (DriveMeetups-brand) · Creme #F5EFE2
   Signal-orange #E8742C · Asfalt #26282B · Tåge #D8D5CE */

:root {
  --blue: #16414F;   /* primær: headers, hero, overskrifter */
  --navy: #0B1727;   /* dyb brand-navy (går igen fra DriveMeetups) */
  --creme: #F5EFE2;
  --orange: #E8742C;
  --green: #5E7358;
  --dark: #26282B;
  --fog: #D8D5CE;
  --success: #3E8E5A;
  --warning: #D9A13B;
  --error: #C24141;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--creme);
  color: var(--dark);
  font-size: 18px;
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; color: var(--blue); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: .5em; }
h3 { font-size: 1.25rem; margin-bottom: .3em; }

a { color: var(--blue); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
header.site {
  background: var(--navy);
  position: sticky; top: 0; z-index: 50;
}
header.site .container {
  display: flex; align-items: center; gap: 24px; height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  color: #fff; text-decoration: none; font-weight: 700;
  font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem;
}
.logo .pin { color: var(--orange); font-size: 1.5rem; }
nav.main { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
nav.main a { color: var(--creme); text-decoration: none; font-size: 16px; }
nav.main a:hover, nav.main a.active { color: #fff; text-decoration: underline; }
nav.main a.cta {
  background: var(--orange); color: #fff; padding: 8px 18px;
  border-radius: 10px; font-weight: 700; text-decoration: none;
}

/* Hero */
.hero { background: var(--blue); color: #fff; padding: 80px 0 96px; }
.hero h1 { color: #fff; max-width: 640px; }
.hero p.sub { color: var(--creme); font-size: 1.3rem; max-width: 560px; margin: 20px 0 32px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Knapper — orange KUN til handlinger */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 12px;
  font-weight: 700; font-size: 17px; text-decoration: none; border: none; cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #d4661f; }
.btn-secondary { background: #fff; color: var(--blue); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid var(--creme); }

/* Sektioner & kort */
section.band { padding: 72px 0; }
section.band.alt { background: #fff; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 32px; }
.card {
  background: #fff; border-radius: 16px; padding: 28px;
  border: 1px solid var(--fog);
}
.band.alt .card { background: var(--creme); }
.card .step {
  display: inline-flex; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800; font-size: 20px;
  align-items: center; justify-content: center; margin-bottom: 14px;
}
.card h3 { color: var(--blue); }

.badge {
  display: inline-block; background: var(--navy); color: #fff;
  border-radius: 8px; padding: 2px 10px; font-size: 14px; font-weight: 600;
}

/* Privatlivs-punkter */
.checklist { list-style: none; margin-top: 16px; }
.checklist li { padding-left: 36px; position: relative; margin-bottom: 14px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--success); font-weight: 800; font-size: 22px;
}

/* FAQ */
details {
  background: #fff; border: 1px solid var(--fog); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 12px;
}
details summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; color: var(--blue); }
details p { margin-top: 10px; }

/* Tabeller */
table.plain { width: 100%; border-collapse: collapse; margin-top: 20px; }
table.plain th, table.plain td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--fog); }
table.plain th { color: var(--blue); }

/* Footer */
footer.site { background: var(--navy); color: var(--fog); padding: 48px 0; margin-top: 0; font-size: 15px; }
footer.site a { color: var(--creme); }
footer.site .cols { display: flex; gap: 48px; flex-wrap: wrap; }

/* Telefon-mockup i hero */
.phone {
  width: 260px; border-radius: 32px; background: var(--dark); padding: 12px;
  box-shadow: 0 24px 48px rgba(0,0,0,.35);
}
.phone .screen {
  background: var(--blue); border-radius: 22px; padding: 24px 16px; color: #fff;
  font-size: 13px; text-align: center;
}
.phone .screen .label { letter-spacing: 2px; color: var(--creme); font-size: 10px; }
.phone .screen .title { font-size: 19px; font-weight: 800; margin: 6px 0; }
.phone .screen .window { font-size: 30px; font-weight: 800; color: var(--orange); font-variant-numeric: tabular-nums; }
.phone .screen .btn-mock {
  background: var(--orange); border-radius: 10px; padding: 12px; font-weight: 800;
  margin-top: 18px; font-size: 14px;
}
.hero .split { display: flex; gap: 48px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

@media (max-width: 720px) {
  .hero { padding: 48px 0 64px; }
  .phone { display: none; }
}
