/* Toolscenter Frans Deutekom – design 2 (Webbly, designpakket v2). Alleen opmaak; inhoud staat in het CMS. */
@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url('fonts/montserrat-semibold.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-display: swap; src: url('fonts/montserrat-extrabold.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-weight: 400; font-display: swap; src: url('fonts/roboto-regular.woff2') format('woff2'); }

:root {
  --red: #d91c15;
  --red-dark: #b71c1c;
  --ink: #1f2933;
  --ink-2: #323f4b;
  --ink-3: #3e4c59;
  --muted: #52606d;
  --line: #cbd2d9;
  --tint: #edf2f7;
  --white: #fff;
  --footer: #323f4b;
  --radius: 4px;
  --wrap: 1140px;
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 1px 2px rgba(26, 23, 27, .08), 0 8px 24px rgba(26, 23, 27, .08);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 400 1rem/1.65 var(--body); color: var(--ink-3); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: .2em; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4, .h3, .h4, .display { font-family: var(--head); font-weight: 800; color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem); }
h3, .h3 { font-size: 1.25rem; font-weight: 600; }
.h4, h4 { font-size: 1.05rem; font-weight: 600; }
.display { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .65rem 1.4rem; border: 2px solid var(--red); border-radius: var(--radius); background: var(--red); color: #fff; font: 600 .85rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--small { white-space: nowrap; min-height: 38px; padding: .45rem 1rem; font-size: .75rem; }
.btn--ghost { background: transparent; color: var(--red); }
.btn--ghost:hover { background: var(--red); color: #fff; }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.link-more { display: inline-flex; align-items: center; gap: .4em; font: 600 .95rem var(--head); color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.link-more svg { width: 1.1em; height: 1.1em; fill: var(--red); transition: transform .15s; }
.link-more:hover { color: var(--red); }
.link-more:hover svg { transform: translateX(3px); }

/* topbar */
.topbar { background: var(--red); color: #fff; font-size: .78rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 34px; }
.topbar-dealer { margin: 0; font-family: var(--head); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.topbar-links { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; text-transform: uppercase; letter-spacing: .03em; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }

/* header en menu */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--tint); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(26, 23, 27, .1); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 84px; }
.logo { flex: none; display: block; }
.logo img { width: 260px; height: auto; transition: width .2s; }
.is-scrolled .logo img { width: 210px; }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 1rem; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: .1rem; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a { display: block; padding: .6rem .55rem; color: var(--ink); font: 600 .88rem var(--head); text-decoration: none; white-space: nowrap; }
.nav-list > li.active > a, .nav-list a:hover { color: var(--red); }
.nav-list > li.active > a { box-shadow: inset 0 -2px 0 var(--red); }
.sub-toggle { display: none; background: none; border: 0; padding: .3rem; cursor: pointer; color: var(--ink); }
.sub-toggle svg { width: 20px; height: 20px; fill: currentColor; transition: transform .15s; }
.dropdown { position: absolute; top: 100%; left: -.5rem; min-width: 260px; list-style: none; margin: 0; padding: .5rem 0; background: #fff; border-top: 3px solid var(--red); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.dropdown a { padding: .55rem 1.1rem; font-family: var(--body); font-weight: 400; font-size: .92rem; white-space: normal; }
.dropdown li.active > a { color: var(--red); }
.has-sub:hover > .dropdown, .has-sub:focus-within > .dropdown, .has-sub.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.header-tools { display: flex; gap: .25rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--tint); }
.icon-btn svg { width: 24px; height: 24px; fill: currentColor; }
.menu-toggle, .menu-close { display: none; }

@media (max-width: 1480px) {
  .logo img, .is-scrolled .logo img { width: 210px; }
  .menu-toggle { display: inline-grid; }
  .header-inner { justify-content: space-between; min-height: 72px; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); z-index: 60; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 80px 0 2rem; background: #fff; box-shadow: var(--shadow); overflow-y: auto; transform: translateX(105%); transition: transform .25s; }
  .main-nav.open { transform: none; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--tint); }
  .nav-list > li > a { flex: 1; padding: .9rem 1.5rem; font-size: 1rem; }
  .nav-list > li.active > a { box-shadow: inset 3px 0 0 var(--red); }
  .sub-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; }
  .has-sub.open > .sub-toggle svg { transform: rotate(180deg); }
  .dropdown { position: static; display: none; width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem; background: var(--tint); }
  .has-sub.open > .dropdown { display: block; }
  .has-sub:hover > .dropdown { display: none; }
  .has-sub.open:hover > .dropdown { display: block; }
  .dropdown a { padding: .6rem 1.5rem .6rem 2.25rem; }
  .nav-extra { padding: 1.5rem; }
  .nav-extra .btn { width: 100%; }
  body.menu-open { overflow: hidden; }
  body.menu-open::after { content: ''; position: fixed; inset: 0; background: rgba(31, 41, 51, .45); z-index: 45; }
  .main-nav .menu-close { display: inline-grid; position: absolute; top: 16px; right: 16px; }
}
@media (min-width: 1481px) { .nav-extra { margin-left: .5rem; } }
@media (max-width: 640px) { .topbar-dealer { display: none; } .topbar-inner { justify-content: center; } .topbar-links { gap: 1rem; } }

