@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Barlow:wght@400;500;600;700&display=swap');

:root {
  --ink: #151516;
  --muted: #565651;
  --paper: #f4f3ef;
  --white: #fff;
  --line: #dfddd5;
  --red: #c91422;
  --red-hover: #a20f1a;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  --wide: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.4rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.55 var(--body); }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1660bd; outline-offset: 4px; }
.skip { position: fixed; z-index: 5; top: .6rem; left: .6rem; padding: .75rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.wrap { width: min(var(--wide), calc(100% - clamp(2rem, 8vw, 7rem))); margin-inline: auto; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: .99; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7vw, 6.1rem); text-transform: uppercase; letter-spacing: -.018em; }
h2 { font-size: clamp(2.45rem, 4.9vw, 4.2rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.65rem, 2.7vw, 2.32rem); }
p { margin: 0; }
.section { padding-block: clamp(2.7rem, 7vw, 5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.6rem; }
.section-head > p { max-width: 29rem; color: var(--muted); }
.small { color: var(--muted); font-size: .94rem; }
.overline { color: var(--red); font-weight: 700; font-size: .81rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .55rem; }

.header { background: #101010; color: white; }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(.8rem, 2.2vw, 2.4rem); min-height: 4.35rem; }
.brand { display: inline-flex; align-items: center; min-height: 2.75rem; }
.brand img { width: 8.25rem; max-height: 2.4rem; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; justify-content: center; column-gap: clamp(.65rem, 1.75vw, 1.75rem); flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: #fff; white-space: nowrap; font-size: .98rem; font-weight: 600; text-decoration: none; }
.nav a:hover, .nav [aria-current] { text-decoration: underline solid #f44750 2px; text-underline-offset: .42em; }
.buttons { display: flex; gap: .65rem; flex-wrap: wrap; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 2.85rem; padding: .64rem 1.2rem; text-decoration: none; background: var(--red); border: 1px solid var(--red); color: white; font-weight: 700; border-radius: .12rem; text-align: center; line-height: 1.25; }
.btn:hover { background: var(--red-hover); border-color: var(--red-hover); }
.btn-secondary { background: transparent; color: inherit; border-color: currentColor; }
.btn-secondary:hover { background: var(--ink); border-color: var(--ink); color: white; }
.header .btn { min-height: 2.55rem; padding-inline: .9rem; white-space: nowrap; }
.hero { min-height: clamp(25rem, 54vw, 41rem); background: #232322; color: white; position: relative; isolation: isolate; display: grid; align-items: end; overflow: clip; }
.hero.compact { min-height: clamp(18.5rem, 35vw, 28rem); }
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { object-fit: cover; object-position: center 46%; z-index: -2; }
.hero::after { content: ''; z-index: -1; background: linear-gradient(80deg, #0a0a0af2 0%, #0a0a0aba 30%, #15151520 80%), linear-gradient(0deg, #0a0a0a85, transparent 55%); }
.hero-inner { padding-block: clamp(2rem, 6vw, 5.1rem); }
.hero h1 { max-width: 13ch; }
.hero p { max-width: 33rem; font-size: clamp(1rem, 1.6vw, 1.18rem); margin-top: .9rem; }
.hero .overline { color: #fff; display: inline-flex; align-items: center; gap: .55rem; }
.hero .overline::before { content: ''; background: #ef2e3c; width: 1.35rem; height: .2rem; }
.hero .buttons { margin-top: 1.3rem; }
.hero .btn-secondary:hover { background: white; border-color: white; color: var(--ink); }
.family-mark { width: clamp(7.5rem, 14vw, 12rem); object-fit: contain; object-position: left; margin-bottom: .8rem; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: white; border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.model-card { text-decoration: none; }
.model-card:hover { border-color: var(--red); }
.model-card .text-link { text-decoration: underline; }
.card-media { display: grid; place-items: center; background: #fff; aspect-ratio: 1.64; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 1.667; object-fit: contain; transition: transform .25s ease; }
.card:hover .card-media img { transform: scale(1.025); }
.card-copy { flex: 1; display: flex; flex-direction: column; gap: .55rem; padding: .9rem 1.13rem 1.2rem; border-top: 1px solid #f0eee8; }
.card-copy p { color: var(--muted); }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card .card-bottom { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .55rem; padding-top: .35rem; }
.card .card-bottom strong { font-size: 1.16rem; }
.text-link { color: var(--red-hover); font-weight: 700; }
.family-card { min-height: clamp(15.75rem, 29vw, 23.5rem); position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: end; padding: clamp(1rem, 3.5vw, 2.1rem); color: white; overflow: hidden; background: #202020; text-decoration: none; }
.family-card::after, .family-card img { position: absolute; inset: 0; width: 100%; height: 100%; }
.family-card img { object-fit: cover; z-index: -2; }
.family-card::after { content: ''; background: linear-gradient(0deg,#000e 3%,#0002 91%); z-index: -1; }
.family-card h3 { font-size: clamp(2.3rem, 4.1vw, 4.05rem); text-transform: uppercase; }
.family-card p { max-width: 36ch; margin-top: .28rem; }
.family-card .family-link { margin-top: .55rem; text-decoration: underline; font-weight: 700; }
.family-card:hover .family-link { text-decoration-thickness: 2px; }
.filter { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.filter-options { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter button, .swatch { cursor: pointer; min-height: 2.75rem; border: 1px solid #aaa8a0; border-radius: .12rem; background: white; color: var(--ink); padding: .4rem .8rem; font-weight: 600; }
.filter button[aria-pressed='true'] { color: white; background: var(--ink); border-color: var(--ink); }

.crumb { padding-block: .95rem; font-size: .91rem; color: var(--muted); }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem .55rem; margin: 0; padding: 0; }
.crumb li + li::before { content: '/'; color: #77756e; margin-right: .55rem; }
.detail { display: grid; grid-template-columns: minmax(0,1.39fr) minmax(0,1fr); gap: clamp(1.25rem,4vw,3.4rem); align-items: center; padding-bottom: clamp(2rem,5vw,4.2rem); }
.detail h1 { font-size: clamp(2.6rem,6vw,5.15rem); }
.detail-gallery { border: 1px solid var(--line); background: #fff; align-self: start; }
.gallery-photo-link { position: relative; display: block; }
.gallery-photo-link > img { width: 100%; aspect-ratio: 5 / 3; object-fit: contain; }
.gallery-enlarge { position: absolute; right: .65rem; bottom: .65rem; padding: .24rem .5rem; background: #fff; border: 1px solid var(--line); font-size: .81rem; font-weight: 700; }
.gallery-details { display: flex; align-items: center; justify-content: space-between; gap: .65rem; border-top: 1px solid #eeece7; padding: .36rem .7rem .36rem .9rem; min-height: 3rem; }
.gallery-label { color: var(--muted); font-size: .91rem; }
.gallery-arrows { display: flex; gap: .36rem; flex: none; align-items: center; font-variant-numeric: tabular-nums; font-size: .87rem; }
.gallery-arrows button, .gallery-dialog button { color: var(--ink); background: white; border: 1px solid var(--line); cursor: pointer; min-height: 2.45rem; padding: .33rem .55rem; font-weight: 700; }
.gallery-arrows button { width: 2.45rem; font-size: 1.4rem; padding: 0; line-height: 1; }
.gallery-arrows button:hover, .gallery-dialog button:hover { border-color: var(--ink); }
.gallery-note { padding: 0 .9rem .5rem; }
.gallery-thumbnails { display: flex; gap: .4rem; padding: .45rem .7rem .6rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: .7rem; }
.gallery-thumb { flex: 0 0 clamp(4.1rem,10vw,6.2rem); background: white; border: 1px solid var(--line); padding: .16rem; cursor: pointer; min-width: 0; }
.gallery-thumb[aria-current] { box-shadow: inset 0 0 0 1px var(--red); border-color: var(--red); }
.gallery-thumb img { width: 100%; aspect-ratio: 5 / 3; object-fit: contain; }
.gallery-dialog { max-width: min(94vw, 70rem); max-height: 94dvh; width: max-content; border: 1px solid var(--line); padding: 0; color: var(--ink); background: #fff; }
.gallery-dialog::backdrop { background: #080808c9; }
.gallery-dialog-bar, .gallery-dialog-nav { display: flex; justify-content: space-between; gap: .5rem; align-items: center; padding: .6rem .75rem; }
.gallery-dialog img { max-height: 73dvh; object-fit: contain; }
.release-note { color: var(--muted); border-left: 3px solid var(--red); padding: .12rem 0 .12rem .65rem; }
.body-copy { display: grid; gap: .8rem; }
.body-copy > p:not(.overline) { max-width: 38rem; }
.price-block { margin-top: .5rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.price-label { display: block; color: var(--muted); font-size: .9rem; }
.price { display: block; line-height: 1; font: 700 clamp(2.25rem,4.3vw,3.45rem)/1 var(--display); margin: .14rem 0 .24rem; white-space: nowrap; }
.swatches { padding: 0; border: 0; margin: .35rem 0 0; }
.swatches legend { font-weight: 700; margin-bottom: .35rem; font-size: .96rem; }
.swatch-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.swatch { display: inline-flex; gap: .45rem; align-items: center; text-align: left; }
.swatch[aria-pressed='true'] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.swatch::before { content: ''; width: .88rem; height: .88rem; flex: none; border: 1px solid #0005; background: var(--swatch); border-radius: 50%; }
.swatch:disabled { cursor: default; }
.facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; }
.facts div { padding: .72rem .85rem; border: 1px solid var(--line); background: white; }
.facts dt { color: var(--muted); font-size: .84rem; }
.facts dd { margin: .15rem 0 0; font-weight: 700; }
.specs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1.3rem; }
.specs dl { margin: 0; border: 1px solid var(--line); background: white; }
.spec-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); gap: .7rem; padding: .68rem .9rem; }
.spec-row + .spec-row { border-top: 1px solid #edeae4; }
.spec-row dt { color: var(--muted); }
.spec-row dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.tech-source { margin-top: .9rem; }
.older { background: #eae8e2; }
.dealer-band { background: var(--ink); color: white; border-top: .25rem solid var(--red); }
.dealer-content { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 1.4rem 3rem; align-items: center; }
.dealer-content p, .footer { color: #deddd8; }
.dealer-content h2 + p { margin-top: .66rem; max-width: 36rem; }
.dealer-content .buttons { margin-top: .95rem; }
address { font-style: normal; }
address strong { display: block; color: white; margin-bottom: .2rem; }
address a { display: block; width: fit-content; margin-top: .25rem; }
.footer { background: #101010; font-size: .9rem; }
.footer-inner { min-height: 4rem; display: flex; justify-content: space-between; gap: .65rem 1rem; flex-wrap: wrap; align-items: center; padding-block: .85rem; }
.footer a { color: white; }

.news-card .card-media img { height: 100%; object-fit: cover; }
.feature-article { max-width: 56rem; margin: 0 auto; padding-bottom: clamp(2.7rem, 7vw, 5rem); }
.feature-article header { margin-block: .65rem 1.25rem; max-width: 50rem; }
.feature-article h1 { font-size: clamp(2.5rem,5.8vw,4.8rem); margin-top: .55rem; text-transform: none; }
.article-flow { font-size: clamp(1rem,1.5vw,1.16rem); }
.article-flow > * + * { margin-top: 1rem; }
.article-flow > h2 { margin-top: 1.8rem; font-size: clamp(1.85rem,4.2vw,3rem); }
.article-flow > h3 { margin-top: 1.35rem; }
.article-flow figure { margin-inline: 0; }
.article-flow img { width: 100%; height: auto; }
.article-flow figcaption { font-size: .88rem; color: var(--muted); padding-block: .3rem; }
.article-table { overflow-x: auto; }
.article-flow table { border-collapse: collapse; width: 100%; background: white; }
.article-flow th, .article-flow td { border: 1px solid var(--line); padding: .45rem .65rem; text-align: left; }
.article-flow blockquote { margin-inline: 0; padding-inline-start: .85rem; border-left: 3px solid var(--red); }
.heritage-timeline { list-style: none; margin: 0; padding: 0; }
.heritage-moment { display: grid; grid-template-columns: 8rem minmax(0,1fr); gap: 1.1rem; align-items: start; border-top: 1px solid var(--line); padding-block: 1.35rem; }
.moment-year { color: var(--red); font: 700 clamp(1.7rem,3.2vw,2.8rem)/1 var(--display); }
.moment-body.has-image { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 1rem; align-items: start; }
.moment-body p { margin-block: .48rem; max-width: 46rem; }
.moment-body img { width: 100%; height: auto; }
.heritage-sources { border-top: 1px solid var(--line); padding-top: 1.35rem; }
.heritage-sources ul { padding-inline-start: 1rem; }

@media (max-width: 930px) {
  .header-inner { grid-template-columns: 1fr auto; padding-top: .45rem; }
  .header .nav { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid #ffffff28; }
}
@media (max-width: 820px) {
  .header-inner { gap: .2rem 1rem; }
  .nav { justify-content: flex-start; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-families > :last-child { grid-column: 1 / -1; }
  .detail { grid-template-columns: 1fr; gap: 1.15rem; }
  .detail > .body-copy { display: contents; }
  .detail .detail-intro { grid-row: 1; }
  .detail .detail-actions { display: grid; gap: .78rem; }
}
@media (max-width: 600px) {
  .header-inner { grid-template-columns: 1fr auto; padding-top: .45rem; }
  .header .nav { grid-column: 1 / -1; grid-row: 2; gap: clamp(.65rem,3.9vw,1.3rem); border-top: 1px solid #ffffff28; }
  .nav a { font-size: .92rem; }
  .hero { min-height: 27rem; }
  .hero.compact { min-height: 20rem; }
  .hero::after { background: linear-gradient(0deg, #0a0a0af5 0%, #0a0a0a90 49%, #15151508 100%); }
  .section-head, .dealer-content { display: grid; grid-template-columns: 1fr; align-items: start; }
  .grid, .grid.two, .specs { grid-template-columns: 1fr; }
  .facts div { padding-inline: .52rem; }
  .nav a { min-height: 2.3rem; }
  .heritage-moment { grid-template-columns: 1fr; gap: .38rem; }
  .moment-body.has-image { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Fantic modeljaar 2027 */
.model-update { margin-top:1.5rem; padding:1rem 1.1rem; border-left:3px solid var(--red,#e60029); background:#f3f3f1; }
.model-update h2 { font-size:1.1rem; margin:0 0 .4rem; }
.model-update p { margin:0; font-size:.96rem; }
.price-intro { max-width:60ch; font-size:1.2rem; }
.price-jump { display:flex; flex-wrap:wrap; gap:.65rem 1.2rem; margin:2rem 0; }
.price-category { margin-top:2.5rem; scroll-margin-top:7rem; }
.price-table-scroll { overflow-x:auto; margin:1rem 0 2rem; }
.price-table { width:100%; border-collapse:collapse; background:#fff; }
.price-table th,.price-table td { padding:.85rem 1rem; border-bottom:1px solid #deded9; text-align:left; vertical-align:top; }
.price-table thead { background:#171717; color:#fff; }
.price-table tbody th { font-weight:600; }
.price-table tbody tr:nth-child(even) { background:#f4f4f1; }
.price-table .price-cell { white-space:nowrap; font-weight:700; text-align:right; }
.price-table thead th:last-child { text-align:right; }
.price-alias { display:block; font-weight:400; }
.update-figure { margin:0; }
.update-figure img,.update-photo { width:100%; height:auto; display:block; object-fit:contain; }
.update-figure figcaption { color:var(--muted,#555); font-size:.85rem; margin-top:.6rem; }
.year-banner { background:#ecece7; }
.year-banner p { max-width:65ch; }
.footer-inner { flex-wrap:wrap; gap:1rem; }
@media(max-width:600px) { .price-table th,.price-table td { padding:.7rem .6rem; font-size:.86rem; } .price-table { min-width:330px; } }
