/* Saabtour – website styles, "heat behind glass"
   Frosted glass panels over warm ambient glows. Colors come from the admin
   (Colors::cssVars()); translucent variants use the --c-*-rgb triplets.
   Headings use DIN-like system fonts (Bahnschrift on Windows, DIN Alternate on Apple). */

:root {
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-head: Bahnschrift, "DIN Alternate", "DIN Next LT Pro", "D-DIN", "Barlow Semi Condensed", "Roboto Condensed", "Arial Narrow", var(--f-body);
  --wrap: 80rem;
  --wrap-narrow: 50rem;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --pad-s: clamp(1.5rem, 3vw, 2.25rem);
  --pad-m: clamp(2.75rem, 6vw, 4.5rem);
  --flow-gap: clamp(1.75rem, 3.5vw, 2.75rem); /* between plain rows that continue the same story */
  --pad-l: clamp(4.5rem, 10vw, 8rem);
  --header-h: 7.5rem;            /* updated by site.js */
  --topbar-h: 2.5rem;

  /* Radius hierarchy: large panels, cards, controls, pills */
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;

  /* Glass */
  --glass-light: rgb(var(--c-light-rgb) / .66);
  --glass-light-strong: rgb(var(--c-light-rgb) / .82);
  /* Surface for content tiles: no live blur (that is recalculated on every scroll frame
     and made scrolling stutter on some desktops), so a little more opaque instead. */
  --glass-tile: rgb(var(--c-light-rgb) / .86);
  --glass-dark: rgb(var(--c-dark-rgb) / .52);
  --glass-dark-strong: rgb(var(--c-dark-rgb) / .78);
  --glass-edge: rgb(255 255 255 / .55);
  --glass-edge-dark: rgb(255 255 255 / .14);
  --blur: saturate(160%) blur(18px);
  --shadow-warm: 0 1px 2px rgb(var(--c-dark-rgb) / .06), 0 12px 32px -12px rgb(var(--c-dark-rgb) / .22), 0 24px 60px -30px rgb(var(--c-accent-rgb) / .35);
  --shadow-soft: 0 1px 2px rgb(var(--c-dark-rgb) / .05), 0 10px 30px -18px rgb(var(--c-dark-rgb) / .3);
  --focus: 3px solid var(--c-accent-text);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Room for the sticky menu bar when jumping to an anchor. Set on the targets in the page (not as
   scroll-padding on html): otherwise the browser also scrolls the page to "show" fields inside the
   sticky header, e.g. on every keystroke in the search field. */
main, main [id], .crumbs { scroll-margin-top: calc(var(--bar-h) + 3rem); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-dark);
  background: var(--c-light);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}
/* Ambient heat: soft warm glows behind all glass on the page. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  transform: translateZ(0); /* own layer: stays put while scrolling without repainting */
  background:
    radial-gradient(40rem 32rem at 105% 8%, rgb(var(--c-accent-rgb) / .13), transparent 70%),
    radial-gradient(36rem 30rem at -10% 55%, rgb(var(--c-accent-rgb) / .08), transparent 70%),
    radial-gradient(50rem 40rem at 60% 110%, rgb(var(--c-dark-rgb) / .07), transparent 70%),
    var(--c-light);
}
img, picture, video, iframe { max-width: 100%; height: auto; display: block; }
/* Images that fill a frame: the <picture> wrapper must fill it too. */
.hero__media picture, .row__bg picture, .card__media picture, .gallery__item picture, .carousel__track picture, .cta__media picture { height: 100%; }
a { color: var(--c-accent-text); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
p, ul, ol, figure, table, blockquote { margin: 0 0 1.1em; }
.ta-center { text-align: center; }
.ta-right { text-align: right; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--c-dark); color: var(--c-on-dark); padding: .75rem 1.1rem; font-weight: 700; border-radius: var(--r-sm);
}
.skip:focus { top: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.wrap--narrow { max-width: calc(var(--wrap-narrow) + 2 * var(--gap)); }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }
.preview-bar { position: relative; z-index: 60; background: var(--c-accent); color: var(--c-on-accent); text-align: center; padding: .5rem 1rem; font-weight: 700; }

/* ============================================================ header */
/* Solid bar across the full width, flush with the top of the window. The logo sits in the middle,
   a little cut off at the top and sticking out below the bar.
   Desktop: half the menu left of the logo, the rest plus search and language on the right.
   Mobile: hamburger (drawer with search and menu) left, logo in the middle, language right. */
:root { --bar-h: 3.75rem; --logo-size: 5.5rem; --logo-top: -.75rem; }
@media (min-width: 64.0625em) { :root { --bar-h: 4.5rem; --logo-size: 6.5rem; --logo-top: -1rem; } }
.site-header { position: sticky; top: 0; z-index: 50; overflow-anchor: none; }
.mainbar { position: relative; background: var(--c-menu-bg); color: var(--c-menu-text); box-shadow: 0 10px 30px -18px rgb(0 0 0 / .55); }
.mainbar__inner {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: var(--bar-h); align-items: center;
  height: var(--bar-h); max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap);
}
.brand {
  grid-column: 2; grid-row: 1; justify-self: center; align-self: start; position: relative; z-index: 3;
  width: var(--logo-size); height: var(--logo-size); margin-top: var(--logo-top); display: block;
  color: var(--c-menu-text); text-decoration: none; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease);
}
.brand img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .35)); }
.brand__text { display: flex; align-items: center; justify-content: center; height: var(--bar-h); font-family: var(--f-head); font-size: 1.4rem; font-weight: 700; white-space: nowrap; }
.site-header.is-scrolled { --logo-size: 4.75rem; --logo-top: -.5rem; }
/* Desktop: the logo keeps the same size when scrolling. */
@media (min-width: 64.0625em) { .site-header.is-scrolled { --logo-size: 6.5rem; --logo-top: -1rem; } }
.brand:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 50%; }

/* Tools on the right: search + language */
.mainbar__tools { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: .35rem; }
.tool-btn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .55rem;
  border: 1px solid rgb(var(--c-menu-text-rgb) / .25); border-radius: var(--r-pill); background: none; color: var(--c-menu-text);
  font: inherit; font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.tool-btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tool-btn:hover, .tool-btn:focus-visible, .tool-btn[aria-expanded="true"] { background: var(--c-menu-hover); color: var(--c-menu-bg); border-color: var(--c-menu-hover); }

