/* Kallpa Spaans — stylesheet (statische versie, zonder WordPress) */

@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/titillium-web-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/titillium-web-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/titillium-web-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/titillium-web-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/titillium-web-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Titillium Web"; font-style: italic; font-weight: 700; font-display: swap; src: url(/assets/fonts/titillium-web-700-italic.woff2) format("woff2"); }

:root {
  --purple: #502c85;
  --purple-tint: rgba(80, 44, 133, .2);
  --text: #2a3255;
  --orange: #fbb040;
  --red: #ee3039;
  --nav-text: #606060;
  --border: #e5e5e5;
  --container: 980px;
  --narrow: 668px;
  --font: "Titillium Web", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.65; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { color: var(--text); line-height: 1.3; margin: 0 0 .6em; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
h4 { font-size: 22px; font-weight: 400; }
p, ul, ol { margin: 0 0 20px; }
ul, ol { padding-left: 1.5em; }
.center { text-align: center; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; box-sizing: content-box; }
@media (max-width: 1020px) { .container { box-sizing: border-box; max-width: calc(var(--container) + 40px); } }

.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
.site-header { background: var(--purple); }
.site-header__inner { position: relative; display: flex; justify-content: center; padding-top: 15px; padding-bottom: 15px; }
.logo img { width: 227px; height: auto; }
.menu-toggle { display: none; }

/* Hoofdmenu */
.main-nav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.main-nav ul { list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.main-nav a { display: block; padding: 0 19px; line-height: 50px; font-size: 16px; color: var(--nav-text); transition: color .15s; }
.main-nav a:hover { color: var(--orange); }
.main-nav a[aria-current="page"] { color: var(--red); }

/* Hero */
.hero { position: relative; min-height: 300px; display: flex; align-items: center; text-align: center; color: #fff;
  background: #1a1a1a var(--hero) no-repeat; background-size: cover; background-position: var(--hero-pos, center); margin-bottom: 40px; }
.hero::before { content: ""; position: absolute; inset: 0; background-color: var(--ov-color, #000); background-image: var(--ov-img, none); background-repeat: repeat; opacity: var(--ov-opacity, .5); }
.hero__inner { position: relative; padding-top: 30px; padding-bottom: 30px; }
.hero h1 { color: #fff; font-size: 48px; font-weight: 400; line-height: 1.3; margin: 0; }
.hero__sub { font-size: 24px; font-weight: 300; line-height: 1.6; margin: 6px 0 0; }

.page-title { background: var(--purple); color: #fff; text-align: center; padding: 30px 0; margin-bottom: 40px; }
.page-title h1 { color: #fff; font-size: 36px; font-weight: 600; margin: 0; }

/* Inhoud */
.content { padding-bottom: 60px; }
.row { display: flex; gap: 0 30px; margin-bottom: 25px; }
.row:first-child { margin-top: 40px; }
.col { flex: var(--span, 1) 1 0; min-width: 0; }
.row--narrow { max-width: var(--narrow); margin-left: auto; margin-right: auto; }
.row--narrow .col { flex: 1 1 0; }
.row--inset { padding-left: 33px; padding-right: 33px; }
.content h4 { margin-bottom: 25px; }
.h-lg { font-size: 26px; font-weight: 700; margin-top: 10px; }
.heading { font-size: 24px; font-weight: 700; }
.heading.center { text-align: center; }
h2.heading:not(.center) { font-size: 30px; margin-bottom: 4px; }
.heading.italic { font-size: 30px; font-style: italic; }
.portrait { margin: 0 auto 30px; width: 300px; max-width: 100%; }
.contact-logo { margin: 0 auto 20px; width: 170px; }

/* Tabellen */
.table-wrap { overflow-x: auto; margin-bottom: 30px; }
table { width: 100%; border-collapse: collapse; }
td, th { border: 1px solid var(--border); padding: 10px 12px; vertical-align: top; }
table.tint { background: var(--purple-tint); }
table.tint td { border-color: rgba(255,255,255,.6); text-align: center; padding: 10px; }

/* Kaart (laadt pas na klik: geen cookies van Google zonder toestemming) */
.map { background: #f5f5f5; margin: 0 0 30px; }
.map iframe { display: block; width: 100%; height: 450px; border: 0; }
.row--map .col { max-width: none; }

/* Formulieren */
.form fieldset { background: #eee; border: 1px solid #ccc; border-radius: 3px; margin: 0 0 15px; padding: 15px 20px 20px; }
.form legend { float: left; width: 100%; font-size: 20px; font-weight: 700; color: var(--text); border-bottom: 1px solid #aaa; padding: 0 0 6px; margin: 0 0 14px; }
.form legend + * { clear: both; }
.form .grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px 40px; clear: both; }
.form .f { grid-column: span 3; margin-bottom: 10px; }
.form .f--third { grid-column: span 2; }
.form .f--full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 700; font-size: 13px; color: #000; margin-bottom: 4px; }
.form .req { color: #bc1212; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 14px; color: var(--text); background: #fafafa; border: 1px solid #ddd; border-radius: 3px; padding: 5px 8px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--purple); outline-offset: 0; background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form .short { max-width: 312px; }
.form .hint { font-size: 12px; color: #000; margin: 4px 0 0; }
.form .note { font-size: 13px; margin: 0; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn { display: inline-block; background: var(--orange); color: #fff; border: 0; border-radius: 2px; padding: 10px 16px; font: inherit; font-size: 15px; cursor: pointer; margin-top: 15px; transition: background .15s; }
.btn:hover, .btn:focus { background: var(--red); color: #fff; }
.form-msg { padding: 14px 18px; border-radius: 3px; margin-bottom: 20px; font-weight: 600; }
.form-msg--ok { background: #e7f4e4; border: 1px solid #8cc084; color: #24521c; }
.form-msg--err { background: #fdeaea; border: 1px solid #e59a9a; color: #8a1f1f; }
.form-msg[hidden] { display: none; }

/* Zoeken */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-search { display: none; }
.nav-search input, .search-page input { flex: 1; min-width: 0; height: 45px; padding: 0 10px; font: inherit; font-size: 14px; color: #333; background: #fff; border: 1px solid #ddd; border-radius: 0; }
.nav-search button { flex: 0 0 45px; height: 45px; border: 0; background: var(--orange); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.nav-search button:hover { background: var(--red); }
.nav-search svg { width: 16px; height: 16px; fill: #fff; }
.search-page { display: flex; gap: 10px; max-width: var(--narrow); margin: 0 auto 20px; }
.search-page .btn { margin: 0; }
.search-status, .search-results { max-width: var(--narrow); margin-left: auto; margin-right: auto; }
.search-results { padding-left: 1.2em; }
.search-results li { margin-bottom: 18px; }
.search-results a { font-size: 17px; font-weight: 700; }
.search-results p { margin: 2px 0 0; }
.search-results mark { background: #fde7c2; color: inherit; }

/* Knop naar boven */
.to-top { position: fixed; right: 25px; bottom: 25px; z-index: 60; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center;
  background: #f6bb42; border-radius: 4px; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s, background .2s; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover, .to-top:focus { background: #e9a00b; }
.to-top svg { width: 16px; height: 16px; fill: #fff; }

/* Footer */
.site-footer { background: var(--orange); padding: 60px 0 20px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px 20px; font-size: 13px; }
.footer-menu a { color: #fff; }
.footer-menu a:hover { color: var(--text); }

/* 404 */
.notfound { text-align: center; padding: 30px 0 20px; }
.notfound .btn { margin-top: 10px; }

/* Mobiel */
@media (max-width: 959px) {
  .site-header__inner { justify-content: flex-start; padding-top: 10px; padding-bottom: 10px; }
  .logo img { width: 200px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer; }
  .menu-toggle span { display: block; height: 3px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .js .main-nav { display: none; position: static; border-bottom: 0; }
  .js .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 0; }
  .main-nav li + li { border-top: 1px solid var(--border); }
  .main-nav a { line-height: 1.4; padding: 13px 20px; }
  .nav-search { display: flex; padding-top: 6px; padding-bottom: 20px; }
  .hero h1 { font-size: 36px; }
  .hero__sub { font-size: 20px; }
  .row { flex-direction: column; }
  .row--inset { padding-left: 0; padding-right: 0; }
  .map iframe { height: 320px; }
}
@media (max-width: 600px) {
  .hero { min-height: 260px; }
  .hero h1 { font-size: 30px; }
  .hero__sub { font-size: 17px; }
  .page-title h1 { font-size: 28px; }
  .form .f, .form .f--third { grid-column: 1 / -1; }
  .form fieldset { padding: 12px 14px 16px; }
}

@media print {
  .main-nav, .menu-toggle, .site-footer, .form, .to-top { display: none; }
  .hero { min-height: 0; color: #000; background: none; }
  .hero::before { display: none; }
  .hero h1 { color: #000; }
}
