/*
Theme Name: kerkhofs-best.nl
Author: Monsterbrands
Author URI: https://www.monsterbrands.nl
Version: 2.0
*/

/* Fonts on the site itself (no requests to Google): Barlow Condensed for headings and buttons (sturdy, of the trade),
   Work Sans for text. */
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Work Sans'; src: url('../fonts/work-sans.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Work Sans'; src: url('../fonts/work-sans-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }

/* Two trades, two colours: forest green for the hovenierswerk, navy for the boomstamtafels (body.timber); lime and
   light blue as their light accents, a warm cream as ground. Every part uses --accent and its family, so a page of
   the boomstamtafels turns blue as a whole. Corners nearly square; movements short and functional. */
:root {
	--forest:      #1f4f2e;
	--forestDark:  #163a21;
	--green:       #2e7d3c;
	--lime:        #b5c935;
	--limeSoft:    #eef3d2;
	--navy:        #14314f;
	--navyDark:    #0d223a;
	--sky:         #b9cfe8;
	--skySoft:     #e6eef7;
	--wood:        #b9844a;
	--cream:       #f6f3ec;
	--white:       #fff;
	--text:        #2b2f2a;
	--muted:       #5e645b;
	--line:        rgba(31, 79, 46, 0.14);
	--error:       #b03a2e;
	--condensed:   'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
	--sans:        'Work Sans', 'Helvetica Neue', Arial, sans-serif;
	--radius:      4px;
	--header-height: 84px;
	--accent:      var(--forest);
	--accentDark:  var(--forestDark);
	--accentLight: var(--lime);
	--accentSoft:  var(--limeSoft);
}
body.timber {
	--accent:      var(--navy);
	--accentDark:  var(--navyDark);
	--accentLight: var(--sky);
	--accentSoft:  var(--skySoft);
	--line:        rgba(20, 49, 79, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
img { display: block; max-width: 100%; height: auto; }
html { scroll-padding-top: calc(var(--header-height) + 16px); }
body { padding-top: var(--header-height); font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.wrapper { width: min(1180px, 90%); margin: 0 auto; }
h1, h2, h3, h4, h5 { font-family: var(--condensed); font-weight: 700; line-height: 1.08; letter-spacing: 0.01em; text-transform: uppercase; color: var(--accent); }
h1 { font-size: 64px; }
h2 { font-size: 38px; }
h3 { font-size: 26px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
p { margin: 0 0 16px; }
strong { font-weight: 600; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--accentLight); outline-offset: 3px; }
::selection { background: var(--lime); color: var(--forestDark); }
body.timber ::selection { background: var(--sky); color: var(--navyDark); }
.eyebrow { margin: 0 0 6px; font-family: var(--condensed); font-weight: 600; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wood); }
.eyebrow-light { color: var(--accentLight); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }

/* ========== Buttons: one style everywhere ==========
   A firm block in the colour of the trade, in capitals; on hover darker and the arrow moves a little. */
.button { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.75rem 1.25rem; border: 0; border-radius: var(--radius); cursor: pointer;
	font-family: var(--condensed); font-weight: 600; font-size: 18px; line-height: 1.1; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
	background: var(--accent); color: var(--white); transition: background-color 0.2s ease, color 0.2s ease; }
.button:hover { background: var(--accentDark); }
.button .icon { transition: transform 0.2s ease; }
.button:hover .icon:last-child { transform: translateX(3px); }
.button-timber { background: var(--navy); }
.button-timber:hover { background: var(--navyDark); }
.button-garden { background: var(--green); }
.button-garden:hover { background: var(--forest); }
.button-light { background: var(--white); color: var(--accent); box-shadow: inset 0 0 0 2px var(--accentSoft); }
.button-light:hover { background: var(--accentSoft); color: var(--accentDark); }
.link-button { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }

/* ========== Header ==========
   Fixed at the top: logo, main pages (the page shown with a bar in the light accent below it), phone number and the
   button for an offer. Below 1300 pixels (measured: the row fits from 1270) the menu button takes the pages over. */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow 0.25s ease; }
html.header-scrolled .site-header { box-shadow: 0 10px 26px -18px rgba(0, 0, 0, 0.35); }
.header-bar { display: flex; align-items: center; gap: 18px; width: min(1320px, 94%); height: var(--header-height); margin: 0 auto; }
.brand { flex: none; line-height: 0; }
.brand img { width: 190px; height: auto; }
.site-nav { display: flex; align-self: stretch; margin-left: auto; }
.site-nav a { position: relative; display: flex; align-items: center; padding: 0 10px; font-family: var(--condensed); font-weight: 600; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); text-decoration: none; transition: color 0.2s ease; }
.site-nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 4px; background: var(--accentLight); transform: scaleY(0); transform-origin: bottom; transition: transform 0.2s ease; }
.site-nav a:hover { color: var(--accent); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleY(1); }
.site-nav a[aria-current] { color: var(--accent); }
.header-phone { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--condensed); font-weight: 700; font-size: 20px; letter-spacing: 0.03em; color: var(--accent); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--accentDark); text-decoration: underline; text-underline-offset: 4px; }
.site-nav + .header-phone { margin-left: 8px; }
.header-offer { flex: none; }