/* Desktop menu: two lists around the logo */
.nav--desktop { display: contents; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__list--left { grid-column: 1; grid-row: 1; justify-self: end; padding-right: 1.5rem; }
.nav__list--right { grid-column: 3; grid-row: 1; justify-self: start; padding-left: 1.5rem; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: block; padding: .55rem .8rem; color: var(--c-menu-text); text-decoration: none;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem; border-radius: var(--r-pill); white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--c-menu-hover); background: rgb(var(--c-menu-text-rgb) / .08); }
.nav__item.is-current > .nav__link { box-shadow: inset 0 0 0 1px rgb(var(--c-menu-active-rgb) / .55); }
.nav__item > .nav__link[aria-current="page"], .nav__item > .nav__link[aria-current="page"]:hover { background: var(--c-menu-active); color: var(--c-menu-on-active); }
.nav__toggle { background: none; border: 0; padding: .5rem .35rem; margin-left: -.3rem; cursor: pointer; color: var(--c-menu-text); border-radius: var(--r-pill); }
.nav__toggle:hover { color: var(--c-menu-hover); }
.nav__chev { display: block; width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__chev { transform: translateY(2px) rotate(-135deg); }
.nav__sub {
  display: none; position: absolute; top: calc(100% + .6rem); left: 0; min-width: 16rem; list-style: none; margin: 0; padding: .4rem;
  background: var(--c-menu-bg); border-radius: var(--r-md); box-shadow: 0 24px 50px -20px rgb(0 0 0 / .6);
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -.7rem; height: .7rem; } /* hover bridge */
.nav__sub.is-open { display: flex; flex-direction: column; gap: .2rem; animation: pop .18s var(--ease); }
.nav__sub .nav__link { border-radius: var(--r-sm); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Desktop search panel below the bar */
/* Search panel: floats over the page below the bar (the content does not move), light so it
   stands apart from the dark menu bar. */
.search-panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 1;
  background: var(--c-light); color: var(--c-dark); border-bottom: 4px solid var(--c-accent);
  padding: calc(1rem + max(0px, var(--logo-size) + var(--logo-top) - var(--bar-h))) 0 1.4rem;
  box-shadow: 0 24px 48px -24px rgb(var(--c-dark-rgb) / .55);
}
.search-panel .search-form { margin: 0 auto; }
.search-panel:not([hidden]) { animation: pop .2s var(--ease); }
.search-panel input[type="search"] { border: 2px solid rgb(var(--c-dark-rgb) / .25); background: var(--c-light); color: var(--c-dark); }
.search-panel input[type="search"]:focus { border-color: var(--c-dark); outline: 3px solid rgb(var(--c-accent-rgb) / .9); outline-offset: 1px; }
.search-panel :focus-visible { outline-color: var(--c-accent-text); }
.search-form { display: flex; gap: .5rem; align-items: center; }
.search-form input[type="search"] {
  flex: 1 1 auto; min-width: 0; height: 2.9rem; padding: 0 1.1rem; border-radius: var(--r-pill);
  border: 1px solid rgb(var(--c-menu-text-rgb) / .3); background: rgb(255 255 255 / .96); color: #1f2933; font: inherit;
}
.search-form input[type="search"]:focus { outline: 3px solid var(--c-accent); outline-offset: 1px; }
.search-panel .search-form { max-width: 46rem; }

/* Hamburger (mobile) */
.menu-btn {
  grid-column: 1; grid-row: 1; justify-self: start; display: none; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; padding: 0; border: 0; background: none; color: var(--c-menu-text); cursor: pointer; border-radius: var(--r-pill);
}
.menu-btn:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 1.4rem; height: 2px; background: currentColor; position: relative; border-radius: 2px; transition: transform .3s var(--ease), background-color .2s; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -7px; }
.menu-btn__bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Drawer (mobile menu): slides in from the left below the bar */
.drawer { position: fixed; left: 0; right: 0; top: var(--bar-h); bottom: 0; z-index: 2; }
.drawer[hidden] { display: none; }
.drawer__panel {
  position: absolute; top: 0; left: 0; bottom: 0; width: min(22rem, 86vw); overflow-y: auto; z-index: 2;
  background: var(--c-menu-bg); color: var(--c-menu-text); padding: calc(max(0px, var(--logo-size) + var(--logo-top) - var(--bar-h)) + 1rem) 1rem 2rem;
  transform: translateX(-100%); transition: transform .35s var(--ease); box-shadow: 20px 0 40px -20px rgb(0 0 0 / .6);
}
.drawer__backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / .45); opacity: 0; transition: opacity .35s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.search-form--drawer { margin-bottom: 1rem; }
.search-form--drawer .tool-btn { flex: none; height: 2.9rem; min-width: 2.9rem; }
.nav--mobile .nav__list { flex-direction: column; align-items: stretch; gap: .2rem; }
.nav--mobile .nav__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.nav--mobile .nav__link { padding: .8rem 1rem; border-radius: var(--r-sm); white-space: normal; }
.nav--mobile .nav__item:not(.has-sub) > .nav__link { grid-column: 1 / -1; }
.nav--mobile .nav__toggle { margin: 0; padding: .8rem 1rem; }
.nav--mobile .nav__sub { position: static; grid-column: 1 / -1; min-width: 0; box-shadow: none; background: rgb(var(--c-menu-text-rgb) / .06); margin: .1rem 0 .3rem; }
.nav--mobile .nav__sub::before { display: none; }
.drawer.is-open .nav--mobile .nav__list > .nav__item { animation: drawer-item .4s var(--ease) both; }
.drawer.is-open .nav--mobile .nav__list > .nav__item:nth-child(2) { animation-delay: .05s; }
.drawer.is-open .nav--mobile .nav__list > .nav__item:nth-child(3) { animation-delay: .1s; }
.drawer.is-open .nav--mobile .nav__list > .nav__item:nth-child(4) { animation-delay: .15s; }
.drawer.is-open .nav--mobile .nav__list > .nav__item:nth-child(5) { animation-delay: .2s; }
.drawer.is-open .nav--mobile .nav__list > .nav__item:nth-child(n+6) { animation-delay: .25s; }
@keyframes drawer-item { from { opacity: 0; transform: translateX(-1rem); } to { opacity: 1; transform: none; } }
.drawer__contact { list-style: none; margin: 1.5rem 0 0; padding: 1rem 0 0; border-top: 1px solid rgb(var(--c-menu-text-rgb) / .15); display: grid; gap: .4rem; }
.drawer__contact a { display: inline-flex; align-items: center; gap: .6rem; color: var(--c-menu-text); text-decoration: none; padding: .35rem 0; }
.drawer__contact svg { width: 1.1rem; height: 1.1rem; color: var(--c-menu-hover); }
body.drawer-open { overflow: hidden; }

@media (max-width: 64em) {
  .menu-btn { display: inline-flex; }
  .nav--desktop, .search-btn, .search-panel { display: none !important; }
  .mainbar__inner { padding: 0 .75rem; }
}
@media (min-width: 64.0625em) {
  .drawer { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .drawer__panel, .drawer__backdrop, .brand { transition: none; }
}

/* The page starts directly below the bar; the logo sticks out over the top of the page. */
:root { --logo-overhang: max(0px, calc(var(--logo-size) + var(--logo-top) - var(--bar-h))); }
.row--hero:first-child .hero__content { padding-top: clamp(2.5rem, 7vw, 5rem); }

/* ============================================================ page head (pages without hero) */
.page-head {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--c-dark); color: var(--c-on-dark);
  padding: calc(var(--logo-overhang) + clamp(2rem, 5vw, 3.75rem)) 0 clamp(2.25rem, 5vw, 3.75rem);
}
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(34rem 22rem at 88% 110%, rgb(var(--c-accent-rgb) / .55), transparent 70%),
    radial-gradient(28rem 18rem at 70% -30%, rgb(var(--c-accent-rgb) / .22), transparent 70%),
    linear-gradient(120deg, var(--c-dark) 40%, var(--c-dark-2));
}
.page-head__title { margin: 0; max-width: 22ch; }
.page-head__meta { margin: .9rem 0 0; opacity: .85; }
.crumbs { background: var(--c-soft); border-top: 1px solid rgb(var(--c-dark-rgb) / .08); padding: .9rem 0; font-size: .875rem; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 .55rem; opacity: .45; }
.crumbs a { color: var(--c-dark); text-decoration: none; }
.crumbs a:hover, .crumbs a:focus-visible { text-decoration: underline; }
.crumbs [aria-current] { color: var(--c-muted); }
.featured { margin-top: calc(-1 * clamp(1.25rem, 3vw, 2rem)); position: relative; z-index: 2; }
.featured picture, .featured img { border-radius: var(--r-lg); box-shadow: var(--shadow-warm); }

/* ============================================================ rows & grid */
.row { position: relative; }
.row--pad-none { padding: 0; }
.row--pad-s { padding: var(--pad-s) 0; }
.row--pad-m { padding: var(--pad-m) 0; }
.row--pad-l { padding: var(--pad-l) 0; }
.content > .row--bg-none.row--pad-m:not(.row--w-full) + .row--bg-none.row--pad-m:not(.row--w-full) { padding-top: 0; }
/* Plain rows after each other read as one story: a smaller gap than between real sections. */
.content > .row--bg-none.row--pad-m:not(.row--w-full):has(+ .row--bg-none.row--pad-m:not(.row--w-full)) { padding-bottom: var(--flow-gap); }
/* A row with only a heading belongs to the content below it. */
.content > .row--bg-none:has(+ .row--bg-none):has(> .row__inner > .grid--single > .col > :is(h2, h3, h4):only-child),
.content > .row--bg-none:has(+ .row--bg-none):has(> .row__inner > .grid--single > .col > .prose:only-child > :is(h2, h3, h4):only-child) { padding-bottom: 0; }
/* …and the row after such a heading starts at the top, directly below it (no vertical centring). */
.content > .row:has(> .row__inner > .grid--single > .col > :is(h2, h3, h4):only-child) + .row--center .grid,
.content > .row:has(> .row__inner > .grid--single > .col > .prose:only-child > :is(h2, h3, h4):only-child) + .row--center .grid { align-items: start; }
/* A call-to-action is a section of its own: it keeps the full distance to the text above it. */
.content > .row--bg-none.row--pad-m:not(.row--w-full) + .row--bg-none.row--pad-m:not(.row--w-full):has(> .row__inner .cta) { padding-top: calc(var(--pad-m) - var(--flow-gap)); }
.row__inner { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.row--w-narrow .row__inner { max-width: calc(var(--wrap-narrow) + 2 * var(--gap)); }
.row--w-wide .row__inner { max-width: 92rem; }
.row--w-full .row__inner { max-width: none; padding: 0; }

.row--bg-soft {
  background:
    radial-gradient(30rem 20rem at 0% 0%, rgb(var(--c-accent-rgb) / .09), transparent 70%),
    radial-gradient(30rem 20rem at 100% 100%, rgb(var(--c-accent-rgb) / .07), transparent 70%),
    var(--c-soft);
}
.row--bg-dark, .row--bg-image { background: var(--c-dark); color: var(--c-on-dark); overflow: hidden; isolation: isolate; }
.row--bg-dark::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(32rem 22rem at 100% 0%, rgb(var(--c-accent-rgb) / .35), transparent 70%),
    radial-gradient(26rem 18rem at 0% 100%, rgb(var(--c-accent-rgb) / .18), transparent 70%);
}
.row--bg-accent {
  color: var(--c-on-accent);
  background: radial-gradient(40rem 26rem at 90% 0%, rgb(255 255 255 / .22), transparent 70%), var(--c-accent);
}
.row--bg-dark a:not(.btn), .row--bg-image a:not(.btn) { color: var(--c-accent-on-dark); }
.row--bg-accent a:not(.btn) { color: var(--c-on-accent); }
.row__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.row__bg img { width: 100%; height: 100%; object-fit: cover; }
.row__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--c-dark-rgb) / .78), rgb(var(--c-dark-rgb) / .35)); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap) calc(var(--gap) * 1.25); }
.row--center .grid { align-items: center; }
.col { grid-column: span 12; min-width: 0; }
.col > :last-child { margin-bottom: 0; }
@media (min-width: 48em) {
  .col--3, .col--4, .col--5, .col--6, .col--7, .col--8, .col--9 { grid-column: span 6; }
}
@media (min-width: 64em) {
  .col--1 { grid-column: span 1; } .col--2 { grid-column: span 2; } .col--3 { grid-column: span 3; }
  .col--4 { grid-column: span 4; } .col--5 { grid-column: span 5; } .col--6 { grid-column: span 6; }
  .col--7 { grid-column: span 7; } .col--8 { grid-column: span 8; } .col--9 { grid-column: span 9; }
  .col--10 { grid-column: span 10; } .col--11 { grid-column: span 11; } .col--12 { grid-column: span 12; }
}
.grid--single .col { grid-column: 1 / -1; }
/* Photo side on the left (alternating text/photo rows); on small screens the text always comes first. */
@media (min-width: 64em) {
  .row--reverse .grid > .col:first-child { order: 2; }
}
/* Media in a reading-width row stays centred. */
.row--w-narrow .figure picture, .row--w-narrow .figure figcaption { margin-inline: auto; }
.row--w-narrow .figure figcaption { text-align: center; }

