/* KAD Administratieve Diensten – static site.
   Same look as the original (HTML5 Boilerplate + Initializr responsive template, maroon theme),
   with the parts of normalize.css the page uses folded in. No external fonts or scripts. */

/* ===== Base (normalize + boilerplate) ===== */
article, aside, footer, header, main, nav, section { display: block; }
[hidden] { display: none !important; }
html { font-size: 1em; line-height: 1.4; -webkit-text-size-adjust: 100%; }
html, button { color: #222; }
body { margin: 0; font: 16px/26px Times, Helvetica, "Helvetica Neue", Arial; }
h1 { font-size: 2em; margin: .67em 0; }
h2 { font-size: 1.5em; margin: .83em 0; }
h3 { font-size: 1.17em; margin: 1em 0; }
p { margin: 1em 0; }
strong { font-weight: bold; }
img { border: 0; vertical-align: middle; max-width: 100%; height: auto; }
button { font: inherit; margin: 0; line-height: normal; cursor: pointer; }
::selection { background: #b3d4fc; text-shadow: none; }
:focus-visible { outline: 2px dotted #a60833; outline-offset: 2px; }

.wrapper { width: 90%; margin: 0 5%; }

.clearfix::before, .clearfix::after { content: " "; display: table; }
.clearfix::after { clear: both; }

.skip { position: absolute; left: -999px; top: 0; background: #a60833; color: #fff; padding: .5em 1em; z-index: 40; }
.skip:focus { left: 1em; top: 1em; }

/* ===== Theme ===== */
.header-container { border-bottom: 20px solid #a60833; }
.footer-container, .main aside { border-top: 20px solid #a60833; }
.header-container, .footer-container, .main aside { background: #fff; }
.title { color: #b91d47; margin: .67em 0; font-size: 2em; }
.title a { display: inline-block; }
.title img { width: 40vw; max-width: 200px; }

/* Menu (mobile) */
nav ul { margin: 0; padding: 0; list-style: none; }
nav a {
  display: block;
  margin-bottom: 10px;
  padding: 15px 0;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  background: #a60833;
}
nav a:hover, nav a:visited { color: #fff; }
nav a:hover { text-decoration: underline; }

/* Main (mobile) */
.main { padding: 30px 0; }
.main article h1 { font-size: 2em; }
.main aside { color: #b91d47; padding: 0 5% 10px; }

.footer-container footer {
  color: #b91d47;
  padding: 20px 0;
  font: 11px/20px Times, Helvetica, "Helvetica Neue", Arial;
}
.footer-row { margin: 0; display: flex; flex-wrap: wrap; gap: 0 12px; }

/* Links */
aside a { text-decoration: none; color: #b91d47; }
aside a:hover, aside a:visited { color: #b91d47; }
aside a:hover { text-decoration: underline; }

article a { text-decoration: none; color: #000; }
article a:hover, article a:visited { color: #000; }
article a:hover { text-decoration: underline; }

.footer-container a { color: #b91d47; text-decoration: none; }
.footer-container a:hover { text-decoration: underline; }

/* Buttons (cookie notice, privacy page, 404) – same maroon blocks as the menu */
.button, article a.button {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #a60833;
  background: #a60833;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
.button:hover, article a.button:hover { text-decoration: underline; color: #fff; }
.button-ghost { background: #fff; color: #a60833; }
.button-ghost:hover { color: #a60833; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Cookie notice */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: #fff; border-top: 8px solid #a60833;
  box-shadow: 0 -5px 10px #aaa;
}
.cookie-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 30px; padding: 14px 0; }
.cookie-inner p { margin: 0; max-width: 60ch; }
.cookie-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cookie-more { color: #b91d47; }

/* ===== Intermediate ===== */
@media only screen and (min-width: 480px) {
  nav ul { display: flex; gap: 0 3.4%; }
  nav li { flex: 1; }
  nav a { margin-bottom: 0; padding: 25px 2%; }
}

/* ===== Wide ===== */
@media only screen and (min-width: 768px) {
  .header-container, .main aside { box-shadow: 0 5px 10px #aaa; }
  .title { float: left; }
  .title img { width: 200px; }
  nav { float: right; width: 38%; }
  .main article { float: left; width: 57%; }
  .main aside { float: right; width: 28%; }
}

/* ===== Maximal width ===== */
@media only screen and (min-width: 1140px) {
  .wrapper { width: 1026px; margin: 0 auto; }
}

@media print {
  * { background: transparent !important; color: #000 !important; box-shadow: none !important; }
  nav, .cookie-banner, .skip { display: none !important; }
}