.menu { display: none; flex: none; }
.menu summary { list-style: none; user-select: none; -webkit-user-select: none; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: var(--radius); cursor: pointer;
	background: var(--accent); color: var(--white); font-family: var(--condensed); font-weight: 600; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; transition: background-color 0.2s ease; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover, .menu.is-open summary { background: var(--accentDark); }
.menu-icon { position: relative; width: 20px; height: 2px; }
.menu-line { position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--white); transition: transform 0.25s ease, opacity 0.2s ease; }
.menu-line:nth-child(1) { transform: translateY(-6px); }
.menu-line:nth-child(3) { transform: translateY(6px); }
.menu.is-open .menu-line:nth-child(1) { transform: rotate(45deg); }
.menu.is-open .menu-line:nth-child(2) { opacity: 0; }
.menu.is-open .menu-line:nth-child(3) { transform: rotate(-45deg); }
/* The panel and its parts: GSAP moves them, so no CSS transition on them. */
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: 12px 5% 28px; background: var(--white); border-bottom: 4px solid var(--accentLight); box-shadow: 0 20px 30px -24px rgba(0, 0, 0, 0.45); }
.menu-main a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--condensed); font-weight: 700; font-size: 28px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.menu-main a:hover, .menu-main a[aria-current] { color: var(--accent); }
.menu-main a[aria-current] { box-shadow: inset 4px 0 0 var(--accentLight); padding-left: 14px; }
.menu-contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* ========== Home: the slider with the heading ========== */
.home-hero { position: relative; display: flex; align-items: center; min-height: clamp(460px, 74vh, 720px); padding: 60px 0 140px; color: var(--white); overflow: hidden; background: var(--forestDark); }
.slider, .slide { position: absolute; inset: 0; }
.slide { background-size: cover; background-position: center; opacity: 0; }
.slide.is-shown { opacity: 1; }
.home-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 25, 15, 0.72) 0%, rgba(10, 25, 15, 0.35) 55%, rgba(10, 25, 15, 0.1) 100%); }
.home-hero-text { position: relative; z-index: 1; }
.home-hero h1 { max-width: 760px; font-size: clamp(46px, 6.4vw, 84px); color: var(--white); }
.home-hero-sub { margin: 14px 0 28px; font-family: var(--condensed); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; letter-spacing: 0.04em; text-transform: uppercase; color: var(--lime); }
.home-hero-sub p, .page-hero-sub p { margin: 0; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The two trades side by side, over the lower edge of the slider: the boomstamtafels wide and blue, the hovenierswerk
   green; the whole card leads to its page. */
.trades { position: relative; z-index: 2; margin-top: -100px; padding-bottom: 64px; }
.trades-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.trade { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); color: var(--white); text-decoration: none; box-shadow: 0 22px 40px -26px rgba(0, 0, 0, 0.55); }
.trade-timber { background: var(--navy); }
.trade-garden { background: var(--forest); }
.trade-image { height: 260px; background-size: cover; background-position: center; transition: transform 0.5s ease; }
.trade:hover .trade-image { transform: scale(1.04); }
.trade-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 26px 30px 28px; }
.trade-title { margin: 0 0 10px; font-size: 44px; color: var(--white); }
.trade-timber .trade-title { color: var(--sky); }
.trade-garden .trade-title { color: var(--lime); }
.trade-text { flex: 1; font-size: 17px; color: rgba(255, 255, 255, 0.9); }
.trade-text p { margin: 0 0 12px; }
.trade-more { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 8px; font-family: var(--condensed); font-weight: 600; font-size: 19px; letter-spacing: 0.05em; text-transform: uppercase; }
.trade-more .icon, .card-more .icon, .gallery-card-title .icon { transition: transform 0.2s ease; }
.trade:hover .trade-more .icon { transform: translateX(4px); }