/* ============================================================ hero */
.row--hero { padding: 0; }
.row--hero .row__inner { max-width: none; padding: 0; }
.hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  color: var(--c-on-dark);
  min-height: clamp(24rem, 62vh, 40rem);
  background:
    radial-gradient(40rem 30rem at 85% 100%, rgb(var(--c-accent-rgb) / .5), transparent 70%),
    radial-gradient(30rem 22rem at 20% 0%, rgb(var(--c-accent-rgb) / .18), transparent 70%),
    linear-gradient(135deg, var(--c-dark) 30%, var(--c-dark-2));
}
.hero--s { min-height: clamp(18rem, 40vh, 26rem); }
.hero--l { min-height: clamp(30rem, 88vh, 52rem); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero--has-media::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(var(--c-dark-rgb) / .35) 0%, transparent 30%),
    linear-gradient(90deg, rgb(var(--c-dark-rgb) / .82) 0%, rgb(var(--c-dark-rgb) / .55) 45%, rgb(var(--c-dark-rgb) / .12) 100%),
    radial-gradient(50rem 30rem at 80% 120%, rgb(var(--c-accent-rgb) / .4), transparent 70%);
}
.hero__content {
  position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) var(--gap) clamp(3rem, 8vw, 6rem);
}
/* Text directly on the photo; the darkened left side of the image keeps it readable. */
.hero__panel { max-width: 44rem; }
.hero__title, .hero__subtitle { text-shadow: 0 2px 24px rgb(0 0 0 / .45); }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.02; margin: 0; letter-spacing: -.02em; }
.hero__subtitle { font-size: clamp(1.1rem, 2vw, 1.35rem); margin: 1rem 0 0; opacity: .92; }
.hero__actions { margin: 1.75rem 0 0; }
/* Signature: a glowing heating element along the bottom edge. */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--c-accent) 20%, var(--c-accent) 80%, transparent);
  box-shadow: 0 0 24px 4px rgb(var(--c-accent-rgb) / .55);
}


/* Service tiles float over the bottom of the hero: keep the button clear of them. */
.row--hero:has(+ .row .feature) .hero__content { padding-bottom: calc(clamp(3rem, 8vw, 6rem) + clamp(2.5rem, 6vw, 4.5rem)); }
.row--hero + .row:has(.feature) { padding-top: 0; background: transparent; }
.row--hero + .row:has(.feature) .row__inner { margin-top: calc(-1 * clamp(2.5rem, 6vw, 4.5rem)); z-index: 3; }
.row--hero + .row:has(.feature)::before { display: none; }
.row--hero + .row:has(.feature) .feature { background: rgb(var(--c-light-rgb) / .84); }

/* ============================================================ text */
.prose { text-wrap: pretty; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ol { padding-left: 1.4em; }
.prose ol > li::marker { color: var(--c-accent-text); font-weight: 700; }
.prose li { margin-bottom: .45em; }
/* Bullet lists: glowing heat dots instead of standard bullets. */
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.7rem; }
.prose ul > li::before {
  content: ""; position: absolute; left: .25rem; top: .6em; width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--c-accent); box-shadow: 0 0 0 4px rgb(var(--c-accent-rgb) / .16);
}
/* A list inside a list item (e.g. the types under "Scope 5"): compact tags. */
.prose ul ul, .prose ol ul { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 .3rem; padding: 0; }
.prose ul ul > li, .prose ol ul > li {
  margin: 0; padding: .3rem .8rem; font-size: .9rem; line-height: 1.35;
  border-radius: var(--r-pill); background: rgb(var(--c-accent-rgb) / .08); border: 1px solid rgb(var(--c-accent-rgb) / .22);
}
.prose ul ul > li::before, .prose ol ul > li::before { display: none; }
.prose blockquote { margin-left: 0; padding: 1rem 1.25rem; font-size: 1.15em; border-radius: var(--r-md); background: var(--glass-light); border: 1px solid var(--glass-edge); border-left: 4px solid var(--c-accent); }
.prose img { margin: 1rem 0; border-radius: var(--r-md); }

/* ============================================================ tables */
/* Table card: title on top (never scrolls away), the table itself scrolls sideways when it is wider
   than the screen; soft shadows at the edges show there is more. */
.table-block {
  --tbl-bg: var(--c-light);
  margin: 0 0 1.5rem; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgb(var(--c-dark-rgb) / .1); background: var(--tbl-bg); box-shadow: var(--shadow-soft);
}
.table-block__title {
  margin: 0; padding: 1rem 1.1rem .8rem;
  font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; line-height: 1.25; color: var(--c-dark);
}
.table-scroll {
  position: relative; max-width: 100%; overflow-x: auto;
  background:
    linear-gradient(to right, var(--tbl-bg) 30%, rgb(var(--c-light-rgb) / 0)) left center / 3rem 100% no-repeat local,
    linear-gradient(to left, var(--tbl-bg) 30%, rgb(var(--c-light-rgb) / 0)) right center / 3rem 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgb(0 0 0 / .16), transparent) left center / 1rem 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgb(0 0 0 / .16), transparent) right center / 1rem 100% no-repeat scroll,
    var(--tbl-bg);
  scrollbar-width: thin; scrollbar-color: rgb(var(--c-accent-rgb) / .6) transparent;
}
.table-scroll:focus-visible { outline: var(--focus); outline-offset: 3px; }
.table-scroll > table { margin: 0; }
.prose table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: .95rem; line-height: 1.45; font-variant-numeric: tabular-nums;
}
.prose caption {
  caption-side: top; text-align: left; padding: 1rem 1.1rem .75rem;
  font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; line-height: 1.25; color: var(--c-dark);
}
.prose th, .prose td {
  padding: .7rem 1rem; text-align: left; vertical-align: top;
  border-bottom: 1px solid rgb(var(--c-dark-rgb) / .07);
  min-width: 5.5rem; max-width: 24rem;
}
.prose tbody tr:last-child > *, .prose table > tr:last-child > * { border-bottom: 0; }
/* Column headers: a clear, calm header band. */
.prose thead th {
  background: rgb(var(--c-accent-rgb) / .1); color: var(--c-dark);
  font-weight: 700; font-size: .85rem; letter-spacing: .01em;
  border-bottom: 1px solid rgb(var(--c-accent-rgb) / .3);
}
.prose thead tr + tr th { font-weight: 600; color: var(--c-muted); padding-top: .35rem; }
.prose thead tr:has(+ tr) th { border-bottom: 0; padding-bottom: .35rem; }
/* Rows: calm alternating tint and a hover highlight. */
.prose tbody tr:nth-child(even) > * { background: rgb(var(--c-dark-rgb) / .025); }
.prose tbody tr:hover > * { background: rgb(var(--c-accent-rgb) / .06); }
/* Row headers (e.g. the model name) stay visible while scrolling sideways. */
.prose th[scope="row"] {
  position: sticky; left: 0; z-index: 1;
  font-weight: 700; white-space: nowrap; background: var(--tbl-bg, var(--c-light));
  box-shadow: inset -1px 0 0 rgb(var(--c-dark-rgb) / .08);
}
.prose tbody tr:nth-child(even) > th[scope="row"] { background: linear-gradient(rgb(var(--c-dark-rgb) / .025), rgb(var(--c-dark-rgb) / .025)), var(--c-light); }
.prose tbody tr:hover > th[scope="row"] { background: linear-gradient(rgb(var(--c-accent-rgb) / .06), rgb(var(--c-accent-rgb) / .06)), var(--c-light); }
.prose thead th:first-child { position: sticky; left: 0; z-index: 2; background: linear-gradient(rgb(var(--c-accent-rgb) / .1), rgb(var(--c-accent-rgb) / .1)), var(--c-light); }
/* Headings typed inside cells (old content): no big heading margins. */
.prose td :is(h2, h3, h4, h5), .prose th :is(h2, h3, h4, h5) { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.prose td > p:last-child, .prose th > p:last-child { margin-bottom: 0; }
/* Dark rows */
.row--bg-dark .table-block { --tbl-bg: var(--c-dark-2); border-color: var(--glass-edge-dark); }
.row--bg-dark .table-block__title, .row--bg-dark .prose caption, .row--bg-dark .prose thead th { color: inherit; }
.row--bg-dark .prose th[scope="row"], .row--bg-dark .prose thead th:first-child { background: var(--c-dark-2); }
@media (max-width: 40em) {
  .prose table { font-size: .875rem; }
  .prose th, .prose td { padding: .6rem .75rem; min-width: 4.75rem; }
  .prose caption, .table-block__title { padding: .85rem .85rem .6rem; font-size: 1.05rem; }
}
.row--bg-dark .prose li::marker, .row--bg-image .prose li::marker { color: var(--c-accent-on-dark); }
.row--bg-dark .prose ul ul > li { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .18); }
.sep { border: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(var(--c-dark-rgb) / .18), transparent); margin: 2.5rem 0; }
.row--bg-dark .sep { background: linear-gradient(90deg, transparent, rgb(255 255 255 / .2), transparent); }
.spacer--s { height: 1rem; } .spacer--m { height: 2.5rem; } .spacer--l { height: 5rem; }