/* zoeken */
.search-dialog { width: min(100% - 32px, 720px); max-height: 80vh; margin: 10vh auto auto; padding: 0; border: 0; border-radius: 8px; box-shadow: var(--shadow); }
.search-dialog::backdrop { background: rgba(31, 41, 51, .6); }
.search-form { display: flex; align-items: center; gap: .25rem; padding: .75rem; border-bottom: 1px solid var(--tint); }
.search-form input { flex: 1; min-width: 0; border: 0; font: 1.15rem var(--body); padding: .6rem .5rem; color: var(--ink); }
.search-form input:focus { outline: none; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results a { display: block; padding: .85rem 1.25rem; text-decoration: none; color: var(--ink-3); border-bottom: 1px solid var(--tint); }
.search-results a:hover, .search-results a:focus { background: var(--tint); }
.search-results strong { display: block; color: var(--ink); font-family: var(--head); font-weight: 600; }
.search-results small { color: var(--red); font-weight: 600; text-transform: uppercase; font-size: .7rem; letter-spacing: .05em; }
.search-results span { font-size: .9rem; }
.search-status { margin: 0; padding: .75rem 1.25rem; color: var(--muted); font-size: .9rem; }
.search-status:empty { display: none; }

/* hero */
.hero { position: relative; height: clamp(200px, 28vw, 340px); overflow: hidden; background: var(--ink); }
.hero--home { height: clamp(260px, 42vw, 560px); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }

/* Inkomende teksten en beelden bij scrollen (alleen als JavaScript draait en de bezoeker beweging toestaat) */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0s); }
.js-reveal .reveal--left { transform: translateX(-34px); }
.js-reveal .reveal--right { transform: translateX(34px); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-reveal .reveal { opacity: 1; transform: none; transition: none; } }

/* secties */
.section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink-2); color: #e4e7eb; }
.section--dark h2, .section--dark h3, .section--dark .h3 { color: #fff; }
.section-head { margin-bottom: 2.25rem; }
.subtitle { font: 600 1.1rem/1.4 var(--head); color: var(--red); margin: -.2em 0 0; }
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.lead { font-size: 1.15rem; }
.cols { display: grid; gap: 2rem 3.5rem; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.intro .col h2 { position: relative; padding-top: .9rem; }
.intro .col h2::before { content: ''; position: absolute; top: 0; left: 0; width: 40px; height: 3px; background: var(--red); }
@media (max-width: 860px) { .cols-2, .cols-3 { grid-template-columns: 1fr; } }

/* categorie */
.category-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.subnav { background: var(--tint); border-top: 4px solid var(--red); padding: 1.5rem; border-radius: 0 0 var(--radius) var(--radius); }
.subnav-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .75rem; }
.subnav ul { list-style: none; margin: 0; padding: 0; }
.subnav a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 600 1rem var(--head); text-decoration: none; }
.subnav li:last-child a { border-bottom: 0; }
.subnav a svg { width: 20px; height: 20px; flex: none; fill: var(--red); transition: transform .15s; }
.subnav a:hover { color: var(--red); }
.subnav a:hover svg { transform: translateX(4px); }
@media (max-width: 860px) { .category-grid { grid-template-columns: 1fr; } }

