@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/*
  stategeldnederland.nl main stylesheet v1.4.3
  mobile first, breakpoints 640 / 960. Don't add a 3rd breakpoint without asking @mike
  last bigger change: class rename 27.10 (old names in git history)
*/

:root {
  /* colors from the brand sheet 18.09 @sanne. --green-600 not used anymore, keep for now */
  --green-900: #0e3f25;
  --green-700: #17633a;
  --green-600: #1d7a47;
  --green-100: #e3f1e8;
  --gray-50: #f4f6f5;
  --gray-100: #e9eeeb;
  --gray-300: #c9d3ce;
  --gray-600: #56625c;
  --ink: #1b2620;
  --white: #ffffff;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(14, 63, 37, 0.06), 0 4px 14px rgba(14, 63, 37, 0.06);
  --container: 1160px;
  --header-h: 68px;
  --focus: 3px solid #0b57d0;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: "Figtree", system-ui, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: var(--green-700);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-900);
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--green-900);
  font-weight: 800;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--green-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--green-700);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-900);
  color: var(--white);
}

.btn--secondary {
  background: var(--white);
  color: var(--green-700);
  border-color: var(--green-700);
}

.btn--secondary:hover {
  background: var(--green-100);
  color: var(--green-900);
}

.btn-sm {
  min-height: 48px;
  padding: 8px 16px;
  font-size: 0.95rem;
}

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

.btnRow + .hint-text {
  margin-top: 12px;
}

/* Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.main-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.sg-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-900);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
}

.sg-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.sg-logo small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  line-height: 1.2;
}

.navDesktop {
  display: none;
}

.nav-list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.nav-list a:hover {
  background: var(--gray-50);
  color: var(--green-700);
}

.nav-list a[aria-current="page"] {
  color: var(--green-700);
  background: var(--green-100);
}

.header-cta-btn {
  display: none;
}

.ui-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 11px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}

.ui-burger__line {
  display: block;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
}

/* Mobile menu */
.mob-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.3s;
}

.mob-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mob-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 30, 22, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mob-menu.is-open .mob-menu__overlay {
  opacity: 1;
}

.mob-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: min(86vw, 340px);
  padding: 18px 20px 28px;
  background: var(--white);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mob-menu.is-open .mob-menu__panel {
  transform: translateX(0);
}

.mob-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mob-menu__close {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--green-900);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.mob-menu .nav-list {
  flex-direction: column;
}

.mob-menu .nav-list a {
  padding: 12px 14px;
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 56px 0;
}

.secton-gray {
  background: var(--gray-50);
}

.section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

.lead {
  font-size: 1.12rem;
  color: #34413a;
}

/* Hero */
.hero-baner {
  padding: 40px 0 48px;
  background: var(--gray-50);
}

.heroGrid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* app page: phone shot is portrait, don't crop it to 3:2 (@alex 27.10) */
.hero-media--phone {
  max-width: 440px;
  margin: 0 auto;
}
.hero-media--phone img {
  aspect-ratio: 3 / 4;
}

.note-box {
  margin-top: 20px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--gray-600);
}

.note-box p:last-child {
  margin-bottom: 0;
}

/* Page hero (subpages) */
.page-top {
  padding: 40px 0 36px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}

.crumbs {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--gray-600);
}

/* Cards */
.grid {
  display: grid;
  gap: 16px;
}

.info-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card p:last-child,
.info-card ul:last-child {
  margin-bottom: 0;
}

.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  font-weight: 800;
}

.sg-steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sg-steps li {
  position: relative;
  padding: 18px 18px 18px 64px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
}

.sg-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 800;
}

.sg-steps h3 {
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.sg-steps p {
  margin: 0;
}

.checkList {
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}

.checkList li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}

.checkList li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--green-700);
  border-bottom: 2.5px solid var(--green-700);
  transform: rotate(-45deg);
}

/* Split block */
.split-block {
  display: grid;
  gap: 28px;
  align-items: center;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius);
}

/* cta band. Client rule: NO background-image in css, bg is a real <img> layer (brief 16.09) */
.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--green-900);
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}

.cta-band__content {
  position: relative;
  z-index: 1;
  padding: 56px 0;
  max-width: 760px;
}

.cta-band h2,
.cta-band h3 {
  color: var(--white);
}