.figure { margin: 0 0 1.25rem; }
.figure picture, .figure img { border-radius: var(--r-lg); }
.figure picture { overflow: hidden; width: fit-content; max-width: 100%; border-radius: var(--r-lg); }
/* A loose image in a single column is centred (like "aligncenter" on the old site). */
.grid--single > .col > .figure picture, .grid--single > .col > .figure figcaption { margin-inline: auto; }
.grid--single > .col > .figure figcaption { text-align: center; }
.ta-center .figure picture, .figure.ta-center picture { margin-inline: auto; }
.figure a.lb picture img { transition: transform .5s var(--ease); }
.figure a.lb:hover picture img { transform: scale(1.03); }
.figure figcaption { font-size: .9rem; color: var(--c-muted); margin-top: .6rem; }
/* Text after a photo in the same column gets some air. */
.figure + .prose, .figure + h2, .figure + h3, .video + .prose, .gallery + .prose { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.row--bg-dark .figure figcaption { color: inherit; opacity: .85; }

/* ============================================================ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: var(--r-pill);
  font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(180deg, rgb(255 255 255 / .18), transparent 60%), var(--c-accent);
  color: var(--c-on-accent); border-color: rgb(var(--c-accent-rgb) / .9);
  box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 10px 24px -10px rgb(var(--c-accent-rgb) / .8);
}
.btn--primary:hover { background-color: var(--c-accent-hover); box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 14px 30px -10px rgb(var(--c-accent-rgb) / .9); }
.btn--outline {
  background: rgb(var(--c-light-rgb) / .7); color: var(--c-dark); border-color: rgb(var(--c-dark-rgb) / .35);
}
.btn--outline:hover { background: var(--c-dark); color: var(--c-on-dark); border-color: var(--c-dark); }
.btn--on-dark, .row--bg-dark .btn--outline, .row--bg-image .btn--outline, .hero .btn--outline { color: var(--c-on-dark); background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .35); }
.row--bg-dark .btn--outline:hover, .btn--on-dark:hover { background: var(--c-on-dark); color: var(--c-dark); }
.row--bg-accent .btn--primary { background: var(--c-dark); color: var(--c-on-dark); border-color: var(--c-dark); box-shadow: 0 10px 24px -12px rgb(var(--c-dark-rgb) / .7); }
.row--bg-accent .btn--outline { color: var(--c-on-accent); border-color: currentColor; background: rgb(255 255 255 / .12); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }

/* ============================================================ call-to-action */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  min-height: clamp(15rem, 28vw, 21rem);
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  border-radius: var(--r-xl); color: var(--c-on-dark);
  background:
    radial-gradient(34rem 20rem at 85% 120%, rgb(var(--c-accent-rgb) / .55), transparent 70%),
    radial-gradient(26rem 16rem at 10% -20%, rgb(var(--c-accent-rgb) / .2), transparent 70%),
    linear-gradient(135deg, var(--c-dark), var(--c-dark-2));
  box-shadow: var(--shadow-warm);
}
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta--has-media::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40rem 22rem at 50% 130%, rgb(var(--c-accent-rgb) / .45), transparent 70%),
    linear-gradient(180deg, rgb(var(--c-dark-rgb) / .55), rgb(var(--c-dark-rgb) / .72));
}
.cta--accent { color: var(--c-on-accent); background: radial-gradient(34rem 20rem at 90% -10%, rgb(255 255 255 / .25), transparent 70%), var(--c-accent); }
.cta--accent.cta--has-media::before { background: linear-gradient(180deg, rgb(var(--c-accent-rgb) / .78), rgb(var(--c-accent-rgb) / .9)); }
.cta::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-accent), transparent); box-shadow: 0 0 20px 3px rgb(var(--c-accent-rgb) / .5);
}
.cta--accent::after { display: none; }
.cta__content { max-width: 48rem; }
.cta__logo { margin: 0 auto 1.25rem; width: fit-content; }
.cta__logo img { max-height: 5rem; width: auto; margin: 0 auto; border-radius: var(--r-sm); }
/* In a column next to other content: fill the height of the row (like the old site). */
.grid:not(.grid--single) > .col > .cta:only-child { height: 100%; min-height: clamp(18rem, 32vw, 26rem); }
/* Full-width section (old site: a whole row with a background photo): edge to edge. */
.row--w-full .cta { border-radius: 0; box-shadow: none; min-height: clamp(18rem, 30vw, 26rem); padding-inline: max(var(--gap), calc((100% - var(--wrap)) / 2 + var(--gap))); }
.row--w-full .cta::after { left: 0; right: 0; }
.cta__title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 0 0 .5em; color: inherit; text-shadow: 0 2px 24px rgb(0 0 0 / .35); }
.cta__text { font-size: 1.1rem; opacity: .92; margin: 0 auto 1.6rem; max-width: 42rem; }
.cta__actions { margin: 0; }
.btn--dark { background: var(--c-dark); color: var(--c-on-dark); border-color: var(--c-dark); box-shadow: 0 10px 24px -12px rgb(var(--c-dark-rgb) / .7); }
.btn--dark:hover { background: var(--c-dark-2); }

