/* Vrije School Haverlo – startpagina. De kleuren pas je hier aan. */
:root {
  --green: #16714c;
  --dark-green: #123d2e;
  --ink: #172c23;
  --muted: #65786d;
  --border: #e4ebe5;
  --surface: #ffffff;
  --background: #f5f8f4;
  --gold: #f5c748;
  --shadow: 0 14px 50px rgba(27, 70, 44, 0.055);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; position: relative; overflow-x: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #e8ad23; outline-offset: 4px; }
[hidden] { display: none !important; }

.page-art { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; }
.page-art-a { width: 690px; height: 690px; top: -340px; left: -260px; background: radial-gradient(circle, rgba(206,232,199,.55), rgba(206,232,199,0) 70%); }
.page-art-b { width: 650px; height: 650px; top: 180px; right: -360px; background: radial-gradient(circle, rgba(249,222,128,.19), transparent 72%); }
.site-wrap { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 33px 0 24px; }
.wordmark { display: flex; gap: 11px; align-items: center; font-size: 13px; letter-spacing: .135em; font-weight: 850; color: var(--dark-green); }
.wordmark-dot { width: 12px; height: 12px; background: var(--green); border-radius: 4px; transform: rotate(-25deg); box-shadow: 5px -4px 0 -2px var(--gold); }
.wordmark-divider { height: 18px; width: 1px; background: #cadacf; margin: 0 2px; }
.wordmark-sub { font-size: 11px; font-weight: 750; letter-spacing: .16em; color: #76887e; }
.header-meta { border: 1px solid #d8e6db; background: rgba(255,255,255,.65); color: #59806a; border-radius: 999px; font-size: 10px; letter-spacing: .15em; font-weight: 800; padding: 10px 16px; white-space: nowrap; }

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 11px 0 46px; }
.brand-figure { width: 154px; height: 154px; display: grid; place-items: center; position: relative; margin-bottom: 15px; }
.brand-figure::before { content: ""; z-index: -1; position: absolute; width: 174px; height: 174px; border: 1px solid #deebdd; border-radius: 50%; top: -10px; left: -10px; }
.brand-figure::after { content: ""; z-index: -1; position: absolute; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; right: -15px; top: 31px; box-shadow: -179px 94px 0 #bbd8be; }
.brand-figure img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 9px 13px rgba(21,78,28,.06)); }
.brand-fallback { font-weight: 900; font-size: 88px; color: var(--green); letter-spacing: -.09em; }
.brand-fallback span { color: var(--gold); }
.hero-eyebrow { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 4px 0 12px; font-size: 10px; font-weight: 850; letter-spacing: .24em; color: #579874; }
.eyebrow-line { width: 23px; height: 1px; background: #b4d2ba; }
.hero h1 { margin: 0; font-size: clamp(32px, 4.3vw, 52px); font-weight: 780; letter-spacing: -.05em; line-height: 1.13; color: var(--dark-green); }
.hero-subtitle { margin: 13px 0 22px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.google-search { width: min(100%, 670px); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 19px; background: #fff; border: 1px solid #d8e6d9; border-radius: 18px; box-shadow: 0 13px 38px rgba(24,75,41,.095); margin: 0 0 23px; transition: border-color .2s, box-shadow .2s; }
.google-search:focus-within { border-color: #73a987; box-shadow: 0 13px 38px rgba(24,75,41,.12), 0 0 0 3px rgba(64,137,87,.11); }
.search-icon { color: #6b9076; display: grid; place-items: center; flex: 0 0 23px; }
.search-icon svg { width: 22px; height: 22px; }
.google-search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 15px; color: var(--ink); background: transparent; height: 42px; }
.google-search input::placeholder { color: #9aa9a0; }
.google-search input:focus-visible { outline: none; }
.search-submit { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 13px; height: 46px; background: var(--green); color: #fff; padding: 0 19px; border: 0; border-radius: 12px; font-size: 13px; font-weight: 750; cursor: pointer; transition: background .2s, transform .2s; }
.search-submit:hover { background: #0e5c3b; }
.search-submit:active { transform: scale(.98); }
.search-submit svg { width: 17px; height: 17px; }
.clock-bar { display: flex; gap: 15px; align-items: center; text-align: left; min-width: 360px; padding: 13px 18px 13px 14px; background: rgba(255,255,255,.88); border: 1px solid #e3ece4; box-shadow: 0 7px 28px rgba(36,80,49,.055); border-radius: 18px; }
.clock-icon { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; background: #eaf5e9; color: var(--green); display: grid; place-items: center; }
.clock-icon svg { width: 22px; height: 22px; }
.clock-copy { display: flex; flex-direction: column; gap: 3px; flex: 1; white-space: nowrap; }
#current-day { font-size: 12px; font-weight: 780; text-transform: capitalize; }
.clock-zone { font-size: 10px; font-weight: 500; color: #839287; }
.clock-time { font-variant-numeric: tabular-nums; letter-spacing: -.065em; font-size: 30px; line-height: 1; font-weight: 800; color: var(--dark-green); }
.clock-seconds { font-size: 13px; font-weight: 600; letter-spacing: -.02em; color: #8fa197; }

.quick-section { margin-bottom: 50px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 2px; margin-bottom: 21px; }
.section-eyebrow { color: #648979; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.section-heading h2, .calendar-top h2 { margin: 7px 0 0; font-size: clamp(22px, 2.5vw, 29px); letter-spacing: -.045em; font-weight: 790; line-height: 1.15; }
.section-heading > p { color: #7b8c81; margin: 0 0 3px; font-size: 12px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.quick-card { --tone: #1b7954; --tint: #e4f3e8; display: flex; flex-direction: column; min-width: 0; min-height: 165px; padding: 21px 23px 19px; background: rgba(255,255,255,.95); border: 1px solid #e7eee7; border-radius: 19px; box-shadow: var(--shadow); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden; }
.quick-card:hover { transform: translateY(-5px); border-color: #c5dace; box-shadow: 0 18px 38px rgba(26,76,47,.10); }
.quick-card::before { content: ""; position: absolute; right: -35px; top: -54px; width: 124px; height: 124px; border-radius: 50%; background: var(--tint); opacity: .43; transition: transform .2s ease; }
.quick-card:hover::before { transform: scale(1.1); }
.card-upper { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; position: relative; }
.card-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--tint); color: var(--tone); }
.card-icon svg { width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.85; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.card-icon.has-image { background: transparent; }
.card-icon img { display: block; width: 40px; height: 40px; object-fit: contain; }
.card-arrow { color: #a4b3a8; font-size: 22px; line-height: 1; font-weight: 350; transform: rotate(-45deg); transition: transform .2s, color .2s; }
.quick-card:hover .card-arrow { color: var(--green); transform: rotate(-45deg) translateX(3px); }
.card-copy { margin-top: auto; padding-top: 20px; position: relative; }
.card-title { display: block; color: #23382b; font-size: 15px; font-weight: 780; line-height: 1.2; }
.card-description { display: block; color: #85948b; font-size: 11px; margin-top: 5px; line-height: 1.4; }
.quick-card[data-color="green"] { --tone: #16845a; --tint: #e7f5ea; }
.quick-card[data-color="teal"] { --tone: #268a82; --tint: #e5f4f0; }
.quick-card[data-color="yellow"] { --tone: #aa8015; --tint: #fff4ce; }
.quick-card[data-color="orange"] { --tone: #e27040; --tint: #fff0e6; }
.quick-card[data-color="blue"] { --tone: #2a85ba; --tint: #e8f3fc; }
.quick-card[data-color="purple"] { --tone: #7863bd; --tint: #f0ecfc; }
.quick-card[data-color="rose"] { --tone: #c77481; --tint: #fff0f1; }
.quick-card[data-color="lime"] { --tone: #7a9544; --tint: #eef5e3; }

.calendar-section { margin: 0 0 43px; }
.calendar-panel { background: #fff; border-radius: 23px; border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.calendar-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 28px 32px 23px; border-bottom: 1px solid #eef2ed; }
.calendar-top h2 { margin-top: 8px; }
.heading-sparkle { color: #e1bc53; font-size: 17px; display: inline-block; vertical-align: 4px; margin-left: 3px; }
.calendar-hint { margin: 9px 0 0; font-size: 12px; color: #829188; }
.calendar-link { align-items: center; display: inline-flex; gap: 9px; color: var(--green); padding: 11px 13px; margin-top: 3px; background: #eff7ef; border: 1px solid #e1eee4; border-radius: 10px; font-size: 11px; font-weight: 760; white-space: nowrap; transition: background .2s; }
.calendar-link:hover { background: #e3f2e5; }
.calendar-link svg { width: 15px; height: 15px; }
.event-list { padding: 0 30px; }
.event-row { display: flex; align-items: center; gap: 19px; padding: 17px 1px; border-bottom: 1px solid #eff2ee; min-height: 88px; }
.event-row:last-child { border-bottom: 0; }
.event-date { width: 59px; height: 54px; background: #f5f8f3; border: 1px solid #e9efe7; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 auto; }
.event-date strong { font-size: 23px; line-height: 1; font-variant-numeric: tabular-nums; font-weight: 810; color: #284b35; letter-spacing: -.035em; }
.event-date small { margin-top: 3px; color: #79917f; font-weight: 800; font-size: 9px; letter-spacing: .095em; text-transform: uppercase; }
.event-content { flex: 1; min-width: 0; }
.event-name { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 760; line-height: 1.4; color: #263a2d; }
.event-name .ongoing { color: #25845b; font-size: 9px; font-weight: 800; border-radius: 6px; padding: 3px 5px; background: #e6f5eb; white-space: nowrap; }
.event-details { margin-top: 5px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #88968b; font-size: 11px; }
.event-dot { height: 3px; width: 3px; border-radius: 50%; background: #adbbaf; }
.event-tag { font-size: 10px; font-weight: 750; padding: 6px 10px; border-radius: 7px; background: #f0f5f0; color: #598167; white-space: nowrap; }
.event-tag[data-category="vakantie"] { background: #fff4d9; color: #a77e20; }
.event-tag[data-category="vrij"] { background: #f0f6e4; color: #748e3d; }
.event-tag[data-category="evaluatie"] { background: #fff0e9; color: #ba7358; }
.event-tag[data-category="oudercontact"] { background: #f0ecfa; color: #7c6ba4; }
.event-tag[data-category="activiteit"] { background: #e7f3f7; color: #548caa; }
.calendar-bottom { padding: 15px 32px 18px; border-top: 1px solid #eef2ed; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.calendar-data-note { color: #9daa9f; font-size: 10px; }
.more-events { background: transparent; border: 0; color: #247a52; font-size: 11px; font-weight: 760; cursor: pointer; padding: 5px 2px; white-space: nowrap; }
.more-events:hover { text-decoration: underline; }
.more-events span { display: inline-block; margin-left: 5px; }
.loading-msg, .no-events { padding: 30px 0; margin: 0; font-size: 13px; color: #819287; text-align: center; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; border-top: 1px solid #e1e8df; padding: 23px 2px 35px; color: #829388; font-size: 11px; }
.site-footer strong { font-weight: 760; color: #476650; }
.footer-heart { color: #dbbe57; }

@media (max-width: 900px) {
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-card { min-height: 150px; }
  .section-heading > p { display: none; }
}
@media (max-width: 560px) {
  .site-wrap { width: calc(100% - 30px); }
  .site-header { padding: 19px 0 24px; }
  .wordmark { font-size: 12px; gap: 8px; }
  .wordmark-sub { font-size: 9px; }
  .header-meta { font-size: 8px; letter-spacing: .05em; padding: 8px 9px; }
  .hero { padding: 14px 0 38px; }
  .brand-figure { width: 120px; height: 120px; }
  .brand-figure::before { width: 140px; height: 140px; }
  .brand-figure::after { right: -17px; box-shadow: -144px 88px 0 #bbd8be; }
  .hero-subtitle { max-width: 300px; font-size: 13px; }
  .google-search { gap: 8px; padding: 6px 6px 6px 14px; border-radius: 14px; margin-bottom: 20px; }
  .search-icon { flex-basis: 19px; }
  .search-icon svg { width: 19px; height: 19px; }
  .google-search input { font-size: 13px; height: 38px; }
  .search-submit { height: 40px; padding: 0 13px; gap: 5px; font-size: 12px; border-radius: 10px; }
  .search-submit svg { width: 15px; height: 15px; }
  .clock-bar { width: 100%; min-width: 0; padding: 12px; gap: 10px; }
  .clock-icon { width: 39px; height: 39px; }
  #current-day { font-size: 11px; }
  .clock-time { font-size: 24px; }
  .clock-seconds { font-size: 10px; }
  .quick-grid { gap: 10px; }
  .quick-card { min-height: 147px; border-radius: 15px; padding: 15px; }
  .card-icon { width: 41px; height: 41px; }
  .card-icon svg { width: 21px; height: 21px; }
  .card-copy { padding-top: 12px; }
  .card-title { font-size: 13px; }
  .card-description { font-size: 10px; }
  .quick-section { margin-bottom: 32px; }
  .calendar-top { flex-direction: column; padding: 24px 18px 19px; gap: 12px; }
  .calendar-link { margin: 0; }
  .event-list { padding: 0 17px; }
  .event-row { gap: 12px; padding: 14px 0; }
  .event-date { width: 50px; height: 50px; }
  .event-date strong { font-size: 21px; }
  .event-name { font-size: 12px; }
  .event-tag { padding: 5px 7px; font-size: 9px; }
  .event-details { font-size: 10px; }
  .calendar-bottom { padding: 15px 17px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