.cta-band p {
  color: #e2ece6;
}

.cta-band .btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.cta-band .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cta-band .btn--primary {
  background: var(--white);
  color: var(--green-900);
}

.cta-band .btn--primary:hover {
  background: var(--green-100);
}

.cta-band small {
  display: block;
  margin-top: 16px;
  color: #cfdcd4;
}

/* Data table */
.tableWrap {
  overflow-x: auto;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.97rem;
}

.data-table th,
.data-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-100);
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table th {
  width: 42%;
  background: var(--gray-50);
  font-weight: 700;
  color: var(--green-900);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 48px 12px 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--green-700);
}

.faq-list details[open] summary::after {
  content: "\2212";
}

/* @mike 27.10: h3 removed from summary (a11y tree flattened it), styles moved to summary itself */
.faq-list summary {
  font-size: 1.02rem;
  color: var(--ink);
}

.faq-list summary:focus-visible {
  outline-offset: -3px;
  border-radius: var(--radius);
}

.faq-answer {
  padding: 0 18px 16px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Legal pages */
.legal-text {
  max-width: 820px;
}

.legal-text h2 {
  margin-top: 1.6em;
  font-size: 1.35rem;
}

.legal-text h2:first-of-type {
  margin-top: 0;
}

.legal-text .upd-date {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 24px;
}

.ui-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.ui-form label {
  font-weight: 600;
}

.ui-form input,
.ui-form select,
.ui-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #8f9c95;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

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

.ui-form input:focus-visible,
.ui-form select:focus-visible,
.ui-form textarea:focus-visible {
  outline: var(--focus);
  outline-offset: 1px;
  border-color: var(--green-700);
}

.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.form-check input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--green-700);
}

.form-check label {
  font-weight: 400;
}

.hint-text {
  font-size: 0.88rem;
  color: var(--gray-600);
}

address {
  font-style: normal;
}

/* Footer */
.site-footer {
  padding: 48px 0 24px;
  background: var(--green-900);
  color: #dbe7df;
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--white);
}

.site-footer a:hover {
  color: #bfe3cc;
}

.footerGrid {
  display: grid;
  gap: 28px;
}

.site-footer h2 {
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0;
}

.footer-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  color: #c4d5ca;
}

.footer-bottom p {
  margin-bottom: 8px;
}

.footer-logo {
  color: var(--white);
}

.footer-logo small {
  color: #c4d5ca;
}

/* cookie bar v2 (17.10). z-index below modal (250) on purpose, @tom */
.cookie-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 150;
  display: grid;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 20px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(14, 63, 37, 0.18);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar.is-hiding {
  opacity: 0;
  transform: translateY(20px);
}

.cookie-bar p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-bar__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Modal */
.ui-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.ui-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.ui-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 30, 22, 0.55);
}

.ui-modal__box {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 28px 24px 24px;
  background: var(--white);
  border-radius: var(--radius);
  text-align: center;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s ease;
}

.ui-modal.is-open .ui-modal__box {
  transform: translateY(0) scale(1);
}

.ui-modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--green-100);
  position: relative;
}

.ui-modal__icon::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 19px;
  width: 20px;
  height: 11px;
  border-left: 3px solid var(--green-700);
  border-bottom: 3px solid var(--green-700);
  transform: rotate(-45deg);
}

.ui-modal__x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--gray-600);
  font-size: 1.2rem;
  cursor: pointer;
}

.ui-modal__x:hover {
  background: var(--gray-50);
}

.card-fix-2026 {
  margin-top: 20px;
}

.legal-text code {
  padding: 1px 6px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 4px;
  font-size: 0.92em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Tablet */
@media (min-width: 640px) {
  .container {
    padding: 0 28px;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footerGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cookie-bar {
    grid-template-columns: 1fr auto;
    align-items: center;
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .section {
    padding: 72px 0;
  }
}

/* Desktop */
@media (min-width: 960px) {
  .navDesktop {
    display: block;
  }

  .header-cta-btn {
    display: inline-flex;
  }

  .ui-burger {
    display: none;
  }

  .hero-baner {
    padding: 64px 0;
  }

  .heroGrid,
  .split-block {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
  }

  .split-block--rev .split-media {
    order: -1;
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
  }

  .footerGrid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .cta-band__content {
    padding: 80px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