/* ============================================================ glass tiles: features */
.feature {
  position: relative; height: 100%;
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  border-radius: var(--r-lg);
  background: var(--glass-tile); border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow-warm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:has(.feature__link):hover { transform: translateY(-4px); }
.feature__icon {
  display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 1.1rem;
  border-radius: var(--r-md); color: var(--c-on-accent);
  background: linear-gradient(145deg, rgb(255 255 255 / .25), transparent 60%), var(--c-accent);
  box-shadow: 0 10px 22px -10px rgb(var(--c-accent-rgb) / .9);
}
.feature__icon svg { width: 1.55rem; height: 1.55rem; }
.feature__title { margin-bottom: .45em; font-size: 1.3rem; }
/* Tile without icon (e.g. an overview of products): a short heat-coloured line instead. */
.feature--plain .feature__title::before {
  content: ""; display: block; width: 2.5rem; height: 3px; margin-bottom: 1rem; border-radius: 3px;
  background: var(--c-accent); box-shadow: 0 0 12px rgb(var(--c-accent-rgb) / .6);
}
/* Several rows of tiles directly after each other read as one grid. */
.content > .row:has(.feature):has(+ .row .feature) { padding-bottom: calc(var(--gap) * .6); }
.content > .row:has(.feature) + .row:has(.feature) { padding-top: calc(var(--gap) * .6); }
.feature p { color: var(--c-muted); }
.feature__link { font-weight: 700; text-decoration: none; }
.feature__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole tile clickable */
.feature__link:hover { text-decoration: underline; }
.feature:focus-within { outline: var(--focus); outline-offset: 3px; }
.feature__link:focus-visible { outline: none; }
.row--bg-dark .feature, .row--bg-image .feature { background: rgb(255 255 255 / .06); border-color: var(--glass-edge-dark); color: var(--c-on-dark); }
.row--bg-dark .feature p, .row--bg-image .feature p { color: inherit; opacity: .85; }

/* ============================================================ gallery, carousel, logos */
.gallery { display: grid; gap: .75rem; list-style: none; padding: 0; margin: 0 0 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 48em) {
  .gallery--cols-3, .gallery--cols-4, .gallery--cols-5, .gallery--cols-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 64em) {
  .gallery--cols-4 { grid-template-columns: repeat(4, 1fr); }
  .gallery--cols-5 { grid-template-columns: repeat(5, 1fr); }
  .gallery--cols-6 { grid-template-columns: repeat(6, 1fr); }
}
.gallery__item a { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-soft); border-radius: var(--r-md); box-shadow: var(--shadow-soft); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item a:hover img { transform: scale(1.05); }

.carousel { position: relative; margin-bottom: 1.25rem; container-type: inline-size; }
.carousel__track {
  --per: 1;
  display: grid; grid-auto-flow: column; gap: .9rem;
  grid-auto-columns: calc((100% - (var(--per) - 1) * .9rem) / var(--per));
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  list-style: none; scrollbar-width: none;
  /* Room for the soft shadow of the slides (a scroll area clips everything outside it);
     the negative margin keeps the photos exactly where they were. */
  --shadow-room: 14px;
  padding: 4px var(--shadow-room) 24px; margin: -4px calc(-1 * var(--shadow-room)) -24px;
  scroll-padding-inline: var(--shadow-room);
}
.carousel__track::-webkit-scrollbar { display: none; }
@container (min-width: 34rem) { .carousel__track { --per: 2; } }
@container (min-width: 56rem) { .carousel__track { --per: 3; } }
.carousel__track > li { scroll-snap-align: start; }
.carousel__track a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-soft); border-radius: var(--r-md); }
.carousel__track img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.carousel__track a:hover img { transform: scale(1.04); }
/* Controls: one glass pill at the bottom of the photos (same design as the photo popup). */
.carousel__nav {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; gap: .1rem; padding: .25rem;
  border-radius: var(--r-pill); color: #fff;
  background: rgb(var(--c-dark-rgb) / .55); border: 1px solid rgb(255 255 255 / .18);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  /* Compact shadow that stays within the photos (it used to spill past their bottom edge). */
  box-shadow: 0 4px 14px -6px rgb(0 0 0 / .55);
}
.carousel:not(.is-scrollable) .carousel__nav { display: none; }
.carousel__btn {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}
.carousel__btn svg { width: 1.2rem; height: 1.2rem; }
.carousel__btn:hover:not([disabled]) { background: var(--c-accent); color: var(--c-on-accent); }
.carousel__btn:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.carousel__btn[disabled] { opacity: .35; cursor: default; }
.carousel__count[hidden] { display: none; }
.carousel__count { min-width: 3.4rem; padding: 0 .2rem; text-align: center; font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.logos {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: .9rem; list-style: none; margin: 0; padding: 0;
}
.logos li {
  display: grid; place-items: center; min-height: 7.25rem; padding: 1.1rem 1.25rem;
  border-radius: var(--r-md); background: var(--glass-light-strong); border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.logos li:has(a):hover { transform: translateY(-3px); box-shadow: var(--shadow-warm); }
.logos a { display: grid; place-items: center; width: 100%; height: 100%; }
.logos picture { display: contents; }
/* Logos keep their own proportions: at most 65 px high and never wider than the tile. */
.logos img { width: auto; height: auto; max-width: 100%; max-height: 65px; object-fit: contain; margin: 0 auto; }
@media (max-width: 40em) {
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .logos li { min-height: 5.5rem; padding: .8rem; }
  .logos img { max-height: 48px; }
}

/* Logo ticker: a continuous, endless strip; fades out at both edges. */
.ticker { position: relative; }
.ticker__viewport {
  position: relative; /* hidden helper texts inside the logos stay inside the strip (otherwise the page widens) */
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  cursor: grab; padding: 6px 0 18px; margin: -6px 0 -18px; /* room for the tile shadows */
}
.ticker__viewport::-webkit-scrollbar { display: none; }
.ticker.is-dragging .ticker__viewport { cursor: grabbing; user-select: none; }
.ticker__viewport:focus-visible { outline: var(--focus); outline-offset: 4px; border-radius: var(--r-md); }
.ticker__track { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; width: max-content; }
.ticker__track > li {
  position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 14rem; height: 7rem; margin-right: .9rem; padding: 1rem 1.25rem;
  border-radius: var(--r-md); background: var(--glass-light-strong); border: 1px solid var(--glass-edge); box-shadow: var(--shadow-soft);
}
.ticker__track a { display: grid; place-items: center; width: 100%; height: 100%; }
.ticker__track picture { display: contents; }
.ticker__track img { width: auto; height: auto; max-width: 100%; max-height: 65px; object-fit: contain; pointer-events: none; }
/* Fade in when loaded (only when the script runs; without it the logos are simply visible). */
.ticker.is-ready .ticker__track img { opacity: 0; transition: opacity .5s var(--ease); }
.ticker.is-ready .ticker__track img.is-loaded { opacity: 1; }
@media (max-width: 40em) {
  .ticker__track > li { width: 10.5rem; height: 5.5rem; padding: .75rem; }
  .ticker__track img { max-height: 44px; }
}

/* ============================================================ video & embeds */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--c-dark); margin-bottom: 1.25rem; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-warm); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  background:
    radial-gradient(30rem 20rem at 50% 120%, rgb(var(--c-accent-rgb) / .45), transparent 70%),
    linear-gradient(135deg, var(--c-dark) 0%, var(--c-dark-2) 100%);
  color: var(--c-on-dark); border: 0; cursor: pointer; padding: 1rem;
}
.video__icon {
  width: 4.75rem; height: 4.75rem; border-radius: 50%; position: relative;
  background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .3);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  transition: transform .25s var(--ease), background-color .25s;
}
.video__play:hover .video__icon { transform: scale(1.06); background: var(--c-accent); }
.video__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
  border-style: solid; border-width: .8rem 0 .8rem 1.3rem; border-color: transparent transparent transparent #fff;
}
.video__label { font-weight: 700; font-size: 1.1rem; }
.video__note { font-size: .85rem; opacity: .8; }
/* YouTube/Vimeo players pasted as an iframe (old content): always 16:9. */
.embed iframe[src*="youtube"], .embed iframe[src*="youtu.be"], .embed iframe[src*="vimeo"] {
  display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-lg);
}
/* On desktop a video in a single column is two thirds wide and centred. */
@media (min-width: 64em) {
  .grid--single > .col > .video,
  .grid--single > .col > .embed:has(iframe[src*="youtube"], iframe[src*="youtu.be"], iframe[src*="vimeo"]) {
    width: calc(100% * 2 / 3); margin-inline: auto;
  }
}
.embed--gated .embed__placeholder { border: 1px dashed rgb(var(--c-dark-rgb) / .25); padding: 1.75rem; text-align: center; background: var(--glass-light); border-radius: var(--r-lg); color: var(--c-dark); }

/* ============================================================ cards (news, sub pages) */
.cards { display: grid; gap: calc(var(--gap) * 1.1); list-style: none; margin: 0 0 2rem; padding: 0; grid-template-columns: 1fr; }
@media (min-width: 40em) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) {
  .cards--cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cards--cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); color: var(--c-dark);
  background: var(--glass-light-strong); border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-warm); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__placeholder { display: grid; place-items: center; height: 100%; color: var(--c-accent-text); background: radial-gradient(circle at 50% 120%, rgb(var(--c-accent-rgb) / .25), transparent 70%); }
.card__placeholder svg { width: 2.5rem; height: 2.5rem; }
.card__body { padding: 1.15rem 1.25rem 1.4rem; }
.card__title { font-size: 1.25rem; margin-bottom: .4rem; }
.card__title a { color: var(--c-dark); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card__title a:hover { text-decoration: underline; }
.card__title a:focus-visible { outline: none; }
.card:focus-within { outline: var(--focus); outline-offset: 4px; }
.card__meta {
  display: inline-block; font-size: .8rem; font-weight: 600; margin: 0 0 .6rem; padding: .15rem .6rem; border-radius: var(--r-pill);
  background: rgb(var(--c-accent-rgb) / .12); color: var(--c-dark);
}
.card__text { margin: 0; color: var(--c-muted); font-size: .98rem; }
.empty { color: var(--c-muted); }

.pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; list-style: none; padding: 0; margin: 0; }
.pager a, .pager span {
  display: inline-block; min-width: 2.75rem; padding: .55rem .9rem; text-align: center; border-radius: var(--r-pill); text-decoration: none;
  background: var(--glass-light); border: 1px solid rgb(var(--c-dark-rgb) / .12);
}
.pager a { color: var(--c-dark); }
.pager a:hover { border-color: var(--c-dark); }
.pager [aria-current] { background: var(--c-dark); color: var(--c-on-dark); border-color: var(--c-dark); font-weight: 700; }

.back { padding-bottom: var(--pad-m); }
.back__link {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none;
  padding: .6rem 1.1rem; border-radius: var(--r-pill); background: var(--glass-light); border: 1px solid rgb(var(--c-dark-rgb) / .12);
}
.back__link::before { content: "‹"; font-size: 1.2em; line-height: 1; }
.back__link:hover { background: var(--c-dark); color: var(--c-on-dark); }