/* What makes the tables special: a blue band with the stamp. */
.timber-points { padding: 34px 0; background: var(--navy); color: var(--white); }
.timber-points .wrapper { display: flex; align-items: center; gap: 36px; }
.timber-points .stamp { flex: none; width: 110px; height: 110px; }
.points { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.points li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.points .icon { grid-row: span 2; width: 34px; height: 34px; color: var(--sky); stroke-width: 1.6; }
.points strong { font-family: var(--condensed); font-weight: 700; font-size: 22px; line-height: 1.1; letter-spacing: 0.03em; text-transform: uppercase; }
.points span { font-size: 15px; color: rgba(255, 255, 255, 0.8); }

/* Pictures from the workshop: the first eight of the first boomstamtafels item. */
.showcase { padding: 64px 0; background: var(--cream); }
.showcase h2 { color: var(--navy); }
.showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.showcase-grid a:nth-child(n+9) { display: none; }
.showcase-grid a { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--skySoft); }
.showcase-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.showcase-grid a:hover img { transform: scale(1.05); }

/* ========== Pages: the visual with the heading, the text ========== */
.page-hero { position: relative; display: flex; align-items: flex-end; min-height: 340px; padding: 60px 0 40px; overflow: hidden; color: var(--white); background: var(--accentDark); }
.page-hero-image { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 20, 12, 0.7) 0%, rgba(8, 20, 12, 0.15) 65%); }
body.timber .page-hero::after { background: linear-gradient(0deg, rgba(8, 18, 32, 0.75) 0%, rgba(8, 18, 32, 0.15) 65%); }
.page-hero-text { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(40px, 5vw, 64px); }
.page-hero-sub { margin: 8px 0 0; font-family: var(--condensed); font-weight: 600; font-size: 24px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accentLight); }
.page-hero .stamp { position: absolute; z-index: 1; right: max(5%, calc((100% - 1180px) / 2)); bottom: -22px; width: 120px; height: 120px; }
.content { padding: 56px 0; }
/* The text of a page: lined up with the other parts, at most 820 wide to read well. */
.content-text { max-width: 820px; }
.wrapper.content-text { max-width: none; }
.wrapper.content-text > * { max-width: 820px; }
.content-text h2 { margin: 28px 0 6px; }
.content-text h2:first-child { margin-top: 0; }
.content-text h3, .content-text h4 { margin: 24px 0 8px; }
.content-text h5 { margin: 0 0 18px; font-family: var(--condensed); font-weight: 600; font-size: 20px; letter-spacing: 0.05em; color: var(--wood); }
.content-text ul, .content-text ol { margin: 0 0 16px 1.3em; }
.content-text li { margin-bottom: 6px; }
.content-text img { border-radius: var(--radius); }
.content-text a:not(.button):not(.back-link), .quick-contact-more a, .aside-card a:not(.footer-line):not(.aside-phone), .cookie-consent a, .card-text a, .trade-text a {
	color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color 0.2s ease; }
