/* ============================================================
   BASIS RESET
   ============================================================ */

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

/* ============================================================
   RESPONSIVE BASIS LETTERGROOTTE
   - Schaal automatisch met schermbreedte
   - Minimaal 16px
   - Maximaal 20px
   ============================================================ */

html {
  font-size: clamp(16px, 1.2vw, 20px);
}

/* ============================================================
   TYPOGRAFIE EN KLEUREN
   ============================================================ */

body {
  margin: 0;
  font-family: Candara, Calibri, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  color: #222;
  background-color: #fff;
}


/* ============================================================
   RESPONSIVE KOPPEN
   - Schalen automatisch mee via rem (html gebruikt clamp)
   - h1 = 140%
   - h2 = 120%
   - h3 = 100%
   ============================================================ */

h1 {
  font-size: 1.6rem;   /* 40% groter dan standaard */
  font-weight: 700;    /* vet */
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 1.2rem;   /* 20% groter dan standaard */
  font-weight: 700;    /* vet */
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 1rem;     /* standaardgrootte */
  font-weight: 700;    /* vet */
  line-height: 1.2;
  margin-bottom: 0.5em;
}

/* ============================================================
   CONTAINER
   - Voor consistente breedte (nav/main/footer gebruiken dit)
   ============================================================ */

.container {
  width: min(90%, 2200px); /* 90% breed, max 1200px */
  margin: 0 auto;          /* centreert */
  padding-inline: 16px;    /* wat ademruimte op smalle schermen */
}

/* ============================================================
   STICKY FOOTER STRUCTUUR
   - Footer onderaan bij weinig content
   - (Footer styling zelf staat in footer.css)
   ============================================================ */

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1;
  padding-block: 40px;
}

/* ============================================================
   BASIS CONTENT
   ============================================================ */

.content h1,
.content h2,
.content h3 {
  line-height: 1.2;
  margin-top: 0;
}

/* ============================================================
   TERUGKNOP BACKOFFICE
   ============================================================ */
/*
|--------------------------------------------------------------------------
| Backoffice terug-link
|--------------------------------------------------------------------------
| Zorgt dat de link rechts bovenaan de pagina staat
|--------------------------------------------------------------------------
*/

.backoffice-link {
    text-align: right;
    margin-bottom: 20px;
}

.backoffice-link a {
    text-decoration: none;
    font-weight: bold;
}