/* ============================================================ forms */
.contact .form {
  padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-lg);
  background: var(--glass-light-strong); border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow-warm);
  color: var(--c-dark);
}
.row--bg-dark .contact .form, .row--bg-image .contact .form { background: rgb(var(--c-light-rgb) / .92); }
.form__grid { display: grid; grid-template-columns: 1fr; gap: 0 1.25rem; }
@media (min-width: 40em) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1.1rem; }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field__opt { font-weight: 400; color: var(--c-muted); }
.field input, .field textarea {
  width: 100%; font: inherit; padding: .75rem .9rem; border: 1px solid #767676; border-radius: var(--r-sm);
  background: #fff; color: #1a1a1a; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-dark); box-shadow: 0 0 0 3px rgb(var(--c-accent-rgb) / .45); }
.field--error input, .field--error textarea { border: 2px solid #b3261e; }
.field__error { color: #b3261e; font-weight: 600; margin: .35rem 0 0; }
.form__privacy { font-size: .9rem; color: var(--c-muted); }
.form__privacy a { color: var(--c-accent-text); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 1rem; }
.notice { padding: 1rem 1.25rem; border-radius: var(--r-md); margin-bottom: 1.5rem; background: var(--glass-light-strong); border: 1px solid var(--glass-edge); border-left: 5px solid; color: var(--c-dark); box-shadow: var(--shadow-soft); }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice--ok { border-left-color: #1e7a34; }
.notice--error { border-left-color: #b3261e; }
.notice a:not(.btn) { color: #8c1d18; }

/* ============================================================ footer */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--c-dark); color: var(--c-on-dark); padding: var(--pad-m) 0 0; font-size: .95rem;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(36rem 20rem at 10% -10%, rgb(var(--c-accent-rgb) / .28), transparent 70%),
    radial-gradient(30rem 20rem at 100% 110%, rgb(var(--c-accent-rgb) / .12), transparent 70%);
}
.site-footer::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(var(--c-accent-rgb) / .8), transparent); }
.site-footer a:not(.btn) { color: var(--c-on-dark); }
.site-footer a:not(.btn):hover { color: var(--c-accent-on-dark); }
.footer__grid { display: grid; gap: 2rem var(--gap); grid-template-columns: repeat(3, 1fr); }
.footer__col { min-width: 0; }
/* Mobile and tablet: company details first (full width, centred), then navigation and links side by side. */
@media (max-width: 64em) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
  .footer__col--company {
    grid-column: 1 / -1; order: -1; text-align: center;
    padding-bottom: 1.75rem; border-bottom: 1px solid rgb(255 255 255 / .1);
  }
  .footer__col--company address { margin-bottom: .75rem; }
  .footer__col--nav, .footer__col--links { text-align: center; }
}
@media (max-width: 64em) {
  /* Bottom bar: centred, like the company details above it. */
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: .6rem; }
  .footer__meta { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 40em) {
  .footer__links li { margin-bottom: .55rem; }
  .footer__links a { display: inline-block; padding: .1rem 0; }
}
.footer__title { font-size: 1.1rem; margin-bottom: .9rem; color: var(--c-accent-on-dark); }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin-bottom: .4rem; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
address { font-style: normal; margin-bottom: 1rem; line-height: 1.75; }
.footer__small { opacity: .8; font-size: .9rem; margin: 0; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  margin-top: 2.5rem; padding-top: 1.25rem; padding-bottom: 1.5rem; border-top: 1px solid rgb(255 255 255 / .1);
  font-size: .875rem; opacity: .9;
}
.footer__bottom p { margin: 0; }
.footer__meta { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }

/* ============================================================ cookie notice */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90; max-width: 40rem;
  padding: 1.35rem; border-radius: var(--r-lg); color: var(--c-on-dark);
  background: var(--glass-dark-strong); border: 1px solid var(--glass-edge-dark);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: 0 30px 70px -30px rgb(0 0 0 / .7), 0 0 0 1px rgb(var(--c-accent-rgb) / .15);
  animation: pop .3s var(--ease);
}
.cookie a:not(.btn) { color: var(--c-accent-on-dark); }
.cookie__text { margin: 0 0 1rem; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cookie .btn { font-size: 1rem; padding: .7rem 1.2rem; }

/* ============================================================ lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 150;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem) 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  color: #fff; background: rgb(12 12 12 / .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  animation: lb-in .2s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox__figure {
  flex: 1; min-height: 0; width: 100%; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.lightbox__figure img {
  max-width: min(100%, 100rem); max-height: calc(100vh - 8.5rem); max-height: calc(100dvh - 8.5rem);
  width: auto; height: auto; object-fit: contain;
  border-radius: var(--r-md); box-shadow: 0 30px 80px -30px rgb(0 0 0 / .8);
  transition: opacity .2s var(--ease);
}
.lightbox__figure img.is-loading { opacity: .25; }
.lightbox__figure figcaption { margin-top: .8rem; max-width: 50rem; text-align: center; font-size: .95rem; opacity: .9; }
.lightbox__figure figcaption:empty { display: none; }
/* Bottom pill with previous, counter, next and close. */
.lightbox__bar {
  display: flex; align-items: center; gap: .15rem; padding: .3rem;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: 0 16px 40px -16px rgb(0 0 0 / .8);
}
.lightbox__btn {
  display: grid; place-items: center; width: 2.9rem; height: 2.9rem; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lightbox__btn svg { width: 1.35rem; height: 1.35rem; }
.lightbox__btn:hover { background: rgb(255 255 255 / .15); }
.lightbox__btn--close:hover { background: var(--c-accent); color: var(--c-on-accent); }
.lightbox__btn:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.lightbox__btn[hidden], .lightbox__sep[hidden], .lightbox__count[hidden] { display: none; }
.lightbox__count { min-width: 4.25rem; text-align: center; font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums; }
.lightbox__sep { width: 1px; height: 1.6rem; margin: 0 .3rem; background: rgb(255 255 255 / .22); }
body.no-scroll { overflow: hidden; }

/* ============================================================ fallbacks & preferences */
/* Browsers without blur: use nearly solid panels so text stays readable. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --glass-light: rgb(var(--c-light-rgb) / .94);
    --glass-light-strong: rgb(var(--c-light-rgb) / .97);
    --glass-dark: rgb(var(--c-dark-rgb) / .86);
    --glass-dark-strong: rgb(var(--c-dark-rgb) / .95);
  }
}
/* Visitors who ask for less transparency or more contrast get solid surfaces. */
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  :root {
    --glass-light: var(--c-light);
    --glass-light-strong: var(--c-light);
    --glass-dark: var(--c-dark);
    --glass-dark-strong: var(--c-dark);
    --blur: none;
  }
  body::before { background: var(--c-light); }
  .nav__sub, .drawer__panel { background: var(--c-menu-bg) !important; }
  .feature, .card, .logos li { border-color: rgb(var(--c-dark-rgb) / .25); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .card:hover, .feature:hover, .btn:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .cookie, .carousel__nav, .skip { display: none !important; }
  main { margin-top: 0; }
  .page-head, .hero { background: none; color: #000; }
  body::before { display: none; }
}

/* ---------------------------------------------------------- Saabtour additions */
/* Photo galleries (block "Fotogalerij") */
.album__title { margin-bottom: .5rem; }
.album__desc { margin: 0 0 1rem; color: var(--c-text-soft, inherit); }
.gallery--masonry { display: block; columns: 2; column-gap: .75rem; }
.gallery--masonry .gallery__item { break-inside: avoid; margin-bottom: .75rem; }
.gallery--masonry .gallery__item a { aspect-ratio: auto; }
.gallery--masonry .gallery__item img { height: auto; }
@media (min-width: 760px) {
  .gallery--masonry.gallery--cols-3 { columns: 3; }
  .gallery--masonry.gallery--cols-4, .gallery--masonry.gallery--cols-5, .gallery--masonry.gallery--cols-6 { columns: 4; }
}
@media (min-width: 1100px) {
  .gallery--masonry.gallery--cols-5 { columns: 5; }
  .gallery--masonry.gallery--cols-6 { columns: 6; }
}

/* Newsletter sign-up */
.nlform { max-width: 40rem; }
.nlform__title { margin-bottom: .5rem; }
.nlform .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.nlform .check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; flex: none; accent-color: var(--c-accent); }
.nlform .form__grid { margin-bottom: .5rem; }
.row--bg-dark .nlform .notice, .row--bg-image .nlform .notice { color: var(--c-dark); }

/* Footer: logo, short text and newsletter button */
.footer__logo { margin: 0 0 1rem; }
.footer__logo img { max-height: 4.5rem; width: auto; max-width: 16rem; height: auto; }
.footer__col--newsletter .btn { margin-top: .25rem; }

/* Newsletter confirm/unsubscribe page */
.system-page form { margin-top: 1rem; }

/* Hero slideshow (former Slider Revolution) */
.hero__media--slides .hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__media--slides .hero__slide.is-active { opacity: 1; }
.hero__slide picture, .hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero--plain::before, .hero--plain::after { display: none; }
/* Image-only hero: on phones a calm 4:3-like block, on wide screens a large picture */
.hero--plain { min-height: clamp(17rem, 72vw, 26rem); }
@media (min-width: 48em) { .hero--plain { min-height: clamp(24rem, 52vw, 40rem); } }
@media (min-width: 64.0625em) { .hero--plain.hero--l { min-height: clamp(28rem, 72vh, 44rem); } }

/* Slideshow controls: pause + one bar per image; the active bar fills up (progress to the next image). */
.hero { --progress: #e6b338; }
.hero__controls {
  position: absolute; z-index: 3; left: 50%; bottom: max(.75rem, 2.5vw); transform: translateX(-50%);
  display: flex; align-items: center; gap: .35rem; padding: .25rem .5rem .25rem .25rem;
  border-radius: 999px; background: rgb(0 0 0 / .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__dots { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.hero__dot {
  display: flex; align-items: center; width: 2.6rem; height: 2.75rem; padding: 0 .3rem; border: 0; background: none; cursor: pointer;
}
.hero__dot::before { content: ""; position: absolute; }
.hero__dot .hero__dot-fill { position: relative; display: block; width: 100%; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .45); overflow: hidden; }
.hero__dot .hero__dot-fill::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--progress); border-radius: inherit; }
.hero__dot.is-active .hero__dot-fill { background: rgb(255 255 255 / .6); }
.hero__dot.is-active .hero__dot-fill::after { animation: hero-progress 6s linear forwards; }
.hero.is-paused .hero__dot.is-active .hero__dot-fill, .hero.is-paused .hero__dot.is-active .hero__dot-fill::after { animation-play-state: paused; }
.hero__dot:hover .hero__dot-fill { background: rgb(255 255 255 / .8); }
.hero__dot:focus-visible { outline: 3px solid var(--progress); outline-offset: -2px; border-radius: .4rem; }
@keyframes hero-progress { from { width: 0; } to { width: 100%; } }
.hero__pause {
  position: relative; flex: none; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%;
  background: rgb(255 255 255 / .14); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.hero__pause:hover { background: rgb(255 255 255 / .28); }
.hero__pause:focus-visible { outline: 3px solid var(--progress); outline-offset: 2px; }
.hero__pause-icon { display: block; width: .8rem; height: .9rem; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.hero.is-paused .hero__pause-icon { width: 0; height: 0; border-style: solid; border-width: .5rem 0 .5rem .8rem; border-color: transparent transparent transparent currentColor; margin-left: .2rem; }
.hero__arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); display: none; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgb(0 0 0 / .38); color: #fff; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.hero__arrow svg { width: 1.5rem; height: 1.5rem; }
.hero__arrow--prev { left: 1rem; }
.hero__arrow--next { right: 1rem; }
.hero__arrow:hover { background: rgb(0 0 0 / .6); }
.hero__arrow:focus-visible { outline: 3px solid var(--progress); outline-offset: 2px; }
@media (min-width: 48em) and (hover: hover) { .hero__arrow { display: flex; } }
@media (prefers-reduced-motion: reduce) { .hero__media--slides .hero__slide { transition: none; } }

/* Registration form for tours */
.regform { max-width: 46rem; margin-inline: auto; }
.regform__tour { font-size: 1.15rem; }
.regform__section { border: 0; border-top: 2px solid rgb(var(--c-dark-rgb) / .12); padding: 1.25rem 0 0; margin: 1.5rem 0 0; }
.regform__section legend { font-size: 1.3rem; font-weight: 700; padding: 0 .5rem 0 0; color: var(--c-dark); }
.field__hint { margin: -.15rem 0 .35rem; font-size: .875rem; opacity: .8; }
.regform .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.regform .check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; flex: none; accent-color: var(--c-accent); }
.regform--closed .notice { font-size: 1.1rem; text-align: center; }

/* ---------------------------------------------------------- Editions */
.ed-hero { position: relative; isolation: isolate; color: var(--c-light); background: var(--c-dark); padding: calc(var(--logo-overhang) + clamp(1.5rem, 5vw, 4rem)) 0 clamp(2rem, 5vw, 4rem); }
.ed-hero--media { min-height: clamp(18rem, 45vw, 30rem); display: flex; align-items: flex-end; }
.ed-hero__media { position: absolute; inset: 0; z-index: -2; }
.ed-hero__media picture, .ed-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.ed-hero--media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(var(--c-dark-rgb) / .15) 0%, rgb(var(--c-dark-rgb) / .85) 100%); }
.ed-hero__inner { width: 100%; }
.ed-hero__title { margin: .25rem 0 .35rem; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; color: inherit; }
.ed-hero__date { font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 600; margin: 0; }

.ed-badge { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; background: rgb(255 255 255 / .9); color: var(--c-dark); margin: 0; }
.ed-badge--open { background: var(--c-accent); color: var(--c-on-accent); }
.ed-badge--waitlist, .ed-badge--full { background: #b3261e; color: #fff; }
.card__media { position: relative; }
.card--edition .ed-badge { position: absolute; left: .75rem; top: .75rem; }

.ed-intro { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .ed-intro { grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 1fr); } }
.ed-lead { font-size: 1.2rem; line-height: 1.6; margin-top: 0; }
.ed-sub { font-size: 1.25rem; margin: 1.5rem 0 .5rem; }
.ed-included { list-style: none; padding: 0; margin: 0 0 1rem; }
.ed-included li { position: relative; padding-left: 1.75rem; margin-bottom: .45rem; }
.ed-included li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: .6rem; border-left: 3px solid var(--c-accent-text); border-bottom: 3px solid var(--c-accent-text); transform: rotate(-45deg) translateY(-30%); }
.ed-card { background: var(--c-light); border: 1px solid rgb(var(--c-dark-rgb) / .12); border-top: 5px solid var(--c-accent); border-radius: 1rem; padding: 1.4rem 1.5rem; box-shadow: 0 12px 30px rgb(var(--c-dark-rgb) / .08); }
@media (min-width: 900px) { .ed-card { position: sticky; top: calc(var(--bar-h) + 1.5rem); } }
.ed-facts { margin: 0 0 1rem; display: grid; gap: .55rem; }
.ed-facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; }
.ed-facts dt { font-weight: 700; color: var(--c-dark); }
.ed-facts dd { margin: 0; }
.ed-status { font-weight: 700; padding: .6rem .8rem; border-radius: .5rem; background: rgb(var(--c-dark-rgb) / .06); margin: 0 0 1rem; }
.ed-card > :last-child, .ed-card__side > :last-child, .ed-next__body > :last-child { margin-bottom: 0; }
.ed-status--open { background: rgb(var(--c-accent-rgb) / .25); }
.ed-status--waitlist, .ed-status--full { background: #fbe9e7; color: #8c1d18; }

.ed-next { display: grid; gap: 0; border-radius: 1.25rem; overflow: hidden; background: var(--c-light); box-shadow: 0 16px 40px rgb(var(--c-dark-rgb) / .12); border: 1px solid rgb(var(--c-dark-rgb) / .08); }
@media (min-width: 900px) { .ed-next--media { grid-template-columns: 1.1fr 1fr; } }
.ed-next__media { min-height: 16rem; }
.ed-next__media picture, .ed-next__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-next__body { padding: clamp(1.25rem, 3vw, 2.25rem); }
.ed-next__label { margin: 0 0 .25rem; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-accent-text); }
.ed-next__title { margin: 0 0 .75rem; font-size: clamp(1.6rem, 3.5vw, 2.3rem); line-height: 1.15; }
.ed-next__title a { color: var(--c-dark); text-decoration: none; }
.ed-next__title a:hover, .ed-next__title a:focus-visible { text-decoration: underline; }
.ed-next__intro { margin-top: 0; }
.ed-next--empty { padding: 1.5rem; text-align: center; }


