/* Roukema Holding B.V. — huisstijl
   Kleuren uit het logo: donkerblauw #152452 (tekst, koppen, vlakken), rood #d61216 (accent, spaarzaam).
   Geen externe fonts: systeemfont-stack met een humanistisch schreefloos karakter. */

:root {
  --blauw: #152452;
  --blauw-licht: #3a4a7c;
  --rood: #d61216;
  --wit: #ffffff;
  --grijs-achtergrond: #f4f5f8;
  --grijs-lijn: #dde0e8;
  --grijs-tekst: #4a5168;
  --focus: #d61216;
  --font: system-ui, -apple-system, "Segoe UI", "Fira Sans", "Source Sans 3", "Trebuchet MS", Arial, sans-serif;
  --maat: 1.0625rem;
  --breedte: 68rem;
  --breedte-smal: 44rem;
  --ruimte: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--maat);
  line-height: 1.6;
  color: var(--blauw);
  background: var(--wit);
  border-top: 4px solid var(--rood);
}

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

a {
  color: var(--blauw);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--rood);
}

a:focus-visible,
.skiplink:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(100% - 2 * var(--ruimte), var(--breedte));
  margin-inline: auto;
}

.wrap.smal {
  max-width: var(--breedte-smal);
}

.intro {
  font-size: 1.125rem;
  color: var(--grijs-tekst);
}

/* Toegankelijkheid: skiplink */
.skiplink {
  position: absolute;
  left: var(--ruimte);
  top: -4rem;
  padding: 0.5rem 1rem;
  background: var(--blauw);
  color: var(--wit);
  z-index: 10;
}

.skiplink:focus {
  top: 1rem;
}

/* Header */
.kop {
  background: var(--wit);
  border-bottom: 1px solid var(--grijs-lijn);
}

.kop-rij {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ruimte);
  padding: 1.1rem 0;
}

.kop-logo {
  display: inline-block;
  line-height: 0;
}

.kop-logo img {
  width: 240px;
  height: auto;
}

.kop-nav {
  display: flex;
  gap: 1.5rem;
}

.kop-nav a {
  text-decoration: none;
  font-weight: 600;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.kop-nav a:hover {
  color: var(--blauw);
  border-bottom-color: var(--rood);
}

/* Secties */
section {
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0;
}

.hero {
  background: var(--grijs-achtergrond);
}

.hero h1 {
  margin-bottom: 0.5em;
}

.hero-tekst {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  max-width: 44rem;
  margin: 0;
}

/* Over Patrick */
.over-rij {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.over-tekst p:last-child {
  margin-bottom: 0;
}

.portret {
  margin: 0;
  max-width: 22rem;
  justify-self: end;
  width: 100%;
}

.portret img,
.portret-leeg {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 3px solid var(--rood);
}

.portret-leeg {
  background: var(--grijs-achtergrond);
  display: grid;
  place-items: center;
}

.portret-leeg img {
  width: 4rem;
  height: 4rem;
  aspect-ratio: auto;
  border: 0;
  opacity: 0.35;
}

.portret figcaption {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--grijs-tekst);
}

/* Activiteiten */
.activiteiten {
  background: var(--grijs-achtergrond);
}

.kaarten {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 1.5rem;
}

.kaart {
  background: var(--wit);
  border: 1px solid var(--grijs-lijn);
  border-top: 3px solid var(--rood);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.kaart h3 {
  margin-bottom: 0.5em;
}

.kaart h3 a {
  text-decoration: none;
}

.kaart h3 a:hover {
  text-decoration: underline;
}

.kaart p {
  margin-bottom: 0.75em;
}

.kaart-link {
  margin: auto 0 0;
  padding-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--grijs-tekst);
}

/* Contact */
.contact p {
  max-width: 44rem;
}

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

/* Tekstpagina's (privacy, 404) */
.tekstpagina {
  padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
}

.tekstpagina h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

/* Footer */
.voet {
  background: var(--blauw);
  color: var(--wit);
  padding: 2.5rem 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.voet a {
  color: var(--wit);
}

.voet a:hover {
  color: var(--wit);
  text-decoration-color: var(--rood);
  text-decoration-thickness: 2px;
}

.voet-logo {
  width: 200px;
  height: auto;
  margin-bottom: 1.25rem;
}

.voet-gegevens,
.voet-copyright {
  margin: 0;
}

.voet-copyright {
  opacity: 0.8;
}

/* Mobiel */
@media (max-width: 47.99rem) {
  .kop-rij {
    flex-wrap: wrap;
    padding: 0.9rem 0;
  }

  .kop-logo img {
    width: 200px;
  }

  .kop-nav {
    gap: 1.25rem;
  }

  .over-rij {
    grid-template-columns: 1fr;
  }

  .portret {
    justify-self: start;
    max-width: 18rem;
  }
}
