/* Kleurgroep "Klassieker": hoofdkleur rood, steunkleuren donkergrijs en blauw */
:root {
  --red: #BB271B;
  --dark: #363332;
  --blue: #28528A;
  --grey: #6b6766;
  --line: #dcdad9;
  --light: #f5f4f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Asap', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--dark);
  background: white;
}

a {
  color: var(--red);
}

code {
  font-size: .9em;
  color: var(--blue);
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

/* ---------- kopband ---------- */

.hero {
  background: var(--red);
  color: white;
  padding-block: 1.25rem 7rem;
  /* schuine witte afsnijding onderaan, zoals de covers in de huisstijlgids */
  clip-path: polygon(0 0, 100% 0, 100% 72%, 84% 100%, 83% 82%, 0 100%);
}

.brand {
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .9rem;
}

.hero h1 {
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  margin: 2.5rem 0 1rem;
}

.hero p {
  max-width: 34rem;
  font-size: 1.1rem;
  margin: 0;
}

/* ---------- secties: titel links met rood streepje, inhoud rechts ---------- */

main {
  padding-block: 1rem 3rem;
}

.row {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 2.5rem;
  padding-block: 2.5rem;
}

.row + .row {
  border-top: 1px solid var(--line);
}

.label {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.label::after {
  content: '';
  display: block;
  width: 6.5rem;
  height: 4px;
  margin-top: .9rem;
  background: var(--red);
}

.content {
  min-width: 0;
  max-width: 46rem;
}

.content h3 {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 .6rem;
}

.content > p:first-child {
  margin-top: 0;
}

/* ---------- formulier ---------- */

.box {
  border: 1px solid var(--red);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: 2.25rem 1rem;
  text-align: center;
  background: var(--light);
  border: 2px dashed var(--line);
  cursor: pointer;
}

.drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.drop.over,
.drop:hover {
  border-color: var(--red);
}

.drop.chosen {
  border-style: solid;
  border-color: var(--red);
  background: white;
}

.drop-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.drop-hint {
  font-size: .85rem;
  color: var(--grey);
}

.fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.fields label {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.fields input {
  font: inherit;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--dark);
}

.fields input:focus {
  outline: 2px solid var(--red);
  outline-offset: -1px;
  border-color: var(--red);
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  font-size: .95rem;
}

.checks input {
  accent-color: var(--red);
  margin-right: .35rem;
}

.button {
  align-self: flex-start;
  font: inherit;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: white;
  background: var(--red);
  border: 0;
  padding: .8rem 1.6rem;
  cursor: pointer;
}

.button:hover,
.button:focus {
  background: var(--dark);
}

.alert {
  border-left: 4px solid var(--red);
  background: #fbeceb;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
}

/* ---------- uitleg ---------- */

.dashes {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.dashes li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .5rem;
}

.dashes li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red);
}

.example {
  border: 1px solid var(--red);
  padding: 1rem 1.25rem .25rem;
  margin: 1rem 0 1.5rem;
}

.caps {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .6rem;
}

.table-scroll {
  overflow-x: auto;
  margin-bottom: .75rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: .88rem;
}

th {
  background: var(--dark);
  color: white;
  font-weight: 600;
  text-align: left;
  padding: .4rem .65rem;
  white-space: nowrap;
}

td {
  border-bottom: 1px solid var(--line);
  padding: .4rem .65rem;
  vertical-align: top;
}

tr:nth-child(odd) td {
  background: var(--light);
}

td.num {
  text-align: right;
  white-space: nowrap;
}

.columns td:first-child {
  white-space: nowrap;
}

.req {
  color: var(--red);
  font-weight: 700;
}

.status {
  color: white;
  padding: .05rem .5rem;
  font-size: .78rem;
  font-weight: 700;
}

.small {
  font-size: .88rem;
  color: var(--grey);
}

/* ---------- voettekst ---------- */

footer {
  border-top: 4px solid var(--red);
  padding-block: 1.25rem 2rem;
  font-size: .85rem;
  color: var(--grey);
}

@media (max-width: 760px) {
  .row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-block: 2rem;
  }

  .hero {
    padding-bottom: 5rem;
  }
}