.ed-map img { border-radius: .75rem; }
.crews { list-style: none; counter-reset: crew; padding: 0; margin: 0; display: grid; gap: .5rem; }
@media (min-width: 760px) { .crews { grid-template-columns: 1fr 1fr; } }
.crews li { counter-increment: crew; display: grid; grid-template-columns: 2.25rem 1fr; padding: .7rem .9rem; border-radius: .6rem; background: rgb(var(--c-dark-rgb) / .045); }
.crews li::before { content: counter(crew); grid-row: span 2; font-weight: 800; color: var(--c-accent-text); }
.crew__names { font-weight: 700; }
.crew__car { font-size: .925rem; opacity: .8; }
.ed-crews__count { font-weight: 400; opacity: .7; }
.ed-cta { text-align: center; }
.ed-others__all { text-align: center; margin-top: 1.5rem; }
.regform__date { font-weight: 400; }

/* Hero: vertical alignment per image (block setting "Uitlijning") */
.hero__slide--top img { object-position: 50% 0%; }
.hero__slide--bottom img { object-position: 50% 100%; }
/* Every hero image sits in a .hero__slide wrapper (also a single image): let it fill the hero. */
.hero__media .hero__slide { position: absolute; inset: 0; }

/* Search results page */
.search-form--page { margin-bottom: 1.5rem; }
.search-form--page input[type="search"] { border-color: rgb(var(--c-dark-rgb) / .3); }
.search-count { font-weight: 600; }
.search-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.search-results li { padding-bottom: 1.25rem; border-bottom: 1px solid rgb(var(--c-dark-rgb) / .1); }
.search-results__title { font-size: 1.25rem; margin: 0 0 .25rem; }
.search-results__type { margin: 0 0 .25rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c-accent-text); }
.search-results__snippet { margin: 0; }


/* Edition actions: one main button, secondary actions as tiles with an icon */
.ed-actions { display: grid; gap: .6rem; }
.ed-actions__main { display: grid; gap: .5rem; margin: 0; }
.ed-actions__btn { width: 100%; justify-content: center; text-align: center; }
.ed-actions__more { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: .5rem; }
.ed-actions__more--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ed-actions__more--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ed-action {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; height: 100%;
  padding: .7rem .4rem; border: 1px solid rgb(var(--c-dark-rgb) / .18); border-radius: .75rem; hyphens: auto;
  color: var(--c-dark); text-decoration: none; font-weight: 700; font-size: .9rem; text-align: center; line-height: 1.2;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.ed-action svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--c-dark); }