.content-text a:not(.button):not(.back-link):hover, .quick-contact-more a:hover, .aside-card a:not(.footer-line):not(.aside-phone):hover, .cookie-consent a:hover, .card-text a:hover { text-decoration-color: currentColor; }
.lead { font-size: 20px; color: var(--muted); }
.back-link { display: inline-flex; align-items: center; gap: 0.3rem; margin-bottom: 18px; font-family: var(--condensed); font-weight: 600; font-size: 18px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.back-link:hover { color: var(--accentDark); }

/* The services of the hovenierswerk as cards. */
.services { padding: 0 0 64px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--cream); color: var(--text); text-decoration: none; transition: background-color 0.2s ease; }
.service:hover { background: var(--accentSoft); }
.service-image { height: 200px; background-size: cover; background-position: center; }
.service-body { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 24px; }
.service-title { margin: 0 0 8px; font-size: 28px; }
.service-text { flex: 1; font-size: 16px; }

/* ========== Cards: news, vacancies; the link of the title covers the whole card ========== */
.news, .vacancies { padding: 64px 0; }
.news { background: var(--cream); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; padding: 22px 24px 22px; border-radius: var(--radius); background: var(--white); border-top: 4px solid var(--accentLight); box-shadow: 0 12px 30px -24px rgba(0, 0, 0, 0.45); transition: border-color 0.2s ease; }
.vacancies .card { background: var(--cream); box-shadow: none; }
.card:hover { border-top-color: var(--accent); }
.card-title { margin: 0 0 8px; font-size: 26px; }
.card-title a { color: var(--accent); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-text { flex: 1; font-size: 16px; color: var(--muted); }
.card-text p { margin: 0 0 8px; }
.card-text a { position: relative; z-index: 2; }
.card-more { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 10px; font-family: var(--condensed); font-weight: 600; font-size: 18px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }
.card:hover .card-more .icon, .service:hover .card-more .icon, .gallery-card:hover .gallery-card-title .icon { transform: translateX(4px); }
.card[aria-current] { border-top-color: var(--accent); }
.card[aria-current] .card-more { display: none; }

/* The portfolio items as cards with their picture. */
.galleries { padding: 64px 0; background: var(--cream); }
.gallery-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.gallery-card { display: block; overflow: hidden; border-radius: var(--radius); background: var(--accent); color: var(--white); text-decoration: none; }
.gallery-card-image { display: block; aspect-ratio: 4 / 3; background-size: cover; background-position: center; transition: transform 0.4s ease, opacity 0.2s ease; }
.gallery-card:hover .gallery-card-image { transform: scale(1.04); }
.gallery-card-title { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--accent); font-family: var(--condensed); font-weight: 700; font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; }
.gallery-card[aria-current] { box-shadow: inset 0 0 0 4px var(--accentLight); cursor: default; }
.gallery-card[aria-current] .gallery-card-title { background: var(--accentDark); color: var(--accentLight); }
.gallery-card[aria-current] .icon { display: none; }