/* download */
.download { padding: 2rem 0; }
.download-card { display: flex; align-items: center; gap: 1.25rem; max-width: 560px; margin-inline: auto; padding: 1rem 1.25rem; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .15s; }
.download-card:hover { transform: translateY(-2px); color: var(--ink); }
.download-icon { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--red); }
.download-icon svg { width: 28px; height: 28px; fill: #fff; }
.download-text strong { display: block; font: 800 1.2rem var(--head); }
.download-text small { color: var(--muted); }

/* media + tekst */
.mt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.mt--right .mt-media { order: 2; }
.mt--none .mt-grid { grid-template-columns: minmax(0, 760px); justify-content: center; }
.mt-media { margin: 0; }
.mt-media--image img { width: 100%; max-height: 480px; object-fit: contain; }
.mt-text .btn { margin-top: 1.5rem; }
.media-text + .media-text { padding-top: 0; }
@media (max-width: 860px) { .mt-grid { grid-template-columns: 1fr; } .mt--right .mt-media { order: 0; } }

/* YouTube pas na klik */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: radial-gradient(circle at 30% 30%, #3e4c59, #1f2933 70%); color: #fff; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; width: 100%; border: 0; background: transparent; color: #fff; cursor: pointer; font: 600 1rem var(--head); }
.yt-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--red); transition: transform .15s, background .15s; box-shadow: 0 0 0 10px rgba(217, 28, 21, .25); }
.yt-icon svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.yt-play:hover .yt-icon { transform: scale(1.06); background: var(--red-dark); }
.yt-label { text-align: center; padding: 0 1rem; }
.yt-label small { display: block; font: 400 .9rem var(--body); opacity: .8; margin-top: .2rem; }
.yt-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: .5rem .9rem; font-size: .75rem; color: rgba(255, 255, 255, .75); background: rgba(0, 0, 0, .25); }
.yt-note a { color: #fff; }
.yt.is-playing .yt-play, .yt.is-playing .yt-note { display: none; }

/* afbeeldingen */
.images-grid { display: grid; gap: 1.5rem; }
.images-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.images-grid figure { margin: 0; }
.images-grid img { width: 100%; border-radius: var(--radius); }
.images-1 img { max-height: 520px; object-fit: contain; }
@media (max-width: 640px) { .images-2 { grid-template-columns: 1fr; } }

/* cta en merk */
.cta .btn { margin-top: 1.25rem; }
.brand { padding: 2.5rem 0; background: linear-gradient(180deg, var(--tint), #fff); }
.brand-logo { width: 240px; margin: 0 auto .5rem; }
.brand-title { font: 600 1.15rem var(--head); color: var(--ink); margin: 0; }

/* nieuws */
.news-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.news-overview .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(26, 23, 27, .08), 0 14px 32px rgba(26, 23, 27, .14); }
.news-img { margin: 0; aspect-ratio: 3 / 2; background: #fff; border-bottom: 1px solid var(--tint); }
.news-img img { width: 100%; height: 100%; object-fit: contain; padding: .5rem; }
.news-img img.is-fallback { object-fit: contain; padding: 20%; opacity: .35; }
.news-body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.25rem 1.25rem; }
.news-meta { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin: 0 0 .4rem; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.news-meta span { color: var(--red); }
.news-card h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card h3 a::after { content: ''; position: absolute; inset: 0; }
.news-card:hover h3 a { color: var(--red); }
.news-summary { font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: .75rem; }
.news-more { margin-top: auto; display: inline-flex; align-items: center; gap: .35em; font: 600 .82rem var(--head); color: var(--red); text-transform: uppercase; letter-spacing: .04em; }
.news-more svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.news-status { color: var(--muted); }
.news-status:empty { display: none; }
.feed-note { font-size: .8rem; color: var(--muted); text-align: center; margin: 1rem 0 0; }
.more { margin: 2.25rem 0 0; }
@media (max-width: 960px) { .news-grid, .news-overview .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .news-grid, .news-overview .news-grid { grid-template-columns: 1fr; } }
.news-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { min-height: 36px; padding: .35rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-3); font: .85rem var(--body); cursor: pointer; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.chip small { opacity: .7; margin-left: .25em; }
.chip--more { border-style: dashed; }

/* berichtpagina */
.article-wrap { max-width: 860px; }
.article .breadcrumb { width: auto; padding: 0 0 1.5rem; }
.eyebrow { font: 600 .85rem var(--head); color: var(--red); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; color: var(--muted); font-size: .9rem; }
.article-media { margin: 1.5rem 0 2rem; }
.gallery-main { position: relative; background: #fff; border: 1px solid var(--tint); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gal-nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(31, 41, 51, .7); color: #fff; cursor: pointer; }
.gal-nav svg { width: 28px; height: 28px; fill: currentColor; }
.gal-prev { left: .75rem; } .gal-prev svg { rotate: 90deg; }
.gal-next { right: .75rem; } .gal-next svg { rotate: -90deg; }
.gal-count { position: absolute; right: .75rem; bottom: .75rem; padding: .15rem .6rem; border-radius: 999px; background: rgba(31, 41, 51, .7); color: #fff; font-size: .8rem; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; overflow-x: auto; }
.gallery-thumbs button { flex: none; width: 84px; height: 64px; padding: 2px; border: 2px solid transparent; border-radius: var(--radius); background: #fff; cursor: pointer; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--red); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.article-body { font-size: 1.05rem; }
.article-extra { margin-top: 2rem; }
.link-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.link-cards a { display: flex; align-items: center; gap: 1rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.link-cards a:hover { border-color: var(--red); }
.link-cards small { display: block; color: var(--muted); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags a { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: var(--tint); color: var(--ink-3); font-size: .85rem; text-decoration: none; }
.tags a:hover { background: var(--red); color: #fff; }
.article-back { margin-top: 3rem; }

/* kruimelpad */
.breadcrumb { padding: 1.25rem 0 0; font-size: .85rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.breadcrumb li + li::before { content: '›'; margin-right: .35rem; color: var(--muted); }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb svg { width: 18px; height: 18px; fill: var(--ink-3); display: block; }
.breadcrumb [aria-current] { color: var(--muted); }
.breadcrumb + .section { padding-top: 2.5rem; }

/* formulieren */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2.25rem); }
.fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.field { grid-column: span 6; display: flex; flex-direction: column; gap: .3rem; margin: 0; }
.field--third { grid-column: span 2; }
.field--two-thirds { grid-column: span 4; }
.field label, .field legend { font: 600 .88rem var(--head); color: var(--ink); }
.req { color: var(--red); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea { width: 100%; min-height: 46px; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); font: 1rem var(--body); color: var(--ink); background: #fff; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.form [aria-invalid="true"] { border-color: var(--red); background: #fff5f5; }
.field--checks { border: 0; padding: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1.5rem; margin-top: .4rem; }
.check { display: flex; align-items: flex-start; gap: .6rem; font: 400 .95rem var(--body) !important; color: var(--ink-3) !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; flex: none; accent-color: var(--red); }
.form .btn { margin-top: 1.25rem; }
.form-status { grid-column: 1 / -1; margin: .75rem 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--red); }
.form-status.is-ok { color: #18794e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .checks { grid-template-columns: 1fr; } .field--third, .field--two-thirds { grid-column: span 6; } }
.form--compact .fields { gap: .6rem; }
.form--compact input, .form--compact textarea { background: rgba(255, 255, 255, .06) !important; border-color: rgba(255, 255, 255, .25) !important; color: #fff !important; }
.form--compact ::placeholder { color: rgba(255, 255, 255, .6); }
.form--compact .form-status.is-ok { color: #8be0b1; }
.form--compact .form-status.is-error { color: #ffb4b0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; fill: var(--red); margin-top: .15rem; }
.contact-meta { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form-page .card { margin-top: 0; }

/* footer */
.site-footer { background: var(--footer); color: #cbd2d9; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem 3.5rem; padding: 4rem 0 3rem; }
.footer-logo { width: 96px; border-radius: 12px; margin-bottom: 1rem; background: #fff; }
.footer-title { font: 600 1.05rem var(--head); color: #fff; margin: 0 0 1rem; }
.site-footer a { color: #fff; }
.site-footer .btn { margin-top: 1.25rem; color: #fff; }
.footer-meta { color: #9aa5b1; font-size: .85rem; }
.footer-links { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1rem 0; font-size: .8rem; color: #9aa5b1; text-align: center; }
.footer-bottom a { color: #cbd2d9; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :nth-child(2) { grid-column: 1 / -1; order: 3; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* tekstpagina */
.text-block .btn { margin-top: 1.5rem; }

@media print { .topbar, .site-header, .hero, .site-footer, .cta { display: none; } }