.ed-action:hover, .ed-action:focus-visible { background: rgb(var(--c-accent-rgb) / .22); border-color: var(--c-accent); transform: translateY(-1px); }
.ed-action:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.ed-next .ed-actions { max-width: 32rem; }
@media (min-width: 40em) { .ed-next .ed-actions__main { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); } }

/* Without summary: the card spans the width, facts in columns, status and actions beside them */
.ed-intro--solo { grid-template-columns: 1fr !important; }
.ed-intro--solo .ed-card { position: static; display: grid; gap: 1.25rem 2rem; }
.ed-intro--solo .ed-facts { margin: 0; }
@media (min-width: 48em) {
  .ed-intro--solo .ed-card { grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 1fr); align-items: start; }
  .ed-intro--solo .ed-facts { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .9rem 1.5rem; }
  .ed-intro--solo .ed-facts div { grid-template-columns: 1fr; gap: .1rem; }
  .ed-intro--solo .ed-facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; opacity: .75; }
}
.ed-included--dots li::before { width: .5rem; height: .5rem; top: .55em; left: .3rem; border: 0; border-radius: 50%; background: var(--c-accent); transform: none; }

/* Programme: numbered timeline, each day a card */
.ed-program { list-style: none; margin: 1.5rem 0 0; padding: 0; position: relative; display: grid; gap: 1rem; }
.ed-program::before { content: ""; position: absolute; left: 1.25rem; top: 1.25rem; bottom: 1.25rem; width: 3px; margin-left: -1.5px; background: rgb(var(--c-accent-rgb) / .8); border-radius: 3px; }
.ed-day { position: relative; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.ed-day__num {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; background: var(--c-dark); color: var(--c-light); font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 0 0 4px var(--c-light), 0 0 0 6px var(--c-accent);
}
.ed-day__body { background: var(--c-light); border: 1px solid rgb(var(--c-dark-rgb) / .1); border-radius: .9rem; padding: .9rem 1.15rem 1rem; box-shadow: 0 8px 24px -18px rgb(var(--c-dark-rgb) / .5); }
.ed-day__label { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .25rem; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--c-accent-text); }
.ed-day__km { display: inline-block; padding: .1rem .55rem; border-radius: 999px; background: rgb(var(--c-dark-rgb) / .07); color: var(--c-dark); letter-spacing: 0; text-transform: none; font-weight: 700; }
.ed-day__title { margin: 0; font-size: clamp(1.05rem, 2.2vw, 1.2rem); line-height: 1.35; color: var(--c-dark); }
.ed-day__text { margin: .5rem 0 0; }
ul.ed-day__text { list-style: none; padding: 0; display: grid; gap: .3rem; }
ul.ed-day__text li { position: relative; padding-left: 1.1rem; }
ul.ed-day__text li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--c-accent); }
@media (max-width: 40em) {
  .ed-program::before { left: 1rem; }
  .ed-day { grid-template-columns: 2rem minmax(0, 1fr); gap: .7rem; }
  .ed-day__num { width: 2rem; height: 2rem; font-size: .9rem; box-shadow: 0 0 0 3px var(--c-light), 0 0 0 5px var(--c-accent); }
  .ed-day__body { padding: .8rem .9rem .9rem; }
}

.drawer__panel:focus { outline: none; }

/* Notification bar (block "Meldingsbalk"), e.g. directly below the opening image */
.notice-bar-wrap { margin: 0; }
.notice-bar {
  display: flex; align-items: center; justify-content: center; gap: .7rem; margin: 0;
  padding: .95rem var(--gap); font-family: var(--f-head); font-weight: 700; font-size: clamp(1rem, 2.2vw, 1.15rem); line-height: 1.3;
  text-align: center; text-decoration: none; background: var(--c-accent); color: var(--c-on-accent);
  transition: background-color .2s var(--ease);
}
.notice-bar--dark { background: var(--c-dark); color: var(--c-on-dark); }
.notice-bar--light { background: var(--c-soft); color: var(--c-dark); }
.notice-bar__icon svg, .notice-bar__arrow svg { width: 1.3rem; height: 1.3rem; display: block; }
.notice-bar__arrow { transition: transform .2s var(--ease); }
a.notice-bar:hover, a.notice-bar:focus-visible { background: var(--c-accent-hover); }
a.notice-bar--dark:hover, a.notice-bar--dark:focus-visible { background: rgb(var(--c-dark-rgb) / .88); }
a.notice-bar--light:hover, a.notice-bar--light:focus-visible { background: rgb(var(--c-dark-rgb) / .08); }
a.notice-bar:hover .notice-bar__arrow, a.notice-bar:focus-visible .notice-bar__arrow { transform: translateX(4px); }
a.notice-bar:focus-visible { outline: 3px solid var(--c-dark); outline-offset: -5px; }
a.notice-bar--dark:focus-visible { outline-color: var(--c-accent); }
.row--w-full > .row__inner > .notice-bar-wrap, .row--w-full > .row__inner > .notice-bar { width: 100%; }

/* Lightbox slideshow: play/pause, the ring around the button shows the time to the next photo */
.lightbox__btn--play { position: relative; }
.lightbox__btn .lightbox__ring { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; transform: rotate(-90deg); pointer-events: none; }
.lightbox__ring circle { fill: none; stroke-width: 3; }
.lightbox__ring-track { stroke: rgb(255 255 255 / .18); }
.lightbox__ring-progress { stroke: #e6b338; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.lightbox.is-playing .lightbox__ring-progress { animation: lb-ring 5s linear forwards; }
@keyframes lb-ring { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.lightbox__play-icon { display: block; width: 0; height: 0; border-style: solid; border-width: .45rem 0 .45rem .72rem; border-color: transparent transparent transparent currentColor; margin-left: .15rem; }
.lightbox.is-playing .lightbox__play-icon { width: .72rem; height: .85rem; border-width: 0 3px; border-color: currentColor; margin-left: 0; box-sizing: border-box; }

/* Focus ring on dark surfaces: the light accent colour (the dark variant has too little contrast there). */
.mainbar :focus-visible, .drawer :focus-visible, .site-footer :focus-visible,
.row--bg-dark :focus-visible, .row--bg-image :focus-visible, .ed-hero :focus-visible, .hero :focus-visible,
.lightbox :focus-visible, .ed-cta :focus-visible, .notice-bar--dark:focus-visible { outline-color: var(--c-accent); }
.nav__link:focus-visible, .tool-btn:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
/* Slideshow bars: enough contrast to recognise them as controls */
.hero__dot .hero__dot-fill { background: rgb(255 255 255 / .62); }
.hero__dot.is-active .hero__dot-fill { background: rgb(255 255 255 / .8); }

/* Pause button with a ring that fills up until the next image (drives the timing). */
.hero__pause .hero__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.hero__ring circle { fill: none; stroke-width: 3; }
.hero__ring-track { stroke: rgb(255 255 255 / .3); }
.hero__ring-progress { stroke: var(--progress); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: hero-ring 6s linear forwards; }
.hero.is-paused .hero__ring-progress { animation-play-state: paused; }
@keyframes hero-ring { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* Desktop (mouse): controls and arrows appear when hovering the slideshow (or with keyboard focus). */
@media (hover: hover) and (min-width: 48em) {
  .hero__controls, .hero__arrow { opacity: 0; transition: opacity .25s var(--ease); }
  .hero:hover .hero__controls, .hero:hover .hero__arrow,
  .hero:focus-within .hero__controls, .hero:focus-within .hero__arrow,
  .hero.is-paused .hero__controls { opacity: 1; }
}
/* Phones and tablets: only the round play/pause button, bottom right, its ring shows the progress. */
@media not all and (hover: hover), (max-width: 47.99em) {
  .hero__dots { display: none; }
  .hero__controls { left: auto; right: max(.75rem, 3vw); bottom: max(.75rem, 3vw); transform: none; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero__pause { width: 3rem; height: 3rem; background: rgb(0 0 0 / .45); }
}

/* Notification bar: centre the text optically on the icons. Fonts like Bahnschrift (Windows)
   have extra room below the letters, so the text looked a little too high. Browsers that support
   text-box trim to the capital letters exactly; others get a small nudge. */
.notice-bar__text { text-box: trim-both cap alphabetic; }
@supports not (text-box: trim-both cap alphabetic) {
  .notice-bar__text { position: relative; top: .1em; }
}

/* Only the play/pause button remains in the controls: no pill around it. */
.hero__controls { padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero__pause { background: rgb(0 0 0 / .45); }
.hero__pause:hover { background: rgb(0 0 0 / .65); }

/* Search panel closes with the reverse animation of opening. */
.search-panel.is-closing { animation: pop-out .18s var(--ease) forwards; pointer-events: none; }
@keyframes pop-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .search-panel:not([hidden]), .search-panel.is-closing { animation: none; } }

/* External registration (another website) */
.ed-badge--external { background: var(--c-accent); color: var(--c-on-accent); }
.ed-status--external { background: rgb(var(--c-accent-rgb) / .25); }
.ed-actions__ext svg { width: 1em; height: 1em; vertical-align: -.1em; }