/* ========== Portfolio: filters, the grid of pictures and the large view ========== */
.portfolio { padding: 48px 0 64px; }
.filters { margin-bottom: 26px; }
.filter-kinds { display: inline-flex; flex-wrap: wrap; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 2px var(--line); }
.filter { padding: 10px 20px; border: 0; background: var(--white); cursor: pointer; font-family: var(--condensed); font-weight: 600; font-size: 19px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text); transition: background-color 0.2s ease, color 0.2s ease; }
.filter:hover { background: var(--cream); }
.filter[aria-pressed="true"] { background: var(--forest); color: var(--white); }
.filter-timber[aria-pressed="true"] { background: var(--navy); }
.filter-galleries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; font-family: var(--sans); font-size: 15px; color: var(--text); transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.chip:hover { border-color: var(--forest); }
.chip[data-kind="Boomstamtafels"]:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.chip[data-kind="Boomstamtafels"][aria-pressed="true"] { background: var(--navy); border-color: var(--navy); }
.chip[hidden] { display: none; }
.filter-count { margin: 12px 0 0; font-size: 15px; color: var(--muted); }
.portfolio-hint { font-size: 15px; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.photo-group { display: contents; }
.photo-group[hidden] { display: none; }
.photo { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1; background: var(--cream); cursor: zoom-in; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.photo:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 56px 72px; background: rgba(10, 14, 12, 0.94); touch-action: pan-y; }
.lightbox[hidden] { display: none; }
html.lightbox-open body { overflow: hidden; }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox-figure img { max-width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; border-radius: var(--radius); user-select: none; -webkit-user-drag: none; }
.lightbox-figure figcaption { display: flex; gap: 16px; margin-top: 12px; font-family: var(--condensed); font-weight: 600; font-size: 19px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--white); }
.lightbox-count { color: rgba(255, 255, 255, 0.6); }
.lightbox-button { position: absolute; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 0; border-radius: var(--radius); background: rgba(255, 255, 255, 0.1); color: var(--white); cursor: pointer; transition: background-color 0.2s ease; }
.lightbox-button:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-button .icon { width: 28px; height: 28px; }
.lightbox-previous { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-close { right: 12px; top: 12px; }

/* ========== Forms ========== */
.honeypot { position: absolute; left: -9999px; top: -9999px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field-wide { grid-column: 1 / -1; }
.field-label { font-weight: 600; font-size: 15px; }
.field-label small { font-weight: 400; color: var(--muted); }
.site-form input[type=text], .site-form input[type=email], .site-form input[type=tel], .site-form textarea {
	width: 100%; padding: 10px 12px; border: 1px solid rgba(0, 0, 0, 0.18); border-radius: var(--radius); background: var(--white); font: inherit; font-size: 16px; color: var(--text); transition: border-color 0.2s ease; }
.site-form textarea { resize: vertical; min-height: 90px; }
.site-form input:focus, .site-form textarea:focus { outline: 3px solid var(--accentSoft); outline-offset: 0; border-color: var(--accent); }
.site-form input.error, .site-form textarea.error { border: 2px solid var(--error); }
.field-error { font-size: 14px; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 16px; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.antispam { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 20px; }
.antispam .field { flex: 0 1 260px; }
.antispam-code { display: inline-block; padding: 0 8px; border-radius: 3px; background: var(--accent); color: var(--white); font-weight: 700; letter-spacing: 0.12em; }
.form-toast { position: fixed; z-index: 120; left: 50%; top: calc(var(--header-height) + 14px); display: flex; align-items: center; gap: 12px; width: max-content; max-width: min(560px, calc(100vw - 32px)); padding: 14px 20px;
	border-left: 4px solid var(--error); border-radius: var(--radius); background: var(--white); box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.4); color: var(--error); font-weight: 600;
	transform: translateX(-50%); opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.form-toast.show { opacity: 1; visibility: visible; }
.form-toast .icon { width: 22px; height: 22px; }

/* "Quick & Easy": the short message under the pages. */
.quick-contact { padding: 64px 0; background: var(--accent); color: var(--white); }
.quick-contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; align-items: start; }
.quick-contact h2 { margin-bottom: 12px; color: var(--white); font-size: 46px; }
.quick-contact .eyebrow { color: var(--accentLight); }
.quick-contact-text p { color: rgba(255, 255, 255, 0.9); }
.quick-contact-phone { display: inline-flex; align-items: center; gap: 0.5rem; margin: 6px 0 18px; font-family: var(--condensed); font-weight: 700; font-size: 38px; letter-spacing: 0.03em; color: var(--accentLight); text-decoration: none; }
.quick-contact-phone:hover { color: var(--white); }
.quick-contact-more { font-size: 15px; }
.quick-contact-more a { color: var(--white) !important; }
.quick-contact .form-grid { grid-template-columns: repeat(3, 1fr); }
.quick-contact .site-form { padding: 26px; border-radius: var(--radius); background: var(--white); color: var(--text); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.6); }

/* "Smart & Safe": the request on the contact page, in three steps; step 2 shows the questions of the chosen subject. */
.intake-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.intake-main .content-text { margin-bottom: 28px; }
.intake { display: flex; flex-direction: column; gap: 18px; }
.step { min-width: 0; padding: 24px 26px 26px; border: 0; border-radius: var(--radius); background: var(--cream); }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-family: var(--condensed); font-weight: 700; font-size: 28px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--accent); }
.step legend + * { clear: both; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius); background: var(--accent); color: var(--white); font-size: 22px; }
.topic { display: none; }
.intake:has(input[name="subject"][value="boomstamtafel"]:checked) .topic[data-topic="boomstamtafel"],
.intake:has(input[name="subject"][value="zagen"]:checked) .topic[data-topic="zagen"],
.intake:has(input[name="subject"][value="tuin"]:checked) .topic[data-topic="tuin"],
.intake:has(input[name="subject"][value="onderhoud"]:checked) .topic[data-topic="onderhoud"] { display: block; animation: step-in 0.3s ease; }
@keyframes step-in { from { opacity: 0; transform: translateY(-6px); } }
.topic[data-topic="boomstamtafel"], .topic[data-topic="zagen"] { --accent: var(--navy); --accentSoft: var(--skySoft); background: var(--skySoft); }
/* Without step 2 (a subject without own questions) the last step is number 2. */
.intake:has(input[name="subject"][value="anders"]:checked) .step-number-last, .intake:not(:has(input[name="subject"]:checked)) .step-number-last { font-size: 0; }
.intake:has(input[name="subject"][value="anders"]:checked) .step-number-last::after, .intake:not(:has(input[name="subject"]:checked)) .step-number-last::after { content: "2"; font-size: 22px; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.choice { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 2px transparent; cursor: pointer; font-weight: 600; font-size: 16px; line-height: 1.3; transition: box-shadow 0.2s ease, background-color 0.2s ease; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .icon { width: 28px; height: 28px; color: var(--forest); }
.choice-timber .icon { color: var(--navy); }
.choice:hover { box-shadow: inset 0 0 0 2px var(--line); }
.choice:has(input:checked) { box-shadow: inset 0 0 0 2px var(--forest); background: var(--limeSoft); }
.choice-timber:has(input:checked) { box-shadow: inset 0 0 0 2px var(--navy); background: var(--skySoft); }
.choice:has(input:focus-visible) { outline: 3px solid var(--lime); outline-offset: 2px; }
.step.error .choices { outline: 2px solid var(--error); outline-offset: 6px; border-radius: var(--radius); }
.step > .field-error { display: block; margin-top: 12px; }
.options { display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span { display: inline-block; padding: 7px 14px; border-radius: var(--radius); background: var(--white); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); font-size: 15px; transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease; }
.option:hover span { box-shadow: inset 0 0 0 1px var(--accent); }
.option input:checked + span { background: var(--accent); box-shadow: none; color: var(--white); }
.option input:focus-visible + span { outline: 3px solid var(--accentSoft); outline-offset: 2px; }
.intake-aside { position: sticky; top: calc(var(--header-height) + 20px); display: flex; flex-direction: column; gap: 16px; }
.aside-card { padding: 24px; border-radius: var(--radius); background: var(--accent); color: var(--white); }
.aside-card h2 { margin-bottom: 10px; font-size: 28px; color: var(--white); }
.aside-card .footer-line { color: var(--white); }
.aside-phone { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 12px; font-family: var(--condensed); font-weight: 700; font-size: 34px; color: var(--lime); text-decoration: none; }
.aside-phone:hover { color: var(--white); }
.aside-safe { background: var(--cream); color: var(--text); }
.aside-safe h2 { color: var(--accent); }
.checks { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; font-size: 15px; }
.checks li { display: flex; gap: 8px; }
.checks .icon { margin-top: 3px; color: var(--green); }
.aside-note { margin: 0; font-size: 14px; color: var(--muted); }

/* Withdrawing the permission to call. */
.consent-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.consent-card { padding: 26px; border-radius: var(--radius); background: var(--cream); }
.consent-card h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 30px; }

/* ========== Footer ========== */
.site-footer { padding: 60px 0 0; background: var(--forestDark); color: rgba(255, 255, 255, 0.85); font-size: 15px; }
body.timber .site-footer { background: var(--navyDark); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 0.8fr 1.3fr; gap: 40px; }
.footer-logo { width: 170px; filter: brightness(0) invert(1); }
.footer-tagline { margin: 10px 0 16px; font-family: var(--condensed); font-weight: 600; font-size: 17px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accentLight); }
.footer-heading { margin: 0 0 12px; font-family: var(--condensed); font-weight: 700; font-size: 20px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--white); }
.footer-line { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0 0 10px; color: inherit; text-decoration: none; }
.footer-line .icon { margin-top: 0.2em; color: var(--accentLight); }
a.footer-line:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-line em { color: var(--accentLight); font-style: normal; font-size: 14px; }
.footer-nav a { display: block; width: fit-content; margin-bottom: 6px; color: inherit; text-decoration: none; }
.footer-nav a:hover, .footer-nav a[aria-current] { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-festival a { color: var(--white); }
.footer-festival img { margin-top: 6px; border-radius: var(--radius); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding: 18px 0 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; }
.footer-bottom a, .footer-bottom .link-button { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-bottom a:hover, .footer-bottom .link-button:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.link-button[hidden] { display: none; }

/* ========== The question about cookies ========== */
.cookie-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; }
.cookie-consent[hidden] { display: none; }
.cookie-consent-inner { display: flex; align-items: center; gap: 24px; max-width: 880px; margin: 0 auto; padding: 20px 22px; border-radius: var(--radius); background: var(--white); border-top: 4px solid var(--lime); box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.45); font-size: 15px; }
.cookie-consent-inner p { margin: 0; }
.cookie-consent-title { font-family: var(--condensed); font-weight: 700; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--forest); }
.cookie-consent-actions { display: flex; flex: none; gap: 10px; }

