:root {
  --ink: #12242b;
  --ink-2: #203a43;
  --muted: #667277;
  --line: #d8dfdd;
  --line-dark: #bac7c3;
  --paper: #f6f7f5;
  --surface: #ffffff;
  --surface-2: #eef2f0;
  --teal: #0b8078;
  --gold: #b89445;
  --copper: #a8653d;
  --shadow: 0 18px 42px rgba(18, 36, 43, 0.08);
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 360px),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.topbar {
  width: min(1180px, calc(100vw - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(18, 36, 43, 0.12);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.08;
}

.brand strong {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 850;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.topnav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink-2);
  padding: 0 13px;
  font-size: 0.9rem;
  font-weight: 750;
}

.topnav a:hover,
.topnav a:focus-visible {
  border-color: var(--line);
  background: var(--surface);
  outline: none;
}

.portal-page {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 6vw, 78px);
}

.intro-panel {
  max-width: 820px;
  margin-bottom: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.intro-panel h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.15rem, 4.4vw, 4.75rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: 0;
}

.intro-panel p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 500;
  line-height: 1.75;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.choice-card {
  --accent: var(--teal);
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: 0 1px 0 rgba(18, 36, 43, 0.03);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.choice-card:hover,
.choice-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-dark);
  border-top-color: var(--accent);
  background: #fbfcfb;
  box-shadow: var(--shadow);
  outline: none;
}

.choice-bewind {
  --accent: var(--gold);
}

.choice-backoffice {
  --accent: var(--teal);
}

.choice-juridisch {
  --accent: var(--copper);
}

.choice-label {
  width: fit-content;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.choice-card strong {
  display: block;
  max-width: 10ch;
  min-height: 2.12em;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.15rem, 3.2vw, 3.25rem);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: 0;
}

.choice-copy {
  display: block;
  max-width: 32ch;
  min-height: 6.4em;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 520;
  line-height: 1.58;
}

.choice-media {
  width: 100%;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  margin: 12px 0 8px;
  background: var(--surface-2);
}

.choice-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.choice-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 0 14px;
  font-size: 0.92rem;
  font-weight: 820;
  white-space: nowrap;
  margin-top: auto;
}

.choice-action::after {
  content: ">";
  margin-left: 10px;
  color: var(--accent);
}

.support-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding: 20px 0 0;
}

.support-row p {
  margin: 0;
  color: var(--muted);
  font-weight: 560;
  line-height: 1.55;
}

.support-row strong {
  color: var(--ink);
}

.support-row a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 0 14px;
  font-weight: 820;
}

@media (max-width: 980px) {
  .support-row {
    grid-template-columns: 1fr;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: 380px;
  }

  .choice-action {
    width: fit-content;
    margin-top: 8px;
  }
}

@media (max-width: 700px) {
  .topbar {
    width: min(100vw - 28px, 1180px);
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .topnav {
    justify-content: flex-start;
  }

  .portal-page {
    width: min(100vw - 28px, 1180px);
    padding-top: 30px;
  }

  .intro-panel {
    gap: 26px;
  }

  .intro-panel h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .choice-card {
    min-height: 360px;
    padding: 22px;
  }

  .choice-card strong {
    max-width: 100%;
    min-height: 0;
    font-size: clamp(1.7rem, 8.2vw, 2.45rem);
  }

  .choice-copy {
    min-height: 0;
  }

  .choice-action,
  .support-row a {
    width: 100%;
  }
}
