:root {
  --bg: #121010;
  --ink: #ece9e4;
  --muted: #b3ada5;
  --blue: #3d6fb4;
  --label: #f4f1ea;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: flex; flex-direction: column; min-height: 100vh;
  background-color: var(--bg);
  /* schermvullende kaart, gedimd met een vignet */
  background-image:
    radial-gradient(ellipse at 50% 45%, rgba(18,16,16,.35) 0%, rgba(18,16,16,.75) 60%, rgba(18,16,16,.95) 100%),
    url("kaart-6831.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
body.tekstpagina {
  background-image:
    linear-gradient(rgba(18,16,16,.88), rgba(18,16,16,.88)),
    url("kaart-6831.jpg");
}

header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 2rem;
}
.merk { font-weight: 700; letter-spacing: .12em; color: var(--ink); text-decoration: none; }
nav a {
  color: var(--ink); text-decoration: none; margin-left: 1.2rem;
  padding: .4rem .9rem; border-radius: 6px; border: 1px solid transparent;
}
nav a:hover { border-color: rgba(255,255,255,.25); }
nav a.webmail { background: var(--blue); color: #fff; }
nav a.webmail:hover { background: #4a80c8; border-color: transparent; }

main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 1.5rem 3rem; }

.label {
  position: relative; display: inline-block;
  background: var(--label); color: #222; font-weight: 700;
  font-size: clamp(2.4rem, 8vw, 4.5rem); letter-spacing: .06em; line-height: 1.2;
  padding: .15em .55em; border-radius: .2em;
  box-shadow: 0 6px 32px rgba(0,0,0,.6);
}
.label::after {
  content: ""; position: absolute; left: 50%; bottom: -.3em; transform: translateX(-50%);
  border: .3em solid transparent; border-top-color: var(--label); border-bottom: 0;
}

.intro { text-align: center; max-width: 34rem; margin-top: 2.2rem; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.intro h1 { font-size: 1.7rem; margin: 0 0 .3rem; font-weight: 600; }
.intro p { color: var(--muted); margin: 0 0 1.6rem; }
.knop {
  display: inline-block; background: var(--blue); color: #fff; text-decoration: none;
  padding: .75rem 1.6rem; border-radius: 8px; font-weight: 600; text-shadow: none;
  box-shadow: 0 4px 18px rgba(0,0,0,.5);
}
.knop:hover { background: #4a80c8; }

.tekst { max-width: 40rem; width: 100%; align-self: center; }
main:has(.tekst) { justify-content: flex-start; }
.tekst h1 { font-weight: 600; }
.tekst h2 { font-size: 1.15rem; margin-top: 2rem; color: #c9d8ee; }
.tekst a { color: #8fb3e6; }
.tekst code { background: rgba(255,255,255,.08); padding: .1em .35em; border-radius: 4px; }

footer { text-align: center; color: var(--muted); font-size: .85rem; padding: 1.5rem; }

@media (max-width: 560px) {
  header { padding: 1rem; }
  nav a { margin-left: .5rem; padding: .35rem .6rem; }
  body { background-attachment: scroll; }
}