/* ========== Narrower screens ========== */
@media screen and (max-width: 1299px) {
	.site-nav { display: none; }
	.menu { display: block; margin-left: 4px; }
	.header-phone { margin-left: auto; }
}
@media screen and (max-width: 980px) {
	.trades-grid, .quick-contact-grid, .intake-layout, .consent-layout { grid-template-columns: 1fr; }
	.points { grid-template-columns: repeat(2, 1fr); }
	.showcase-grid { grid-template-columns: repeat(3, 1fr); }
	.showcase-grid a:nth-child(n+7) { display: none; }
	.intake-aside { position: static; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Narrower: the phone number as a button with only its icon (measured: with the number the row no longer fits at 750). */
@media screen and (max-width: 900px) {
	.header-phone span { display: none; }
	.header-phone { width: 46px; height: 46px; justify-content: center; border-radius: var(--radius); background: var(--accentSoft); }
}
@media screen and (max-width: 720px) {
	:root { --header-height: 68px; }
	body { font-size: 16px; }
	h1 { font-size: 44px; }
	h2 { font-size: 32px; }
	.brand img { width: 150px; }
	.header-offer { display: none; }
	.home-hero { padding-bottom: 110px; }
	.trades { margin-top: -80px; }
	.trade-image { height: 190px; }
	.trade-title { font-size: 36px; }
	.timber-points .wrapper { flex-direction: column; align-items: flex-start; gap: 20px; }
	.showcase-grid { grid-template-columns: repeat(2, 1fr); }
	.page-hero { min-height: 260px; }
	.page-hero .stamp { width: 90px; height: 90px; bottom: -16px; }
	.form-grid, .quick-contact .form-grid { grid-template-columns: 1fr; }
	.quick-contact h2 { font-size: 38px; }
	.quick-contact .site-form, .step { padding: 20px; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.cookie-consent-inner { flex-direction: column; align-items: stretch; }
	.cookie-consent-actions .button { flex: 1; justify-content: center; }
	.lightbox { padding: 56px 8px 80px; }
	.lightbox-previous, .lightbox-next { top: auto; bottom: 14px; transform: none; }
	.lightbox-previous { left: calc(50% - 64px); }
	.lightbox-next { right: calc(50% - 64px); }
}
@media screen and (max-width: 560px) {
	.filter-kinds { display: flex; flex-wrap: nowrap; }
	.filter { flex: 1 1 auto; padding: 10px 8px; font-size: 17px; }
}
@media screen and (max-width: 360px) {
	.filter { padding: 10px 6px; font-size: 15px; letter-spacing: 0.02em; }
}
@media screen and (max-width: 420px) {
	.menu-word { display: none; }
	.points { grid-template-columns: 1fr; }
	.photo-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
