:root {
  --green: #0c4434;
  --green-deep: #07382d;
  --lime: #63b52f;
  --cream: #f7f4ed;
  --ink: #102f28;
  --gold: #d8a64c;
  --line: #e4e8e2;
  --shadow: 0 18px 48px rgba(16, 47, 40, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }

.top { position: relative; z-index: 20; min-height: 96px; display: flex; align-items: center; gap: 36px; overflow: visible; padding: 8px clamp(24px, 5vw, 84px); background: #fff; box-shadow: 0 1px 0 rgba(16, 47, 40, 0.08); }
.logo { display: flex; align-items: center; overflow: visible; color: var(--green); font-size: clamp(24px, 2.15vw, 32px); letter-spacing: -1.4px; text-decoration: none; white-space: nowrap; }
.logo img, .sabina-card img, footer img { display: block; flex: 0 0 auto; overflow: visible; object-fit: contain; object-position: center; clip-path: none; mask: none; -webkit-mask: none; }
.logo img { width: 58px; height: 76px; margin-right: 12px; padding: 2px; }
.logo span, footer span { color: #62a925; }
.top nav { display: flex; gap: 28px; margin-left: auto; }
.top nav a { color: #163b31; font-weight: 650; text-decoration: none; }
.top nav a:hover, .top nav a:focus-visible { color: #4f912b; }
.lang { padding: 12px 15px; border: 1px solid #dfe4df; border-radius: 14px; background: #fff; color: var(--ink); font-size: 16px; }

.hero { position: relative; min-height: 680px; isolation: isolate; overflow: hidden; background: #244c3e; }
.hero::before { position: absolute; z-index: -2; inset: 0; content: ""; background: linear-gradient(90deg, rgba(12, 59, 47, 0.36), rgba(12, 59, 47, 0.03)), url("../images/oud-beijerland/oude-raadhuis-cartoon-v03131.jpg") center 51% / cover no-repeat; filter: saturate(0.96) contrast(1.02); }
.hero-photo { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: right 50%; transform: scale(1.15); transform-origin: right center; filter: saturate(1.03) contrast(1.02); }
.shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(4, 39, 31, 0.92) 0%, rgba(4, 39, 31, 0.75) 31%, rgba(4, 39, 31, 0.28) 55%, rgba(4, 39, 31, 0.03) 77%), linear-gradient(0deg, rgba(5, 34, 27, 0.18), transparent 36%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; width: min(560px, 43vw); margin-left: max(5vw, calc((100vw - 1320px) / 2 + 28px)); padding-top: 54px; color: #fff; }
.hero-copy em { color: #b7e65e; font-size: 24px; font-style: normal; font-weight: 850; }
.hero h1 { margin: 12px 0 20px; font-size: clamp(50px, 4.45vw, 68px); line-height: 0.98; letter-spacing: -2.7px; text-shadow: 0 3px 12px rgba(0, 0, 0, 0.34); }
.hero-copy p { margin: 0; font-size: 20px; line-height: 1.5; }
.hero-copy ul { margin: 20px 0 0; padding: 0; list-style: none; font-weight: 700; line-height: 2; }
.hero-copy li::before { width: 24px; height: 24px; display: inline-grid; place-items: center; margin-right: 10px; border-radius: 50%; background: var(--lime); content: "✓"; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.actions a { min-width: 160px; padding: 16px 21px; border-radius: 14px; font-weight: 850; line-height: 1.22; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13); }
.green { background: #55a92b; color: #fff; }
.white { background: #fff; color: #15392f; }
.sabina { position: absolute; z-index: 3; right: 20vw; bottom: 0; width: auto; height: 66%; max-width: 25vw; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.31)); pointer-events: none; }
.sabina-card { position: absolute; z-index: 4; right: max(24px, calc((100vw - 1120px) / 2 + 24px)); bottom: 26px; width: min(390px, calc(100% - 48px)); display: flex; gap: 14px; padding: 16px 18px; border: 1px solid var(--gold); border-radius: 18px; background: #fff7e8; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.23); }
.sabina-card img { width: 58px; height: 76px; padding: 2px; }
.sabina-card b, .sabina-card span, .sabina-card small { display: block; }
.sabina-card b { font-size: 18px; }
.sabina-card span { margin: 3px 0 5px; color: #4e772f; font-weight: 750; }
.sabina-card small { color: #344f47; line-height: 1.4; }

.finder { position: relative; z-index: 8; max-width: 1120px; margin: 0 auto; padding: 34px 24px 18px; }
.finder form { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; padding: 13px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.finder label { display: flex; align-items: center; padding: 0 15px; border: 1px solid #dfe4df; border-radius: 13px; color: #718079; font-size: 30px; }
.finder input, .finder select { width: 100%; padding: 15px; border: 0; outline: none; background: #fff; font: inherit; }
.finder select { border: 1px solid #dfe4df; border-radius: 13px; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(21, 57, 47, 0.08); }
.quick a { padding: 22px; border-right: 1px solid #eee; color: var(--ink); text-decoration: none; }
.quick a:last-child { border: 0; }
.quick i, .quick b, .quick span { display: block; }
.quick i { color: #4f8c2f; font-size: 34px; font-style: normal; }
.quick span { margin-top: 3px; color: #5d7169; font-size: 13px; }

.featured { max-width: 1120px; margin: 0 auto; padding: 10px 24px 60px; }
.featured header { display: flex; align-items: center; justify-content: space-between; }
.featured header a { color: #4c8428; font-weight: 750; text-decoration: none; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards article { overflow: hidden; border: 1px solid rgba(16, 47, 40, 0.06); border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(24, 61, 50, 0.08); }
.event-art { position: relative; height: 145px; overflow: hidden; background: linear-gradient(135deg, #89b47c, #d7a760); }
.event-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.date { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 7px 10px; border-radius: 10px; background: #fff; font-size: 12px; text-align: center; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12); }
.date b { display: block; font-size: 20px; }
.event-body { padding: 15px; }
.event-body small { padding: 5px 9px; border-radius: 20px; background: #e8f3d8; }
.event-body h3 { min-height: 50px; }
.event-body p { color: #456057; font-size: 13px; }

footer { min-height: 120px; display: flex; align-items: center; gap: 10px; overflow: visible; padding: 30px 6%; background: var(--green-deep); color: #fff; }
footer img { width: 48px; height: 66px; padding: 2px; }
footer b { font-size: 22px; }
footer small { margin-left: auto; }

@media (min-width: 1500px) {
  .hero { min-height: 700px; }
  .hero-photo { object-position: right 49%; }
  .sabina { height: 67%; max-width: 24vw; }
}

@media (max-width: 1050px) {
  .top nav { display: none; }
  .lang { margin-left: auto; }
  .hero { min-height: 720px; overflow: hidden; }
  .hero-photo { object-fit: cover; object-position: 67% 50%; }
  .hero-copy { width: min(520px, 55vw); }
  .sabina { right: 3%; height: 54%; max-width: 36vw; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .top { min-height: 88px; gap: 12px; padding: 8px 16px; }
  .logo { font-size: clamp(21px, 6.2vw, 26px); letter-spacing: -1px; }
  .logo img { width: 48px; height: 66px; margin-right: 8px; padding: 1px; }
  .lang { padding: 10px 11px; font-size: 14px; }
  .hero { min-height: 920px; }
  .hero::before { background-position: 67% center; }
  .hero-photo { object-fit: cover; object-position: 67% center; opacity: 0.94; }
  .shade { background: linear-gradient(180deg, rgba(5, 40, 31, 0.82) 0%, rgba(5, 40, 31, 0.60) 43%, rgba(5, 40, 31, 0.14) 68%, rgba(5, 40, 31, 0.46) 100%), linear-gradient(90deg, rgba(5, 40, 31, 0.55), rgba(5, 40, 31, 0.04)); }
  .hero-copy { width: calc(100% - 44px); margin-left: 22px; padding-top: 42px; }
  .hero-copy em { font-size: 20px; }
  .hero h1 { max-width: 440px; margin-top: 10px; font-size: clamp(42px, 12vw, 50px); letter-spacing: -2px; }
  .hero-copy p { font-size: 17px; }
  .hero-copy ul { font-size: 14px; }
  .actions { gap: 10px; }
  .actions a { min-width: 145px; padding: 14px 17px; font-size: 14px; }
  .sabina { right: -3%; bottom: 69px; height: 40%; max-width: 67vw; }
  .sabina-card { right: 20px; bottom: 20px; width: min(350px, calc(100% - 40px)); padding: 14px; }
  .sabina-card img { width: 52px; height: 70px; }
  .finder { padding: 34px 20px 14px; }
  .finder form { display: block; }
  .finder select { margin-top: 9px; }
  .quick { grid-template-columns: repeat(2, 1fr); }
  .quick a { padding: 17px 12px; }
  .quick a:nth-child(2) { border-right: 0; }
  .quick a:nth-child(-n + 2) { border-bottom: 1px solid #eee; }
  .quick i { font-size: 29px; }
  .quick b { font-size: 13px; }
  .quick span { font-size: 11px; }
  .featured { padding: 4px 20px 40px; }
  .featured header h2 { font-size: 27px; }
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .cards article { min-width: min(78vw, 275px); scroll-snap-align: start; }
  footer { flex-wrap: wrap; }
  footer small { width: 100%; margin: 0; }
}

@media (max-width: 430px) {
  .logo b { max-width: 220px; overflow: hidden; }
  .hero { min-height: 950px; }
  .hero-copy p br { display: none; }
  .sabina { right: -8%; bottom: 86px; height: 36%; }
  .sabina-card small { font-size: 11px; }
}
